Forráskód Böngészése

Merge branch 'qingban' of http://maven.jgiot.com:7012/jiaxiaoqiang/JG-CLIENT-TEMP into qingban

lupeng 1 hónapja
szülő
commit
554369ece1
1 módosított fájl, 6 hozzáadás és 2 törlés
  1. 6 2
      src/views/process/components/steps.vue

+ 6 - 2
src/views/process/components/steps.vue

@@ -21,8 +21,11 @@
               <span :class="selectStepIndex == index ? 'indexText hoverTextColor' : 'indexText'">{{ index + 1 }}</span>
             </div>
             <div class="midTextBox">
-              <div :class="selectStepIndex == index ? 'stepName stepNameHover' : 'stepName'">
-                {{ item.operationName }}{{ item?.isFirst ? "(起始)" : "" }}
+              <div
+                :class="selectStepIndex == index ? 'stepName stepNameHover' : 'stepName'"
+                style="display: flex; align-items: center; justify-content: center"
+              >
+                {{ item.operationName }}<el-icon v-if="item?.isFirst" color="#008000FF"><Discount /></el-icon>
               </div>
               <div :class="selectStepIndex == index ? 'stepStation stepStationHover' : 'stepStation'">
                 {{ item.operationCode }}
@@ -62,6 +65,7 @@
 
 <script lang="ts" setup>
 import { useProcessStore } from "@/store";
+import { Discount } from "@element-plus/icons-vue";
 import { emitter, EventsNames } from "@/utils/common";
 import { getScan } from "@/api/process";
 import { Transition } from "vue";