lrf402788946 há 5 anos atrás
pai
commit
fb168fb937
2 ficheiros alterados com 13 adições e 14 exclusões
  1. 13 13
      config/menu-config.js
  2. 0 1
      store/setting.js

+ 13 - 13
config/menu-config.js

@@ -88,38 +88,38 @@ export const center = [
     module: 'center',
     children: [
       {
-        path: '/newPlan/arrange',
+        path: '/plan/arrange',
         name: '当前计划日历',
         module: 'center',
       },
       {
-        path: '/newPlan/director',
+        path: '/plan/director',
         name: '班主任全年安排',
         module: 'center',
       },
       {
-        path: '/newPlan/school/num',
+        path: '/plan/school/num',
         name: '学校总人数设置',
         module: 'center',
       },
       {
-        path: '/newPlan/school/time',
+        path: '/plan/school/time',
         name: '学校参培时间',
         module: 'center',
       },
       {
-        path: '/newPlan/school',
+        path: '/plan/school',
         name: '培训计划详表',
         module: 'center',
       },
 
+      // {
+      //   path: '/plan/classes/index',
+      //   name: '班级管理',
+      //   module: 'center',
+      // },
       {
-        path: '/newPlan/classes/index',
-        name: '班级管理',
-        module: 'center',
-      },
-      {
-        path: '/newPlan/template',
+        path: '/plan/template',
         name: '计划模板',
         module: 'center',
       },
@@ -136,8 +136,8 @@ export const center = [
       {
         //班主任不需要
         //(显示当前期所有班级,针对某班,可以设置非常用问卷,班级备注:特殊班级,详表添加备注,以便之后单独设置,剩下非常用问卷设置)
-        path: '/newPlan/classes/index',
-        name: '班级设置',
+        path: '/classes/quest',
+        name: '非常用问卷管理',
         module: 'center',
       },
       {

+ 0 - 1
store/setting.js

@@ -27,7 +27,6 @@ const actions = {
   async checkCache({ rootState, commit, dispatch }) {
     let res = commit('setDefOpt', null, { root: true });
     if (!rootState.defaultOption) dispatch('fetch');
-    console.log(res);
   },
   async update({ commit }, { id, ...data }) {
     const res = await this.$axios.$post(`${api.update(id)}`, data);