修改法规清单校核任务,从待办中心办理链接进来,自动匹配法规工程师角色
This commit is contained in:
@@ -1494,7 +1494,11 @@
|
||||
getAction(this.url.AndUserId, query).then((res) => {
|
||||
if (res.success) {
|
||||
// this.isDisplay = true
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
||||
if (this.$route.query.roleOpen && this.$route.query.roleOpen == 'fggcs'){
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = '1'
|
||||
}else{
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
||||
}
|
||||
this.AndUserId = res.result.id
|
||||
if (this.formInlineRoleSwitching.roleSwitchingCode) {
|
||||
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
||||
|
||||
@@ -266,7 +266,8 @@
|
||||
projectNameId: row.projectNameId,
|
||||
targetMarket: row.targetMarket,
|
||||
studioEngineer: row.studioEngineer,
|
||||
type: '102'
|
||||
type: '102',
|
||||
roleOpen:'fggcs',
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
@@ -279,7 +280,7 @@
|
||||
projectNameId: row.projectNameId,
|
||||
targetMarket: row.targetMarket,
|
||||
studioEngineer: row.studioEngineer,
|
||||
type: '106'
|
||||
type: '106',
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
|
||||
Reference in New Issue
Block a user