diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue
index c1ba9ddd4..513eca3cf 100644
--- a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue
@@ -512,6 +512,19 @@
+
+
+
+
+
+
+
+
@@ -564,19 +577,6 @@
-
-
-
-
-
-
-
-
{
- let mes = JSON.parse(res.mes)
- mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
- this.form = mes.form
- this.form['lawsSyqy'] = this.filterObj(this.form['lawsSyqy'])
- this.form['lawsSycx'] = this.filterObj(this.form['lawsSycx'])
- this.form['lawsLabel'] = this.filterObj(this.form['lawsLabel'])
- this.form['YYRZLAWS'] = this.filterObj(this.form['YYRZLAWS'])
- this.form['NYLXLAWS'] = this.filterObj(this.form['NYLXLAWS'])
- this.form['TGRLAWS'] = this.filterObj(this.form['TGRLAWS'])
- this.roleForm = mes.roleForm
- this.commentText = mes.commentText
- })
+ if(this.$route.query.bpnId){
+ queryTaskFirst({
+ bpnId: this.$route.query.bpnId
+ }).then(res => {
+ this.verifySarStandard = this.$route.query.verifySarStandard
+ let mes = JSON.parse(res.mes)
+ mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
+ this.form = mes.form
+ this.form['lawsSyqy'] = this.filterObj(this.form['lawsSyqy'])
+ this.form['lawsSycx'] = this.filterObj(this.form['lawsSycx'])
+ this.form['lawsLabel'] = this.filterObj(this.form['lawsLabel'])
+ this.form['YYRZLAWS'] = this.filterObj(this.form['YYRZLAWS'])
+ this.form['NYLXLAWS'] = this.filterObj(this.form['NYLXLAWS'])
+ this.form['TGRLAWS'] = this.filterObj(this.form['TGRLAWS'])
+ this.roleForm = mes.roleForm
+ this.commentText = mes.commentText
+ })
+ }
},
filterObj(obj){
if(obj && obj !== ''){
@@ -2164,6 +2167,7 @@
// this.sarStandardsInfoEO.country = item.country.split(",");
// }
+ this.isSubmit = true
this.saveLoading = true
this.fileInfoHandle()
let _formData = new FormData()
@@ -2186,10 +2190,12 @@
}))
saveTaskFirst(_formData).then(res => {
this.saveLoading = false
+ this.isSubmit = false
this.$message.success('保存成功')
// this.bpnId = res.result
}).catch(e => {
this.saveLoading = false
+ this.isSubmit = false
})
},
fileInfoHandle(){
@@ -2239,6 +2245,14 @@
this.$message.success(res.message)
this.isSubmit = false
this.saveLoading = false
+ if (this.$route.query.bpnId !== '') {
+ let taskId = {
+ id: this.$route.query.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}