【修改】修改权限申请流程

This commit is contained in:
zhoulingpo
2023-05-11 11:49:23 +08:00
parent b24da9d733
commit a805f6885f
2 changed files with 11 additions and 3 deletions
+3 -2
View File
@@ -106,7 +106,7 @@ export default {
max: 500, message: '说明最多填写500字符' max: 500, message: '说明最多填写500字符'
}] }]
}, },
prcType: 1, prcType: '',
prcName:'', prcName:'',
params:[] //处理好格式的数据 params:[] //处理好格式的数据
@@ -129,6 +129,7 @@ export default {
this.prcId = this.$store.getters.handleProcess?.prcId this.prcId = this.$store.getters.handleProcess?.prcId
this.prcName = this.$store.getters.handleProcess?.prcName this.prcName = this.$store.getters.handleProcess?.prcName
this.dataId= this.$store.getters.handleProcess?.dataId this.dataId= this.$store.getters.handleProcess?.dataId
this.prcType= this.$store.getters.handleProcess?.prcType
this.getProcessDetail().then(res => { this.getProcessDetail().then(res => {
let powerName='' let powerName=''
let dataJson=JSON.parse(this.processOld.dataJson) let dataJson=JSON.parse(this.processOld.dataJson)
@@ -245,7 +246,7 @@ export default {
let obj={} let obj={}
obj={ obj={
prcName:item.name, prcName:item.name,
prcType:item.power, prcType:item.power==0?'':item.power,
createUser:this.userId, createUser:this.userId,
createUserName:this.userName, createUserName:this.userName,
userId:this.userId, userId:this.userId,
@@ -149,7 +149,14 @@ export default {
isDraft: 1 isDraft: 1
} }
});break; });break;
default:
this.$router.push({
path: '/permission/launch',
query: {
id: this.$route.query.id,
isDraft: 1,
}
});break;
} }
}, },
}, },