mo пре 3 година
родитељ
комит
98627a0176
3 измењених фајлова са 23 додато и 27 уклоњено
  1. 3 0
      public/html/index.html
  2. 16 1
      src/constant/instructionList.js
  3. 4 26
      src/layout/components/instructions.vue

+ 3 - 0
public/html/index.html

@@ -192,4 +192,7 @@
 #interfaceControlFrameRight{
   display: none!important;
 }
+#changePageInstructions{
+  display: none!important;
+}
       </style>

+ 16 - 1
src/constant/instructionList.js

@@ -40,7 +40,22 @@ export const instructionList = {
     2:'网管课购买'
   },
   '/teamCLassList':'班级管理',
-
+  '/teamCourseList':'课表列表',
+  '/studentManager/studentList':'学员管理',
+  '/studentManager/ArrearageStudents':'欠费学员',
+  '/otherManager/reaplceMusicPlayer':'乐器置换',
+  '/serverIndexManager/serverIndexList':'服务指标',
+  '/serverIndexManager/serverDetail':'服务指标明细',
+  '/operateManager/setQuestions':'问卷管理',
+  '/operateManager/questionOperations':'添加问卷',
+  '/main/main':{
+    'baseinfo':'基本信息',
+    'abnormal':'异常处理',
+    'reminders':'事项提醒',
+    'teamSchedule':'乐团主管日程安排',
+    'ScheduleBranch':'分部经理日程安排'
+  },
+  '/main/scheduleDetail':'日程安排'
 }
 
 

+ 4 - 26
src/layout/components/instructions.vue

@@ -232,10 +232,11 @@ export default {
           "[object Object]"
         ) {
           // 对象 肯定是详情页
-          // console.log('状态',to.query[keyOfValue[to.path]])
+
           let obj = {};
           if (instructionList[to.path][to.query[keyOfValue[to.path]]]) {
             let parameter = to.query[keyOfValue[to.path]];
+
             obj = { ...instructionList[to.path][parameter] };
           } else {
             obj = instructionList[to.path];
@@ -247,22 +248,6 @@ export default {
             this.str = obj[some];
           } else {
             this.str = obj[to.query.tabrouter];
-            // if (
-            //   to.path == "/business/resetTeaming" &&
-            //   to.query.tabrouter == "11"
-            // ) {
-            //   to.query.team_status == "APPLY"
-            //     ? (this.str = "乐团报名")
-            //     : (this.str = "乐团缴费");
-            // }
-            // if (
-            //   to.path == "/business/resetTeaming" &&
-            //   (to.query.tabrouter == "3" || to.query.tabrouter == "6") &&
-            //   to.query.team_status == "PROGRESS"
-            // ) {
-            //   this.str = "缴费项目创建";
-            // }
-
             if (obj[to.query.tabrouter]) {
               this.url = `/html/index.html#g=1&p=${this.str}&c=1`;
 
@@ -305,12 +290,6 @@ export default {
 
     fullscreen() {
       const bodyEle = document.querySelector(".app-main");
-      console.log(
-        this.h == this.docY - this.y,
-        this.w == bodyEle.clientWidth,
-        this.x == 210,
-        this.y == 135
-      );
       // this.h = this.docY - this.y;
       return (
         this.h == this.docY - this.y &&
@@ -340,9 +319,8 @@ export default {
           let outFrame = this.$refs.iframe;
           let outFrameWindow = this.$refs.iframe.contentWindow;
           setTimeout((res) => {
-            let rightFrame = outFrameWindow.document.querySelector(
-              "#mainFrame"
-            );
+            let rightFrame =
+              outFrameWindow.document.querySelector("#mainFrame");
             rightFrame.contentWindow.document.addEventListener(
               "click",
               (e) => {