提交 023ea41b authored 作者: lidongxu's avatar lidongxu

fix(plan): 最后修改时间

把时分秒加回来了
上级 5492be76
......@@ -140,12 +140,12 @@
plain
icon="Plus"
@click="handleAdd">新增</el-button>
<el-button type="warning"
<el-button type="warning"
plain
icon="Download">
<a href="https://link-promotion.oss-cn-shanghai.aliyuncs.com/file/%E6%96%B0%E5%A2%9E%E6%88%96%E4%BF%AE%E6%94%B9%E8%AE%A1%E5%88%92-%E6%A8%A1%E6%9D%BF3.0.xlsx?Expires=1742194336&OSSAccessKeyId=TMP.3KoXcFZHKsbDD4MPKDUMS2vu4t9DSGBccqeS4s6hbrmnwwsfvqe6Tga1119AGnJtdByNbiHXgxn9yNDn5e2xFiUFeV2Srf&Signature=y%2FTXwcrv5kJH9lPNTgZXsF0KE54%3D"
<a href="https://link-promotion.oss-cn-shanghai.aliyuncs.com/file/%E6%96%B0%E5%A2%9E%E6%88%96%E4%BF%AE%E6%94%B9%E8%AE%A1%E5%88%92-%E6%A8%A1%E6%9D%BF3.0.xlsx?Expires=1742194336&OSSAccessKeyId=TMP.3KoXcFZHKsbDD4MPKDUMS2vu4t9DSGBccqeS4s6hbrmnwwsfvqe6Tga1119AGnJtdByNbiHXgxn9yNDn5e2xFiUFeV2Srf&Signature=y%2FTXwcrv5kJH9lPNTgZXsF0KE54%3D"
download>下载计划模版</a>
</el-button>
</el-button>
</el-col>
<el-col :span="1.5">
<el-upload class="upload-demo"
......@@ -661,8 +661,10 @@ getPlanList()
const formatter = (row, col, value) => {
if (col.property === 'planStatus') {
return value == 0 ? '未执行' : '执行'
} else if (col.property === 'modifyTime' || col.property === 'date') {
} else if (col.property === 'date') {
return parseTime(value, '{y}-{m}-{d}')
} else if (col.property === 'modifyTime') {
return parseTime(value, '{y}-{m}-{d} {h}:{i}:{s}')
} else if (col.property === 'clockInTime' || col.property === 'clockOutTime') {
return parseTime(value)
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论