From 4e3d69b9e4ce02dfafaa96bca9b02ccecf9b86ae Mon Sep 17 00:00:00 2001 From: zhangyanli Date: Sun, 4 Feb 2024 17:39:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory_management/components/import_custom.vue | 6 ++++-- .../inventory_management/components/list.vue | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/hazard_investigation/inventory_management/components/import_custom.vue b/src/views/hazard_investigation/inventory_management/components/import_custom.vue index aedefa7..4638c18 100644 --- a/src/views/hazard_investigation/inventory_management/components/import_custom.vue +++ b/src/views/hazard_investigation/inventory_management/components/import_custom.vue @@ -244,7 +244,7 @@ const fnGetUser = async (POST_ID) => { data.userList = resData.userList; }; const fnClose = () => { - form.value.resetFields(); + // form.value.resetFields(); visible.value = false; }; const fnSubmit = debounce( @@ -263,7 +263,9 @@ const fnSubmit = debounce( ); const fnExportTemplates = async () => { await ElMessageBox.confirm("确定要下载excel模板吗?", { type: "warning" }); - window.open(VITE_TEMPLATE_URL + props.templateUrl); + window.open( + VITE_TEMPLATE_URL + "/template/hiddenDangerCheckStandardTemplate.xls" + ); }; watchEffect(() => { if (form.value.DEPARTMENT_ID) fnGetPost(form.value.DEPARTMENT_ID); diff --git a/src/views/hazard_investigation/inventory_management/components/list.vue b/src/views/hazard_investigation/inventory_management/components/list.vue index 74c354d..0bad6f7 100644 --- a/src/views/hazard_investigation/inventory_management/components/list.vue +++ b/src/views/hazard_investigation/inventory_management/components/list.vue @@ -313,12 +313,12 @@ v-model:list="data.inspectionRouteDialog.list" :info="data.inspectionRouteDialog.info" /> + -