SunZehao hace 1 año
padre
commit
e888241947

src/components/knowledgePage/counterPage.vue → src/components/evaluationknowledgePage/counterPage.vue


src/components/knowledgePage/scoringRulesDetailPage.vue → src/components/evaluationknowledgePage/scoringRulesDetailPage.vue


+ 2 - 1
src/components/knowledgePage/scoringRulesPage.vue

@@ -122,7 +122,8 @@ import scoringRulesDetailPage from './scoringRulesDetailPage.vue'
 import btns from '../elbuttonS.vue'
 import {apiGetevaluationscoringruleList, apiGetindicatorListAll, apiGetbinsectionList, apiGetevaluationscoringSaveList, apiGetevaluationruleRemove} from '../../api/api'
 export default {
-  components: { importDailog, scoringRulesDetailPage, btns },
+    // 
+  components: { importDailog,scoringRulesDetailPage,btns },
     data() {
         return {
             dialogVisible: false,

+ 4 - 4
src/router/index.js

@@ -251,21 +251,21 @@ const routes = [
                 ]
             },
             {
-                path: '/knowledge',
-                name: 'knowledge',
+                path: '/evaluationknowledge',
+                name: 'evaluationknowledge',
                 meta: {
                     title: '知识库',
                 },
                 children: [
                     {
-                        path: '/knowledgePage/scoringRules',
+                        path: '/evaluationknowledge/scoringRules',
                         name: 'scoringRules',
                         meta: {
                             title: '考评得分规则',
                         },
                         component: () =>
                             import(
-                                '../components/knowledgePage/scoringRulesPage.vue'
+                                '../components/evaluationknowledgePage/scoringRulesPage.vue'
                             ),
                     }
                 ]

+ 2 - 5
src/views/homePage.vue

@@ -59,7 +59,7 @@ import { getToken, removeToken } from '../api/auth'
 import {apiPostremoveByToken, apiGetMenuData} from '../api/api'
 export default {
     components: {MenuTree},
-    inject: ['reload'],
+    // inject: ['reload'],
     data() {
         return {
             forecastDatas: [],
@@ -187,7 +187,7 @@ export default {
         //         img: zhishikuImg,
         //         children: [
         //             {
-        //                 index: '/knowledgePage/scoringRules',
+        //                 index: '/knowledge/scoringRules',
         //                 name: '考评得分规则',
         //             },
         //             {
@@ -377,9 +377,6 @@ export default {
                 })
                 window.sessionStorage.setItem('routeTags', JSON.stringify(this.routeTags))
             }
-            this.$nextTick(() =>{
-                this.reload()
-            })
         },
         handleClose(tag) {
             if (this.routeTags.length > 1) {