|
|
@@ -70,10 +70,10 @@
|
|
|
align="center"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- v-if="contentCols.find((col) => col.prop === 'name')?.show"
|
|
|
- key="name"
|
|
|
+ v-if="contentCols.find((col) => col.prop === 'institution_name')?.show"
|
|
|
+ key="institution_name"
|
|
|
label="制度名称"
|
|
|
- prop="name"
|
|
|
+ prop="institution_name"
|
|
|
min-width="150"
|
|
|
show-overflow-tooltip
|
|
|
/>
|
|
|
@@ -81,10 +81,15 @@
|
|
|
v-if="contentCols.find((col) => col.prop === 'valid_period')?.show"
|
|
|
key="valid_period"
|
|
|
label="制度有效期"
|
|
|
- prop="valid_period"
|
|
|
min-width="150"
|
|
|
show-overflow-tooltip
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template #default="scope">
|
|
|
+ {{ (scope.row.effective_start_date || '').substring(0, 10) || '-' }}
|
|
|
+ ~
|
|
|
+ {{ (scope.row.effective_end_date || '').substring(0, 10) || '长期有效' }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
v-if="contentCols.find((col) => col.prop === 'expense_type')?.show"
|
|
|
key="expense_type"
|
|
|
@@ -286,7 +291,7 @@ const contentCols = reactive<
|
|
|
>([
|
|
|
{ prop: "selection", label: "选择框", show: false },
|
|
|
{ prop: "index", label: "序号", show: true },
|
|
|
- { prop: "name", label: "制度名称", show: true },
|
|
|
+ { prop: "institution_name", label: "制度名称", show: true },
|
|
|
{ prop: "valid_period", label: "制度有效期", show: true },
|
|
|
{ prop: "expense_type", label: "费用类型", show: true },
|
|
|
{ prop: "status", label: "制度状态", show: true },
|