#280 projects/mesxc-zhp

Merged
juzi merged 2 commits from projects/mesxc-zhp into projects/mesxc-test 5 months ago
  1. +4
    -4
      src/views/OperationalOverview/coldBoard.vue
  2. +2
    -2
      src/views/OperationalOverview/processingBoard.vue
  3. +3
    -3
      src/views/report/glass/day.vue

+ 4
- 4
src/views/OperationalOverview/coldBoard.vue View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-29 16:50:26
* @LastEditTime: 2024-03-26 16:30:12
* @LastEditTime: 2024-03-26 18:00:34
* @LastEditors: zhp
* @Description:
-->
@@ -381,12 +381,12 @@ export default {
})
this.$refs['ISRAChart'].updateChart(chartData)
} else if (this.SJGWsData.type === 'equipment') {
this.realEqList = this.SJGWsData.detData.map((ele, index) => [
this.realEqList = this.SJGWsData.detData.map((item, index) => [
// console.log(item)
`<span style="color:rgba(255,255,255,0.5)" >${index + 1 || ''}
</span>`,
`<span style="color:rgba(255,255,255,0.5)">${ele.name || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${ele.run || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${item.name || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${item.run || ''}</span>`,
])
}
this.realEqConfig.data = this.realEqList


+ 2
- 2
src/views/OperationalOverview/processingBoard.vue View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-07-19 15:18:30
* @LastEditors: zhp
* @LastEditTime: 2024-03-26 15:43:27
* @LastEditTime: 2024-03-26 17:57:44
* @Description:
-->
<template>
@@ -448,7 +448,7 @@ export default {
// console.log('22222', this.wsData.data)
if (this.SJGWsData.type === 'order') {
this.orderList = this.SJGWsData.detData.map((ele, index) => {
if (ele.progressRate != 1) {
if (ele.progressRate && ele.progressRate != 1) {
return {
id: ele.id,
name: ele.name,


+ 3
- 3
src/views/report/glass/day.vue View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-24 15:15:24
* @LastEditTime: 2024-03-26 09:34:12
* @LastEditTime: 2024-03-26 17:56:11
* @LastEditors: zhp
* @Description:
-->
@@ -187,8 +187,8 @@ export default {
this.endTimeStamp = this.format(val.setHours(7, 0, 0)) //+ ' 00:00:00' //new Date(this.startTimeStamp + ' 00:00:00').getTime() / 1000
this.startTimeStamp = this.format(val.setHours(7, 0, 1) - 24 * 60 * 60 * 1000) //+ ' 23:59:59' //new Date(this.endTimeStamp + ' 23:59:59').getTime() / 1000
// console.log(this.listQuery.reportTime);
this.listQuery.reportTime[1] = this.format(val.setHours(7, 0, 1)) //+ ' 00:00:00' //new Date(this.startTimeStamp + ' 00:00:00').getTime() / 1000
this.listQuery.reportTime[0] = this.format(val.setHours(7, 0, 0) + 24 * 60 * 60 * 1000) //+ ' 23:59:59' //new Date(this.endTimeStamp + ' 23:59:59').getTime() / 1000
this.listQuery.reportTime[0] = this.format(val.setHours(7, 0, 1)) //+ ' 00:00:00' //new Date(this.startTimeStamp + ' 00:00:00').getTime() / 1000
this.listQuery.reportTime[1] = this.format(val.setHours(7, 0, 0) + 24 * 60 * 60 * 1000) //+ ' 23:59:59' //new Date(this.endTimeStamp + ' 23:59:59').getTime() / 1000
console.log(this.listQuery.reportTime);
} else {
this.listQuery.reportTime = []


Loading…
Cancel
Save