This commit is contained in:
wangzhijiang
2023-07-13 15:46:56 +08:00
parent 3844e743b6
commit 84c236d81c
@@ -143,7 +143,8 @@
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<span class="Required">*</span> <span class="Required">*</span>
<span class="title-text-text" :title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span> <span class="title-text-text"
:title="$t('engineeringInterfacePerson')">{{ $t('engineeringInterfacePerson') }}</span>
</div> </div>
<a-form-model-item class="itemModel" :prop="'engineeringInterfacePerson'"> <a-form-model-item class="itemModel" :prop="'engineeringInterfacePerson'">
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')" <a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
@@ -264,7 +265,8 @@
<a-form-model-item class="itemModel" prop="designDeliverableTemplate"> <a-form-model-item class="itemModel" prop="designDeliverableTemplate">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
@click="clickButtonToUpload('designDeliverableTemplate')"> @click="clickButtonToUpload('designDeliverableTemplate')">
{{ (formInline.designDeliverableTemplate === 'null' || formInline.designDeliverableTemplate === '' || {{
(formInline.designDeliverableTemplate === 'null' || formInline.designDeliverableTemplate === '' ||
formInline.designDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') formInline.designDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}} }}
</a-button> </a-button>
@@ -395,7 +397,8 @@
<a-form-model-item class="itemModel" prop="verifyDeliverableTemplate"> <a-form-model-item class="itemModel" prop="verifyDeliverableTemplate">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
@click="clickButtonToUpload('verifyDeliverableTemplate')"> @click="clickButtonToUpload('verifyDeliverableTemplate')">
{{ (formInline.verifyDeliverableTemplate === 'null' || formInline.verifyDeliverableTemplate === '' || {{
(formInline.verifyDeliverableTemplate === 'null' || formInline.verifyDeliverableTemplate === '' ||
formInline.verifyDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') formInline.verifyDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}} }}
</a-button> </a-button>
@@ -693,20 +696,31 @@
}, },
methods: { methods: {
isEdit(val) { isEdit(val) {
if (val.designFlowStatus == 'Task to be confirmed' || val.designFlowStatus == 'Results to be submitted' || if (val.roleCodeIndex == '0' || val.roleCodeIndex == '1' || val.roleCodeIndex == '12') {
val.designFlowStatus == 'Results to be reviewed') {
return true
} else {
return false return false
} else {
return true
} }
// if (val.designFlowStatus == 'Task to be confirmed' || val.designFlowStatus == 'Results to be submitted' ||
// val.designFlowStatus == 'Results to be reviewed') {
// return true
// } else {
// return false
// }
}, },
isEditVerifi(val) { isEditVerifi(val) {
if (val.verifyFlowStatus == 'Task to be confirmed' || val.verifyFlowStatus == 'Results to be submitted' || if (val.roleCodeIndex == '0' || val.roleCodeIndex == '1' || val.roleCodeIndex == '12') {
val.verifyFlowStatus == 'Results to be reviewed') {
return true
} else {
return false return false
} else {
return true
} }
// if (val.verifyFlowStatus == 'Task to be confirmed' || val.verifyFlowStatus == 'Results to be submitted' ||
// val.verifyFlowStatus == 'Results to be reviewed') {
// return true
// } else {
// return false
// }
}, },
...mapGetters(['userInfo']), ...mapGetters(['userInfo']),
getRejectCause(id) { getRejectCause(id) {