Jelajahi Sumber

feat: 调整menu文字以及菜单顺序

sunxiao 3 minggu lalu
induk
melakukan
fc896fb55f

+ 7 - 7
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: [
@@ -114,15 +114,10 @@ const updateMenOptions = () => {
         ]
       },
       {
-        label: '工艺运行诊断',
+        label: '生产运行综合诊断',
         icon: renderIcon({ name: 'menu-smart-order' }),
         key: '/work-order',
       },
-      {
-        label: () => renderLabel('辅助办公'),
-        icon: renderIcon({ name: 'menu-work' }),
-        key: '/work'
-      },
       {
         label: () => renderLabel('数据统计分析'),
         icon: renderIcon({ name: 'menu-data' }),
@@ -140,6 +135,11 @@ const updateMenOptions = () => {
           },
         ]
       },
+      {
+        label: () => renderLabel('辅助办公'),
+        icon: renderIcon({ name: 'menu-work' }),
+        key: '/work'
+      },
       {
         label: () => renderLabel('用户中心'),
         icon: renderIcon({ name: 'menu-user' }),

+ 1 - 1
src/router/index.js

@@ -91,7 +91,7 @@ const constantRouterMap = [
         name: 'WorKOrder',
         component: () => import('@/views/analyse/WorkOrder.vue'),
         meta: {
-          title: '工艺运行诊断'
+          title: '生产运行综合诊断'
         }
       },
       {

+ 1 - 1
src/views/analyse/ForecastView.vue

@@ -113,7 +113,7 @@ onMounted(() => {
     </TheSubMenu>
 
     <TheChatView ref="scrollRef" :is-footer="false">
-      <ChatWelcome title="您好,我是LibraAI工艺应急决策" card-title="常见处理方案:" :sub-title="[
+      <ChatWelcome title="您好,我是LibraAI生产应急决策" card-title="常见处理方案:" :sub-title="[
       '水质预测功能具备实时监测与预警机制,检测到异常情况推送相关工作人员确保问题及时处理',
       '报警时间为每小时警报,请大家及时处理'
     ]" v-if="!textDataSources" :card-content="recommendList" @on-click="handleWelcomeRecommend" />

+ 1 - 1
src/views/analyse/PymolView.vue

@@ -88,7 +88,7 @@ const handleWelcomeRecommend = question => {
 
     <TheChatView ref="scrollRef" :is-footer="false">
 
-      <ChatWelcome title="您好,我是LibraAI工艺应急决策" card-title="常见处理方案:" :sub-title="[
+      <ChatWelcome title="您好,我是LibraAI生产应急决策" card-title="常见处理方案:" :sub-title="[
         '生化报警功能对工艺过程指标实时监测,发现异常后将推送给相关人员决策方案',
         '报警时间为每小时警报,请大家及时处理'
       ]"

+ 1 - 1
src/views/analyse/WaterView.vue

@@ -531,7 +531,7 @@ const handleWelcomeRecommend = question => {
     </TheSubMenu>
 
     <TheChatView ref="scrollRef" :is-footer="false">
-      <ChatWelcome title="您好,我是LibraAI工艺应急决策" card-title="常见处理方案:" :sub-title="[
+      <ChatWelcome title="您好,我是LibraAI生产应急决策" card-title="常见处理方案:" :sub-title="[
         '水质报警功能针对五大核心指标实时监测,发现异常后将推送给相关人员决策方案',
         '报警时间为每小时警报,请大家及时处理'
       ]" :card-content="recommendList" @on-click="handleWelcomeRecommend" v-if="!textDataSources" />

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

@@ -385,7 +385,7 @@ onUnmounted(() => {
 <template>
   <section class="flex items-start h-full">
 
-    <TheSubMenu title="工艺运行诊断" @scrollToLower="onScrolltolower" :loading="isFetching">
+    <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>
@@ -407,8 +407,8 @@ onUnmounted(() => {
         <ChatTree :data="catalogData"></ChatTree>
       </template>
 
-      <ChatWelcome title="您好,我是LibraAI工艺运行诊断" :sub-title="[
-        '基于大语言模型的工艺运行诊断分析助手,可以为您实现数据分析及数据解读',
+      <ChatWelcome title="您好,我是LibraAI生产运行综合诊断" :sub-title="[
+        '基于大语言模型的生产运行综合诊断分析助手,可以为您实现数据分析及数据解读',
         '选择日期并为您生成日报分析'
       ]" v-if="!chatDataSource.length" />