This commit is contained in:
duanxiaohai 2024-08-11 22:16:20 +08:00
commit f1e8e8d7ee
2 changed files with 16 additions and 19 deletions

View File

@ -581,6 +581,7 @@ const close = () => {
dialogShowElderly.value = false; dialogShowElderly.value = false;
}; };
const closeJj = () => { const closeJj = () => {
tableType.data=[];
dialogShow.value = false; dialogShow.value = false;
pagination.currentPage = 1; pagination.currentPage = 1;
}; };

View File

@ -103,7 +103,7 @@
:data="tableType.data" :data="tableType.data"
border border
style="width: 100%" style="width: 100%"
max-height="270" height="270"
:header-cell-style="{ :header-cell-style="{
border: 'none', border: 'none',
height: '60px', height: '60px',
@ -127,19 +127,11 @@
<template #default="scope"> <template #default="scope">
<!-- 医疗保险类型 --> <!-- 医疗保险类型 -->
<div v-if="item.property == 'ylbxlx'"> <div v-if="item.property == 'ylbxlx'">
<div v-if="scope.row.ylbxlx == 0">
城乡居民基本医疗保险
</div>
<div v-if="scope.row.ylbxlx == 0"> <div v-if="scope.row.ylbxlx == 0">
城乡居民基本医疗保险 城乡居民基本医疗保险
</div> </div>
<div v-else>职工基本医疗保险</div> <div v-else>职工基本医疗保险</div>
</div> </div>
<!-- 养老金类型 -->
<div v-if="item.property == 'yljlx'">
<div v-if="scope.row.yljlx == 0">城乡居民养老金</div>
<div v-else>职工养老金</div>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -171,7 +163,7 @@
:data="dataMyTag.form.data" :data="dataMyTag.form.data"
border border
style="width: 100%" style="width: 100%"
max-height="270" height="270"
:header-cell-style="{ :header-cell-style="{
border: 'none', border: 'none',
height: '60px', height: '60px',
@ -281,7 +273,7 @@
</div> </div>
<div class="my-info"> <div class="my-info">
<div class="my-info-item" v-if="dataMyTag.title == '学习'"> <div class="my-info-item" v-if="dataMyTag.title == '学习'">
<div class="my-info-label">学历</div> <div class="my-info-label" style="min-width:40px;">学历</div>
<div class="my-info-content"> <div class="my-info-content">
<p>{{ baseInfo.eduPhase || "" }}</p> <p>{{ baseInfo.eduPhase || "" }}</p>
</div> </div>
@ -296,7 +288,7 @@
class="my-info-item" class="my-info-item"
v-for="(item, index) in tableType.columns" v-for="(item, index) in tableType.columns"
> >
<div class="my-info-label">{{ item.label }}</div> <div class="my-info-label" :class="item.label=='学校' || item.label=='班级'? 'widu':''">{{ item.label }}</div>
<div class="my-info-content" v-if="rightList?.length != 0"> <div class="my-info-content" v-if="rightList?.length != 0">
<p>{{ pd(item.label, rightList[item.property]) }}</p> <p>{{ pd(item.label, rightList[item.property]) }}</p>
</div> </div>
@ -307,7 +299,7 @@
</div> </div>
<Dialog <Dialog
:dialogShow="dialogShow" :dialogShow="dialogShow"
:columns="tableType.columns" :columns="tableType.columns2"
:title="tableType.title2" :title="tableType.title2"
:tableData="tableType.data" :tableData="tableType.data"
:pagination="paginationDialog" :pagination="paginationDialog"
@ -490,6 +482,7 @@ const tableType = reactive({
title2: "", title2: "",
title: "出生", title: "出生",
columns: [], columns: [],
columns:[],
data: [], data: [],
}); });
const columnsList = reactive({ const columnsList = reactive({
@ -691,7 +684,7 @@ const pd = computed(() => {
// //
const onClickTag = (item) => { const onClickTag = (item) => {
tableType.title2 = item.name; tableType.title2 = item.name;
tableType.columns = columnsList["特殊标签"].column; tableType.columns2 = columnsList["特殊标签"].column;
dialogShow.value = true; dialogShow.value = true;
}; };
// //
@ -808,8 +801,8 @@ const back = () => {
watch( watch(
() => props.message, () => props.message,
(newValue, oldValue) => { (newValue, oldValue) => {
identNo.value = props.message.identNo; // identNo.value = props.message.identNo;
dataMyTag.identNo = routers.query.identNo; dataMyTag.identNo = props.message.identNo;
getData(props.message.identNo); getData(props.message.identNo);
onClickTag2("出生", "出生"); onClickTag2("出生", "出生");
jump.value = "map"; jump.value = "map";
@ -821,7 +814,7 @@ onMounted(() => {
dataMyTag.identNo = routers.query.identNo; dataMyTag.identNo = routers.query.identNo;
jump.value = "detail"; jump.value = "detail";
getData(routers.query.identNo); getData(routers.query.identNo);
onClickTag2("出生"); onClickTag2("出生",'出生');
} else { } else {
jump.value = "map"; jump.value = "map";
} }
@ -999,7 +992,7 @@ onMounted(() => {
.my-info-label { .my-info-label {
position: relative; position: relative;
min-width: 40px; min-width: 80px;
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
@ -1097,7 +1090,7 @@ onMounted(() => {
} }
.my-table { .my-table {
margin: 36px 0 52px; margin: 36px 0 32px;
:deep(.el-table) { :deep(.el-table) {
--el-table-header-bg-color: #ffffff3a; --el-table-header-bg-color: #ffffff3a;
@ -1178,4 +1171,7 @@ onMounted(() => {
line-height: 22px; line-height: 22px;
} }
} }
.widu{
min-width: 40px !important;
}
</style> </style>