This commit is contained in:
lnn19986213 2024-06-20 10:25:18 +08:00
parent c988a20637
commit fad8f87c22
2 changed files with 12 additions and 3 deletions

View File

@ -10,7 +10,11 @@
> >
<template #header="{ close, titleId, titleClass }"> <template #header="{ close, titleId, titleClass }">
<div class="my-header"> <div class="my-header">
<el-icon size="26" color="#fff" @click="closeDialog"> <el-icon
size="26"
color="#fff"
@click="closeDialog"
>
<CircleCloseFilled /> <CircleCloseFilled />
</el-icon> </el-icon>
</div> </div>
@ -61,7 +65,7 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
:label="item.label" :label="item.label"
:property="item.property" :property="item.property"
align="center" :align="item.align || 'center'"
> >
<template #default="scope"> <template #default="scope">
<slot <slot
@ -76,7 +80,7 @@
:property="item.property" :property="item.property"
:label="item.label" :label="item.label"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
align="center" :align="item.align || 'center'"
/> />
</template> </template>
</el-table> </el-table>
@ -231,6 +235,10 @@ const handle = (current) => {
--el-table-text-color: #fff; --el-table-text-color: #fff;
--el-table-header-text-color: #fff; --el-table-header-text-color: #fff;
} }
// :deep(.el-table th) {
// text-align: center;
// }
} }
.pagePart { .pagePart {

View File

@ -354,6 +354,7 @@ const yl_column = ref([
{ {
label: "机构名称", label: "机构名称",
property: "mc", property: "mc",
align: 'left'
}, },
{ {
label: "机构地址", label: "机构地址",