去掉流程重置数据迁移

This commit is contained in:
范强强
2023-04-16 20:27:12 +08:00
parent 1d41e7299c
commit 0ac6f6050b
@@ -97,10 +97,10 @@
style="overflow:hidden;margin-bottom: 20px"> style="overflow:hidden;margin-bottom: 20px">
<div style="float: left;margin-bottom: 0px;margin-left: 20px"> <div style="float: left;margin-bottom: 0px;margin-left: 20px">
<!-- 调取--> <!-- 调取-->
<div @click="profileClick" class="operator-text"> <!-- <div @click="profileClick" class="operator-text">-->
<a-icon type="profile"/> <!-- <a-icon type="profile"/>-->
重置流程(数据迁移) <!-- 重置流程(数据迁移)-->
</div> <!-- </div>-->
<!-- 调取--> <!-- 调取-->
<div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '0'"> <div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '0'">
<a-icon type="profile"/> <a-icon type="profile"/>
@@ -2982,28 +2982,28 @@
download(item) { download(item) {
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username }) downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
}, },
profileClick() { // profileClick() {
let _this = this // let _this = this
this.$confirm({ // this.$confirm({
width: 760, // width: 760,
content: _this.$t('NoteConfirmTheChange'), // content: _this.$t('NoteConfirmTheChange'),
onOk() { // onOk() {
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) // let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
postAction('/project/projectLawsInventoryEO/resetFlowTemp', { // postAction('/project/projectLawsInventoryEO/resetFlowTemp', {
ids: idList.join(','), // ids: idList.join(','),
projectLibraryId: _this.$route.query.id // projectLibraryId: _this.$route.query.id
}).then((res) => { // }).then((res) => {
if (res.success) { // if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful')) // _this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = [] // _this.selectedRowKeys = []
_this.getList() // _this.getList()
} else { // } else {
_this.$message.warning(_this.$t('operationFailed')) // _this.$message.warning(_this.$t('operationFailed'))
} // }
}) // })
} // }
}) // })
} // }
} }
} }
</script> </script>