feat(credit): 更新表格选择模式并添加新的列模板
- 将多个信用模块表格的选择属性从 :selection 改为 v-model:selection - 在信用判决债务人页面添加 appellee 列的模板显示 - 在信用执行信息页面添加 plaintiffAppellant 列的模板显示 - 优化表格组件的数据绑定方式
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:selection="selection"
|
||||
v-model:selection="selection"
|
||||
:scroll="{ x: 2400 }"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:selection="selection"
|
||||
v-model:selection="selection"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:selection="selection"
|
||||
v-model:selection="selection"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
>
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
<template v-if="column.key === 'image'">
|
||||
<a-image :src="record.image" :width="50" />
|
||||
</template>
|
||||
<template v-if="column.key === 'appellee'">
|
||||
{{ record.appellee || record.name }}
|
||||
</template>
|
||||
<template v-if="column.key === 'caseNumber'">
|
||||
<template v-if="record.historyId">
|
||||
<span class="text-red-500 font-bold">{{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:scroll="{ x: 9000 }"
|
||||
:selection="selection"
|
||||
v-model:selection="selection"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
>
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
<template v-if="column.key === 'image'">
|
||||
<a-image :src="record.image" :width="50" />
|
||||
</template>
|
||||
<template v-if="column.key === 'plaintiffAppellant'">
|
||||
{{ record.plaintiffAppellant || record.dataType }}
|
||||
</template>
|
||||
<template v-if="column.key === 'status'">
|
||||
<a-tag v-if="record.status === 0" color="green">显示</a-tag>
|
||||
<a-tag v-if="record.status === 1" color="red">隐藏</a-tag>
|
||||
|
||||
Reference in New Issue
Block a user