访视列表更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
41c1dca7b2
commit
221bba266e
|
|
@ -61,7 +61,7 @@
|
||||||
<template slot="main-container">
|
<template slot="main-container">
|
||||||
<el-table ref="visitList" v-loading="loading" v-adaptive="{ bottomOffset: 60 }" :data="list" stripe height="100"
|
<el-table ref="visitList" v-loading="loading" v-adaptive="{ bottomOffset: 60 }" :data="list" stripe height="100"
|
||||||
@sort-change="handleSortByColumn" @selection-change="handleSelectionChange">
|
@sort-change="handleSortByColumn" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55" v-if="hasPermi(['trials:trials-panel:hirVisit:download'])" />
|
<el-table-column type="selection" :selectable="isRowSelectable" width="55" v-if="hasPermi(['trials:trials-panel:hirVisit:download'])" />
|
||||||
<el-table-column min-width="20">
|
<el-table-column min-width="20">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<i v-if="
|
<i v-if="
|
||||||
|
|
@ -293,6 +293,9 @@ export default {
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
this.multipleSelection = val;
|
this.multipleSelection = val;
|
||||||
},
|
},
|
||||||
|
isRowSelectable(row, index) {
|
||||||
|
return row.SubmitState === 2
|
||||||
|
},
|
||||||
handleClose(done) {
|
handleClose(done) {
|
||||||
this.downLoadType = 'start'
|
this.downLoadType = 'start'
|
||||||
this.percentage = 0
|
this.percentage = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue