|
|
@@ -1,6 +1,38 @@
|
|
|
<template>
|
|
|
<div class="app-list-content">
|
|
|
<x-crud class="liu-crud-wrap" @load="onLoad">
|
|
|
+
|
|
|
+ <template #table-column-beforeDeadline="{ scope }">
|
|
|
+ <span v-if="scope.row.status == 0">-</span>
|
|
|
+ <span v-else>
|
|
|
+ <span v-if="scope.row.beforeDeadline == '0000-00-00 00:00:00'">-</span>
|
|
|
+ <span v-else>{{ scope.row.beforeDeadline ? scope.row.beforeDeadline.substr(0,16):'' }}</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #table-column-deadline="{ scope }">
|
|
|
+ <span v-if="scope.row.status == 0">-</span>
|
|
|
+ <span v-else>
|
|
|
+ <span v-if="scope.row.deadline == '0000-00-00 00:00:00'">-</span>
|
|
|
+ <span v-else>{{ scope.row.deadline ? scope.row.deadline.substr(0,16):'' }}</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #table-column-addTime="{ scope }">
|
|
|
+ <span v-if="scope.row.addTime == '0000-00-00 00:00:00'">-</span>
|
|
|
+ <span v-else>{{ scope.row.addTime ? scope.row.addTime.substr(0,16):'' }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #table-column-payTime="{ scope }">
|
|
|
+ <span v-if="scope.row.payTime == '0000-00-00 00:00:00'">-</span>
|
|
|
+ <span v-else>{{ scope.row.payTime ? scope.row.payTime.substr(0,16):'' }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #table-column-status="{ scope }">
|
|
|
+ <span v-if="scope.row.status == 0">待续期</span>
|
|
|
+ <span v-else style="color:#3385FF;">已续期</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
</x-crud>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -65,13 +97,15 @@ export default {
|
|
|
prop: 'actPrice',
|
|
|
label: '金额',
|
|
|
align: 'center',
|
|
|
- emptyText: ''
|
|
|
+ emptyText: '',
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
prop: 'year',
|
|
|
label: '年数',
|
|
|
align: 'center',
|
|
|
- emptyText: ''
|
|
|
+ emptyText: '',
|
|
|
+ width: 60,
|
|
|
},
|
|
|
{
|
|
|
prop: 'payTime',
|
|
|
@@ -87,13 +121,13 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
prop: 'beforeDeadline',
|
|
|
- label: '续前过期',
|
|
|
+ label: '续期前',
|
|
|
align: 'center',
|
|
|
emptyText: ''
|
|
|
},
|
|
|
{
|
|
|
prop: 'deadline',
|
|
|
- label: '续后过期',
|
|
|
+ label: '续期后',
|
|
|
align: 'center',
|
|
|
emptyText: ''
|
|
|
},
|