更新页面

This commit is contained in:
2026-01-25 18:56:52 +08:00
parent b301ece916
commit f7d78768b0
4 changed files with 19 additions and 4 deletions

View File

@ -29,7 +29,7 @@
:show-overflow-tooltip="item.showOverflowTooltip || true" :sortable="item.sortable || false"> :show-overflow-tooltip="item.showOverflowTooltip || true" :sortable="item.sortable || false">
<!-- 使用自定义 --> <!-- 使用自定义 -->
<template v-if="item.showSolt" #default="scope"> <template v-if="item.showSolt" #default="scope">
<slot :name="item.prop" v-bind="scope"></slot> <slot :name="item.prop" v-bind="scope"></slot>
</template> </template>
<!-- 默认 --> <!-- 默认 -->
<template v-else #default="{ row }"> <template v-else #default="{ row }">

View File

@ -31,6 +31,11 @@
<template #czzt="{ row }"> <template #czzt="{ row }">
<DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" /> <DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" />
</template> </template>
<template #xwfz>
<el-table-column prop="bqfz" align="center" label="标签分值" />
<el-table-column prop="pzxs" align="center" label="系数" />
<el-table-column prop="xwfz" align="center" label="计算分值"/>
</template>
<template #expand="{ props }"> <template #expand="{ props }">
<div class="expand-content" style="max-width: 100%"> <div class="expand-content" style="max-width: 100%">
<Items :row="props" :dict="dict" /> <Items :row="props" :dict="dict" />
@ -150,7 +155,7 @@ const pageData = reactive({
{ label: "标签", prop: "xwms" }, { label: "标签", prop: "xwms" },
{ label: "接收单位", prop: "ssbm" }, { label: "接收单位", prop: "ssbm" },
{ label: "活动频次", prop: "xwcs", showSolt: true }, { label: "活动频次", prop: "xwcs", showSolt: true },
{ label: "预警分值", prop: "xwfz", }, { label: "预警分值", prop: "xwfz",showSolt: true },
] ]
}); });

View File

@ -32,6 +32,11 @@
<template #czzt="{ row }"> <template #czzt="{ row }">
<DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" /> <DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" />
</template> </template>
<template #sffz>
<el-table-column prop="bqfz" align="center" label="标签分值" />
<el-table-column prop="pzxs" align="center" label="系数" />
<el-table-column prop="sffz" align="center" label="计算分值"/>
</template>
<template #expand="{ props }"> <template #expand="{ props }">
<div> <div>
<Items :row="props || {}" :dict="dict" /> <Items :row="props || {}" :dict="dict" />
@ -143,7 +148,7 @@ const pageData = reactive({
{ label: "标签", prop: "yjbqmc" }, { label: "标签", prop: "yjbqmc" },
{ label: "接收单位", prop: "ssbm" }, { label: "接收单位", prop: "ssbm" },
{ label: "活动频次", prop: "sfcs" }, { label: "活动频次", prop: "sfcs" },
{ label: "预警分值", prop: "sffz" }, { label: "预警分值", prop: "sffz",showSolt: true },
] ]
}); });

View File

@ -33,6 +33,11 @@
<template #czzt="{ row }"> <template #czzt="{ row }">
<DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" /> <DictTag :value="row.czzt" :options="D_GSXT_YJXX_CZZT" />
</template> </template>
<template #sffz>
<el-table-column prop="bqfz" align="center" label="标签分值" />
<el-table-column prop="pzxs" align="center" label="系数" />
<el-table-column prop="sffz" align="center" label="计算分值"/>
</template>
<template #controls="{ row }"> <template #controls="{ row }">
<el-link type="warning" @click="pushAssess(row)">全息档案</el-link> <el-link type="warning" @click="pushAssess(row)">全息档案</el-link>
<el-link type="primary" @click="handleCzjy(row)" v-if="roleCode">处置建议</el-link> <el-link type="primary" @click="handleCzjy(row)" v-if="roleCode">处置建议</el-link>
@ -137,7 +142,7 @@ const pageData = reactive({
{ label: "标签", prop: "yjbqmc" }, { label: "标签", prop: "yjbqmc" },
{ label: "接收单位", prop: "ssbm" }, { label: "接收单位", prop: "ssbm" },
{ label: "活动频次", prop: "sfcs" }, { label: "活动频次", prop: "sfcs" },
{ label: "预警分值", prop: "sffz" }, { label: "预警分值", prop: "sffz",showSolt: true },
] ]
}); });