ソースを参照

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

csx 5 年 前
コミット
d350ff4a53

+ 127 - 28
src/api/advice.js ファイルの表示

64
 
64
 
65
   })
65
   })
66
 }
66
 }
67
-export function CheckGroupAdvice(groupno,mode) {
68
-  var params = {
69
-    groupno: groupno,
70
-    mode: mode,
71
-  }
72
-  return request({
73
-    url: '/api/patients/advice/checkgroup',
74
-    method: 'Post',
75
-    params: params,
76
-    headers:{"Permission":2},
77
 
67
 
78
-  })
79
-}
80
 
68
 
81
 export function getDoctorAdviceList(params) {
69
 export function getDoctorAdviceList(params) {
82
   return request({
70
   return request({
86
   })
74
   })
87
 }
75
 }
88
 
76
 
89
-export function StopDoctorAdvice(id, reason) {
90
-  return request({
91
-    url: '/api/patients/advice/stop?id=' + id,
92
-    method: 'Post',
93
-    data: reason
94
-  })
95
-}
77
+// export function StopDoctorAdvice(id, reason,mode) {
78
+//   return request({
79
+//     url: '/api/patients/advice/stop?id=' + id+"&mode="+mode,
80
+//     method: 'Post',
81
+//     data: reason,
82
+//     headers:{"Permission":3},
83
+//
84
+//   })
85
+// }
96
 
86
 
97
-export function StopGroupAdvice(groupno, reason) {
87
+export function StopGroupAdvice(groupno, reason,mode) {
98
   return request({
88
   return request({
99
-    url: '/api/patients/advice/stopgroup?groupno=' + groupno,
89
+    url: '/api/patients/advice/stopgroup?groupno=' + groupno+"&mode="+mode,
100
     method: 'Post',
90
     method: 'Post',
101
-    data: reason
102
-  })
103
-}
91
+    data: reason,
92
+    headers:{"Permission":3},
104
 
93
 
105
-export function ExecGroupAdvice(groupno, time) {
106
-  return request({
107
-    url: '/api/patients/advice/execgroup?groupno=' + groupno + '&execution_time=' + time,
108
-    method: 'Post'
109
   })
94
   })
110
 }
95
 }
111
 
96
 
97
+
98
+
112
 export function DeleteDoctorAdvice(id,mode) {
99
 export function DeleteDoctorAdvice(id,mode) {
113
   return request({
100
   return request({
114
     url: '/api/patients/advice/delete?id=' + id+"&mode="+mode,
101
     url: '/api/patients/advice/delete?id=' + id+"&mode="+mode,
317
     data: data
304
     data: data
318
   })
305
   })
319
 }
306
 }
307
+
308
+
309
+
310
+
311
+
312
+export function EditNewDoctorAdvice(patient, id, advice,mode) {
313
+  return request({
314
+    url: '/api/patients/advice/edit?id=' + id + '&patient=' + patient+"&mode="+mode,
315
+    method: 'Put',
316
+    data: advice,
317
+    headers:{"Permission":2},
318
+
319
+  })
320
+}
321
+
322
+
323
+
324
+
325
+
326
+export function CreateNewDoctorAdvice(id, advice,mode) {
327
+  return request({
328
+    url: '/api/patients/advice/create?id=' + id+"&mode="+mode,
329
+    method: 'post',
330
+    data: advice,
331
+    headers:{"Permission":2},
332
+
333
+  })
334
+}
335
+
336
+
337
+
338
+export function CreateNewGroupAdvice(id, groupno, advices,mode) {
339
+  if (advices.remind > 0) {
340
+    return request({
341
+      url: '/api/patients/advice/creategroup?id=' + id + '&groupno=' + groupno+"&mode="+mode,
342
+      method: 'post',
343
+      data: advices,
344
+      headers:{"Permission":3},
345
+
346
+    })
347
+  } else {
348
+    return request({
349
+      url: '/api/patients/advice/creategroup?id=' + id + '&groupno=' + groupno+"&mode="+mode,
350
+      method: 'post',
351
+      data: advices,
352
+      headers:{"Permission":3},
353
+
354
+    })
355
+  }
356
+}
357
+
358
+
359
+
360
+export function DeleteNewDoctorAdvice(id,mode) {
361
+  return request({
362
+    url: '/api/patients/advice/delete?id=' + id+"&mode="+mode,
363
+    method: 'Delete',
364
+    headers:{"Permission":2},
365
+
366
+  })
367
+}
368
+
369
+
370
+
371
+export function DeleteNewGroupAdvice(groupno,mode) {
372
+  return request({
373
+    url: '/api/patients/advice/deletegroup?groupno=' + groupno+"&mode="+mode,
374
+    method: 'delete',
375
+    headers:{"Permission":3},
376
+
377
+  })
378
+}
379
+
380
+
381
+
382
+export function StopDoctorAdvice(id, reason,mode) {
383
+  return request({
384
+    url: '/api/patients/advice/stop?id=' + id+"&mode="+mode,
385
+    method: 'Post',
386
+    data: reason,
387
+    headers:{"Permission":2},
388
+
389
+  })
390
+}
391
+
392
+
393
+
394
+
395
+export function ExecGroupAdvice(groupno, time,mode) {
396
+  return request({
397
+    url: '/api/patients/advice/execgroup?groupno=' + groupno + '&execution_time=' + time+"&mode="+mode,
398
+    method: 'Post',
399
+    headers:{"Permission":2},
400
+
401
+  })
402
+}
403
+
404
+
405
+export function CheckGroupAdvice(groupno,mode) {
406
+  var params = {
407
+    groupno: groupno,
408
+    mode: mode,
409
+  }
410
+  return request({
411
+    url: '/api/patients/advice/checkgroup',
412
+    method: 'Post',
413
+    params: params,
414
+    headers:{"Permission":2},
415
+
416
+  })
417
+}
418
+

+ 12 - 4
src/router/modules/data_dict.js ファイルの表示

16
     component: () => import('@/xt_pages/data/index'),
16
     component: () => import('@/xt_pages/data/index'),
17
     name: 'dictionary',
17
     name: 'dictionary',
18
     meta: {
18
     meta: {
19
-      title: 'field_config'
19
+      title: 'field_config',
20
+      noCache: true,
21
+
20
     }
22
     }
21
   },
23
   },
22
   {
24
   {
24
     component: () => import('@/xt_pages/data/template'),
26
     component: () => import('@/xt_pages/data/template'),
25
     name: 'template',
27
     name: 'template',
26
     meta: {
28
     meta: {
27
-      title: 'template'
29
+      title: 'template',
30
+      noCache: true,
31
+
28
     }
32
     }
29
   },
33
   },
30
   {
34
   {
32
     component: () => import('@/xt_pages/data/druguseTemplate'),
36
     component: () => import('@/xt_pages/data/druguseTemplate'),
33
     name: 'druguse',
37
     name: 'druguse',
34
     meta: {
38
     meta: {
35
-      title: 'druguse'
39
+      title: 'druguse',
40
+      noCache: true,
41
+
36
     }
42
     }
37
   }, {
43
   }, {
38
       path: '/data/showconfig',
44
       path: '/data/showconfig',
39
       component: () => import('@/xt_pages/data/showConfig'),
45
       component: () => import('@/xt_pages/data/showConfig'),
40
       name: 'showconfig',
46
       name: 'showconfig',
41
       meta: {
47
       meta: {
42
-        title: 'showconfig'
48
+        title: 'showconfig',
49
+        noCache: true,
50
+
43
       }
51
       }
44
     }
52
     }
45
   ]
53
   ]

+ 12 - 4
src/router/modules/data_upload.js ファイルの表示

16
       component: () => import('@/xt_pages/upload/fast_upload'),
16
       component: () => import('@/xt_pages/upload/fast_upload'),
17
       name: 'fast_upload',
17
       name: 'fast_upload',
18
       meta: {
18
       meta: {
19
-        title: 'fast_upload'
19
+        title: 'fast_upload',
20
+        noCache: true,
21
+
20
       }
22
       }
21
     },
23
     },
22
     {
24
     {
24
       component: () => import('@/xt_pages/upload/data_upload'),
26
       component: () => import('@/xt_pages/upload/data_upload'),
25
       name: 'data_upload',
27
       name: 'data_upload',
26
       meta: {
28
       meta: {
27
-        title: 'data_upload'
29
+        title: 'data_upload',
30
+        noCache: true,
31
+
28
       }
32
       }
29
     },
33
     },
30
     {
34
     {
32
       component: () => import('@/xt_pages/upload/export'),
36
       component: () => import('@/xt_pages/upload/export'),
33
       name: 'export',
37
       name: 'export',
34
       meta: {
38
       meta: {
35
-        title: 'export'
39
+        title: 'export',
40
+        noCache: true,
41
+
36
       }
42
       }
37
     }, {
43
     }, {
38
       path: '/upload/config',
44
       path: '/upload/config',
39
       component: () => import('@/xt_pages/upload/config'),
45
       component: () => import('@/xt_pages/upload/config'),
40
       name: 'upload_config',
46
       name: 'upload_config',
41
       meta: {
47
       meta: {
42
-        title: 'upload_config'
48
+        title: 'upload_config',
49
+        noCache: true,
50
+
43
       }
51
       }
44
     },
52
     },
45
   ]
53
   ]

+ 18 - 6
src/router/modules/device.js ファイルの表示

18
       component: () => import('@/xt_pages/device/zone_main'),
18
       component: () => import('@/xt_pages/device/zone_main'),
19
       name: 'deviceZoneManage',
19
       name: 'deviceZoneManage',
20
       meta: {
20
       meta: {
21
-        title: 'deviceZoneManage'
21
+        title: 'deviceZoneManage',
22
+        noCache: true,
23
+
22
       }
24
       }
23
     },
25
     },
24
     {
26
     {
26
       component: () => import('@/xt_pages/device/group_main'),
28
       component: () => import('@/xt_pages/device/group_main'),
27
       name: 'deviceGroupManage',
29
       name: 'deviceGroupManage',
28
       meta: {
30
       meta: {
29
-        title: 'deviceGroupManage'
31
+        title: 'deviceGroupManage',
32
+        noCache: true,
33
+
30
       }
34
       }
31
     },
35
     },
32
     {
36
     {
34
       component: () => import('@/xt_pages/device/number_main'),
38
       component: () => import('@/xt_pages/device/number_main'),
35
       name: 'deviceNumberManage',
39
       name: 'deviceNumberManage',
36
       meta: {
40
       meta: {
37
-        title: 'deviceNumberManage'
41
+        title: 'deviceNumberManage',
42
+        noCache: true,
43
+
38
       }
44
       }
39
     },
45
     },
40
     {
46
     {
42
       component: () => import('@/xt_pages/mode/index'),
48
       component: () => import('@/xt_pages/mode/index'),
43
       name: 'modemanagement',
49
       name: 'modemanagement',
44
       meta: {
50
       meta: {
45
-        title: 'modemanagement'
51
+        title: 'modemanagement',
52
+        noCache: true,
53
+
46
       }
54
       }
47
     },
55
     },
48
     {
56
     {
51
       // component: () => import("@/xt_pages/device/main"),
59
       // component: () => import("@/xt_pages/device/main"),
52
       name: 'dialysisMachineManage',
60
       name: 'dialysisMachineManage',
53
       meta: {
61
       meta: {
54
-        title: 'dialysisMachineManage'
62
+        title: 'dialysisMachineManage',
63
+        noCache: true,
64
+
55
       }
65
       }
56
     },
66
     },
57
     {
67
     {
61
       is_menu: false,
71
       is_menu: false,
62
       hidden: true,
72
       hidden: true,
63
       meta: {
73
       meta: {
64
-        title: '设备管理详情页'
74
+        title: '设备管理详情页',
75
+        noCache: true,
76
+
65
       }
77
       }
66
     }
78
     }
67
 
79
 

+ 12 - 4
src/router/modules/dialysis.js ファイルの表示

15
       component: () => import('@/xt_pages/dialysis/schedualPatient'),
15
       component: () => import('@/xt_pages/dialysis/schedualPatient'),
16
       name: '透析记录',
16
       name: '透析记录',
17
       meta: {
17
       meta: {
18
-        title: '透析记录'
18
+        title: '透析记录',
19
+        noCache: true,
20
+
19
       }
21
       }
20
     },
22
     },
21
     {
23
     {
23
       component: () => import('@/xt_pages/dialysis/bloodPresssWatch'),
25
       component: () => import('@/xt_pages/dialysis/bloodPresssWatch'),
24
       name: 'watch',
26
       name: 'watch',
25
       meta: {
27
       meta: {
26
-        title: 'watch'
28
+        title: 'watch',
29
+        noCache: true,
30
+
27
       }
31
       }
28
     },
32
     },
29
     {
33
     {
31
       component: () => import('@/xt_pages/dialysis/bulletinBoard'),
35
       component: () => import('@/xt_pages/dialysis/bulletinBoard'),
32
       name: '数据看板',
36
       name: '数据看板',
33
       meta: {
37
       meta: {
34
-        title: '数据看板'
38
+        title: '数据看板',
39
+        noCache: true,
40
+
35
       }
41
       }
36
     },
42
     },
37
     {
43
     {
68
         title: 'details'
74
         title: 'details'
69
       },
75
       },
70
       hidden: true,
76
       hidden: true,
71
-      is_menu: false
77
+      is_menu: false,
78
+      noCache: true
79
+
72
     },
80
     },
73
     {
81
     {
74
       path: '/dialysis/print/batch',
82
       path: '/dialysis/print/batch',

+ 3 - 1
src/router/modules/integration.js ファイルの表示

16
       component: () => import('@/xt_pages/integration/his_config'),
16
       component: () => import('@/xt_pages/integration/his_config'),
17
       name: 'his_config',
17
       name: 'his_config',
18
       meta: {
18
       meta: {
19
-        title: 'his_config'
19
+        title: 'his_config',
20
+        noCache: true,
21
+
20
       }
22
       }
21
     },
23
     },
22
 
24
 

+ 51 - 17
src/router/modules/qcd.js ファイルの表示

15
     component: () => import('@/xt_pages/statistics/index'),
15
     component: () => import('@/xt_pages/statistics/index'),
16
     name: 'statistics',
16
     name: 'statistics',
17
     meta: {
17
     meta: {
18
-      title: 'statistics'
18
+      title: 'statistics',
19
+      noCache: true,
20
+
19
     }
21
     }
20
   },
22
   },
21
   {
23
   {
23
     component: () => import('@/xt_pages/qcd/dialysisTotal'),
25
     component: () => import('@/xt_pages/qcd/dialysisTotal'),
24
     name: 'dialysistotal',
26
     name: 'dialysistotal',
25
     meta: {
27
     meta: {
26
-      title: '透析总量'
28
+      title: '透析总量',
29
+      noCache: true,
30
+
27
     }
31
     }
28
   },
32
   },
29
   {
33
   {
31
     component: () => import('@/xt_pages/qcd/processIndicators'),
35
     component: () => import('@/xt_pages/qcd/processIndicators'),
32
     name: 'processIndicators',
36
     name: 'processIndicators',
33
     meta: {
37
     meta: {
34
-      title: '过程指标'
38
+      title: '过程指标',
39
+      noCache: true,
40
+
35
     }
41
     }
36
   },
42
   },
37
   {
43
   {
39
     component: () => import('@/xt_pages/qcd/outcomeIndicators/control'),
45
     component: () => import('@/xt_pages/qcd/outcomeIndicators/control'),
40
     name: 'outcomeIndicatorsControl',
46
     name: 'outcomeIndicatorsControl',
41
     meta: {
47
     meta: {
42
-      title: '结果指标'
48
+      title: '结果指标',
49
+      noCache: true,
50
+
43
     }
51
     }
44
   },
52
   },
45
   {
53
   {
49
     component: () => import('@/xt_pages/qcd/outcomeIndicators/query'),
57
     component: () => import('@/xt_pages/qcd/outcomeIndicators/query'),
50
     name: 'outcomeIndicatorsQuery',
58
     name: 'outcomeIndicatorsQuery',
51
     meta: {
59
     meta: {
52
-      title: '指标查询'
60
+      title: '指标查询',
61
+      noCache: true,
62
+
53
     }
63
     }
54
   },
64
   },
55
   {
65
   {
57
     component: () => import('@/xt_pages/qcd/patientAnalysis/total'),
67
     component: () => import('@/xt_pages/qcd/patientAnalysis/total'),
58
     name: 'patientAnalysisTotal',
68
     name: 'patientAnalysisTotal',
59
     meta: {
69
     meta: {
60
-      title: '患者分析'
70
+      title: '患者分析',
71
+      noCache: true,
72
+
61
     }
73
     }
62
   },
74
   },
63
   {
75
   {
67
     component: () => import('@/xt_pages/qcd/patientAnalysis/weight'),
79
     component: () => import('@/xt_pages/qcd/patientAnalysis/weight'),
68
     name: 'patientAnalysisWeight',
80
     name: 'patientAnalysisWeight',
69
     meta: {
81
     meta: {
70
-      title: '体重分析'
82
+      title: '体重分析',
83
+      noCache: true,
84
+
71
     }
85
     }
72
   },
86
   },
73
   {
87
   {
77
     component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'),
91
     component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'),
78
     name: 'patientAnalysisBloodPressure',
92
     name: 'patientAnalysisBloodPressure',
79
     meta: {
93
     meta: {
80
-      title: '血压分析'
94
+      title: '血压分析',
95
+      noCache: true,
96
+
81
     }
97
     }
82
   },
98
   },
83
   {
99
   {
87
     component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'),
103
     component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'),
88
     name: 'patientAnalysisDialysisAge',
104
     name: 'patientAnalysisDialysisAge',
89
     meta: {
105
     meta: {
90
-      title: '透析龄分析'
106
+      title: '透析龄分析',
107
+      noCache: true,
108
+
91
     }
109
     }
92
   },
110
   },
93
   {
111
   {
97
     component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'),
115
     component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'),
98
     name: 'patientAnalysisLapseto',
116
     name: 'patientAnalysisLapseto',
99
     meta: {
117
     meta: {
100
-      title: '转归分析'
118
+      title: '转归分析',
119
+      noCache: true,
120
+
101
     }
121
     }
102
   },
122
   },
103
   {
123
   {
107
     component: () => import('@/xt_pages/qcd/patientAnalysis/complication'),
127
     component: () => import('@/xt_pages/qcd/patientAnalysis/complication'),
108
     name: 'patientAnalysisComplication',
128
     name: 'patientAnalysisComplication',
109
     meta: {
129
     meta: {
110
-      title: '并发症分析'
130
+      title: '并发症分析',
131
+      noCache: true,
132
+
111
     }
133
     }
112
   },
134
   },
113
   {
135
   {
117
     component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'),
139
     component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'),
118
     name: 'patientAnalysisInfectiousDiseases',
140
     name: 'patientAnalysisInfectiousDiseases',
119
     meta: {
141
     meta: {
120
-      title: '传染病分析'
142
+      title: '传染病分析',
143
+      noCache: true,
144
+
121
     }
145
     }
122
   },
146
   },
123
   {
147
   {
127
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'),
151
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'),
128
     name: 'paPersonLapseto',
152
     name: 'paPersonLapseto',
129
     meta: {
153
     meta: {
130
-      title: '转归'
154
+      title: '转归',
155
+      noCache: true,
156
+
131
     }
157
     }
132
   },
158
   },
133
   {
159
   {
137
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'),
163
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'),
138
     name: 'paPersonWeight',
164
     name: 'paPersonWeight',
139
     meta: {
165
     meta: {
140
-      title: '体重'
166
+      title: '体重',
167
+      noCache: true,
168
+
141
     }
169
     }
142
   },
170
   },
143
   {
171
   {
147
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'),
175
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'),
148
     name: 'paPersonBloodPressure',
176
     name: 'paPersonBloodPressure',
149
     meta: {
177
     meta: {
150
-      title: '血压'
178
+      title: '血压',
179
+      noCache: true,
180
+
151
     }
181
     }
152
   },
182
   },
153
   {
183
   {
157
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'),
187
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'),
158
     name: 'paPersonIndicators',
188
     name: 'paPersonIndicators',
159
     meta: {
189
     meta: {
160
-      title: '指标控制'
190
+      title: '指标控制',
191
+      noCache: true,
192
+
161
     }
193
     }
162
   },
194
   },
163
   {
195
   {
167
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'),
199
     component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'),
168
     name: 'paPersonOralMedicine',
200
     name: 'paPersonOralMedicine',
169
     meta: {
201
     meta: {
170
-      title: '口服药'
202
+      title: '口服药',
203
+      noCache: true,
204
+
171
     }
205
     }
172
   }
206
   }
173
   ]
207
   ]

+ 6 - 2
src/router/modules/service.js ファイルの表示

50
     hidden: true,
50
     hidden: true,
51
     name: 'servicePay',
51
     name: 'servicePay',
52
     meta: {
52
     meta: {
53
-      title: 'servicePay'
53
+      title: 'servicePay',
54
+      noCache: true,
55
+
54
     }
56
     }
55
   },
57
   },
56
   {
58
   {
59
     hidden: true,
61
     hidden: true,
60
     name: 'payType',
62
     name: 'payType',
61
     meta: {
63
     meta: {
62
-      title: 'payType'
64
+      title: 'payType',
65
+      noCache: true,
66
+
63
     }
67
     }
64
   },
68
   },
65
   {
69
   {

+ 6 - 2
src/router/modules/stock.js ファイルの表示

20
       parentNum: 1,
20
       parentNum: 1,
21
       meta: {
21
       meta: {
22
         isChild: true,
22
         isChild: true,
23
-        title: "warehouseReceipt"
23
+        title: "warehouseReceipt",
24
+        noCache: true,
25
+
24
       }
26
       }
25
     },
27
     },
26
     {
28
     {
31
       parentNum: 2,
33
       parentNum: 2,
32
       meta: {
34
       meta: {
33
         isChild: true,
35
         isChild: true,
34
-        title: "warehouseReceiptOther"
36
+        title: "warehouseReceiptOther",
37
+        noCache: true,
38
+
35
       }
39
       }
36
     },
40
     },
37
     {
41
     {

+ 12 - 4
src/router/modules/systems.js ファイルの表示

15
     component: () => import('@/xt_pages/role/admin'),
15
     component: () => import('@/xt_pages/role/admin'),
16
     name: 'adminManage',
16
     name: 'adminManage',
17
     meta: {
17
     meta: {
18
-      title: 'adminManage'
18
+      title: 'adminManage',
19
+      noCache: true,
20
+
19
     }
21
     }
20
   },
22
   },
21
   {
23
   {
23
     component: () => import('@/xt_pages/role/role'),
25
     component: () => import('@/xt_pages/role/role'),
24
     name: 'roleManage',
26
     name: 'roleManage',
25
     meta: {
27
     meta: {
26
-      title: 'roleManage'
28
+      title: 'roleManage',
29
+      noCache: true,
30
+
27
     }
31
     }
28
   },
32
   },
29
   {
33
   {
72
     component: () => import('@/xt_pages/data/index'),
76
     component: () => import('@/xt_pages/data/index'),
73
     name: 'dictionary',
77
     name: 'dictionary',
74
     meta: {
78
     meta: {
75
-      title: 'data_dictionary'
79
+      title: 'data_dictionary',
80
+      noCache: true,
81
+
76
     }
82
     }
77
   },
83
   },
78
   {
84
   {
80
     component: () => import('@/xt_pages/data/template'),
86
     component: () => import('@/xt_pages/data/template'),
81
     name: 'template',
87
     name: 'template',
82
     meta: {
88
     meta: {
83
-      title: 'template'
89
+      title: 'template',
90
+      noCache: true,
91
+
84
     }
92
     }
85
   },{
93
   },{
86
       path: '/data/prescription',
94
       path: '/data/prescription',

+ 2 - 6
src/views/layout/components/Navbar.vue ファイルの表示

207
               this.$router.addRoutes(this.$store.getters.xt_permission.addRouters) // 动态添加可访问路由表
207
               this.$router.addRoutes(this.$store.getters.xt_permission.addRouters) // 动态添加可访问路由表
208
               //        next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 ,set the replace: true so the navigation will not leave a history record
208
               //        next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 ,set the replace: true so the navigation will not leave a history record
209
               // this.$router.replace({ path: '/' })
209
               // this.$router.replace({ path: '/' })
210
-              // window.location.reload()
210
+              window.location.reload()
211
               // this.$router.go(0)
211
               // this.$router.go(0)
212
-              this.reload()
212
+              // this.reload()
213
             })
213
             })
214
           })
214
           })
215
 
215
 
272
     }
272
     }
273
   },
273
   },
274
   created() {
274
   created() {
275
-    this.org_id = 12
276
-
277
     getOrgs().then(response => {
275
     getOrgs().then(response => {
278
       if (response.data.state === 1) {
276
       if (response.data.state === 1) {
279
           this.orgs = response.data.data.orgs;
277
           this.orgs = response.data.data.orgs;
285
       }
283
       }
286
     });
284
     });
287
 
285
 
288
-
289
-
290
   }
286
   }
291
 };
287
 };
292
 </script>
288
 </script>

File diff suppressed because it is too large
+ 1542 - 1472
src/xt_pages/user/components/EditGroupAdvice.vue


File diff suppressed because it is too large
+ 2549 - 2475
src/xt_pages/user/doctorAdvice.vue


+ 7 - 8
src/xt_pages/user/dryWeight.vue ファイルの表示

3
     <patient-sidebar :id="patientID" defaultActive="1-6" v-on:tran-patient="onTranPatient"></patient-sidebar>
3
     <patient-sidebar :id="patientID" defaultActive="1-6" v-on:tran-patient="onTranPatient"></patient-sidebar>
4
     <div class="patient-app-container advice-container app-container">
4
     <div class="patient-app-container advice-container app-container">
5
       <div class="cell clearfix">
5
       <div class="cell clearfix">
6
-      当前时间: <el-input  style="width:130px;" v-model="nowtime" :disabled="true"></el-input> 
7
-         </el-time-select>&nbsp;&nbsp;
6
+      当前时间: <el-input  style="width:130px;" v-model="nowtime" :disabled="true"></el-input>
8
         干体重:<el-input style="width:100px" v-model="dryweight" :disabled="true"></el-input>&nbsp;
7
         干体重:<el-input style="width:100px" v-model="dryweight" :disabled="true"></el-input>&nbsp;
9
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="addShow">新增</el-button>
8
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="addShow">新增</el-button>
10
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="adjustShow">调整</el-button>
9
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="adjustShow">调整</el-button>
20
               {{scope.row.adjusted_value}}
19
               {{scope.row.adjusted_value}}
21
         </template>
20
         </template>
22
      </el-table-column>
21
      </el-table-column>
23
-      <el-table-column     prop="date"    label="干体重"    align="center"> 
22
+      <el-table-column     prop="date"    label="干体重"    align="center">
24
          <template slot-scope="scope">
23
          <template slot-scope="scope">
25
               {{scope.row.dry_weight}}
24
               {{scope.row.dry_weight}}
26
          </template>
25
          </template>
27
       </el-table-column>
26
       </el-table-column>
28
-      <el-table-column     prop="date"    label="医生"      align="center"> 
27
+      <el-table-column     prop="date"    label="医生"      align="center">
29
           <template slot-scope="scope">
28
           <template slot-scope="scope">
30
                 {{scope.row.user_name}}
29
                 {{scope.row.user_name}}
31
           </template>
30
           </template>
32
       </el-table-column>
31
       </el-table-column>
33
-      <el-table-column     prop="date"    label="备注"      align="center"> 
32
+      <el-table-column     prop="date"    label="备注"      align="center">
34
           <template slot-scope="scope">
33
           <template slot-scope="scope">
35
               {{scope.row.remakes}}
34
               {{scope.row.remakes}}
36
           </template>
35
           </template>
46
         align="right"
45
         align="right"
47
         layout="total, sizes, prev, pager, next, jumper"
46
         layout="total, sizes, prev, pager, next, jumper"
48
         :total="total"></el-pagination>
47
         :total="total"></el-pagination>
49
-     
48
+
50
      <el-dialog
49
      <el-dialog
51
          title="调整干体重"
50
          title="调整干体重"
52
          :visible.sync="dialogVisible"
51
          :visible.sync="dialogVisible"
75
            </el-input>
74
            </el-input>
76
         </el-form-item>
75
         </el-form-item>
77
       </el-form>
76
       </el-form>
78
-     
77
+
79
      <span slot="footer" class="dialog-footer">
78
      <span slot="footer" class="dialog-footer">
80
      <el-button @click="dialogVisible = false">取 消</el-button>
79
      <el-button @click="dialogVisible = false">取 消</el-button>
81
      <el-button type="primary" @click="UpdateDryWeightData('dryWeightForm')">确 定</el-button>
80
      <el-button type="primary" @click="UpdateDryWeightData('dryWeightForm')">确 定</el-button>
162
           patient_id: this.patientID,
161
           patient_id: this.patientID,
163
           dryweight: this.dryweight
162
           dryweight: this.dryweight
164
         }
163
         }
165
-  
164
+
166
         this.$refs[formName].validate((valid) => {
165
         this.$refs[formName].validate((valid) => {
167
           if (valid) {
166
           if (valid) {
168
             UpdateDryWeightData(params).then(response => {
167
             UpdateDryWeightData(params).then(response => {