Parcourir la source

Merge branch 'feature/随访管理' into develop

cc12458 il y a 1 an
Parent
commit
dbf8d4cb0d
1 fichiers modifiés avec 29 ajouts et 29 suppressions
  1. 29 29
      src/request/api/account.api.ts

+ 29 - 29
src/request/api/account.api.ts

@@ -65,33 +65,33 @@ export function getMenusMethod(account: AccountModel) {
   return request.Get<AccountModel, any[]>(`/system/menu/getRouters`, {
     headers: { Authorization: account.token },
     transform(data) {
-      data.push(
-        {
-          path: '/follow',
-          meta: {
-            title: '随访管理',
-          },
-          children: [
-            {
-              path: 'plan',
-              meta: {
-                title: '随访计划',
-              },
-            },
-            {
-              path: 'task',
-              meta: {
-                title: '随访任务',
-              },
-            },
-            {
-              path: 'assessment',
-              meta: {
-                title: '随访评估',
-              },
-            },
-          ],
-        },
+      // data.push(
+        // {
+        //   path: '/follow',
+        //   meta: {
+        //     title: '随访管理',
+        //   },
+        //   children: [
+        //     {
+        //       path: 'plan',
+        //       meta: {
+        //         title: '随访计划',
+        //       },
+        //     },
+        //     {
+        //       path: 'task',
+        //       meta: {
+        //         title: '随访任务',
+        //       },
+        //     },
+        //     {
+        //       path: 'assessment',
+        //       meta: {
+        //         title: '随访评估',
+        //       },
+        //     },
+        //   ],
+        // },
         // {
         //   path: '/tcmRecuperation',
         //   meta: {
@@ -118,8 +118,8 @@ export function getMenusMethod(account: AccountModel) {
         //     },
         //   ],
         // }
-      );
-      console.log(data);
+      // );
+      // console.log(data);
       return { ...account, menus: transformMenus(data) };
     },
   });