[update] bug修改

This commit is contained in:
zhaomeijing
2022-06-15 11:04:44 +08:00
parent d3ce6b6543
commit eff18530e7
@@ -252,11 +252,11 @@
<a-row :gutter="24">
<a-col :span="24">
<div style='font-size: 20px;margin-bottom: 20px;display: flex;justify-content: center' class="box-title-text-index" v-for='(item,key) in NotSelectedRowKeysValue'>
<div>NIO编号为{{ item.nioNumber }},状态为{{ item.state }},没有此按钮的操作权限。</div>
<div>NIO编号为{{ item.nioNumber }},状态为<span style='color: red'>{{ item.state }}</span>,没有此按钮的操作权限。</div>
</div>
<!-- 认证工程师-提示-->
<div style='font-size: 16px;color: red;display: flex;justify-content: center'>
{{ currentPersonRole =='homo'? '认证工程师': (currentPersonRole =='sdt'? '工程接口人': '填写人') }} 数据状态为
{{ currentPersonRole =='homo'? '认证工程师': (currentPersonRole =='sdt'? '工程接口人': '填写人') }}数据状态为
<!-- 下发收集时-->
<span v-if='jurisdiction === "HOMOZFSJ"'>
'待发起收集'、'工程接口人退回'或'变更'
@@ -267,7 +267,7 @@
</span>
<!-- 截止时间-->
<span v-if='jurisdiction === "HOMOJZSJ"'>
'已提交'或'变更'
'待发起收集'
</span>
<!-- 分配填写人 -->
<span v-if='jurisdiction === "SDTFPTXR"'>
@@ -463,6 +463,7 @@ export default {
handleOkRoleSwitching() {
this.visibleRoleSwitching = false
this.currentPersonRole = this.formInlineRoleSwitching.roleSwitchingCode
this.selectedRowKeysValue = []
},
roleSwitchingClick() {
this.visibleRoleSwitching = true
@@ -475,6 +476,7 @@ export default {
},
// 错误数据的弹框
cancleoperationFailed() {
this.selectedRowKeysValue = []
this.visibleoperationFailed = false
this.GetgetTableList()
},
@@ -503,7 +505,7 @@ export default {
// 仅仅状态为 已提交 可以退回
homoJurisdictionReturn() {
// 认证工程师 已提交
if(currentPersonRole =='homo') {
if(this.currentPersonRole =='homo') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -521,7 +523,7 @@ export default {
}
return flag
//工程接口人 待工程接口人处理 填写人退回
}else if(currentPersonRole =='sdt') {
}else if(this.currentPersonRole =='sdt') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -539,7 +541,7 @@ export default {
}
return flag
//填写人 待填写 认证工程师退回
}else if(currentPersonRole =='dre') {
}else if(this.currentPersonRole =='dre') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -598,7 +600,6 @@ export default {
},
// 填写人 截至时间 权限
// 仅仅状态为 可以截至时间
// todo 此状态为错误的
dreTaskCutOffTimeLibrary() {
// 定义开关 0为没有权限 1为有权限
this.NotSelectedRowKeysValue = []
@@ -608,7 +609,7 @@ export default {
this.$message.warning(this.$t('selectLeastOne'))
} else {
this.selectedRowKeysValue.forEach((item, index) => {
if(item.state !== '已提交' && item.state !== '变更') {
if(item.state !== '待发起收集') {
this.NotSelectedRowKeysValue.push(item)
flag = 0
}
@@ -620,7 +621,7 @@ export default {
// 仅仅状态为 待工程接口人处理 填写人退回 可以强制撤回
homoJurisdictionCompulsoryWithdrawal() {
// 认证工程师 已提交
if(currentPersonRole =='homo') {
if(this.currentPersonRole =='homo') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -639,7 +640,7 @@ export default {
return flag
// 工程接口人 强制撤回 权限
// 仅仅状态为 待填写 可以强制撤回
}else if(currentPersonRole =='sdt') {
}else if(this.currentPersonRole =='sdt') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -657,7 +658,7 @@ export default {
}
return flag
//填写人 已提交
}else if(currentPersonRole =='dre') {
}else if(this.currentPersonRole =='dre') {
this.NotSelectedRowKeysValue = []
// 定义开关 0为没有权限 1为有权限
let flag = 1
@@ -698,6 +699,7 @@ export default {
// 填写人 提交 权限
// 仅仅状态为 待填写 认证工程师退回 可以提交
dreJurisdictionSubmit() {
console.log(this.selectedRowKeysValue,'this.selectedRowKeysValue')
// 定义开关 0为没有权限 1为有权限
this.NotSelectedRowKeysValue = []
let flag = 1