Просмотр исходного кода

红德堂APP调试

去掉财务管理菜单、咨询订单查询修改
Long 3 недель назад
Родитель
Сommit
8e984da957
2 измененных файлов с 24 добавлено и 24 удалено
  1. 23 23
      src/router/index.js
  2. 1 1
      src/views/order/inquiryOrder/index.vue

+ 23 - 23
src/router/index.js

@@ -80,7 +80,7 @@ export const constantRoutes = [
 
     ]
   },
-   
+
   {
     path: '/order',
     component: Layout,
@@ -107,7 +107,7 @@ export const constantRoutes = [
       }
     ]
   },
-  
+
   {
     path: '/myDrugStore',
     component: Layout,
@@ -180,26 +180,26 @@ export const constantRoutes = [
       }
     ]
   },
-  {
-     path: '/moneys',
-     component: Layout,
-     meta: { title: '财务管理', icon: 'money', noCache: true, affix: false },
-     redirect: 'noredirect',
-     children: [
-       {
-         path: 'extract',
-         component: (resolve) => require(['@/views/moneys/extract/index'], resolve),
-         name: '提现管理',
-         meta: { title: '提现管理', icon: 'log', noCache: true, affix: false }
-       },
-       {
-         path: 'bill',
-         component: (resolve) => require(['@/views/moneys/bill/index'], resolve),
-         name: '收入管理',
-         meta: { title: '收入管理', icon: 'guide', noCache: true, affix: false }
-       }
-     ]
-   },
+  // {
+  //    path: '/moneys',
+  //    component: Layout,
+  //    meta: { title: '财务管理', icon: 'money', noCache: true, affix: false },
+  //    redirect: 'noredirect',
+  //    children: [
+  //      {
+  //        path: 'extract',
+  //        component: (resolve) => require(['@/views/moneys/extract/index'], resolve),
+  //        name: '提现管理',
+  //        meta: { title: '提现管理', icon: 'log', noCache: true, affix: false }
+  //      },
+  //      {
+  //        path: 'bill',
+  //        component: (resolve) => require(['@/views/moneys/bill/index'], resolve),
+  //        name: '收入管理',
+  //        meta: { title: '收入管理', icon: 'guide', noCache: true, affix: false }
+  //      }
+  //    ]
+  //  },
    {
     path: '/watch',
     component: Layout,
@@ -248,7 +248,7 @@ Router.prototype.push = function push (location, onResolve, onReject) {
   }
   return originalPush.call(this, location).catch(err => err)
 }
-                        
+
 export default new Router({
   mode: 'history', // 去掉url中的#
   scrollBehavior: () => ({ y: 0 }),

+ 1 - 1
src/views/order/inquiryOrder/index.vue

@@ -237,7 +237,6 @@ export default {
       orOptions:[],
     };
   },
-
   created() {
       this.getDicts("sys_inquiry_type").then(response => {
           this.inquiryTypeOptions = response.data;
@@ -335,6 +334,7 @@ export default {
     getList() {
       this.loading = true;
       this.queryParams.isReceive = 1;
+      this.queryParams.doctorId = this.$store.state.user.doctor.doctorId || 0
       getInquiryOrderList(this.queryParams).then(response => {
         this.inquiryOrderList = response.data.list;
         console.log(this.inquiryOrderList)