From 4dab36a1898c6ee85c134a082698e2f0bca066e2 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Fri, 29 Dec 2023 16:37:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .../huizhou/projectList/components/fileListDialog/index.vue | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index efed31d..0d071e7 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) -VITE_API_URL = 'http://192.168.34.155:6688' +VITE_API_URL = 'http://192.168.34.155:6677' # VITE_API_URL = 'http://2xliv7gs.shenzhuo.vip:55296' VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" # VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" diff --git a/src/views/goverment/huizhou/projectList/components/fileListDialog/index.vue b/src/views/goverment/huizhou/projectList/components/fileListDialog/index.vue index 8a7a744..f7b323b 100644 --- a/src/views/goverment/huizhou/projectList/components/fileListDialog/index.vue +++ b/src/views/goverment/huizhou/projectList/components/fileListDialog/index.vue @@ -183,6 +183,7 @@ const dataCallback = (data: any) => { }; const getTableList = (params: any) => { let newParams = JSON.parse(JSON.stringify(params)); + newParams.engineeringSn = props.engineeringSn; console.log(newParams); return fileShowList(newParams); }; @@ -230,13 +231,15 @@ watch( watch( () => visible1.value, (n, o) => { + if (n) { + proTable.value?.getTableList(); + } emits("update:fileListVisible", n); } ); onMounted(async () => { const res2 = await getDicList({ dictType: "attachment_name" }); annexFiles.value = res2.result.map(item => ({ ...item, files: [] })); - proTable.value?.getTableList(); });