+ :percentage="loadPercent"
+ v-if="loadPercent != 0">
+ v-if="evaluationMainResourceData.length && loadPercent==0">
@@ -36,7 +36,7 @@
@@ -72,21 +93,25 @@
width: 100%;
display: flex;
flex-direction: column;
+
:deep(.el-progress-circle) {
margin: 100px auto;
}
+
.tool_list {
width: 100%;
height: 30px;
display: flex;
justify-content: flex-end;
+
.button_list {
width: 120px;
height: 32px;
display: flex;
margin-right: 50px;
align-items: center;
+
.image_button {
margin: 2px 5px;
width: 24px;
@@ -94,12 +119,14 @@
box-shadow: 2px 2px 0px 0px #DADADA;
border: 1px solid #FFFFFF;
}
+
.image_button:hover {
background: #DFDFDF;
box-shadow: 2px 2px 0px 0px #FFFFFF;
border-radius: 1px;
border: 1px solid #DADADA;
}
+
.button_split {
width: 1px;
height: 30px;
@@ -109,6 +136,7 @@
}
}
}
+
.char_box {
width: 100%;
height: 300px
diff --git a/src/views/productionPlanning/customerForecastDemandReview/resourceContent/index.vue b/src/views/productionPlanning/customerForecastDemandReview/resourceContent/index.vue
index c3bc8c7..6434e6e 100644
--- a/src/views/productionPlanning/customerForecastDemandReview/resourceContent/index.vue
+++ b/src/views/productionPlanning/customerForecastDemandReview/resourceContent/index.vue
@@ -2,9 +2,9 @@
-
-
+
+
@@ -28,7 +28,7 @@
},
data() {
return {
- activeName: 'evaluation'
+ activeName: 'evaluation',
}
},
@@ -126,8 +126,7 @@
"SET_selectArticleDemandRow",
"INIT_selectArticleDemandRow",
"SET_evaluationSecondResourceListData",
- "INIT_evaluationSecondResourceListData",
- "SET_evaluationLoadPercent"
+ "INIT_evaluationSecondResourceListData"
]),
setEvaluationSecondResource(data) {
this.SET_evaluationMainResourceData(data['ArticleResourceMpsGroupLst'] || [])
@@ -140,18 +139,13 @@
setLoading(flag) {
this.SET_evaluationSecondResourceLoading(flag)
this.SET_evaluationMainResourceLoading(flag)
- this.SET_evaluationLoadPercent(flag)
+ if(flag){
+ this.$refs.evaluationChar.startLoading()
+ } else {
+ this.$refs.evaluationChar.endLoading()
+ }
},
- // 发布数据
- // handlePublic(param) {
- // param.data = JSON.stringify(param.data);
- // saveMpsPlan(param).then(({ code }) => {
- // if (code == 200) {
- // this.$message({ showClose: true, message: "发布成功", type: "success" });
- // this.SET_evaluationMainResourceData(this.evaluationSecondResourceData)
- // }
- // });
- // },
+
},
}