修改ui
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
<!--
 | 
			
		||||
 * @Author: zhp
 | 
			
		||||
 * @Date: 2024-01-29 16:50:26
 | 
			
		||||
 * @LastEditTime: 2024-04-03 16:34:05
 | 
			
		||||
 * @LastEditTime: 2024-04-03 17:10:15
 | 
			
		||||
 * @LastEditors: zhp
 | 
			
		||||
 * @Description:
 | 
			
		||||
-->
 | 
			
		||||
@@ -651,7 +651,7 @@ export default {
 | 
			
		||||
            wasteList.push(ele.wastArea)
 | 
			
		||||
            nameWasteList.push('缺陷面积:' + this.NumFormat(ele.wastArea) + '㎡')
 | 
			
		||||
            sumAreaList.push(ele.sumArea)
 | 
			
		||||
            yieldList.push(parseFloat((ele.yield * 100).toFixed(2)))
 | 
			
		||||
            yieldList.push(parseFloat((ele.yield * 100).toFixed(0)))
 | 
			
		||||
          })
 | 
			
		||||
          this.$nextTick(() => {
 | 
			
		||||
            this.$refs.firstPileChart.initChart(nameList, [topNameList[0]], [nameWasteList[0]], [productList[0]], [wasteList[0]])
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<!--
 | 
			
		||||
 * @Author: zhp
 | 
			
		||||
 * @Date: 2023-09-21 09:06:28
 | 
			
		||||
 * @LastEditTime: 2024-04-03 16:24:21
 | 
			
		||||
 * @LastEditTime: 2024-04-03 17:09:12
 | 
			
		||||
 * @LastEditors: zhp
 | 
			
		||||
 * @Description:
 | 
			
		||||
-->
 | 
			
		||||
@@ -227,7 +227,7 @@ export default {
 | 
			
		||||
              nameTextStyle: {// y轴上方单位的颜色
 | 
			
		||||
                color: 'rgba(255,255,255,0.5)', // 坐标值得具体的颜色
 | 
			
		||||
                align: "left",
 | 
			
		||||
                padding: [0, 0, 0, 8]
 | 
			
		||||
                padding: [0, 0, 0, 2]
 | 
			
		||||
              },
 | 
			
		||||
              position: 'right',
 | 
			
		||||
              alignTicks: true,
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: zwq
 | 
			
		||||
 * @Date: 2021-07-19 15:18:30
 | 
			
		||||
 * @LastEditors: zhp
 | 
			
		||||
 * @LastEditTime: 2024-04-03 15:59:25
 | 
			
		||||
 * @LastEditTime: 2024-04-03 17:14:03
 | 
			
		||||
 * @Description:
 | 
			
		||||
-->
 | 
			
		||||
<template>
 | 
			
		||||
@@ -416,7 +416,7 @@ export default {
 | 
			
		||||
				return {
 | 
			
		||||
					id: ele.id,
 | 
			
		||||
					name: ele.name,
 | 
			
		||||
					progressRate: parseFloat((ele.progressRate * 100).toFixed(2)),
 | 
			
		||||
					progressRate: parseFloat((ele.progressRate * 100).toFixed(0)),
 | 
			
		||||
				};
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
@@ -690,7 +690,7 @@ export default {
 | 
			
		||||
							return {
 | 
			
		||||
								id: ele.id,
 | 
			
		||||
								name: ele.name,
 | 
			
		||||
								progressRate: parseFloat((ele.progressRate * 100).toFixed(2)),
 | 
			
		||||
								progressRate: parseFloat((ele.progressRate * 100).toFixed(0)),
 | 
			
		||||
							};
 | 
			
		||||
						}
 | 
			
		||||
					});
 | 
			
		||||
@@ -922,7 +922,7 @@ export default {
 | 
			
		||||
::v-deep .el-progress__text {
 | 
			
		||||
  width: 50px;
 | 
			
		||||
  margin-top: -70px;
 | 
			
		||||
  margin-left: 510px;
 | 
			
		||||
  margin-left: 538px;
 | 
			
		||||
  // background-color: unset;
 | 
			
		||||
  // background-image: linear-gradient(to right, #4573fe, #47f8dc);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user