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(); });