From e37b22b45f162ffcf61e41ccafa7819d38f89068 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Thu, 20 Nov 2025 20:51:46 +0800 Subject: [PATCH] =?UTF-8?q?2025.11.20=20=E4=BA=A7=E5=93=81=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=94=B6=E9=9B=86-=E5=BE=85=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6-=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=87=E6=A1=A3=E7=B1=BB=E5=9E=8BID?= =?UTF-8?q?=E3=80=81=E6=96=87=E6=A1=A3=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/eam/eamProjectInfoForUploads.vue | 40 ++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/src/views/modules/eam/eamProjectInfoForUploads.vue b/src/views/modules/eam/eamProjectInfoForUploads.vue index e55225c..2c93fb0 100644 --- a/src/views/modules/eam/eamProjectInfoForUploads.vue +++ b/src/views/modules/eam/eamProjectInfoForUploads.vue @@ -49,6 +49,15 @@ + + + 文档类型ID + + + + + + 关闭 + + @@ -379,9 +390,12 @@ import {getTableDefaultListLanguage, getTableUserListLanguage, updateColumnSize} import {EventBus} from "../../../main"; import UploadFileList1 from "../common/uploadFileList1.vue"; import {uploadFileList} from '@/api/base/baseFunction.js'; +import Chooselist from '@/views/modules/common/Chooselist_eam' export default { - components: {UploadFileList1}, + components: {UploadFileList1, + Chooselist + }, computed: { projectOwnersList() { @@ -459,6 +473,8 @@ export default { closeEndDate: '', projectLeader: '', documentDefinitionListId: '', + documentTypeId:'', + documentType: '', page: 1, limit: 10, }, @@ -1737,6 +1753,28 @@ export default { }); }, methods: { + // 获取基础数据列表S + getBaseList (val,type) { + this.tagNo = val + this.tagNo1 = type + this.$nextTick(() => { + let strVal = '' + let conSql = '' + if (val === 1056 ) { + strVal = this.searchData.documentTypeId ? this.searchData.documentTypeId.toString() : '' + conSql = " and a.site = '" + this.$store.state.user.site + "'" + this.$refs.baseList.init(val, strVal, conSql) + } + + }) + }, + + /* 列表方法的回调 */ + getBaseData (val) { + if (this.tagNo === 1056) { + this.searchData.documentTypeId = val.document_type_id + } + }, handleColumnResize(newWidth, oldWidth, column, event){ let inData= this.columnProjectAllDocumentList.filter(item => item.columnProp === column.property)[0] inData.columnWidth=newWidth