From 44519949599bc020aa918a6140db3448a7f29577 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期日, 17 七月 2022 23:17:36 +0800 Subject: [PATCH] 优化国标级联目录订阅通知以及目录查询回复 --- web_src/src/components/PushVideoList.vue | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/web_src/src/components/PushVideoList.vue b/web_src/src/components/PushVideoList.vue index 0253c1e..fc645cf 100644 --- a/web_src/src/components/PushVideoList.vue +++ b/web_src/src/components/PushVideoList.vue @@ -56,7 +56,7 @@ <el-table-column label="寮�濮嬫椂闂�" min-width="200"> <template slot-scope="scope"> <el-button-group> - {{ dateFormat(parseInt(scope.row.createStamp)) }} + {{ scope.row.pushTime == null? "-":scope.row.pushTime }} </el-button-group> </template> </el-table-column> @@ -241,19 +241,6 @@ }).catch(function (error) { console.error(error); }); - }, - dateFormat: function (/** timestamp=0 **/) { - let ts = arguments[0] || 0; - let t, y, m, d, h, i, s; - t = ts ? new Date(ts) : new Date(); - y = t.getFullYear(); - m = t.getMonth() + 1; - d = t.getDate(); - h = t.getHours(); - i = t.getMinutes(); - s = t.getSeconds(); - // 鍙牴鎹渶瑕佸湪杩欓噷瀹氫箟鏃堕棿鏍煎紡 - return y + '-' + (m < 10 ? '0' + m : m) + '-' + (d < 10 ? '0' + d : d) + ' ' + (h < 10 ? '0' + h : h) + ':' + (i < 10 ? '0' + i : i) + ':' + (s < 10 ? '0' + s : s); }, importChannel: function () { this.$refs.importChannel.openDialog(() => { -- Gitblit v1.8.0