From 461a2327a1509ee7b2f3d8e25db9ea6234e112b7 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Mon, 4 Dec 2023 17:10:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++- src/components/ImportForm/src/DetecImportForm.vue | 2 +- src/views/detection/recordsDetails/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 78976cd..318da95 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,8 @@ VITE_DEV=false VITE_BASE_URL='http://localhost:12080' # 上传路径 -VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://localhost:12080/admin-api/spc/template-item-details/upload' +#VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH=/dev-api diff --git a/src/components/ImportForm/src/DetecImportForm.vue b/src/components/ImportForm/src/DetecImportForm.vue index 96bf3fa..814d8ef 100644 --- a/src/components/ImportForm/src/DetecImportForm.vue +++ b/src/components/ImportForm/src/DetecImportForm.vue @@ -404,7 +404,7 @@ const submitFormSuccess = (response: any) => { } decRecId.value= response.data.decRecId;//主记录id isButton.value = response.data.button;//是否显示提交按钮 - isButton.value=true; + console.info("isButton",isButton.value); //dialogVisible.value = false //文件导入成功之后隐藏导入框展示告警信息列表 setSearchParams({ diff --git a/src/views/detection/recordsDetails/index.vue b/src/views/detection/recordsDetails/index.vue index bcec2e8..a471eca 100644 --- a/src/views/detection/recordsDetails/index.vue +++ b/src/views/detection/recordsDetails/index.vue @@ -153,8 +153,8 @@ const file = ref('') // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'wms:recordsDetails:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'wms:recordsDetails:import'}), // 导入 + defaultButtons.defaultAddBtn(null), // 新增 + defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn({hasPermi:'wms:recordsDetails:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选