Compare commits

..

No commits in common. "a1262bd6408fac933fc46e10dc5cf3cb834116c2" and "083c9ef59ae65c23e2b0bae6904a1a9e0c90d00c" have entirely different histories.

2 changed files with 10 additions and 11 deletions

View File

@ -1,8 +1,8 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
# @LastEditTime: 2024-03-22 14:18:33
# @LastEditors: zhp
# @LastEditTime: 2024-03-22 10:28:37
# @LastEditors: DY
# @Description:
###
# 开发环境配置

View File

@ -244,7 +244,7 @@ export default {
rangeSeparator: '-',
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
param: 'recordTime',
param: 'timerange',
},
// {
// parent: 'dateFilterType',
@ -270,7 +270,6 @@ export default {
btnName: '导出',
name: 'export',
color: 'warning',
},
// {
// type: 'separate',
@ -382,7 +381,7 @@ export default {
},
/** 查询列表 */
async getList() {
this.loading = true
this.loading = true;
const { code, data } = await this.$axios({
url: '/analysis/equipment-analysis/efficiency',
method: 'get',
@ -403,14 +402,14 @@ export default {
if (btnName == 'search') {
this.queryParams.workOrderId = payload.workOrderId || null;
// this.queryParams.lineId = payload.lineId || null;
// if (0 == payload.dateFilterType) {
this.queryParams.recordTime = payload.recordTime;
// } else if (1 == payload.dateFilterType) {
if (0 == payload.dateFilterType) {
this.queryParams.recordTime = payload.timerange;
} else if (1 == payload.dateFilterType) {
this.queryParams.recordTime = [
payload.recordTime[0],
payload.recordTime[1],
`${payload.timeday} 00:00:00`,
`${payload.timeday} 23:59:59`,
];
// }
}
} else {
this.handleExport()
this.queryParams.recordTime = null;