XMLWAN 4 vuotta sitten
vanhempi
commit
232fec52b6

+ 5 - 69
src/router/modules/systems.js Näytä tiedosto

@@ -5,7 +5,6 @@ export default {
5 5
   component: Layout,
6 6
   redirect: '/role/admin/manage',
7 7
   name: 'system',
8
-  alwaysShow: true,
9 8
   meta: {
10 9
     title: 'systemManage',
11 10
     icon: 'system'
@@ -20,16 +19,7 @@ export default {
20 19
 
21 20
     }
22 21
   },
23
-  {
24
-    path: '/role/manage',
25
-    component: () => import('@/xt_pages/role/role'),
26
-    name: 'roleManage',
27
-    meta: {
28
-      title: 'roleManage',
29
-      noCache: true,
30
-
31
-    }
32
-  },
22
+  
33 23
   {
34 24
     path: '/role/admin/create',
35 25
     component: () => import('@/xt_pages/role/CreateAdmin'),
@@ -71,63 +61,9 @@ export default {
71 61
   //     title: 'special_permission_manage'
72 62
   //   }
73 63
   // },
74
-  {
75
-    path: '/data/dictionary',
76
-    component: () => import('@/xt_pages/data/index'),
77
-    name: 'dictionary',
78
-    meta: {
79
-      title: 'data_dictionary',
80
-      noCache: true,
81
-
82
-    }
83
-  },
84
-  {
85
-    path: '/data/specialDictionary',
86
-    component: () => import('@/xt_pages/data/specialDictionary'),
87
-    name: 'specialDictionary',
88
-    meta: {
89
-      title: 'specialDictionary',
90
-      noCache: true,
91
-
92
-    }
93
-  },
94
-  {
95
-    path: '/data/template',
96
-    component: () => import('@/xt_pages/data/template'),
97
-    name: 'template',
98
-    meta: {
99
-      title: 'template',
100
-      noCache: true,
101
-
102
-    }
103
-  },{
104
-      path: '/data/prescription',
105
-      component: () => import('@/xt_pages/data/prescription'),
106
-      name: 'prescription',
107
-      meta: {
108
-        title: 'system_prescription'
109
-      }
110
-    }, {
111
-    path: '/data/druguse',
112
-    component: () => import('@/xt_pages/data/druguseTemplate'),
113
-    name: 'druguse',
114
-    meta: {
115
-      title: 'druguse'
116
-    }
117
-  }, {
118
-    path: '/data/showconfig',
119
-    component: () => import('@/xt_pages/data/showConfig'),
120
-    name: 'showconfig',
121
-    meta: {
122
-      title: 'showconfig'
123
-    }
124
-  },{
125
-    path: '/data/print',
126
-    component: () => import('@/xt_pages/data/printTemplate'),
127
-    name: 'printTemplate',
128
-    meta: {
129
-      title: 'printTemplate'
130
-    }
131
-  }
64
+  
65
+  
66
+    
132 67
   ]
133 68
 }
69
+

+ 2 - 4
src/xt_pages/stock/selfPreparedMedicine/index.vue Näytä tiedosto

@@ -203,9 +203,6 @@ export default {
203 203
             
204 204
         },
205 205
         toDetail(drugname,drugspec,patientid){
206
-            console.log("drugname",drugname)
207
-            console.log("drugspec",drugspec)
208
-            console.log("patientid",patientid)
209 206
             this.$refs.medicineDetail.show(drugname,drugspec,patientid);
210 207
         },
211 208
 
@@ -217,6 +214,7 @@ export default {
217 214
           })
218 215
         },
219 216
         searchAction(){
217
+          this.patient_id = 0
220 218
           this.getlist()
221 219
         },
222 220
         saveRadio(){
@@ -226,7 +224,6 @@ export default {
226 224
          saveRadio(params).then(response=>{
227 225
             if(response.data.state == 1){
228 226
               var drugset = response.data.data.drugSet
229
-              console.log("drugset",drugset)
230 227
               this.$message.success("保存成功")
231 228
               this.dialogVisible = false
232 229
             } 
@@ -238,6 +235,7 @@ export default {
238 235
                start_time:this.start_time,
239 236
                keyword:this.search_input,
240 237
             }
238
+           
241 239
           getStockList(params).then(response=>{
242 240
              if(response.data.state == 1){
243 241
                 var stocklist =  response.data.data.stocklist