去掉流程重置数据迁移
This commit is contained in:
@@ -97,10 +97,10 @@
|
||||
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="profileClick" class="operator-text">-->
|
||||
<!-- <a-icon type="profile"/>-->
|
||||
<!-- 重置流程(数据迁移)-->
|
||||
<!-- </div>-->
|
||||
<!-- 调取-->
|
||||
<div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '0'">
|
||||
<a-icon type="profile"/>
|
||||
@@ -2982,28 +2982,28 @@
|
||||
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'))
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
// 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