Explorar o código

工作管理还联调

zhangliang2 %!s(int64=3) %!d(string=hai) anos
pai
achega
f5c6754e53

+ 1 - 1
src/components/echarts/lineChart2.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="linechart" :id="id" style="width: calc(100vw - 360px); height: calc(36vh);"></div>
+    <div class="linechart" :id="id" style="width: calc(100vw - 270px); height: calc(45vh);"></div>
 </template>
 
 <script>

+ 1 - 1
src/components/echarts/lineChart3.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="linechart" :id="id" style="width: calc(100vw - 360px); height: calc(36vh);"></div>
+   <div class="linechart" :id="id" style="width: calc(100vw - 270px); height: calc(45vh);"></div>
 </template>
 
 <script>

+ 19 - 5
src/views/mainPage.vue

@@ -73,7 +73,7 @@
                 <div class="titlePanel">
                     <div class="titlePanelBor">日访问人数</div>
                 </div>
-                <div class="chartABox">
+                <div class="chartABox shadowBox">
                     <line-chart1 id="lineA"></line-chart1>
                 </div>
             </div>
@@ -132,14 +132,15 @@
                     <el-tabs
                         v-model="activitedPageNumA"
                         @tab-click="pageControlA"
+                        class="tabsA"
                     >
                         <el-tab-pane label="运行项目" name="1">
-                            <div class="chartBBox">
+                            <div class="chartBBox shadowBox">
                                 <line-chart2 id="chartB"></line-chart2>
                             </div>
                         </el-tab-pane>
                         <el-tab-pane label="运行任务" name="2">
-                            <div class="chartBBox">
+                            <div class="chartBBox shadowBox">
                                 <line-chart3 id="chartC"></line-chart3>
                             </div>
                         </el-tab-pane>
@@ -568,11 +569,24 @@ export default {
     }
 
     .chartABox {
-        height: calc(36vh);
+        height: calc(45vh);
     }
 
     .chartBBox {
-        height: calc(36vh);
+        height: calc(45vh);
+    }
+
+    .chartABox.shadowBox,
+    .chartBBox.shadowBox {
+        padding: 0;
+    }
+
+    .tabsA /deep/ .el-tabs__nav-wrap::after {
+        background-color: @themeColor;
+    }
+
+    .tabsA /deep/ .el-tabs__active-bar {
+        height: 4px;
     }
 }
 </style>

+ 4 - 3
src/views/modelLibrary/vehicleConfigurationDetail.vue

@@ -339,9 +339,10 @@ export default {
                     // console.log(Object.values(this.configList));
                     // console.log(Object.entries(this.configList));
 
-
-
-
+                    // this.curOne = {
+                    //     name: "gps",
+                    //     index: 0,
+                    // };
 
                     // return;
 

+ 1 - 1
src/views/page/pageMenu.vue

@@ -159,7 +159,7 @@ export default {
     created() {
         localStorage.setItem(
             "Authorization",
-            "Bearer 937e4938-e476-4fbd-912e-823badc0c787"
+            "Bearer 9882c634-9af6-4647-89dc-8ad53c04a56b"
         );
         // document.cookie = 'Authorization=Bearer 52de2c22-c2f9-4307-b49d-5b5593792352'
         // console.log(this.$route);

+ 37 - 20
src/views/workManagement/evaluationReport.vue

@@ -38,24 +38,18 @@
                 :getDataWay="getDataWayA"
                 class="colorfulTable"
             >
-                <!-- <el-table-column
-                    label="90<总分<100"
-                    slot="levelA"
-                    align="center"
-                >
-                    <template v-slot="scope">
-                        <div
-                            class=""
-                            style="background: red"
-                            v-if="scope.row.index === 1"
-                        >
-                            {{ scope.row.levelA }}
-                        </div>
-                        <div v-else style="background: blue">
-                            {{ scope.row.levelA }}
-                        </div>
-                    </template>
-                </el-table-column> -->
+            </tableList>
+        </div>
+
+        <div class="tableBox tableBoxC">
+            <div class="title">算法测试评分细则</div>
+            <tableList :columns="columnsB" :getDataWay="getDataWayB">
+            </tableList>
+        </div>
+
+        <div class="tableBox tableBoxD">
+            <div class="title">详情得分情况</div>
+            <tableList :columns="columnsC" :getDataWay="getDataWayC">
             </tableList>
         </div>
     </div>
@@ -156,6 +150,22 @@ export default {
                 ],
                 param: {},
             },
+            columnsB: [],
+            getDataWayB: {
+                //加载表格数据
+                dataType: "data",
+                type: "post",
+                data: [],
+                param: {},
+            },
+            columnsC: [],
+            getDataWayC: {
+                //加载表格数据
+                dataType: "data",
+                type: "post",
+                data: [],
+                param: {},
+            },
             info: {},
         };
     },
@@ -179,6 +189,10 @@ export default {
                     if (res.code == 200 && res.info) {
                         this.info = res.info;
                         this.getDataWay.data = res.info.algorithmScoreList;
+                        this.columnsB = res.info.subListScoreLiTitle;
+                        this.getDataWayB.data = res.info.subListScoreLi;
+                        this.columnsC = res.info.sceneScoreLiTitle;
+                        this.getDataWayC.data = res.info.sceneScoreLi;
                     } else {
                         this.$message.error(res.message || "获取信息失败");
                     }
@@ -257,6 +271,7 @@ export default {
     }
 
     .tableBox {
+        padding: 60px 0;
         .title {
             padding-bottom: 20px;
             font-size: 18px;
@@ -265,8 +280,10 @@ export default {
         }
     }
 
-    .tableBoxA {
-        padding: 60px 0 30px;
+    .tableBoxB,
+    .tableBoxC,
+    .tableBoxD {
+        padding: 0 0 60px;
     }
 
     .colorfulTable {

+ 1 - 0
src/views/workManagement/manualRunProjectDetail.vue

@@ -279,6 +279,7 @@ export default {
                         if (res.code == 200) {
                             this.$message.success("保存成功");
                             if (needChange) {
+                                this.form.id = res.info;
                                 this.stateChange();
                             } else {
                                 this.cancel();

+ 1 - 1
src/views/workManagement/projectInfo.vue

@@ -112,7 +112,7 @@
                         <pie-chart id="pieA"></pie-chart>
                     </div>
                     <div class="chart">
-                        <pie-chart id="pieB"></pie-chart>
+                        <pie-chart id="pieC"></pie-chart>
                     </div>
                 </div>
                 <div>