فهرست منبع

项目详情中评测等级展示优化

ronaldo9Zhang 2 سال پیش
والد
کامیت
3304ab51a5
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      src/views/workManagement/projectInfo.vue

+ 5 - 4
src/views/workManagement/projectInfo.vue

@@ -481,7 +481,7 @@ export default {
                     return "一般(M)";
                 case "P":
                     return "较差(P)";
-                default:
+                default: return evaluationLevel
             }
         },
         // 获取所有传感器
@@ -535,9 +535,10 @@ export default {
             }).then((res) => {
                 if (res.code == 200 && res.info) {
                     this.info = res.info;
-                    this.evaluationLevel = this.evaluationLevelInfoShow(
-                        res.info.evaluationLevel
-                    );
+                    // this.evaluationLevel = this.evaluationLevelInfoShow(
+                    //     res.info.evaluationLevel
+                    // );
+                    this.evaluationLevel = res.info.evaluationLevel;
                     this.configList.camera = res.info.sensorCameraList || [];
                     this.configList.ogt = res.info.sensorOgtList || [];
                     this.configList.lidar = res.info.sensorLidarList || [];