Sfoglia il codice sorgente

feat: 更新菜单文字变更

sunxiao 3 settimane fa
parent
commit
be6951435f

+ 1 - 1
src/components/Layout/TheMenu.vue

@@ -65,7 +65,7 @@ const updateMenOptions = () => {
         key: '/answer'
       },
       {
-        label: () => renderLabel('生产应急决策'),
+        label: () => renderLabel('应急决策'),
         icon: renderIcon({ name: 'menu-analyse' }),
         key: '/analyse',
         children: [

+ 4 - 4
src/views/analyse/WorkOrder-back.vue

@@ -252,7 +252,7 @@ const handleCreateOrder = async () => {
     }
     checkGroup.forEach(key => params[key] = true);
 
-    question = `${startDateTime.format("MM月DD日")}-${endDateTime.format("MM月DD日")}的在线仪表的日报工单`
+    question = `${startDateTime.format("MM月DD日")}-${endDateTime.format("MM月DD日")}的在线仪表的运行诊断`
 
   } else {
 
@@ -377,7 +377,7 @@ onUnmounted(() => {
     <TheSubMenu title="智能工单" @scrollToLower="onScrolltolower" :loading="isFetching">
       <template #top>
         <div class="create-btn px-[11px] pb-[22px]">
-          <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建工单</BaseButton>
+          <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建诊断</BaseButton>
         </div>
       </template>
 
@@ -445,11 +445,11 @@ onUnmounted(() => {
         <div
           class="flex items-center justify-start space-x-[24px] pb-[20px] border-b-[1px] border-solid border-[#F1F1F1]">
           <n-tabs type="segment" animated style="width: 188px;" size="large" :on-update:value="handleTabChange">
-            <n-tab name="daily">日报工单</n-tab>
+            <n-tab name="daily">运行诊断</n-tab>
             <n-tab name="customDaily">自定义工单</n-tab>
           </n-tabs>
           <span class="text-[12px] text-[#8F959C]">
-            {{ tabActive === 'daily' ? '选择日期后为您生成日报工单' : '选择内容后为您生成工单' }}
+            {{ tabActive === 'daily' ? '选择日期后为您生成运行诊断' : '选择内容后为您生成工单' }}
           </span>
         </div>
 

+ 4 - 4
src/views/analyse/WorkOrder.vue

@@ -261,7 +261,7 @@ const handleCreateOrder = async () => {
     }
     checkGroup.forEach(key => params[key] = true);
 
-    question = `${startDateTime.format("MM月DD日")}-${endDateTime.format("MM月DD日")}的在线仪表的日报工单`
+    question = `${startDateTime.format("MM月DD日")}-${endDateTime.format("MM月DD日")}的在线仪表的运行诊断`
 
   } else {
 
@@ -388,7 +388,7 @@ onUnmounted(() => {
     <TheSubMenu title="生产运行综合诊断" @scrollToLower="onScrolltolower" :loading="isFetching">
       <template #top>
         <div class="create-btn px-[11px] pb-[22px]">
-          <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建工单</BaseButton>
+          <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建诊断</BaseButton>
         </div>
       </template>
 
@@ -461,11 +461,11 @@ onUnmounted(() => {
         <div
           class="flex items-center justify-start space-x-[24px] pb-[20px] border-b-[1px] border-solid border-[#F1F1F1]">
           <n-tabs type="segment" animated style="width: 188px;" size="large" :on-update:value="handleTabChange">
-            <n-tab name="daily">日报工单</n-tab>
+            <n-tab name="daily">运行诊断</n-tab>
             <n-tab name="customDaily">自定义工单</n-tab>
           </n-tabs>
           <span class="text-[12px] text-[#8F959C]">
-            {{ tabActive === 'daily' ? '选择日期后为您生成日报工单' : '选择内容后为您生成工单' }}
+            {{ tabActive === 'daily' ? '选择日期后为您生成运行诊断' : '选择内容后为您生成工单' }}
           </span>
         </div>
 

+ 1 - 1
src/views/screen/ScreenViewBlack/index.vue

@@ -122,7 +122,7 @@ onUnmounted(() => {
         </ul>
         <ul class="menu-list justify-start">
           <li class="item mr-[20px]">
-            <RouterLink to="/water-warn"><span>工艺管控</span></RouterLink>
+            <RouterLink to="/water-warn"><span>应急决策</span></RouterLink>
           </li>
           <li class="item">
             <RouterLink to="/medicinal"><span>成本管控</span></RouterLink>