From 10e1974a211d40b2ee8f39432e708c1caaf977ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 24 Oct 2023 10:25:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B9=B3=E5=8F=B0=E4=BB=B6?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=AD=E6=9D=A1=E7=9B=AE=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=BA=94=E6=98=BE=E7=A4=BA=E8=A2=AB=E5=BC=95=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E9=A1=B9=E7=9B=AE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/listEditModel.vue | 170 +++++++++++++----- 1 file changed, 126 insertions(+), 44 deletions(-) diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue index 697327a95..2c786776b 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue @@ -149,12 +149,12 @@ - - - - - - + + + + + + @@ -167,20 +167,20 @@ {{$t('regulatoryEngineer')}} - - - - - - - - - - - - - - + + + + + + + + + + + + + + {{$t('engineeringInterfacePerson')}} - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -589,6 +590,25 @@ +
+  {{$t('PlatformInformation')}} +
+ + + + + + +
@@ -606,12 +626,14 @@ import Standardselection from '@/components/Standardselection/index' import PersonnelSelection from '@/components/PersonnelSelection/index' import { getAction, postAction, putAction } from '@/api/manage' + import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' import uploadFile from '@/components/uploadFile/file' import moment from 'moment' import { mapGetters } from 'vuex' export default { name: 'listEditModel', + mixins: [ResizeHeader, ResizeColumnProvide], components: { Standardselection, PersonnelSelection, @@ -621,6 +643,53 @@ data() { return { visible: false, + dataList: [], + selectedRowKeys: [], + loading: false, + columns: [ + { + title: this.$t('entryName'), + dataIndex: 'projectName', + align: 'left', + ellipsis: true, + width: 120 + }, + { + title: this.$t('design') + this.$t('typeOfDeliverables'), + dataIndex: 'designDeliverableTypeName', + align: 'left', + ellipsis: true, + width: 180 + }, + { + title: this.$t('design') + this.$t('deliverableTemplate'), + align: 'left', + width: 180, + ellipsis: true, + dataIndex: 'designDeliverableTemplateName' + }, + { + title: this.$t('verify') + this.$t('typeOfDeliverables'), + dataIndex: 'verifyDeliverableTypeName', + align: 'left', + ellipsis: true, + width: 200 + }, + { + title: this.$t('verify') + this.$t('deliverableTemplate'), + dataIndex: 'verifyDeliverableTemplateName', + align: 'left', + ellipsis: true, + width: 200 + } + // { + // title: this.$t('operation'), + // align: 'left', + // fixed: 'right', + // width: 130, + // scopedSlots: { customRender: 'operation' } + // } + ], confirmLoading: false, rejectCauseListOne: [], firstLevelDutyTerritoryList: [], @@ -761,6 +830,9 @@ this.userInfoQuery = this.userInfo() }, methods: { + onSelectChange(value) { + this.selectedRowKeys = value + }, getFirstLevelDutyTerritory() { getAction('/sys/dictItem/getFirstLevelDutyTerritory', {}).then((res) => { if (res.success) { @@ -928,6 +1000,7 @@ this.verifyDutyList = [] this.prehomoDutyList = [] this.getDeliverableTree() + this.getQueryQuoteList(item) item.designDeliverableType = item.designDeliverableType ? item.designDeliverableType.split(',') : [] item.prehomoDeliverableType = item.prehomoDeliverableType ? item.prehomoDeliverableType.split(',') : [] item.verifyDeliverableType = item.verifyDeliverableType ? item.verifyDeliverableType.split(',') : [] @@ -940,15 +1013,24 @@ // if (item.dutyTerritory && item.dutyTerritory.length > 0) { // this.queryPersonByProject(item) // } else { - this.formInline = item - this.formInline = { ...this.formInline } + this.formInline = item + this.formInline = { ...this.formInline } // } - console.log(this.formInline) - console.log(this.formInline.dutyTerritory) this.$nextTick(() => { this.$refs.ruleForm.clearValidate() }) }, + getQueryQuoteList(item) { + console.log(item) + getAction('/platform/projectLibraryBase/queryQuoteList', { platformLawsInventoryId: item.id }).then((res) => { + if (res.success) { + this.dataList = res.result || [] + console.log(this.dataList) + } else { + this.dataList = [] + } + }) + }, clickButtonToUpload(item) { let isTrue = false if (item == 'designDeliverableTemplate') {