【修改】 修改报告详情

This commit is contained in:
zhoulingpo
2023-05-09 16:37:55 +08:00
parent ea9052882f
commit 89dde4d62c
3 changed files with 20 additions and 5 deletions
+7 -1
View File
@@ -78,7 +78,7 @@ export default {
mixins: [processMixin],
data() {
return {
dataId:'',
showTableD: false,
initShow: false, // 控制审批历史是否显示 只有在不是第一次的时候才是true
treeType: '',
@@ -125,6 +125,7 @@ export default {
// 如果是从草稿进入的
if (this.$route.query.isDraft) {
this.isShowSave = true
this.dataId= this.$store.getters.handleProcess.dataId
this.taskId = this.$store.getters.handleProcess?.taskId
this.prcNum = this.$store.getters.handleProcess?.prcNum
this.prcId = this.$store.getters.handleProcess?.prcId
@@ -247,6 +248,11 @@ export default {
},
// 保存
handleSave(){
this.processForm=this.$refs.basMes.form
if(this.$refs.basMes.tags){
this.processForm.keyContent = JSON.stringify(this.$refs.basMes.tags)
}
this.processForm.prcName=this.processForm.name&&this.processForm.name
this.saveLoading = true
let submitJson = JSON.stringify({...this.assignForm, userId: this.$store.getters.userInfo.usid})
@@ -122,9 +122,17 @@ export default {
path: '/permission/launch',
query: {
id: this.$route.query.id,
isDraft: 1
isDraft: 1,
}
})
});break;
case '4' :
this.$router.push({
path: '/reportprocess/launch',
query: {
id: this.$route.query.id,
isDraft: 1
}
})
}
},
},