Commit 5b8b7c1d by 前端

修复第一轮测试BUG

1 parent 1a54024b
...@@ -104,6 +104,9 @@ export default { ...@@ -104,6 +104,9 @@ export default {
}, },
} }
}, },
created() {//默认当前日期
this.searchForm.time = [new Date(), new Date()]
},
computed: { computed: {
...mapState({ ...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList dowloadList: (state) => state.d2admin.user.dowloadList
......
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
prop: 'applyTime', prop: 'applyTime',
width: '150px', width: '150px',
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.applyTime ? Util.dateFormate(cellValue.applyTime, 'YYYY-MM-DD HH:mm:ss') : '' return cellValue.applyTime ? Util.dateFormate(cellValue.applyTime, 'YYYY-MM-DD HH:mm:ss') : '-'
} }
}, { }, {
label: '申请状态', label: '申请状态',
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
prop: 'auditTime', prop: 'auditTime',
width: '150px', width: '150px',
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.auditTime ? Util.dateFormate(cellValue.auditTime, 'YYYY-MM-DD HH:mm:ss') : '' return cellValue.auditTime ? Util.dateFormate(cellValue.auditTime, 'YYYY-MM-DD HH:mm:ss') : '-'
} }
} }
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!