法规清单-数据迁移的流程重置功能开发对接。
This commit is contained in:
@@ -96,6 +96,11 @@
|
||||
<div class="table-operator"
|
||||
style="overflow:hidden;margin-bottom: 20px">
|
||||
<div style="float: left;margin-bottom: 0px;margin-left: 20px">
|
||||
<!-- 调取-->
|
||||
<div @click="profileClick" class="operator-text">
|
||||
<a-icon type="profile"/>
|
||||
重置流程(数据迁移)
|
||||
</div>
|
||||
<!-- 调取-->
|
||||
<div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '0'">
|
||||
<a-icon type="profile"/>
|
||||
@@ -2808,7 +2813,29 @@
|
||||
},
|
||||
download(item) {
|
||||
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
|
||||
}
|
||||
},
|
||||
profileClick(){
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
width: 760,
|
||||
content: _this.$t('NoteConfirmTheChange'),
|
||||
onOk() {
|
||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||
postAction('/project/projectLawsInventoryEO/resetFlowTemp', {
|
||||
ids: idList.join(','),
|
||||
projectLibraryId: _this.$route.query.id
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.selectedRowKeys = []
|
||||
_this.getList()
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user