feat: There is no way the, bug #56065 产品标准-流程走完后,数据丢失 没有归档 是修订的

This commit is contained in:
396572590@qq.com
2022-06-24 18:27:09 +08:00
parent 1c1a7b23c4
commit 5ed6d5611f
6 changed files with 23 additions and 5 deletions
@@ -2076,6 +2076,9 @@
this.form.modelDataNameVerify=[]
this.form.modelDataZrUserVerify=[]
this.form.QCDWID= ''
this.form.menuId = this.form['TXLBBUSSMenuId']
console.log(this.form)
console.log(this.form.menuId)
this.form.WJSCRYBUSS= this.$store.getters.userInfo.userId
this.form.WJSCRYBUSSName= this.$store.getters.userInfo.userName
this.form['id'] = bringData.id
@@ -2209,6 +2209,7 @@
this.form.treeType = 'sarMs'
}
}
this.formKey++
this.modalShowFlag1 = false
this.$forceUpdate()
},
@@ -2411,7 +2412,7 @@
this.rules.commentText[0].required = true;
}
},
async saveConfStand(standId) {
saveConfStand(standId) {
if(this.form.menuId && this.form.menuId !== ''){
let search = {}
let list = []
@@ -2425,6 +2426,9 @@
_this: this
}, res => {
const history = res;
this.$message.success("入库成功")
this.submitLoading = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
resolve(history)
})
})
@@ -2455,6 +2459,8 @@
this.form.reviseStatus = 'buss2_'+this.form.standStatus
this.form.textStatusBuss = '6jnqba2mby'
const json = JSON.stringify(this.form);
this.processCreateBuss(json)
return
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds,
userId : this.userId,
@@ -2493,11 +2499,8 @@
_formData.append('infoJson', json)
processCreateBuss(_formData).then(res => {
if (res.result === '操作成功' || res.ok) {
this.$message.success("入库成功")
// 自动匹配配置标准
this.saveConfStand(res.data)
this.submitLoading = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
this.isSubmit = false
@@ -36,7 +36,8 @@
@formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW"
/>
@formChoiceZRR1 = "formChoiceZRR1"
/>
<ProcessTitle>
<template slot="title">文件汇总</template>
</ProcessTitle>
@@ -1210,6 +1211,9 @@
this.drawerTitle = title
this.modalShowFlagZRBM = true
},
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id)
},
@@ -2246,6 +2250,7 @@
this.form.treeType = 'sarMs'
}
}
this.formKey++
this.modalShowFlag1 = false
this.$forceUpdate()
},
@@ -2348,6 +2348,7 @@
this.form.treeType = 'sarMs'
}
}
this.formKey++
this.modalShowFlag1 = false
this.$forceUpdate()
},
@@ -36,6 +36,7 @@
@formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW"
@formChoiceZRR1 = "formChoiceZRR1"
/>
<ProcessTitle>
<template slot="title">文件汇总</template>
@@ -1211,6 +1212,9 @@
this.drawerTitle = title
this.modalShowFlagZRBM = true
},
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id)
},
@@ -2247,6 +2251,7 @@
this.form.treeType = 'sarMs'
}
}
this.formKey++
this.modalShowFlag1 = false
this.$forceUpdate()
},
@@ -2359,6 +2359,7 @@
this.form.treeType = 'sarMs'
}
}
this.formKey++
this.modalShowFlag1 = false
this.$forceUpdate()
},