Browse Source

钉钉

master
songguoqiang 12 months ago
parent
commit
461a2327a1
  1. 3
      .env.development
  2. 2
      src/components/ImportForm/src/DetecImportForm.vue
  3. 4
      src/views/detection/recordsDetails/index.vue

3
.env.development

@ -7,7 +7,8 @@ VITE_DEV=false
VITE_BASE_URL='http://localhost:12080' 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 VITE_API_BASEPATH=/dev-api

2
src/components/ImportForm/src/DetecImportForm.vue

@ -404,7 +404,7 @@ const submitFormSuccess = (response: any) => {
} }
decRecId.value= response.data.decRecId;//id decRecId.value= response.data.decRecId;//id
isButton.value = response.data.button;// isButton.value = response.data.button;//
isButton.value=true; console.info("isButton",isButton.value);
//dialogVisible.value = false //dialogVisible.value = false
// //
setSearchParams({ setSearchParams({

4
src/views/detection/recordsDetails/index.vue

@ -153,8 +153,8 @@ const file = ref('')
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:recordsDetails:create'}), // defaultButtons.defaultAddBtn(null), //
defaultButtons.defaultImportBtn({hasPermi:'wms:recordsDetails:import'}), // defaultButtons.defaultImportBtn(null), //
defaultButtons.defaultExportBtn({hasPermi:'wms:recordsDetails:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:recordsDetails:export'}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //

Loading…
Cancel
Save