维修勾选限定
This commit is contained in:
parent
7f885d25c4
commit
ad05b5389d
|
|
@ -73,7 +73,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange" >
|
<el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange" >
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
|
||||||
<el-table-column label="序号" align="center" width="80" type="index">
|
<el-table-column label="序号" align="center" width="80" type="index">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{(queryParams.pageNum - 1) * 10 + scope.$index + 1}}</span>
|
<span>{{(queryParams.pageNum - 1) * 10 + scope.$index + 1}}</span>
|
||||||
|
|
@ -686,6 +686,15 @@ export default {
|
||||||
this.imgIndex=0
|
this.imgIndex=0
|
||||||
this.dialogVisibles = true;
|
this.dialogVisibles = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
//是否可用勾选框
|
||||||
|
selectable(row) {
|
||||||
|
if (row.repairStatusCode == "1") {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue