|
@@ -438,6 +438,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import moment from "moment";
|
|
|
import { queryEquipmentList, queryWxzy } from "@/api/equipmentList.js";
|
|
|
import {
|
|
|
queryDygjcxline,
|
|
@@ -814,11 +815,13 @@ export default {
|
|
|
// 监听下拉框
|
|
|
if (this.reportdate) {
|
|
|
getParams.data.schedfinishStartDate = this.reportdate[0] + "000000";
|
|
|
- getParams.data.schedfinishEndDate = this.reportdate[1] + "000000";
|
|
|
+ // getParams.data.schedfinishEndDate = this.reportdate[1] + "000000";
|
|
|
+ getParams.data.schedfinishEndDate = moment(this.reportdate[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
if (this.real) {
|
|
|
getParams.data.wotjyssjStartDate = this.real[0] + "000000";
|
|
|
- getParams.data.wotjyssjEndDate = this.real[1] + "000000";
|
|
|
+ // getParams.data.wotjyssjEndDate = this.real[1] + "000000";
|
|
|
+ getParams.data.wotjyssjEndDate = moment(this.real[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
if (this.source && this.source != "全部") {
|
|
|
// getParams.data.bxfwlymc = this.source;
|
|
@@ -881,22 +884,26 @@ export default {
|
|
|
// 任务开始日期
|
|
|
if (this.rwksrq) {
|
|
|
data.sjkssjStartDate = this.rwksrq[0] + "000000";
|
|
|
- data.sjkssjEndDate = this.rwksrq[1] + "000000";
|
|
|
+ // data.sjkssjEndDate = this.rwksrq[1] + "000000";
|
|
|
+ data.sjkssjEndDate = moment(this.rwksrq[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
// 任务完成日期
|
|
|
if (this.rwwcrq) {
|
|
|
data.sjwcsjStartDate = this.rwwcrq[0] + "000000";
|
|
|
- data.sjwcsjEndDate = this.rwwcrq[1] + "000000";
|
|
|
+ // data.sjwcsjEndDate = this.rwwcrq[1] + "000000";
|
|
|
+ data.sjwcsjEndDate = moment(this.rwwcrq[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
// 异常工单填报时间
|
|
|
if (this.ycgdtbsj) {
|
|
|
data.reportdateStartDate = this.ycgdtbsj[0] + "000000";
|
|
|
- data.reportdateEndDate = this.ycgdtbsj[1] + "000000";
|
|
|
+ // data.reportdateEndDate = this.ycgdtbsj[1] + "000000";
|
|
|
+ data.reportdateEndDate = moment(this.ycgdtbsj[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
// 异常工单验收时间
|
|
|
if (this.ycgdyssj) {
|
|
|
data.sjjssjStartDate = this.ycgdyssj[0] + "000000";
|
|
|
- data.sjjssjEndDate = this.ycgdyssj[1] + "000000";
|
|
|
+ // data.sjjssjEndDate = this.ycgdyssj[1] + "000000";
|
|
|
+ data.sjjssjEndDate = moment(this.ycgdyssj[1]).add(1, 'day').format('YYYYMMDD000000')
|
|
|
}
|
|
|
//
|
|
|
// 是否正常
|