feat: There is no way the,

This commit is contained in:
396572590@qq.com
2022-07-11 17:44:07 +08:00
parent e8d8c1c4ee
commit a199bc7991
@@ -2730,6 +2730,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)
@@ -2737,22 +2738,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 => {
}) })