[update] 修改bug78169
This commit is contained in:
@@ -184,7 +184,7 @@
|
|||||||
<template slot="specialDate" slot-scope="{text}">
|
<template slot="specialDate" slot-scope="{text}">
|
||||||
<a-tooltip overlay-class-name="tooltip-style">
|
<a-tooltip overlay-class-name="tooltip-style">
|
||||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||||
<div class="table-text" :class="{'table-red-text' : text && new Date(Date.parse(text)) < new Date()}">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
<div class="table-text" :class="{'table-red-text' : text && new Date(Date.parse(text)) <= new Date(currentDate)}">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -411,11 +411,14 @@ export default {
|
|||||||
url: {
|
url: {
|
||||||
list: '/enterprise/plan/page',
|
list: '/enterprise/plan/page',
|
||||||
exportXlsUrl: '/enterprise/plan/exportData'
|
exportXlsUrl: '/enterprise/plan/exportData'
|
||||||
}
|
},
|
||||||
|
currentDate: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getSysCategoryTree()
|
this.getSysCategoryTree()
|
||||||
|
const date = new Date()
|
||||||
|
this.currentDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 获取组织机构树
|
// 获取组织机构树
|
||||||
|
|||||||
Reference in New Issue
Block a user