From 2edd5bea33ef8deeada3b6062bf98dc88bfc510a Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Tue, 21 May 2024 10:36:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/components/ChinaAreaData/index.vue | 4 +++- .../huizhou/projectList/components/readonlyDialog/index.vue | 5 ++--- src/views/goverment/huizhou/projectList/index.vue | 2 ++ .../components/ProjectSupervision/overview.vue | 5 ++--- .../projectApproval/components/readonlyDialog/index.vue | 5 ++--- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.env.development b/.env.development index 2c8d108..3e352dd 100644 --- a/.env.development +++ b/.env.development @@ -2,11 +2,11 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) -VITE_API_URL = 'http://192.168.34.155:6688' +# VITE_API_URL = 'http://192.168.34.155:6688' # VITE_API_URL = 'http://183.63.230.59:6090' # VITE_API_URL = 'http://2xliv7gs.shenzhuo.vip:55296' VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" -# VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" +VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" # 上传 # VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/src/components/ChinaAreaData/index.vue b/src/components/ChinaAreaData/index.vue index 04fc469..b66631d 100644 --- a/src/components/ChinaAreaData/index.vue +++ b/src/components/ChinaAreaData/index.vue @@ -135,8 +135,10 @@ const areaList: ComputedRef = computed((): AreaList[] => { let temp = cityList.value.find((item: any) => { return item.value == address.city || item.label == address.city; }); - if (temp) { + if (address.province == "440000" && address.city == "441300") { + return temp.children ? [...temp.children, { label: "仲恺区", value: "441302" }] : []; + } return temp.children ? temp.children : []; } else { return []; diff --git a/src/views/goverment/huizhou/projectList/components/readonlyDialog/index.vue b/src/views/goverment/huizhou/projectList/components/readonlyDialog/index.vue index b44fa14..fbb3544 100644 --- a/src/views/goverment/huizhou/projectList/components/readonlyDialog/index.vue +++ b/src/views/goverment/huizhou/projectList/components/readonlyDialog/index.vue @@ -139,10 +139,9 @@ -
单体项目
+ - + --> diff --git a/src/views/goverment/huizhou/projectList/index.vue b/src/views/goverment/huizhou/projectList/index.vue index 6e711ba..1bd775a 100644 --- a/src/views/goverment/huizhou/projectList/index.vue +++ b/src/views/goverment/huizhou/projectList/index.vue @@ -78,6 +78,7 @@ import { getEngineeringApproveList, getEngineeringApproveArea, getIdEngApproveLi import { getDicList } from "@/api/modules/jxjview"; import { GlobalStore } from "@/stores"; import largeScreen from "../../../hz-enterprise/largeScreen/largeScreenOne/index.vue"; +import { sendIframeMessage } from "@/utils/util"; const showScreen = ref(false); const route = useRoute(); const router = useRouter(); @@ -247,6 +248,7 @@ onMounted(async () => { getDicTypeList(); getDicStatusList(); getDicNatureList(); + await sendIframeMessage({ obj: { path: route.path } }, 2, undefined); });