认证工程师 强制撤回状态校验

This commit is contained in:
zyx.net
2022-12-08 15:02:11 +08:00
parent 06c1dbde1b
commit 734d7495ac
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -737,6 +737,7 @@ module.exports = {
Attentionfreeze: 'Note: Note: The item can no longer be configured after its frozen. ',
Filledperson: 'The project contact person has not been filled in. Please fill in the project contact person before issuing and collecting.',
Datastatusis: 'Datastatusis',
Datastateexcept: 'Data state except',
Dropdownradio: 'Drop Down Radio',
Dropdownmultipleselection: 'Drop down multiple selection',
a: '+',
+1
View File
@@ -753,6 +753,7 @@ module.exports = {
Attentionfreeze: '冻结后该冻结配置内容不可进行编辑',
Filledperson: '工程接口人没有填写,请填写完工程接口人再进行下发收集',
Datastatusis: '数据状态为',
Datastateexcept: '数据状态除了',
Dropdownradio: '下拉单选',
Dropdownmultipleselection: '下拉多选',
a: '+',
@@ -425,7 +425,7 @@
<!-- 认证工程师-提示-->
<div style='font-size: 16px;color: red;text-align: center' v-if='NoEngineer === 1'>
{{ currentPersonRole =='homo'? $t('certifiedEngineer'): (currentPersonRole =='sdt'?
$t('engineeringInterfacePerson'): $t('completedBy')) }}{{$t('Datastatusis')}}
$t('engineeringInterfacePerson'): $t('completedBy')) }}{{jurisdiction === "homoQZTH"? $t('Datastateexcept') : $t('Datastatusis')}}
<!-- 下发收集时-->
<span v-if='jurisdiction === "HOMOZFSJ"' class="text-wraning">
'{{$t('CollectionInitiated')}}'、'{{$t('ReturnedPerson')}}'{{$t('or')}}'{{$t('alteration')}}'
@@ -458,7 +458,7 @@
</span>
<!-- 强制撤回-->
<span v-else-if='jurisdiction === "homoQZTH"' class="text-wraning">
'{{$t('handledInterface')}}'{{$t('or')}}'{{$t('Filledreturn')}}'
'{{$t('SynchronizedLibrary')}}'{{$t('or')}}'{{$t('CollectionInitiated')}}'
</span>
<span v-else-if='jurisdiction === "sdtQZTH"' class="text-wraning">
{{$t('completed')}}
@@ -1077,7 +1077,8 @@
this.$message.warning(this.$t('selectLeastOne'))
} else {
this.selectedRowKeysValue.forEach((item, index) => {
if (item.state !== '待工程接口人处理' && item.state !== '填写人退回' && item.state !== 'To be processed by eng. interface' && item.state !== 'Rejected by the applicant') {
console.log(item)
if (item.state == '已同步至上报库' || item.state == 'Synced to library' || item.state == '待发起收集' || item.state == 'To be collected') {
this.NotSelectedRowKeysValue.push(item)
this.jurisdiction = 'homoQZTH'
flag = 0