From 3639c456d1889cd3e688191a4398af8a3f49679c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 12 四月 2023 15:29:21 +0800
Subject: [PATCH] 添加常量的公共数据. 增加场景名称

---
 src/views/personalCenter/components/SubAccount.vue |   50 ++------------------------------------------------
 1 files changed, 2 insertions(+), 48 deletions(-)

diff --git a/src/views/personalCenter/components/SubAccount.vue b/src/views/personalCenter/components/SubAccount.vue
index 985a4f0..d09cca9 100644
--- a/src/views/personalCenter/components/SubAccount.vue
+++ b/src/views/personalCenter/components/SubAccount.vue
@@ -252,54 +252,6 @@
     TreeMenu
   },
   computed: {
-    taskOptions() {
-      return [
-        {
-          value: "鏄庣伀",
-          label: "鏄庣伀"
-        },
-        {
-          value: "鐑熼浘",
-          label: "鐑熼浘"
-        },
-        {
-          value: "缈昏秺鍥存爮",
-          label: "缈昏秺鍥存爮"
-        },
-        {
-          value: "鍖哄煙鍏ヤ镜",
-          label: "鍖哄煙鍏ヤ镜"
-        },
-        {
-          value: "浜哄憳绂诲矖",
-          label: "浜哄憳绂诲矖"
-        },
-        {
-          value: "浜哄憳鑱氶泦",
-          label: "浜哄憳鑱氶泦"
-        },
-        {
-          value: "鎵撶數璇�",
-          label: "鎵撶數璇�"
-        },
-        {
-          value: "鎶界儫",
-          label: "鎶界儫"
-        },
-        {
-          value: "鏈僵鎴村畨鍏ㄥ附",
-          label: "鏈僵鎴村畨鍏ㄥ附"
-        },
-        {
-          value: "鏈┛宸ヨ",
-          label: "鏈┛宸ヨ"
-        },
-        {
-          value: "鐫″矖",
-          label: "鐫″矖"
-        }
-      ]
-    },
     showHeadName() {
       return this.$route.path === "/personalCenter"
     }
@@ -334,6 +286,7 @@
           enable: true
         }
       },
+      taskOptions: [],
       options: {
         lazy: true,
         lazyLoad(node, resolve) {
@@ -435,6 +388,7 @@
     this.fetchDataTree()
   },
   mounted() {
+    this.taskOptions = this.Constants.sceneNameOptions
     this.TreeDataPool.reset()
     this.TreeDataPool.multiple = true
     this.VideoPhotoData.queryTaskList()

--
Gitblit v1.8.0