This commit is contained in:
duanxiaohai 2024-10-11 09:17:21 +08:00
parent c404a4a0e4
commit a12bfc4414
2 changed files with 21 additions and 15 deletions

View File

@ -343,20 +343,22 @@
<p>{{ baseInfo.maritalStatus || "" }}</p>
</div>
</div>
<div v-for="(item, index) in tableType.columns">
<div
class="my-info-item"
v-for="(item, index) in tableType.columns"
v-if="rightList?.length != 0 && item.show == true"
>
<div
class="my-info-label"
:class="
item.label == '学校' || item.label == '班级' ? 'widu' : ''
"
v-if="rightList?.length != 0 && item.show == true"
>
{{ item.label }}
</div>
<div class="my-info-content" v-if="rightList?.length != 0 && item.show == true">
<div
class="my-info-content"
>
<p>{{ pd(item.label, rightList[item.property]) }}</p>
</div>
</div>
@ -364,6 +366,7 @@
</div>
</div>
</div>
</div>
<!-- <Dialog
:dialogShow="dialogShow"
:columns="tableType.columns1"
@ -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;

View File

@ -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, //是否支持跨域