|
@@ -89,6 +89,7 @@
|
|
|
:prop="column.prop" sortable :width="column.width" :label="column.label" align="center" show-overflow-tooltip>
|
|
:prop="column.prop" sortable :width="column.width" :label="column.label" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope" >
|
|
<template slot-scope="scope" >
|
|
|
<span v-if="column.prop == 'SetupTime'">{{ jstimehandle(scope.row.SetupTime+'') }}</span>
|
|
<span v-if="column.prop == 'SetupTime'">{{ jstimehandle(scope.row.SetupTime+'') }}</span>
|
|
|
|
|
+ <span v-if="column.prop == 'ApplyTime'">{{ jstimehandle(scope.row.ApplyTime+'') }}</span>
|
|
|
<span v-else-if="column.prop == 'AccessCardNo'" style="font-family:'黑体';font-size:13px">{{scope.row.AccessCardNo}}</span>
|
|
<span v-else-if="column.prop == 'AccessCardNo'" style="font-family:'黑体';font-size:13px">{{scope.row.AccessCardNo}}</span>
|
|
|
<span v-else>{{ scope.row[column.prop] }}</span>
|
|
<span v-else>{{ scope.row[column.prop] }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -592,6 +593,12 @@
|
|
|
width: 240,
|
|
width: 240,
|
|
|
sort: true
|
|
sort: true
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "ApplyTime",
|
|
|
|
|
+ label: '有效日期',
|
|
|
|
|
+ width: 220,
|
|
|
|
|
+ sort: true
|
|
|
|
|
+ },
|
|
|
|
|
|
|
|
/* {
|
|
/* {
|
|
|
prop: "OilCertificateNo",
|
|
prop: "OilCertificateNo",
|
|
@@ -1070,7 +1077,7 @@
|
|
|
jstimehandle (val) {
|
|
jstimehandle (val) {
|
|
|
if (val === '') {
|
|
if (val === '') {
|
|
|
return '----'
|
|
return '----'
|
|
|
- } else if (val === '0001-01-01T08:00:00+08:00') {
|
|
|
|
|
|
|
+ } else if (val === '0001-01-01T00:00:00Z') {
|
|
|
return '----'
|
|
return '----'
|
|
|
} else if (val === '5000-01-01T23:59:59+08:00') {
|
|
} else if (val === '5000-01-01T23:59:59+08:00') {
|
|
|
return '永久'
|
|
return '永久'
|