This commit is contained in:
朱文强 2025-03-10 16:33:55 +08:00
parent 8e9b2f6444
commit bbd9972761
3 changed files with 8 additions and 6 deletions

View File

@ -1,8 +1,8 @@
/*
* @Author: Do not edit
* @Date: 2023-09-12 09:44:53
* @LastEditTime: 2023-09-14 10:25:46
* @LastEditors: DY
* @LastEditTime: 2025-03-03 10:43:34
* @LastEditors: zwq
* @Description:
*/
import request from '@/utils/request'
@ -37,6 +37,7 @@ export function getPdlAutoReportNewSearchNow(data) {
return request({
url: '/monitoring/production-monitor/getPdlAutoReportNewSearchNow',
method: 'post',
data: data
data: data,
timeout: 60000,
})
}

View File

@ -1,7 +1,7 @@
<!--
* @Author: Do not edit
* @Date: 2023-08-29 14:59:29
* @LastEditTime: 2025-02-24 14:51:47
* @LastEditTime: 2025-03-03 10:38:00
* @LastEditors: zwq
* @Description:
-->
@ -379,6 +379,7 @@ export default {
tables.removeChild(tables.querySelector('.el-table__fixed-right'));
}
let exportTable = XLSX.utils.table_to_book(tables);
exportTable.Sheets.Sheet1.A1.v = '序号' //
var exportTableOut = XLSX.write(exportTable, {
bookType: 'xlsx',

View File

@ -62,8 +62,8 @@ function getTodayStart(today) {
/** 颜色配置 */
const types = [
{ name: '运行', color: '#288AFF' },
{ name: '故障', color: '#FC9C91' },
{ name: '计划停机', color: '#FFDC94' },
{ name: '故障', color: '#FC9C91' },
{ name: '空白', color: '#F2F4F9' },
];
@ -267,7 +267,7 @@ export default class GanttGraph {
ylist.push(eqArr.key)
eqArr.forEach(item => {
xdata.push({
name: ['运行', '故障', '计划停机'][item.status],
name: ['运行', '计划停机', '故障'][item.status],
showName: eqArr.key,
value: [index, item.startTime, item.startTime + item.duration * 60 * 1000, 0],
itemStyle: {