update 标准法规入库/变更流程、法规采购流程
This commit is contained in:
@@ -252,7 +252,7 @@ export default {
|
||||
},
|
||||
created () {
|
||||
if (this.$route.query.processInstanceId || this.$route.query.draftId) {
|
||||
this.currentNode = this.$route.query.nodeId
|
||||
this.currentNode = this.$route.query.nodeId || ProcurementProcessNodes.initiate.value
|
||||
this.initProcessInfo()
|
||||
} else {
|
||||
this.currentNode = ProcurementProcessNodes.initiate.value
|
||||
@@ -277,11 +277,17 @@ export default {
|
||||
this.$message.warning(this.$t('selectARecord'))
|
||||
return
|
||||
}
|
||||
const data = JSON.parse(JSON.stringify(this.dataSource))
|
||||
this.dataSource = data.map((tt, index) => {
|
||||
return this.selectedRowKeys.includes(index) ? null : tt
|
||||
}).filter(tt => !!tt)
|
||||
this.selectedRowKeys = []
|
||||
this.$confirm({
|
||||
title: this.$t('confirmBatchDeletion'),
|
||||
content: this.$t('deleteAData'),
|
||||
onOk: () => {
|
||||
const data = JSON.parse(JSON.stringify(this.dataSource))
|
||||
this.dataSource = data.map((tt, index) => {
|
||||
return this.selectedRowKeys.includes(index) ? null : tt
|
||||
}).filter(tt => !!tt)
|
||||
this.selectedRowKeys = []
|
||||
}
|
||||
})
|
||||
},
|
||||
handleEdit (record, index) {
|
||||
this.$refs.modalForm.edit(record, index)
|
||||
@@ -290,7 +296,7 @@ export default {
|
||||
this.$confirm({
|
||||
title: this.$t('confirmDeletion'),
|
||||
content: this.$t('areYouSure'),
|
||||
ok: () => {
|
||||
onOk: () => {
|
||||
this.dataSource.splice(index, 1)
|
||||
}
|
||||
})
|
||||
@@ -539,7 +545,7 @@ export default {
|
||||
// 销毁这个提示
|
||||
modalLoading.destroy()
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user