projects/mesxc-zhp #280
| @@ -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,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, | ||||
|   | ||||
| @@ -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 = [] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user