标准解读批量编辑问题

This commit is contained in:
shenyanpei
2021-12-30 17:34:23 +08:00
parent 4d0d9c76e9
commit 14fb222460
@@ -69,7 +69,7 @@
<el-button :disabled="!itemList.length" type="primary" class="common-button-primary add-button" size="mini" @click="choiceZRRS('', 2, '')">批量编辑</el-button> <el-button :disabled="!itemList.length" type="primary" class="common-button-primary add-button" size="mini" @click="choiceZRRS('', 2, '')">批量编辑</el-button>
</div> </div>
<el-table border <el-table border
ref="selection" ref="selections"
:data="itemList" :data="itemList"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%;" style="width: 100%;"
@@ -378,7 +378,7 @@
if (type === 1) { if (type === 1) {
this.drawerTitle = '选择执行人' this.drawerTitle = '选择执行人'
this.nodeList2 = [] this.nodeList2 = []
this.zxIndex= index this.zxIndex = index
this.nodeList2.push(row) this.nodeList2.push(row)
this.modalshowflag2 = true this.modalshowflag2 = true
} else { } else {
@@ -415,6 +415,7 @@
} }
} }
this.modalshowflag = false this.modalshowflag = false
this.$refs.selections.clearSelection()
}, },
handleTabs(name) { handleTabs(name) {
this.active = name this.active = name
@@ -475,6 +476,7 @@
val.forEach( item => { val.forEach( item => {
this.zxIdList.push(item.id) this.zxIdList.push(item.id)
}) })
console.log(this.zxIdList)
}, },
getData() { getData() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {