From a12bfc4414ab308e0baab2f0f44092812ace7ed7 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Fri, 11 Oct 2024 09:17:21 +0800 Subject: [PATCH] gx --- src/view/person/index.vue | 32 +++++++++++++++++++------------- vite.config.js | 4 ++-- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/src/view/person/index.vue b/src/view/person/index.vue index ba1600b..464ae18 100644 --- a/src/view/person/index.vue +++ b/src/view/person/index.vue @@ -343,21 +343,24 @@

{{ baseInfo.maritalStatus || "" }}

-
+
- {{ item.label }} -
-
-

{{ pd(item.label, rightList[item.property]) }}

+
+ {{ item.label }} +
+
+

{{ pd(item.label, rightList[item.property]) }}

+
@@ -903,7 +906,10 @@ const getTable = (url, csh) => { // 如果数据不为空,则将数据赋值给列表 rightList.value = tableType.data[0]; for (const key in tableType.data[0]) { - if (tableType.data[0][key] == null) { + if ( + tableType.data[0][key] == null || + tableType.data[0][key] == "" + ) { tableType.columns.forEach((item) => { if (item.property == key) { item.show = false; diff --git a/vite.config.js b/vite.config.js index 5c41c63..be26ac7 100644 --- a/vite.config.js +++ b/vite.config.js @@ -15,8 +15,8 @@ export default defineConfig({ // 第一个代理 "/api": { // 匹配到啥来进行方向代理 - target: "http://10.0.0.7:8095/", //刘进 - // target: "https://jzzf.longyou.gov.cn:998/", //线上 + // target: "http://10.0.0.7:8095/", //刘进 + target: "https://jzzf.longyou.gov.cn:998/", //线上 // target: "http://220.191.238.50:996/", //线上 // target: "https://zzdyyfb.dsjj.qz.gov.cn/web/mgop/gov-open/zj/2002428903/reserved/", //线上 changeOrigin: true, //是否支持跨域