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