From 5e9d8ec143f321db3aced9f05d69293f598b0537 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Fri, 21 Jun 2024 17:10:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8A=E4=BC=A0baseUrl=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/fileListDialogDiv/index.vue | 4 ++-- .../huizhou/progressManagement/contractManagement/index.vue | 4 ++-- .../progressManagement/divisionsAndISubItems/index.vue | 4 ++-- .../huizhou/progressManagement/fundingPlan/index.vue | 4 ++-- .../investmentPayment/components/transformInfo1.vue | 4 ++-- .../huizhou/progressManagement/planFinishSituation/index.vue | 4 ++-- .../projectList/components/fileListDialogDiv/index.vue | 4 ++-- .../projectMonitoring/qualityControl/components/orderAdd.vue | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/goverment/huizhou/preProjectManagement/components/fileListDialogDiv/index.vue b/src/views/goverment/huizhou/preProjectManagement/components/fileListDialogDiv/index.vue index 893f421..e34584f 100644 --- a/src/views/goverment/huizhou/preProjectManagement/components/fileListDialogDiv/index.vue +++ b/src/views/goverment/huizhou/preProjectManagement/components/fileListDialogDiv/index.vue @@ -141,8 +141,8 @@ const columns: ColumnProps[] = [ { prop: "operation", label: "操作" } ]; const store = GlobalStore(); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const headers = ref({ Authorization: "Bearer " + store.token }); const current = ref([]); const addDialogVisible = ref(false); diff --git a/src/views/goverment/huizhou/progressManagement/contractManagement/index.vue b/src/views/goverment/huizhou/progressManagement/contractManagement/index.vue index 558730a..aeafca7 100644 --- a/src/views/goverment/huizhou/progressManagement/contractManagement/index.vue +++ b/src/views/goverment/huizhou/progressManagement/contractManagement/index.vue @@ -253,8 +253,8 @@ import { jxj_User } from "@/api/types"; import { useHandleData } from "@/hooks/useHandleData"; const route = useRoute(); const store = GlobalStore(); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const fileList = ref([]); const fileList2 = ref([]); const fileList3 = ref([]); diff --git a/src/views/goverment/huizhou/progressManagement/divisionsAndISubItems/index.vue b/src/views/goverment/huizhou/progressManagement/divisionsAndISubItems/index.vue index 8dc5874..e48e74b 100644 --- a/src/views/goverment/huizhou/progressManagement/divisionsAndISubItems/index.vue +++ b/src/views/goverment/huizhou/progressManagement/divisionsAndISubItems/index.vue @@ -397,8 +397,8 @@ const pages = ref({ }); const records = ref([]); const active = ref(1); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const globalStore = GlobalStore(); const fileList = ref([] as any); const fileList2 = ref([] as any); diff --git a/src/views/goverment/huizhou/progressManagement/fundingPlan/index.vue b/src/views/goverment/huizhou/progressManagement/fundingPlan/index.vue index f3006e4..605826a 100644 --- a/src/views/goverment/huizhou/progressManagement/fundingPlan/index.vue +++ b/src/views/goverment/huizhou/progressManagement/fundingPlan/index.vue @@ -210,8 +210,8 @@ const pages = ref({ }); const records = ref([]); const active = ref(1); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const globalStore = GlobalStore(); const fileList = ref([]); const fileList1 = ref([]); diff --git a/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo1.vue b/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo1.vue index 5c55e17..2a46a17 100644 --- a/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo1.vue +++ b/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo1.vue @@ -438,8 +438,8 @@ const pageable = ref({ pageSize: 12, total: 0 }); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const props = defineProps({ detailsDialog: Boolean, relativeId: String, diff --git a/src/views/goverment/huizhou/progressManagement/planFinishSituation/index.vue b/src/views/goverment/huizhou/progressManagement/planFinishSituation/index.vue index 694c93f..e64abce 100644 --- a/src/views/goverment/huizhou/progressManagement/planFinishSituation/index.vue +++ b/src/views/goverment/huizhou/progressManagement/planFinishSituation/index.vue @@ -212,8 +212,8 @@ import { Base64 } from "js-base64"; const uplUrl = import.meta.env.VITE_ULD_API_URL; const ruleFormRef = ref(); const route = useRoute(); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const fileList = ref([]); const aproveVisible = ref(false); const relativeId = ref(""); diff --git a/src/views/goverment/huizhou/projectList/components/fileListDialogDiv/index.vue b/src/views/goverment/huizhou/projectList/components/fileListDialogDiv/index.vue index 1a8866a..7045bf2 100644 --- a/src/views/goverment/huizhou/projectList/components/fileListDialogDiv/index.vue +++ b/src/views/goverment/huizhou/projectList/components/fileListDialogDiv/index.vue @@ -141,8 +141,8 @@ const columns: ColumnProps[] = [ { prop: "operation", label: "操作" } ]; const store = GlobalStore(); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const headers = ref({ Authorization: "Bearer " + store.token }); const current = ref([]); const addDialogVisible = ref(false); diff --git a/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/orderAdd.vue b/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/orderAdd.vue index 2bdfa69..891a5ca 100644 --- a/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/orderAdd.vue +++ b/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/orderAdd.vue @@ -513,8 +513,8 @@ const dangerForm = ref({ image: [] }); const storeVisible = ref(false); -// const baseUrl = window.location.protocol + "//" + window.location.host; -const baseUrl = import.meta.env.VITE_API_URL; +const baseUrl = window.location.protocol + "//" + window.location.host; +// const baseUrl = import.meta.env.VITE_API_URL; const props = defineProps({ orderDialog: Boolean });