浏览代码

1

pull/369/head
juzi 4 个月前
父节点
当前提交
9a29185410
共有 1 个文件被更改,包括 7 次插入8 次删除
  1. +7
    -8
      src/views/report/qcReport/israLineReport/index.vue

+ 7
- 8
src/views/report/qcReport/israLineReport/index.vue 查看文件

@@ -108,8 +108,9 @@ export default {
let start = moment().format('yyyy-MM-DD');
let end = moment().format('yyyy-MM-DD');
this.formConfig[0].defaultSelect = [start, end];
this.queryParams.startTime = moment(start + ' 00:00:00').valueOf();
this.queryParams.endTime = moment(end + ' 23:59:59').valueOf();
this.queryParams.startTime =
moment(start + ' 00:00:00').valueOf() + 25200000;
this.queryParams.endTime = moment(end + ' 23:59:59').valueOf() + 25200000;
this.getList();
},
methods: {
@@ -238,12 +239,10 @@ export default {
buttonClick(val) {
if (val.btnName === 'search') {
if (val.timeVal && val.timeVal.length > 0) {
this.queryParams.startTime = moment(
val.timeVal[0] + ' 00:00:00'
).valueOf();
this.queryParams.endTime = moment(
val.timeVal[1] + ' 23:59:59'
).valueOf();
this.queryParams.startTime =
moment(val.timeVal[0] + ' 00:00:00').valueOf() + 25200000;
this.queryParams.endTime =
moment(val.timeVal[1] + ' 23:59:59').valueOf() + 25200000;
}
this.queryParams.lineId = val.lineId;
this.getList();


正在加载...
取消
保存