Ver Fonte

fix:遗留bug修复

linchengzhe há 1 ano atrás
pai
commit
6c34a6a4ea

+ 7 - 8
src/views/multimodeSimulation/simulationEdit.vue

@@ -103,17 +103,16 @@
           <span v-if="!isEdit && ![2,4,6,null].includes(scope.row.taskStatus)" @click="toEvaluate(scope.row)" class="elIcon">
             评价结果
           </span>
-          <span v-else>-y</span>
-          <span
+          <i
             v-if="isEdit"
             @click="navigatorEdit(scope.row.id)"
-            class="elIcon"
+            class="elIcon el-icon-edit-outline"
+            title="编辑"
           >
-            编辑
-          </span>
-          <span v-if="isEdit" @click="deleteScene(scope.row.id)" class="elIcon">
-            删除
-          </span>
+            
+          </i>
+          <i v-if="isEdit" @click="deleteScene(scope.row.id)" class="elIcon el-icon-delete" title="删除">
+          </i>
         </template>
       </el-table-column>
     </tableList>

+ 20 - 20
src/views/multimodeSimulation/simulationHome.vue

@@ -77,39 +77,39 @@
       <el-table-column label="操作" slot="cgInfos" align="center" width="180">
         <template v-slot="scope">
           <!-- <span v-if="scope.row.projectStatus==1" @click="" class="elIcon"> 查看 </span> -->
-          <span
+          <i
             v-if="scope.row.projectStatus == '3'"
             @click="jumpDetailPage('preview',scope.row.id)"
-            class="elIcon"
+            class="el-icon-view elIcon"
+            title="查看"
           >
-            查看
-          </span>
-          <span
+          </i>
+          <i
             v-if="scope.row.projectStatus == '0'"
             @click="jumpDetailPage('edit',scope.row.id)"
-            class="elIcon"
+            class="el-icon-edit-outline elIcon"
+            title="编辑"
           >
-            编辑
-          </span>
-          <span @click="downloadTask(scope.row)" v-if="scope.row.projectStatus == '3'" class="elIcon">
-             下载
-          </span>
-          <span @click="deleteById(scope.row)" class="elIcon"> 删除 </span>
-          <span
+          </i>
+          <i @click="downloadTask(scope.row)" v-if="scope.row.projectStatus == '3'" class="el-icon-download elIcon" title="下载">
+          </i>
+          <i @click="deleteById(scope.row)" class="elIcon el-icon-delete" title="删除">  </i>
+          <i
             v-if="scope.row.projectStatus == '2'"
             @click="updateTask(scope.row)"
-            class="elIcon"
+            class="elIcon myIconPause"
+            title="终止"
           >
-            终止
-          </span>
+            
+          </i>
 
-          <span
+          <i
             v-if="scope.row.projectStatus == '0'"
             @click="updateTask(scope.row)"
-            class="elIcon"
+            class="elIcon el-icon-refresh-right"
+            title="运行"
           >
-            运行
-          </span>
+          </i>
         </template>
       </el-table-column>
     </tableList>

+ 12 - 2
src/views/multimodeSimulation/simulationMap.vue

@@ -29,6 +29,13 @@
     </search-layout>
     <div></div>
     <div style="display: flex; justify-content: end; margin: 20px 50px">
+      <el-button
+        class="addBtn"
+        icon="el-icon-arrow-left"
+        @click="routeBack"
+        type="primary"
+        >返回任务</el-button
+      >
       <el-button
         class="addBtn"
         icon="el-icon-circle-plus-outline"
@@ -47,8 +54,8 @@
     >
       <el-table-column label="操作" slot="cgInfos" align="center" width="180">
         <template v-slot="scope">
-          <span @click="editMapDetail(scope.row)" class="elIcon"> 编辑 </span>
-          <span @click="deleteMapById(scope.row)" class="elIcon"> 删除 </span>
+          <i @click="editMapDetail(scope.row)" class="elIcon el-icon-edit-outline" title="编辑">  </i>
+          <i @click="deleteMapById(scope.row)" class="elIcon el-icon-delete" title="删除">  </i>
         </template>
       </el-table-column>
     </tableList>
@@ -334,6 +341,9 @@ export default {
       this.editVisible = true
       this.isEdit = false
     },
+    routeBack(){
+      this.$router.back()
+    },
     closeDialog() {
       this.editInfo = {
         mapName: '',

+ 3 - 3
src/views/sceneLibrary/benchmarkScenarioList.vue

@@ -246,9 +246,9 @@
         fixed="right"
       >
         <template v-slot="scope">
-          <span @click="viewRow(scope.row)" class="elIcon"> 查看 </span>
-          <span @click="editHandle(scope.row)" class="elIcon"> 编辑 </span>
-          <span @click="jumpScene(scope.row)" class="elIcon"> 场景评价 </span>
+          <i @click="viewRow(scope.row)" class="el-icon-view elIcon"></i>
+          <i @click="editHandle(scope.row)" class="el-icon-edit-outline elIcon"></i>
+          <i @click="jumpScene(scope.row)" class="el-icon-document elIcon" ></i>
         </template>
       </el-table-column>
     </tableList>

+ 1 - 1
src/views/sceneLibrary/naturalDrivingScenarioList.vue

@@ -229,7 +229,7 @@
             title="查看"
           >
           </i>
-          <span @click="jumpScene(scope.row)" class="elIcon"> 场景评价 </span>
+          <i @click="jumpScene(scope.row)" class="el-icon-document elIcon">  </i>
         </template>
       </el-table-column>
     </tableList>

+ 1 - 1
src/views/sceneLibrary/standardRegulationSimulationScenarioList.vue

@@ -172,7 +172,7 @@
             title="查看"
           >
           </i>
-          <span @click="jumpScene(scope.row)" class="elIcon"> 场景评价 </span>
+          <i @click="jumpScene(scope.row)" class="el-icon-document  elIcon"> </i>
         </template>
       </el-table-column>
     </tableList>

+ 1 - 1
src/views/sceneLibrary/trafficAccidentSimulationScenarioList.vue

@@ -232,7 +232,7 @@
             title="查看"
           >
           </i>
-          <span @click="jumpScene(scope.row)" class="elIcon"> 场景评价 </span>
+          <i @click="jumpScene(scope.row)" class="el-icon-document elIcon"></i>
         </template>
       </el-table-column>
     </tableList>

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

@@ -372,7 +372,7 @@ export default {
                     prop: "risk",
                 },
                 {
-                    label: "危险度等级%",
+                    label: "危险度等级",
                     prop: "riskLevel",
                 },
                 {