From 5119c970819e31a026206e9f766c26ceec9c0e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 6 Apr 2023 17:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE=E6=94=BE=E5=A4=A7?= =?UTF-8?q?=EF=BC=9B=E6=B5=81=E7=A8=8B=E5=8E=86=E5=8F=B2=E5=8F=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8E=E6=B5=81=E7=A8=8B=E8=A1=A8=E5=8D=95=E4=B8=AD?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E9=9C=80=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../virtualList/components/editModel.vue | 329 +++++++++------- .../components/virtualListDetails.vue | 28 +- .../components/taskCirculationHistory.vue | 189 +++++++-- .../processForm/processDetails/index.vue | 5 +- .../components/addCodeNumber.vue | 370 +++++++++--------- .../certificationList/components/addModel.vue | 15 +- 6 files changed, 561 insertions(+), 375 deletions(-) diff --git a/jero-web/src/views/documentTools/virtualList/components/editModel.vue b/jero-web/src/views/documentTools/virtualList/components/editModel.vue index 06d7311a2..14903e020 100644 --- a/jero-web/src/views/documentTools/virtualList/components/editModel.vue +++ b/jero-web/src/views/documentTools/virtualList/components/editModel.vue @@ -1,6 +1,6 @@ @@ -674,6 +695,7 @@ }, formInline: {}, disabled: false, + title: '', CategoryTreeList: [], DeliverableTreeList: [] } @@ -703,6 +725,21 @@ }, editModel(item) { this.visible = true + this.disabled = false + this.title = this.$t('edit') + this.$nextTick(() => { + this.formInline = item || {} + this.formInline.technologyTerritory = this.formInline.technologyTerritory ? this.formInline.technologyTerritory.split(',') : [] + this.formInline.designDeliverableType = this.formInline.designDeliverableType ? this.formInline.designDeliverableType.split(',') : [] + this.formInline.prehomoDeliverableType = this.formInline.prehomoDeliverableType ? this.formInline.prehomoDeliverableType.split(',') : [] + this.formInline.verifyDeliverableType = this.formInline.verifyDeliverableType ? this.formInline.verifyDeliverableType.split(',') : [] + this.$refs.ruleForm.clearValidate() + }) + }, + viewModel(item) { + this.visible = true + this.disabled = true + this.title = this.$t('view') this.$nextTick(() => { this.formInline = item || {} this.formInline.technologyTerritory = this.formInline.technologyTerritory ? this.formInline.technologyTerritory.split(',') : [] diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue index 88826cfab..4f0017e66 100644 --- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue +++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue @@ -226,11 +226,16 @@ > {{$t('edit')}} {{$t('deleteLib')}} + {{$t('view')}} @@ -994,14 +999,14 @@ computed: { columns() { let columnResult = JSON.parse(JSON.stringify(this.columnsAll)) - if (this.title === '市场清单详情') { - for (var i = 0; i < columnResult.length; i++) { - if (columnResult[i].title === this.$t('operation')) { - columnResult.splice(i, 1) - i-- - } - } - } + // if (this.title === '市场清单详情') { + // for (var i = 0; i < columnResult.length; i++) { + // if (columnResult[i].title === this.$t('operation')) { + // columnResult.splice(i, 1) + // i-- + // } + // } + // } this.isTruee = false this.$nextTick(() => { this.isTruee = true @@ -1051,6 +1056,8 @@ this.isTrue = false setTimeout(() => { this.isTrue = true + this.title = this.$route.query.title + this.isTrue = this.$route.query.title == '市场清单详情' ? false : true }, 100) }, //导出 @@ -1181,7 +1188,7 @@ title: this.$t('operation'), align: 'left', fixed: 'right', - width: 240, + width: 120, scopedSlots: { customRender: 'operation' } }) @@ -1346,6 +1353,9 @@ edit(item) { this.$refs.editModelRef.editModel(JSON.parse(JSON.stringify(item))) }, + viewClick(item){ + this.$refs.editModelRef.viewModel(JSON.parse(JSON.stringify(item))) + }, deleteLib(val) { let _this = this this.$confirm({ diff --git a/jero-web/src/views/processCenter/components/taskCirculationHistory.vue b/jero-web/src/views/processCenter/components/taskCirculationHistory.vue index 9496a5adc..39ae27588 100644 --- a/jero-web/src/views/processCenter/components/taskCirculationHistory.vue +++ b/jero-web/src/views/processCenter/components/taskCirculationHistory.vue @@ -8,23 +8,46 @@
- - {{text}} + + {{approvalResult[text]}} + + + + + {{text}} + + + + + {{result.operatorResultName}} + + + + + {{$t('viewFile')}} + + --
+ \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue index c4018732d..19b67451e 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -36,15 +36,16 @@ - - - - - + @@ -162,7 +163,7 @@ {{$t('typeOfDeliverables')}} - *
{{$t('typeOfDeliverables')}} -