From f90fe16a43d1402457694de0d98fa302b1829dc0 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 7 Jul 2022 11:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/App.vue | 3 + .../components/engineeringConfirmation.vue | 17 +- .../components/listOfRegulations.vue | 149 +++++++++++------- 3 files changed, 105 insertions(+), 64 deletions(-) diff --git a/jero-web/src/App.vue b/jero-web/src/App.vue index 862267a30..b9ecf2551 100644 --- a/jero-web/src/App.vue +++ b/jero-web/src/App.vue @@ -142,4 +142,7 @@ .itemModel-multi .ant-form-explain, .ant-form-extra { margin-top: -10px; } + .anticon-exclamation-circle{ + display: none!important; + } \ No newline at end of file diff --git a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue index 39898a7ed..bc666817e 100644 --- a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue +++ b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue @@ -95,13 +95,13 @@ {{$t('engineer')}} - + + v-model="formInline.userIdName"/> @@ -385,7 +385,7 @@ trigger: 'change' } ], - userName: [ + userIdName: [ { required: true, message: this.$t('engineer') + this.$t('cannotEmpty'), @@ -623,8 +623,9 @@ }) } this.formInline.userId = userId.join(',') - this.formInline.userName = userName.join(',') + this.formInline.userIdName = userName.join(',') this.formInline = { ...this.formInline } + console.log(this.formInline) } this.loadingTable = false } else { @@ -682,7 +683,7 @@ this.formInline[value] = id this.distributionEngineerList = [] if (id) { - this.formInline.userName.split(',').forEach((res, index) => { + this.formInline.userIdName.split(',').forEach((res, index) => { this.distributionEngineerList.push({ deliveryInstructions: '', name: res, @@ -713,9 +714,9 @@ }) _this.distributionEngineerList.splice(num, 1) _this.distributionEngineerList = [..._this.distributionEngineerList] - _this.formInline.userName = _this.formInline.userName.split(',') - _this.formInline.userName.splice(num, 1) - _this.formInline.userName = _this.formInline.userName.join(',') + _this.formInline.userIdName = _this.formInline.userIdName.split(',') + _this.formInline.userIdName.splice(num, 1) + _this.formInline.userIdName = _this.formInline.userIdName.join(',') _this.formInline.userId = _this.formInline.userId.split(',') _this.formInline.userId.splice(num, 1) _this.formInline.userId = _this.formInline.userId.join(',') diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 362fb22e9..bcb75b872 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -26,11 +26,53 @@
-
- {{ $t('subtitle') }} +
+ {{ $t('areaOfResponsibility') }}
- + +
+ + +
+
+ {{ $t('listConfirmationStatus') }} +
+ + + + {{ item.label}} + + + +
+
+ +
+
+ {{ $t('taskAffirmStatus') }} +
+ + + + {{ item.label}} + + +
@@ -774,6 +816,11 @@ value: 'correspondingStandard', text: this.$t('correspondingStandard') }, + { + type: 'string', + value: 'subtitle', + text: this.$t('subtitle') + }, { type: '', value: 'implementType', @@ -837,59 +884,49 @@ valueName: 'engineeringInterfacePersonName', text: this.$t('engineeringInterfacePerson') }, + ], + listOptions:[ { - type: '', - value: 'inventoryAffirmStatus', - text: this.$t('listConfirmationStatus'), - options:[ - { - value:'Not started', - key:'Not started', - label:this.$t('notLaunch'), - }, - { - value:'List to confirm', - key:'List to confirm', - label:this.$t('toBeConfirmed'), - }, - { - value:'Accepted', - key:'Accepted', - label:this.$t('accept'), - }, - { - value:'Rejected', - key:'Rejected', - label:this.$t('refuse'), - }, - ], + value:'Not started', + key:'Not started', + label:this.$t('notLaunch'), }, { - type: '', - value: 'taskAffirmStatus', - text: this.$t('taskAffirmStatus'), - options:[ - { - value:'Not started', - key:'Not started', - label:this.$t('notLaunch'), - }, - { - value:'List to confirm', - key:'List to confirm', - label:this.$t('toBeConfirmed'), - }, - { - value:'Accepted', - key:'Accepted', - label:this.$t('accept'), - }, - { - value:'Rejected', - key:'Rejected', - label:this.$t('refuse'), - }, - ], + value:'List to confirm', + key:'List to confirm', + label:this.$t('toBeConfirmed'), + }, + { + value:'Accepted', + key:'Accepted', + label:this.$t('accept'), + }, + { + value:'Rejected', + key:'Rejected', + label:this.$t('refuse'), + }, + ], + taskOptions:[ + { + value:'Not started', + key:'Not started', + label:this.$t('notLaunch'), + }, + { + value:'List to confirm', + key:'List to confirm', + label:this.$t('toBeConfirmed'), + }, + { + value:'Accepted', + key:'Accepted', + label:this.$t('accept'), + }, + { + value:'Rejected', + key:'Rejected', + label:this.$t('refuse'), }, ], visibleRoleSwitching: false, @@ -2018,14 +2055,14 @@ } .title-text { - width: 32px; + width: 92px; color: #000F16; display: inline-block; font-weight: 500; font-size: 14px; margin-right: 16px; margin-top: 3px; - text-align: left; + text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;