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')