Browse Source

修改连接

lex-xin 4 years ago
parent
commit
d0ea09b803

+ 1 - 1
src/views/teacherManager/teacherDetail/index.vue

@@ -169,7 +169,7 @@ export default {
     onCancel () {
        this.$store.dispatch('delVisitedViews', this.$route)
       this.$router.push({
-        path: "/business/teacherList"
+        path: "/teacherManager/teacherList"
       });
     },
       gotoAfterSchool() {

+ 2 - 2
src/views/teacherManager/teacherList.vue

@@ -259,11 +259,11 @@
                 <router-link
                   class="el-button--text"
                   :to="{
-                    path: `/business/teacherDetail?teacherId=${scope.row.id}&teacherName=${scope.row.realName}`,
+                    path: `/teacherManager/teacherDetail?teacherId=${scope.row.id}&teacherName=${scope.row.realName}`,
                   }"
                   >查看</router-link>
               </auth>
-              <auth auths="/teacherIperationUpdate">
+              <auth auths="/teacherOperationUpdate">
                 <el-button
                   @click="onTeacher('update', scope.row)"
                   type="text"

+ 1 - 1
src/views/teacherManager/teacherOperation/components/accompanySet.vue

@@ -290,7 +290,7 @@ export default {
             this.$message.success("保存成功");
             this.$store.dispatch('delVisitedViews', this.$route)
             this.$router.push({
-              path: "/business/teacherList",
+              path: "/teacherManager/teacherList",
               query: { rules: this.Frules, search: this.Fsearch }
             });
           }

+ 1 - 1
src/views/teacherManager/teacherOperation/components/salarySet.vue

@@ -592,7 +592,7 @@ export default {
                       this.$message.success("保存成功");
                       this.$store.dispatch('delVisitedViews', this.$route)
                       this.$router.push({
-                        path: "/business/teacherList",
+                        path: "/teacherManager/teacherList",
                         query: { rules: this.Frules, search: this.Fsearch }
                       });
                     }

+ 3 - 3
src/views/teacherManager/teacherOperation/components/teacherOperation.vue

@@ -641,7 +641,7 @@ export default {
                 // this.$emit('onTeacher')
                 this.$store.dispatch('delVisitedViews', this.$route)
                 this.$router.push({
-                  path: "/business/teacherList",
+                  path: "/teacherManager/teacherList",
                   query: { rules: this.Frules, search: this.Fsearch },
                 });
               }
@@ -659,7 +659,7 @@ export default {
                 } else {
                   this.$store.dispatch('delVisitedViews', this.$route)
                   this.$router.push({
-                    path: "/business/teacherList",
+                    path: "/teacherManager/teacherList",
                     query: { rules: this.Frules, search: this.Fsearch },
                   });
                 }
@@ -720,7 +720,7 @@ export default {
     onCancel() {
       this.$store.dispatch('delVisitedViews', this.$route)
       this.$router.push({
-        path: "/business/teacherList",
+        path: "/teacherManager/teacherList",
         query: { rules: this.Frules, search: this.Fsearch },
       });
     },

+ 1 - 1
src/views/teacherManager/teacherOperation/index.vue

@@ -86,7 +86,7 @@ export default {
     },
     onCancel () {
       this.$store.dispatch('delVisitedViews', this.$route)
-      this.$router.push({ path: '/business/teacherList' })
+      this.$router.push({ path: '/teacherManager/teacherList' })
     },
     onTeacher (id) {
       let type = this.$route.query.type