From 9de3eb49d1623b014ffd1e719c94cce6de36fc7a Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 15 Nov 2021 10:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/DataP/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/DataP/index.vue b/src/views/DataP/index.vue index 4d45cb8..bfe1fae 100644 --- a/src/views/DataP/index.vue +++ b/src/views/DataP/index.vue @@ -135,7 +135,9 @@ export default { }, // 获取列表数据 getData() { - const _this = this + const _this = this; + _this.time=moment().format('YYYY-MM-DD'); + console.log('time', _this.time); getWorkorder({ workLineId:this.titleData[this.getQueryVariable('type')]?this.titleData[this.getQueryVariable('type')].workLineId:'', date:moment().format('YYYY-MM-DD')