Merge branch 'develop' into FOTON
This commit is contained in:
@@ -2733,6 +2733,7 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
if(res.nowTaskInfo && res.nowTaskInfo === '发布'){
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
if (processForm.form === undefined) {
|
if (processForm.form === undefined) {
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
@@ -2740,22 +2741,14 @@
|
|||||||
//表单文件处理
|
//表单文件处理
|
||||||
this.getTaskId(processForm)
|
this.getTaskId(processForm)
|
||||||
}
|
}
|
||||||
// if(res.nowTaskInfo && res.nowTaskInfo === '发布'){
|
}else {
|
||||||
// const processForm = JSON.parse(res.mesg)
|
this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
||||||
// if (processForm.form === undefined) {
|
confirmButtonText: '确定',
|
||||||
// this.getFormFieldList(processForm)
|
callback: action => {
|
||||||
// } else {
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// //表单文件处理
|
}
|
||||||
// this.getTaskId(processForm)
|
});
|
||||||
// }
|
}
|
||||||
// }else {
|
|
||||||
// this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
|
||||||
// confirmButtonText: '确定',
|
|
||||||
// callback: action => {
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user