fix: BUG修改
This commit is contained in:
parent
68132f8415
commit
4dab36a189
@ -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"
|
||||
|
||||
@ -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();
|
||||
});
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user