瀏覽代碼

Merge branch '20201014_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201014_pc_vue_new_branch

XMLWAN 4 年之前
父節點
當前提交
5906124724

+ 3 - 1
src/api/drug/drug_stock.js 查看文件

356
 
356
 
357
 
357
 
358
 
358
 
359
-export function getWarehouseOutUser(params) {
359
+export function getDrugWarehouseOutUser(params) {
360
   return request({
360
   return request({
361
     url: '/api/drugwarehouseout/user',
361
     url: '/api/drugwarehouseout/user',
362
     method: 'get',
362
     method: 'get',
388
 
388
 
389
 
389
 
390
 
390
 
391
+
392
+

+ 28 - 23
src/lang/zh.js 查看文件

62
     clipboardDemo: 'Clipboard',
62
     clipboardDemo: 'Clipboard',
63
     i18n: '国际化',
63
     i18n: '国际化',
64
     medicalScheduling:'医护排班',
64
     medicalScheduling:'医护排班',
65
-    medicalSchedulingIndex:'医护排班',
65
+    medicalSchedulingIndex:'排班管理',
66
     class:'班种列表',
66
     class:'班种列表',
67
     schedulingStatistics:'排班统计',
67
     schedulingStatistics:'排班统计',
68
     permissionManage: '权限管理',
68
     permissionManage: '权限管理',
69
     adminManage: '员工管理',
69
     adminManage: '员工管理',
70
     roleManage: '权限管理',
70
     roleManage: '权限管理',
71
-    dialysis: '透析管理',
71
+    dialysis: '透析监控',
72
     paper: '透析管理',
72
     paper: '透析管理',
73
     advice: '今日医嘱',
73
     advice: '今日医嘱',
74
     prepare: '透析准备',
74
     prepare: '透析准备',
75
     dialysisPrintOrder: '打印透析单',
75
     dialysisPrintOrder: '打印透析单',
76
     details: '透析',
76
     details: '透析',
77
     data_dictionary: '数据字典',
77
     data_dictionary: '数据字典',
78
-    specialDictionary: '专字典',
78
+    specialDictionary: '专字典',
79
     field_config: '字段配置',
79
     field_config: '字段配置',
80
-    template: '模版配置',
80
+    template: '数据模版',
81
     druguse: '医嘱模版',
81
     druguse: '医嘱模版',
82
     watch: '透析监测',
82
     watch: '透析监测',
83
     addAdmin: '新增用户',
83
     addAdmin: '新增用户',
84
     editAdmin: '编辑用户信息',
84
     editAdmin: '编辑用户信息',
85
     setupPerview: '设置权限',
85
     setupPerview: '设置权限',
86
-    user: '病人管理',
87
-    createPatient: '新增病人',
86
+    user: '患者中心',
87
+    createPatient: '新增患者',
88
     patientPage: '病人信息',
88
     patientPage: '病人信息',
89
     editPatient: '修改病人信息',
89
     editPatient: '修改病人信息',
90
-    patient: '病人管理',
90
+    patient: '患者中心',
91
     dialysisSolution: '透析处方',
91
     dialysisSolution: '透析处方',
92
     inspection: '检验检查',
92
     inspection: '检验检查',
93
     home: '首页',
93
     home: '首页',
98
     doctorAdvice: '医嘱信息',
98
     doctorAdvice: '医嘱信息',
99
     dryWeight: '干体重',
99
     dryWeight: '干体重',
100
     device: '设备',
100
     device: '设备',
101
-    deviceManage: '设备管理',
102
-    modemanagement: '型号管理',
101
+    deviceManage: '院感管理',
102
+    modemanagement: '型号配置',
103
     dialysisMachineManage: '设备管理',
103
     dialysisMachineManage: '设备管理',
104
     workforce: '患者排班',
104
     workforce: '患者排班',
105
     appointment: '排班管理',
105
     appointment: '排班管理',
119
     completeOrder: '购买结果',
119
     completeOrder: '购买结果',
120
     orderRecord: '订单详情',
120
     orderRecord: '订单详情',
121
     recordList: '订单记录',
121
     recordList: '订单记录',
122
-    stockManage: '库存管理',
122
+    stockManage: '耗材管理',
123
     goodType: '商品类型',
123
     goodType: '商品类型',
124
     stockIn: '入库管理',
124
     stockIn: '入库管理',
125
     stockOut: '出库管理',
125
     stockOut: '出库管理',
150
     special_permission_manage: '特殊权限管理',
150
     special_permission_manage: '特殊权限管理',
151
     schedule_print: '排班打印',
151
     schedule_print: '排班打印',
152
 
152
 
153
+    otherManagement:'其他管理',
153
     drugsExpiryDate:'药品有效期预警',
154
     drugsExpiryDate:'药品有效期预警',
154
     drugsSurplus:'药品剩余预警',
155
     drugsSurplus:'药品剩余预警',
155
-    drugsQuery:'明细查询',
156
+    drugsQuery:'库存查询',
156
     drugsReportLoss:'药品报损',
157
     drugsReportLoss:'药品报损',
157
     drugsAdjustPrice:'药品调价',
158
     drugsAdjustPrice:'药品调价',
158
     drugsStockCancel:'退库单',
159
     drugsStockCancel:'退库单',
165
     selfPreparedMedicineIndex:'自备药管理',
166
     selfPreparedMedicineIndex:'自备药管理',
166
     selfPreparedMedicine:'自备药管理',
167
     selfPreparedMedicine:'自备药管理',
167
     consumablesManagement:'耗材管理',
168
     consumablesManagement:'耗材管理',
168
-    warehouseReceipt: '耗材出入库',
169
-    warehouseReceiptOther: '其他出入库',
170
-    stockInOrder: '耗材入库单',
171
-    salesReturnOrder: '耗材退货单',
172
-    stockOutOrder: '耗材出库单',
173
-    cancelStockOrder: '耗材退库单',
174
-    otherStockInOrder: '其他入库单',
175
-    otherSalesReturnOrder: '其他退货单',
176
-    otherStockOutOrder: '其他出库单',
177
-    otherCancelStockOrder: '其他退库单',
169
+    warehouseReceipt: '出入库',
170
+    warehouseReceiptOther: '出入库',
171
+    stockInOrder: '入库单',
172
+    salesReturnOrder: '退货单',
173
+    stockOutOrder: '出库单',
174
+    cancelStockOrder: '退库单',
175
+    otherStockInOrder: '入库单',
176
+    otherSalesReturnOrder: '退货单',
177
+    otherStockOutOrder: '出库单',
178
+    otherCancelStockOrder: '退库单',
178
     stockInOrderAdd: '新增入库单',
179
     stockInOrderAdd: '新增入库单',
179
     salesReturnOrderAdd: '新增退货单',
180
     salesReturnOrderAdd: '新增退货单',
180
     stockOutOrderAdd: '新增出库单',
181
     stockOutOrderAdd: '新增出库单',
195
     upload_config: '质控上报配置',
196
     upload_config: '质控上报配置',
196
     quality_control: '质控上报',
197
     quality_control: '质控上报',
197
     remind_print: '排版提醒打印',
198
     remind_print: '排版提醒打印',
198
-    system_prescription: '透析方案',
199
+    system_prescription: '处方模版',
199
     integration_config: '集成配置',
200
     integration_config: '集成配置',
200
     his_config: 'HIS集成配置',
201
     his_config: 'HIS集成配置',
201
 
202
 
226
     lineUp:'排队窗口',
227
     lineUp:'排队窗口',
227
     otherManagement:'其他管理',
228
     otherManagement:'其他管理',
228
     calling:'排队叫号',
229
     calling:'排队叫号',
230
+    bedManagement:'床位管理',
231
+    dictionaryManagement:'字典管理',
232
+    templateManagement:'模板管理',
233
+    drugStockUserDetail:"出库人明细",
229
 
234
 
230
   },
235
   },
231
   navbar: {
236
   navbar: {
318
   data_config: {
323
   data_config: {
319
     patient: '病人管理',
324
     patient: '病人管理',
320
     scheduling: '排班管理',
325
     scheduling: '排班管理',
321
-    device: '设备管理',
326
+    device: '院感管理',
322
     hemodialysis: '血透管理',
327
     hemodialysis: '血透管理',
323
     system: '系统配置',
328
     system: '系统配置',
324
     education: '透后宣教',
329
     education: '透后宣教',

+ 12 - 5
src/router/index.js 查看文件

39
 import dataDruguse from './modules/dataDruguse'
39
 import dataDruguse from './modules/dataDruguse'
40
 import dataShowconfig from './modules/dataShowconfig'
40
 import dataShowconfig from './modules/dataShowconfig'
41
 import dataPrint from './modules/dataPrint'
41
 import dataPrint from './modules/dataPrint'
42
+import bedManagement from './modules/bedManagement'
43
+import dictionaryManagement from './modules/dictionaryManagement'
44
+import templateManagement from './modules/templateManagement'
42
 
45
 
43
 Vue.use(Router)
46
 Vue.use(Router)
44
 
47
 
119
   dialysisRecord,
122
   dialysisRecord,
120
   dialysis,
123
   dialysis,
121
   stock,
124
   stock,
122
-  selfPreparedMedicine,
123
   drugs,
125
   drugs,
126
+  selfPreparedMedicine,
124
   otherManagement,
127
   otherManagement,
125
   qcd,
128
   qcd,
126
   device,
129
   device,
129
   slow,
132
   slow,
130
   scrm,
133
   scrm,
131
   shop,
134
   shop,
132
-  integration,
135
+  
133
   systems,
136
   systems,
134
   roleManage,
137
   roleManage,
135
-  dataDictionary,
136
-  specialDictionary,
138
+  bedManagement,
139
+  dictionaryManagement,
140
+  templateManagement,
141
+  // dataDictionary,
142
+  // specialDictionary,
137
   dataTemplate,
143
   dataTemplate,
138
   dataPrescription,
144
   dataPrescription,
139
   dataDruguse,
145
   dataDruguse,
143
   outpatientDoctorStation,
149
   outpatientDoctorStation,
144
   outpatientCharges,
150
   outpatientCharges,
145
   outpatientPharmacy,
151
   outpatientPharmacy,
146
-  kuyiShopping
152
+  kuyiShopping,
153
+  integration,
147
 ]
154
 ]
148
 
155
 
149
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证
156
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证

+ 46 - 0
src/router/modules/bedManagement.js 查看文件

1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/bedManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'bedManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'bedManagement',
11
+    icon: 'bedManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/device/groups',
17
+        component: () => import('@/xt_pages/device/group_main'),
18
+        name: 'deviceGroupManage',
19
+        meta: {
20
+          title: 'deviceGroupManage',
21
+          noCache: true,
22
+  
23
+        }
24
+    },
25
+    {
26
+        path: '/device/zones',
27
+        component: () => import('@/xt_pages/device/zone_main'),
28
+        name: 'deviceZoneManage',
29
+        meta: {
30
+          title: 'deviceZoneManage',
31
+          noCache: true,
32
+  
33
+        }
34
+    }, 
35
+    {
36
+        path: '/device/numbers',
37
+        component: () => import('@/xt_pages/device/number_main'),
38
+        name: 'deviceNumberManage',
39
+        meta: {
40
+          title: 'deviceNumberManage',
41
+          noCache: true,
42
+  
43
+        }
44
+    },
45
+  ]
46
+}

+ 7 - 35
src/router/modules/device.js 查看文件

13
     title: 'deviceManage',
13
     title: 'deviceManage',
14
     icon: 'shebei'
14
     icon: 'shebei'
15
   },
15
   },
16
-  children: [{
17
-      path: '/device/zones',
18
-      component: () => import('@/xt_pages/device/zone_main'),
19
-      name: 'deviceZoneManage',
20
-      meta: {
21
-        title: 'deviceZoneManage',
22
-        noCache: true,
23
-
24
-      }
25
-    },
26
-    {
27
-      path: '/device/groups',
28
-      component: () => import('@/xt_pages/device/group_main'),
29
-      name: 'deviceGroupManage',
30
-      meta: {
31
-        title: 'deviceGroupManage',
32
-        noCache: true,
33
-
34
-      }
35
-    },
16
+  children: [
36
     {
17
     {
37
-      path: '/device/numbers',
38
-      component: () => import('@/xt_pages/device/number_main'),
39
-      name: 'deviceNumberManage',
18
+      path: '/device/main',
19
+      component: () => import('@/xt_pages/management/index'),
20
+      // component: () => import("@/xt_pages/device/main"),
21
+      name: 'dialysisMachineManage',
40
       meta: {
22
       meta: {
41
-        title: 'deviceNumberManage',
23
+        title: 'dialysisMachineManage',
42
         noCache: true,
24
         noCache: true,
43
 
25
 
44
       }
26
       }
53
 
35
 
54
       }
36
       }
55
     },
37
     },
56
-    {
57
-      path: '/device/main',
58
-      component: () => import('@/xt_pages/management/index'),
59
-      // component: () => import("@/xt_pages/device/main"),
60
-      name: 'dialysisMachineManage',
61
-      meta: {
62
-        title: 'dialysisMachineManage',
63
-        noCache: true,
64
-
65
-      }
66
-    },
38
+    
67
     {
39
     {
68
       path: '/device/home',
40
       path: '/device/home',
69
       component: () => import('@/xt_pages/management/home'),
41
       component: () => import('@/xt_pages/management/home'),

+ 13 - 13
src/router/modules/dialysis.js 查看文件

20
         noCache: true
20
         noCache: true
21
       }
21
       }
22
     },
22
     },
23
-    {
24
-      path: '/dialysis/board',
25
-      component: () => import('@/xt_pages/dialysis/bulletinBoard'),
26
-      name: '数据看板',
27
-      meta: {
28
-        title: '数据看板',
29
-        noCache: true
30
-      }
31
-    },
32
     // {
23
     // {
33
-    //   path: '/dialysis/consumableDrugs',
34
-    //   component: () => import('@/xt_pages/dialysis/consumableDrugs'),
35
-    //   name: '耗材药品',
24
+    //   path: '/dialysis/board',
25
+    //   component: () => import('@/xt_pages/dialysis/bulletinBoard'),
26
+    //   name: '数据看板',
36
     //   meta: {
27
     //   meta: {
37
-    //     title: '耗材药品',
28
+    //     title: '数据看板',
38
     //     noCache: true
29
     //     noCache: true
39
     //   }
30
     //   }
40
     // },
31
     // },
32
+    {
33
+      path: '/dialysis/consumableDrugs',
34
+      component: () => import('@/xt_pages/dialysis/consumableDrugs'),
35
+      name: '耗材药品',
36
+      meta: {
37
+        title: '耗材药品',
38
+        noCache: true
39
+      }
40
+    },
41
     // {
41
     // {
42
     //   path: '/dialysis/consumableDrugs_print',
42
     //   path: '/dialysis/consumableDrugs_print',
43
     //   component: () => import('@/xt_pages/dialysis/consumableDrugs_print'),
43
     //   component: () => import('@/xt_pages/dialysis/consumableDrugs_print'),

+ 36 - 0
src/router/modules/dictionaryManagement.js 查看文件

1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/dictionaryManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'dictionaryManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'dictionaryManagement',
11
+    icon: 'dictionaryManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/data/dictionary',
17
+        component: () => import('@/xt_pages/data/index'),
18
+        name: 'dictionary',
19
+        meta: {
20
+          title: 'data_dictionary',
21
+          noCache: true,
22
+    
23
+        }
24
+    },
25
+    {
26
+        path: '/data/specialDictionary',
27
+        component: () => import('@/xt_pages/data/specialDictionary'),
28
+        name: 'specialDictionary',
29
+        meta: {
30
+          title: 'specialDictionary',
31
+          noCache: true,
32
+    
33
+        }
34
+    }
35
+  ]
36
+}

+ 96 - 32
src/router/modules/drugs.js 查看文件

12
     isChild: true
12
     isChild: true
13
   },
13
   },
14
   children: [
14
   children: [
15
+    {
16
+        path: '/stock/drugs/stock/query',
17
+        component: () => import('@/xt_pages/stock/drugs/query'),
18
+        name: 'drugsQuery',
19
+        meta: { title: 'drugsQuery', noCache: true }
20
+    },
15
     {
21
     {
16
         path: '/stock/drugs/stock/in',
22
         path: '/stock/drugs/stock/in',
17
-        component: () => import('@/xt_pages/stock/drugs/stockIn'),
23
+        component: () => import('@/xt_pages/stock/drugs/drugStockInOrder'),
18
         name: 'drugsStockIn',
24
         name: 'drugsStockIn',
19
         meta: { title: 'drugsStockIn', noCache: true }
25
         meta: { title: 'drugsStockIn', noCache: true }
20
     },
26
     },
21
     {
27
     {
22
         path: '/stock/drugs/stock/out',
28
         path: '/stock/drugs/stock/out',
23
-        component: () => import('@/xt_pages/stock/drugs/stockOut'),
29
+        component: () => import('@/xt_pages/stock/drugs/drugStockOutOrder'),
24
         name: 'drugsStockOut',
30
         name: 'drugsStockOut',
25
         meta: { title: 'drugsStockOut', noCache: true }
31
         meta: { title: 'drugsStockOut', noCache: true }
26
     },
32
     },
27
     {
33
     {
28
         path: '/stock/drugs/stock/return',
34
         path: '/stock/drugs/stock/return',
29
-        component: () => import('@/xt_pages/stock/drugs/stockReturn'),
35
+        component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrder'),
30
         name: 'drugsStockReturn',
36
         name: 'drugsStockReturn',
31
         meta: { title: 'drugsStockReturn', noCache: true }
37
         meta: { title: 'drugsStockReturn', noCache: true }
32
     },
38
     },
33
     {
39
     {
34
         path: '/stock/drugs/stock/cancel',
40
         path: '/stock/drugs/stock/cancel',
35
-        component: () => import('@/xt_pages/stock/drugs/stockCancel'),
41
+        component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrder'),
36
         name: 'drugsStockCancel',
42
         name: 'drugsStockCancel',
37
         meta: { title: 'drugsStockCancel', noCache: true }
43
         meta: { title: 'drugsStockCancel', noCache: true }
38
     },
44
     },
45
+    // {
46
+    //     path: '/stock/drugs/stock/adjustPrice',
47
+    //     component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
48
+    //     name: 'drugsAdjustPrice',
49
+    //     meta: { title: 'drugsAdjustPrice', noCache: true }
50
+    // },
51
+    // {
52
+    //     path: '/stock/drugs/stock/reportLoss',
53
+    //     component: () => import('@/xt_pages/stock/drugs/reportLoss'),
54
+    //     name: 'drugsReportLoss',
55
+    //     meta: { title: 'drugsReportLoss', noCache: true }
56
+    // },
57
+    // {
58
+    //     path: '/stock/drugs/stock/drugsSurplus',
59
+    //     component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
60
+    //     name: 'drugsSurplus',
61
+    //     meta: { title: 'drugsSurplus', noCache: true }
62
+    // },
63
+    // {
64
+    //     path: '/stock/drugs/stock/drugsExpiryDate',
65
+    //     component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
66
+    //     name: 'drugsExpiryDate',
67
+    //     meta: { title: 'drugsExpiryDate', noCache: true }
68
+    // },
39
     {
69
     {
40
-        path: '/stock/drugs/stock/adjustPrice',
41
-        component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
42
-        name: 'drugsAdjustPrice',
43
-        meta: { title: 'drugsAdjustPrice', noCache: true }
44
-    },
45
-    {
46
-        path: '/stock/drugs/stock/reportLoss',
47
-        component: () => import('@/xt_pages/stock/drugs/reportLoss'),
48
-        name: 'drugsReportLoss',
49
-        meta: { title: 'drugsReportLoss', noCache: true }
50
-    },
51
-    {
52
-        path: '/stock/drugs/stock/query',
53
-        component: () => import('@/xt_pages/stock/drugs/query'),
54
-        name: 'drugsQuery',
55
-        meta: { title: 'drugsQuery', noCache: true }
56
-    },
57
-    {
58
-        path: '/stock/drugs/stock/drugsSurplus',
59
-        component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
60
-        name: 'drugsSurplus',
61
-        meta: { title: 'drugsSurplus', noCache: true }
62
-    },
63
-    {
64
-        path: '/stock/drugs/stock/drugsExpiryDate',
65
-        component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
66
-        name: 'drugsExpiryDate',
67
-        meta: { title: 'drugsExpiryDate', noCache: true }
70
+      path: '/drugstock/in/add',
71
+      component: () => import('@/xt_pages/stock/drugs/drugStockInOrderAdd'),
72
+      name: 'drugStockInOrderAdd',
73
+      hidden: true,
74
+      is_menu: false,
75
+      meta: { title: 'drugStockInOrderAdd', noCache: true }
76
+    },{
77
+      path: '/drugstock/in/detail',
78
+      component: () => import('@/xt_pages/stock/drugs/drugStockInDetail'),
79
+      name: 'drugStockInDetail',
80
+      hidden: true,
81
+      is_menu: false,
82
+      meta: { title: 'drugStockInDetail', noCache: true }
83
+    }, {
84
+      path: '/drugstock/return/detail',
85
+      component: () => import('@/xt_pages/stock/drugs/drugSalesReturnDetail'),
86
+      name: 'drugSalesReturnDetail',
87
+      hidden: true,
88
+      is_menu: false,
89
+      meta: { title: 'drugSalesReturnDetail', noCache: true }
90
+    }, {
91
+      path: '/drugstock/return/add',
92
+      component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrderAdd'),
93
+      name: 'drugSalesReturnOrderAdd',
94
+      hidden: true,
95
+      is_menu: false,
96
+      meta: { title: 'drugSalesReturnOrderAdd', noCache: true }
97
+    }, {
98
+      path: '/drugstock/out/add',
99
+      component: () => import('@/xt_pages/stock/drugs/drugStockOutOrderAdd'),
100
+      name: 'drugStockOutOrderAdd',
101
+      hidden: true,
102
+      is_menu: false,
103
+      meta: { title: 'drugStockOutOrderAdd', noCache: true }
104
+    }, {
105
+      path: '/drugstock/out/detail',
106
+      component: () => import('@/xt_pages/stock/drugs/drugStockOutDetail'),
107
+      name: 'drugStockOutDetail',
108
+      hidden: true,
109
+      is_menu: false,
110
+      meta: { title: 'drugStockOutDetail', noCache: true }
111
+    }, {
112
+      path: '/drugstock/cancel/add',
113
+      component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrderAdd'),
114
+      name: 'cancelDrugStockOrderAdd',
115
+      hidden: true,
116
+      is_menu: false,
117
+      meta: { title: 'cancelDrugStockOrderAdd', noCache: true }
118
+    },{
119
+      path: '/drugstock/cancel/detail',
120
+      component: () => import('@/xt_pages/stock/drugs/cancelDrugStockDetail'),
121
+      name: 'cancelDrugStockDetail',
122
+      hidden: true,
123
+      is_menu: false,
124
+      meta: { title: 'cancelDrugStockDetail', noCache: true }
125
+    },{
126
+      path: '/drugstock/user/detail',
127
+      component: () => import('@/xt_pages/stock/drugs/drugStockUserDetail'),
128
+      name: 'drugStockUserDetail',
129
+      hidden: true,
130
+      is_menu: false,
131
+      meta: { title: 'drugStockUserDetail', noCache: true }
68
     },
132
     },
69
   ]
133
   ]
70
 }
134
 }

+ 11 - 9
src/router/modules/qcd.js 查看文件

67
     //     noCache: true
67
     //     noCache: true
68
     //   }
68
     //   }
69
     // },
69
     // },
70
-    {
71
-      path: '/qcd/patientanalysis/statisticalConfig',
72
-      component: () => import('@/xt_pages/qcd/statisticalConfiguration'),
73
-      name: 'statisticalConfig',
74
-      meta: {
75
-        title: '统计配置',
76
-        noCache: true
77
-      }
78
-    },
70
+    
79
     {
71
     {
80
       path: '/qcd/basicInformationAnalysis',
72
       path: '/qcd/basicInformationAnalysis',
81
       component: () => import('@/xt_pages/qcd/basicInformationAnalysis'),
73
       component: () => import('@/xt_pages/qcd/basicInformationAnalysis'),
156
         noCache: true
148
         noCache: true
157
       }
149
       }
158
     },
150
     },
151
+    
159
     {
152
     {
160
       path: '/qcd/indicatorControlAnalysis/process',
153
       path: '/qcd/indicatorControlAnalysis/process',
161
       hidden: true,
154
       hidden: true,
248
         noCache: true
241
         noCache: true
249
       }
242
       }
250
     },
243
     },
244
+    {
245
+      path: '/qcd/patientanalysis/statisticalConfig',
246
+      component: () => import('@/xt_pages/qcd/statisticalConfiguration'),
247
+      name: 'statisticalConfig',
248
+      meta: {
249
+        title: '统计配置',
250
+        noCache: true
251
+      }
252
+    },
251
     {
253
     {
252
       path: '/qcd/workAnalysis/nurse',
254
       path: '/qcd/workAnalysis/nurse',
253
       hidden: true,
255
       hidden: true,

+ 7 - 6
src/router/modules/stock.js 查看文件

12
     isChild: true
12
     isChild: true
13
   },
13
   },
14
   children: [
14
   children: [
15
+    {
16
+      path: '/stock/query',
17
+      component: () => import('@/xt_pages/stock/stockQuery'),
18
+      name: 'stockQuery',
19
+      meta: { title: 'stockQuery', noCache: true }
20
+    },
15
     {
21
     {
16
       path: '/stock/in',
22
       path: '/stock/in',
17
       component: () => import('@/xt_pages/stock/stockInOrder'),
23
       component: () => import('@/xt_pages/stock/stockInOrder'),
87
     //     }
93
     //     }
88
     //   ]
94
     //   ]
89
     // },
95
     // },
90
-    {
91
-      path: '/stock/query',
92
-      component: () => import('@/xt_pages/stock/stockQuery'),
93
-      name: 'stockQuery',
94
-      meta: { title: 'stockQuery', noCache: true }
95
-    },
96
+    
96
     {
97
     {
97
       path: '/stock/detail',
98
       path: '/stock/detail',
98
       component: () => import('@/xt_pages/stock/stockDetailIndex'),
99
       component: () => import('@/xt_pages/stock/stockDetailIndex'),

+ 43 - 0
src/router/modules/templateManagement.js 查看文件

1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/templateManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'templateManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'templateManagement',
11
+    icon: 'templateManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/data/druguse',
17
+        component: () => import('@/xt_pages/data/druguseTemplate'),
18
+        name: 'druguse',
19
+        meta: {
20
+          title: 'druguse'
21
+        }
22
+    },
23
+    {
24
+        path: '/data/template',
25
+        component: () => import('@/xt_pages/data/template'),
26
+        name: 'template',
27
+        meta: {
28
+          title: 'template',
29
+          noCache: true,
30
+    
31
+        }
32
+    },
33
+    {
34
+        path: '/data/prescription',
35
+        component: () => import('@/xt_pages/data/prescription'),
36
+        name: 'prescription',
37
+        meta: {
38
+          title: 'system_prescription'
39
+        }
40
+    },
41
+    
42
+  ]
43
+}

+ 1 - 1
src/styles/sidebar.scss 查看文件

25
     }
25
     }
26
     .scrollbar-wrapper {
26
     .scrollbar-wrapper {
27
       overflow-x: hidden !important;
27
       overflow-x: hidden !important;
28
-      width: 150px;
28
+      width: 140px;
29
       border-right:1px solid #e5e5e5;
29
       border-right:1px solid #e5e5e5;
30
       .el-scrollbar__view {
30
       .el-scrollbar__view {
31
         height: 96%;
31
         height: 96%;

+ 7 - 6
src/views/layout/Layout.vue 查看文件

16
           <i class="iconfont icon-computer_fill navIcon"></i>
16
           <i class="iconfont icon-computer_fill navIcon"></i>
17
           <p>透析管理</p>
17
           <p>透析管理</p>
18
         </div>
18
         </div>
19
-        <div v-if="kucunShow" :class="index == 3 ? 'navOne navActive' : 'navOne'" @click="clickActive(3,'库管理')">
19
+        <div v-if="kucunShow" :class="index == 3 ? 'navOne navActive' : 'navOne'" @click="clickActive(3,'库管理')">
20
           <i class="iconfont icon-kccx navIcon"></i>
20
           <i class="iconfont icon-kccx navIcon"></i>
21
-          <p>库管理</p>
21
+          <p>库管理</p>
22
         </div>
22
         </div>
23
         <div v-if="kuyishoppingShow" :class="index == 4 ? 'navOne navActive' : 'navOne'" @click="clickActive(4,'酷医商城')">
23
         <div v-if="kuyishoppingShow" :class="index == 4 ? 'navOne navActive' : 'navOne'" @click="clickActive(4,'酷医商城')">
24
           <i class="iconfont icon-shangcheng-1 navIcon"></i>
24
           <i class="iconfont icon-shangcheng-1 navIcon"></i>
125
     console.log('permission_routers',this.permission_routers)
125
     console.log('permission_routers',this.permission_routers)
126
     let menzhen = ['outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy']
126
     let menzhen = ['outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy']
127
     let bingli = ['User','createPatient']
127
     let bingli = ['User','createPatient']
128
-    let touxi = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'quality_control']
129
-    let kucun = ['stockManage','selfPreparedMedicine','stockDrugs','otherManagement']
130
-    let peizhi = ['system','roleManage','dictionary','specialDictionary','template','prescription','druguse','showconfig','printTemplate']
128
+    let touxi = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control']
129
+    let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','otherManagement']
130
+    let peizhi = ['system','roleManage', 'bedManagement', 'dictionaryManagement', 'templateManagement','showconfig','printTemplate','integration_config']
131
     let kuyishopping = ['kuyiShopping']
131
     let kuyishopping = ['kuyiShopping']
132
     let menzhenArr = []
132
     let menzhenArr = []
133
     let bingliArr = []
133
     let bingliArr = []
255
     background: #1F2D3D;
255
     background: #1F2D3D;
256
     margin-top:50px;
256
     margin-top:50px;
257
     .navOne{
257
     .navOne{
258
+      font-size:14px;
258
       width:80px;
259
       width:80px;
259
       height:80px;
260
       height:80px;
260
       color:#BFCBD9;
261
       color:#BFCBD9;
278
     height:calc(100% - 50px)
279
     height:calc(100% - 50px)
279
   }
280
   }
280
   #app .sidebar-container {
281
   #app .sidebar-container {
281
-    width: 150px !important;
282
+    width: 140px !important;
282
     height: 100%;
283
     height: 100%;
283
     margin-top:50px;
284
     margin-top:50px;
284
     overflow: visible;
285
     overflow: visible;

+ 7 - 7
src/views/layout/components/Navbar.vue 查看文件

315
   display: flex;
315
   display: flex;
316
   align-items: center;
316
   align-items: center;
317
   justify-content: space-between;
317
   justify-content: space-between;
318
-  color: #666666;
318
+  color: #000;
319
   .dropdownBox {
319
   .dropdownBox {
320
     margin-left: 10px;
320
     margin-left: 10px;
321
   }
321
   }
330
       float: right;
330
       float: right;
331
       height: 100%;
331
       height: 100%;
332
       z-index: 99999;
332
       z-index: 99999;
333
-      color: #666666;
333
+      color: #000;
334
       & :focus {
334
       & :focus {
335
         outline: none;
335
         outline: none;
336
       }
336
       }
376
           .user-title {
376
           .user-title {
377
             margin: 0 8px;
377
             margin: 0 8px;
378
             font-size: 14px;
378
             font-size: 14px;
379
-            color: #666666;
379
+            color: #000;
380
           }
380
           }
381
 
381
 
382
           .el-icon-caret-bottom {
382
           .el-icon-caret-bottom {
383
             font-size: 12px;
383
             font-size: 12px;
384
-            color: #666666;
384
+            color: #000;
385
           }
385
           }
386
         }
386
         }
387
       }
387
       }
474
           .user-title {
474
           .user-title {
475
             margin: 0 8px;
475
             margin: 0 8px;
476
             font-size: 14px;
476
             font-size: 14px;
477
-            color: #666666;
477
+            color: #000;
478
           }
478
           }
479
 
479
 
480
           .el-icon-caret-bottom {
480
           .el-icon-caret-bottom {
481
             font-size: 12px;
481
             font-size: 12px;
482
-            color: #666666;
482
+            color: #000;
483
           }
483
           }
484
         }
484
         }
485
       }
485
       }
537
 .dropdownBox {
537
 .dropdownBox {
538
   .el-dropdown-link {
538
   .el-dropdown-link {
539
     font-size: 14px;
539
     font-size: 14px;
540
-    color: #666;
540
+    color: #000;
541
   }
541
   }
542
 }
542
 }
543
 </style>
543
 </style>

+ 6 - 6
src/views/layout/components/Sidebar/index.vue 查看文件

11
       :default-active="$route.path"
11
       :default-active="$route.path"
12
       background-color="#f3f5f6"
12
       background-color="#f3f5f6"
13
       text-color="#000"
13
       text-color="#000"
14
-      active-text-color="#000"
14
+      active-text-color="#409EFF"
15
     >
15
     >
16
       <sidebar-item v-for="route in arr" :key="route.name" :item="route" :base-path="route.path"></sidebar-item>
16
       <sidebar-item v-for="route in arr" :key="route.name" :item="route" :base-path="route.path"></sidebar-item>
17
     </el-menu>
17
     </el-menu>
48
   },
48
   },
49
   created(){
49
   created(){
50
     if(this.navTitle == '透析管理'){
50
     if(this.navTitle == '透析管理'){
51
-      let nameArr = ['workforce','dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'quality_control']
51
+      let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control']
52
       // console.log('permission_routers',this.permission_routers)
52
       // console.log('permission_routers',this.permission_routers)
53
       let routerArr = []
53
       let routerArr = []
54
       this.permission_routers.map(item => {
54
       this.permission_routers.map(item => {
103
             this.$emit('func',a)
103
             this.$emit('func',a)
104
           }
104
           }
105
         }else if(newVal == '透析管理'){
105
         }else if(newVal == '透析管理'){
106
-          let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'quality_control']
106
+          let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control']
107
           // console.log('permission_routers',this.permission_routers)
107
           // console.log('permission_routers',this.permission_routers)
108
           let routerArr = []
108
           let routerArr = []
109
           this.permission_routers.map(item => {
109
           this.permission_routers.map(item => {
120
             let a = false
120
             let a = false
121
             this.$emit('func',a)
121
             this.$emit('func',a)
122
           }
122
           }
123
-        }else if(newVal == '库管理'){
124
-          let nameArr = ['stockManage','selfPreparedMedicine','stockDrugs','otherManagement']
123
+        }else if(newVal == '库管理'){
124
+          let nameArr = ['stockManage','stockDrugs','selfPreparedMedicine','otherManagement']
125
           // console.log('permission_routers',this.permission_routers)
125
           // console.log('permission_routers',this.permission_routers)
126
           let routerArr = []
126
           let routerArr = []
127
           this.permission_routers.map(item => {
127
           this.permission_routers.map(item => {
138
             this.$emit('func',a)
138
             this.$emit('func',a)
139
           }
139
           }
140
         }else if(newVal == '配置管理'){
140
         }else if(newVal == '配置管理'){
141
-          let nameArr = ['system','roleManage','dictionary','specialDictionary','template','prescription','druguse','showconfig','printTemplate']
141
+          let nameArr = ['system','roleManage', 'bedManagement', 'dictionaryManagement', 'templateManagement','showconfig','printTemplate','integration_config']
142
           // console.log('permission_routers',this.permission_routers)
142
           // console.log('permission_routers',this.permission_routers)
143
           let routerArr = []
143
           let routerArr = []
144
           this.permission_routers.map(item => {
144
           this.permission_routers.map(item => {

+ 9 - 0
src/xt_pages/components/bread-crumb.vue 查看文件

39
 </script>
39
 </script>
40
 
40
 
41
 <style rel="stylesheet/scss" lang="scss" scoped>
41
 <style rel="stylesheet/scss" lang="scss" scoped>
42
+
43
+</style>
44
+<style lang="scss">
45
+.el-breadcrumb__inner{
46
+  color:#000;
47
+}
48
+.el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{
49
+  color:#000;
50
+}
42
 </style>
51
 </style>

+ 11 - 2
src/xt_pages/data/components/addDrugs.vue 查看文件

1
 <template>
1
 <template>
2
   <el-dialog
2
   <el-dialog
3
     :title="formTitle"
3
     :title="formTitle"
4
-    width="900px"
4
+    width="1000px"
5
     :visible.sync="visible"
5
     :visible.sync="visible"
6
     :before-close="_close"
6
     :before-close="_close"
7
+    class="addDrugsDialog"
7
   >
8
   >
8
     <el-tabs v-model="activeName" >
9
     <el-tabs v-model="activeName" >
9
       <el-tab-pane label="基础数据" name="first">
10
       <el-tab-pane label="基础数据" name="first">
10
         <div>
11
         <div>
11
-          <el-form :model="form" :rules="rules" ref="form" label-width="100px"
12
+          <el-form :model="form" :rules="rules" ref="form" label-width="120px"
12
                    style="display: flex;flex-wrap: wrap;justify-content: space-between;">
13
                    style="display: flex;flex-wrap: wrap;justify-content: space-between;">
13
             <el-form-item label="药品名称 : " prop="drug_name" >
14
             <el-form-item label="药品名称 : " prop="drug_name" >
14
               <el-input v-model="form.drug_name" style="width:160px;" placeholder="" maxlength="30"></el-input>
15
               <el-input v-model="form.drug_name" style="width:160px;" placeholder="" maxlength="30"></el-input>
573
     }
574
     }
574
   }
575
   }
575
 </script>
576
 </script>
577
+
578
+<style lang="scss">
579
+.addDrugsDialog{
580
+  .el-dialog__body{
581
+    padding-top: 0px;
582
+  }
583
+}
584
+</style>

+ 4 - 5
src/xt_pages/data/components/consumables.vue 查看文件

43
       :data="goodInfo.goodInfoData"
43
       :data="goodInfo.goodInfoData"
44
       v-loading="goodInfo.loading"
44
       v-loading="goodInfo.loading"
45
     >
45
     >
46
-      <el-table-column label="商品编码" align="center">
47
-        <template slot-scope="scope">
48
-          {{ scope.row.good_code }}
49
-        </template>
50
-      </el-table-column>
46
+      <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
51
       <el-table-column label="名称" align="center">
47
       <el-table-column label="名称" align="center">
52
         <template slot-scope="scope">
48
         <template slot-scope="scope">
53
           {{ scope.row.good_name }}
49
           {{ scope.row.good_name }}
149
         is_charge:'',
145
         is_charge:'',
150
         search_input: '',
146
         search_input: '',
151
         options: [{
147
         options: [{
148
+          value: '0',
149
+          label: '全部'
150
+        },{
152
           value: '1',
151
           value: '1',
153
           label: '是'
152
           label: '是'
154
         }, {
153
         }, {

+ 28 - 6
src/xt_pages/data/components/drugs.vue 查看文件

39
     </div>
39
     </div>
40
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
40
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
41
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
41
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
42
-      <el-table-column prop="date" label="药品编码" width="80" align="center">
43
-        <template slot-scope="scope">
44
-          <div>{{scope.row.drug_code}}</div>
45
-        </template>
46
-      </el-table-column>
42
+      <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
43
+
47
       <el-table-column prop="date" label="药品名称" align="center">
44
       <el-table-column prop="date" label="药品名称" align="center">
48
         <template slot-scope="scope">
45
         <template slot-scope="scope">
49
           <div>{{scope.row.drug_name}}</div>
46
           <div>{{scope.row.drug_name}}</div>
97
 
94
 
98
     ></add-drugs>
95
     ></add-drugs>
99
     <!-- <maintain ref='maintain'></maintain> -->
96
     <!-- <maintain ref='maintain'></maintain> -->
97
+    <el-pagination
98
+      @size-change="handleSizeChange"
99
+      @current-change="handleCurrentChange"
100
+      :page-sizes="[10, 50, 100]"
101
+      :page-size="10"
102
+      background
103
+      align="right"
104
+      style="margin-top:20px;"
105
+      layout="total, sizes, prev, pager, next, jumper"
106
+      :total="total"
107
+    >
108
+    </el-pagination>
109
+
100
   </div>
110
   </div>
101
 </template>
111
 </template>
102
 
112
 
237
         current_id:0,
247
         current_id:0,
238
 
248
 
239
         search_input: '',
249
         search_input: '',
240
-        options: [{
250
+        options: [
251
+          {
252
+            value: '0',
253
+            label: '全部'
254
+          },{
241
           value: '1',
255
           value: '1',
242
           label: '是'
256
           label: '是'
243
         }, {
257
         }, {
266
       }
280
       }
267
     },
281
     },
268
     methods: {
282
     methods: {
283
+      handleSizeChange(val) {
284
+        this.limit = val
285
+        this.getList()
286
+      },
287
+      handleCurrentChange(val) {
288
+        this.page = val
289
+        this.getList()
290
+      },
269
       changeInject(val){
291
       changeInject(val){
270
         this.getList()
292
         this.getList()
271
 
293
 

+ 406 - 395
src/xt_pages/data/prescription.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="app-container ">
3
-    <div class="dataTitle">透析方案</div>
4
-
5
-    <div
6
-      class="app-container"
7
-      style="margin-left: -20px;margin-top: -20px"
8
-      v-loading="pageLoading"
9
-      element-loading-text="拼命加载中"
10
-    >
11
-      <el-row :gutter="20">
12
-        <el-col :span="7">
13
-          <el-table
14
-            :header-cell-style="{
15
-              backgroundColor: 'rgb(245, 247, 250)',
16
-              color: '#606266'
17
-            }"
18
-            height="450"
19
-            :row-style="{ color: '#303133' }"
20
-            :data="treatment_mode"
21
-            border
22
-            style="width: 100%"
23
-            highlight-current-row
24
-            :row-class-name="tableRows"
25
-            @row-click="onRowClicks"
26
-            ref="singleTable"
27
-          >
28
-            <el-table-column label="透析模式" align="center">
29
-              <template slot-scope="scope">
30
-                {{ scope.row.name }}
31
-              </template>
32
-            </el-table-column>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+    </div>
6
+    <div class="app-container ">
7
+      
8
+      <div class="dataTitle">透析模板</div>
33
 
9
 
34
-            <el-table-column label="状态" width="80" align="center">
35
-              <template slot-scope="scope">
36
-                {{ getModeStatus(scope.row.id) }}
37
-              </template>
38
-            </el-table-column>
39
-          </el-table>
40
-        </el-col>
41
-        <el-col :span="17" v-loading="itemLoading">
42
-          <div class="filter-container">
43
-            <el-row :gutter="20">
44
-              <el-col :span="16">
45
-                <div>{{ mode_name }}</div>
46
-              </el-col>
47
-              <el-col :span="8">
48
-                <el-button
49
-                  style="float: right;visibility: hidden"
50
-                  size="small"
51
-                  class="filter-item"
52
-                  type="primary"
53
-                  icon="el-icon-edit-outline"
54
-                  @click="openEdit()"
55
-                  >修改
56
-                </el-button>
57
-              </el-col>
58
-            </el-row>
59
-          </div>
60
-          <div class="filter-container" style="float:right">
61
-            <el-form
62
-              ref="addPlan"
63
-              :model="addPlan"
64
-              label-width="160px"
65
-              style="border: black"
10
+      <div
11
+        class="app-container"
12
+        style="margin-left: -20px;margin-top: -20px"
13
+        v-loading="pageLoading"
14
+        element-loading-text="拼命加载中"
15
+      >
16
+        <el-row :gutter="20">
17
+          <el-col :span="7">
18
+            <el-table
19
+              :header-cell-style="{
20
+                backgroundColor: 'rgb(245, 247, 250)',
21
+                color: '#606266'
22
+              }"
23
+              height="450"
24
+              :row-style="{ color: '#303133' }"
25
+              :data="treatment_mode"
26
+              border
27
+              style="width: 100%"
28
+              highlight-current-row
29
+              :row-class-name="tableRows"
30
+              @row-click="onRowClicks"
31
+              ref="singleTable"
66
             >
32
             >
33
+              <el-table-column label="透析模式" align="center">
34
+                <template slot-scope="scope">
35
+                  {{ scope.row.name }}
36
+                </template>
37
+              </el-table-column>
38
+
39
+              <el-table-column label="状态" width="80" align="center">
40
+                <template slot-scope="scope">
41
+                  {{ getModeStatus(scope.row.id) }}
42
+                </template>
43
+              </el-table-column>
44
+            </el-table>
45
+          </el-col>
46
+          <el-col :span="17" v-loading="itemLoading">
47
+            <div class="filter-container">
67
               <el-row :gutter="20">
48
               <el-row :gutter="20">
68
-                <el-col :span="8">
69
-                  <el-form-item label="透析时长(h):" prop="dialysis_duration">
70
-                    <el-time-picker
71
-                      v-model="dialysisTimeShow"
72
-                      :picker-options="{
73
-                        selectableRange: '00:01:00 - 23:59:00'
74
-                      }"
75
-                      placeholder="透析时长"
76
-                      style="width:100%;"
77
-                      value-format="H:m"
78
-                      format="H:m"
79
-                      @change="selectnDialysisTime"
80
-                    >
81
-                    </el-time-picker>
82
-                  </el-form-item>
49
+                <el-col :span="16">
50
+                  <div>{{ mode_name }}</div>
83
                 </el-col>
51
                 </el-col>
84
-
85
                 <el-col :span="8">
52
                 <el-col :span="8">
86
-                  <el-form-item
87
-                    label="血流量(ml/min):"
88
-                    prop="blood_flow_volume"
89
-                  >
90
-                    <el-input v-model="addPlan.blood_flow_volume"></el-input>
91
-                  </el-form-item>
53
+                  <el-button
54
+                    style="float: right;visibility: hidden"
55
+                    size="small"
56
+                    class="filter-item"
57
+                    type="primary"
58
+                    icon="el-icon-edit-outline"
59
+                    @click="openEdit()"
60
+                    >修改
61
+                  </el-button>
92
                 </el-col>
62
                 </el-col>
93
-                <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id == 6">-->
94
-                <!--<el-form-item label="目标超滤量(ml) : ">-->
95
-                <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
96
-                <!--</el-form-item>-->
97
-                <!--</el-col>-->
63
+              </el-row>
64
+            </div>
65
+            <div class="filter-container" style="float:right">
66
+              <el-form
67
+                ref="addPlan"
68
+                :model="addPlan"
69
+                label-width="160px"
70
+                style="border: black"
71
+              >
72
+                <el-row :gutter="20">
73
+                  <el-col :span="8">
74
+                    <el-form-item label="透析时长(h):" prop="dialysis_duration">
75
+                      <el-time-picker
76
+                        v-model="dialysisTimeShow"
77
+                        :picker-options="{
78
+                          selectableRange: '00:01:00 - 23:59:00'
79
+                        }"
80
+                        placeholder="透析时长"
81
+                        style="width:100%;"
82
+                        value-format="H:m"
83
+                        format="H:m"
84
+                        @change="selectnDialysisTime"
85
+                      >
86
+                      </el-time-picker>
87
+                    </el-form-item>
88
+                  </el-col>
98
 
89
 
99
-                <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id != 6">-->
100
-                <!--<el-form-item label="目标超滤量(L) : ">-->
101
-                <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
102
-                <!--</el-form-item>-->
103
-                <!--</el-col>-->
90
+                  <el-col :span="8">
91
+                    <el-form-item
92
+                      label="血流量(ml/min):"
93
+                      prop="blood_flow_volume"
94
+                    >
95
+                      <el-input v-model="addPlan.blood_flow_volume"></el-input>
96
+                    </el-form-item>
97
+                  </el-col>
98
+                  <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id == 6">-->
99
+                  <!--<el-form-item label="目标超滤量(ml) : ">-->
100
+                  <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
101
+                  <!--</el-form-item>-->
102
+                  <!--</el-col>-->
104
 
103
 
105
-                <el-col :span="8">
106
-                  <el-form-item label="透析液配方:">
107
-                    <el-select v-model="addPlan.dialysate_formulation">
108
-                      <el-option
109
-                        v-for="(item, index) in dialysate_formulation"
110
-                        :label="item.name"
111
-                        :key="index"
112
-                        :value="item.id"
113
-                      ></el-option>
114
-                    </el-select>
115
-                  </el-form-item>
116
-                </el-col>
104
+                  <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id != 6">-->
105
+                  <!--<el-form-item label="目标超滤量(L) : ">-->
106
+                  <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
107
+                  <!--</el-form-item>-->
108
+                  <!--</el-col>-->
117
 
109
 
118
-                <el-col :span="8">
119
-                  <el-form-item label="抗凝剂:" prop="anticoagulant">
120
-                    <el-select
121
-                      v-model="addPlan.anticoagulant"
122
-                      @change="changeThisAnticoagulant"
110
+                  <el-col :span="8">
111
+                    <el-form-item label="透析液配方:">
112
+                      <el-select v-model="addPlan.dialysate_formulation">
113
+                        <el-option
114
+                          v-for="(item, index) in dialysate_formulation"
115
+                          :label="item.name"
116
+                          :key="index"
117
+                          :value="item.id"
118
+                        ></el-option>
119
+                      </el-select>
120
+                    </el-form-item>
121
+                  </el-col>
122
+
123
+                  <el-col :span="8">
124
+                    <el-form-item label="抗凝剂:" prop="anticoagulant">
125
+                      <el-select
126
+                        v-model="addPlan.anticoagulant"
127
+                        @change="changeThisAnticoagulant"
128
+                      >
129
+                        <el-option
130
+                          v-for="(item, index) in anticoagulantsConfit"
131
+                          :label="item.name"
132
+                          :key="index"
133
+                          :value="item.id"
134
+                        ></el-option>
135
+                      </el-select>
136
+                    </el-form-item>
137
+                  </el-col>
138
+                  <el-col :span="8" v-if="anticoagulant.shouji != -1">
139
+                    <el-form-item
140
+                      :label="'首剂(' + anticoagulant.shouji_unit + '): '"
141
+                      prop="anticoagulant_shouji"
123
                     >
142
                     >
124
-                      <el-option
125
-                        v-for="(item, index) in anticoagulantsConfit"
126
-                        :label="item.name"
127
-                        :key="index"
128
-                        :value="item.id"
129
-                      ></el-option>
130
-                    </el-select>
131
-                  </el-form-item>
132
-                </el-col>
133
-                <el-col :span="8" v-if="anticoagulant.shouji != -1">
134
-                  <el-form-item
135
-                    :label="'首剂(' + anticoagulant.shouji_unit + '): '"
136
-                    prop="anticoagulant_shouji"
137
-                  >
138
-                    <el-input
139
-                      v-model="addPlan.anticoagulant_shouji"
140
-                      :disabled="anticoagulant.shouji == 1 ? false : true"
141
-                      type="number"
142
-                    ></el-input>
143
-                  </el-form-item>
144
-                </el-col>
145
-                <el-col :span="8" v-if="anticoagulant.weichi != -1">
146
-                  <el-form-item
147
-                    :label="'维持(' + anticoagulant.weichi_unit + '): '"
148
-                    prop="anticoagulant_weichi"
149
-                  >
150
-                    <el-input
151
-                      v-model="addPlan.anticoagulant_weichi"
152
-                      :disabled="anticoagulant.weichi == 1 ? false : true"
153
-                      type="number"
154
-                    ></el-input>
155
-                  </el-form-item>
156
-                </el-col>
157
-                <el-col :span="8" v-if="anticoagulant.zongliang != -1">
158
-                  <el-form-item
159
-                    :label="'总量(' + anticoagulant.zongliang_unit + '): '"
160
-                    prop="anticoagulant_zongliang"
161
-                  >
162
-                    <el-input
163
-                      v-model="addPlan.anticoagulant_zongliang"
164
-                      :disabled="anticoagulant.zongliang == 1 ? false : true"
165
-                      type="number"
166
-                    ></el-input>
167
-                  </el-form-item>
168
-                </el-col>
169
-                <el-col :span="8" v-if="anticoagulant.gaimingcheng != -1">
170
-                  <el-form-item
171
-                    label="钙名称:"
172
-                    prop="anticoagulant_gaimingcheng"
173
-                  >
174
-                    <el-input
175
-                      v-model="addPlan.anticoagulant_gaimingcheng"
176
-                      :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
177
-                      placeholder="钙名称"
178
-                    ></el-input>
179
-                  </el-form-item>
180
-                </el-col>
181
-                <el-col :span="8" v-if="anticoagulant.gaijiliang != -1">
182
-                  <el-form-item
183
-                    :label="
184
-                      '钙剂量(' + anticoagulant.gaimingcheng_unit + '): '
143
+                      <el-input
144
+                        v-model="addPlan.anticoagulant_shouji"
145
+                        :disabled="anticoagulant.shouji == 1 ? false : true"
146
+                        type="number"
147
+                      ></el-input>
148
+                    </el-form-item>
149
+                  </el-col>
150
+                  <el-col :span="8" v-if="anticoagulant.weichi != -1">
151
+                    <el-form-item
152
+                      :label="'维持(' + anticoagulant.weichi_unit + '): '"
153
+                      prop="anticoagulant_weichi"
154
+                    >
155
+                      <el-input
156
+                        v-model="addPlan.anticoagulant_weichi"
157
+                        :disabled="anticoagulant.weichi == 1 ? false : true"
158
+                        type="number"
159
+                      ></el-input>
160
+                    </el-form-item>
161
+                  </el-col>
162
+                  <el-col :span="8" v-if="anticoagulant.zongliang != -1">
163
+                    <el-form-item
164
+                      :label="'总量(' + anticoagulant.zongliang_unit + '): '"
165
+                      prop="anticoagulant_zongliang"
166
+                    >
167
+                      <el-input
168
+                        v-model="addPlan.anticoagulant_zongliang"
169
+                        :disabled="anticoagulant.zongliang == 1 ? false : true"
170
+                        type="number"
171
+                      ></el-input>
172
+                    </el-form-item>
173
+                  </el-col>
174
+                  <el-col :span="8" v-if="anticoagulant.gaimingcheng != -1">
175
+                    <el-form-item
176
+                      label="钙名称:"
177
+                      prop="anticoagulant_gaimingcheng"
178
+                    >
179
+                      <el-input
180
+                        v-model="addPlan.anticoagulant_gaimingcheng"
181
+                        :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
182
+                        placeholder="钙名称"
183
+                      ></el-input>
184
+                    </el-form-item>
185
+                  </el-col>
186
+                  <el-col :span="8" v-if="anticoagulant.gaijiliang != -1">
187
+                    <el-form-item
188
+                      :label="
189
+                        '钙剂量(' + anticoagulant.gaimingcheng_unit + '): '
190
+                      "
191
+                      prop="anticoagulant_gaijiliang"
192
+                    >
193
+                      <el-input
194
+                        v-model="addPlan.anticoagulant_gaijiliang"
195
+                        :disabled="anticoagulant.gaijiliang == 1 ? false : true"
196
+                        placeholder="钙剂量"
197
+                      ></el-input>
198
+                    </el-form-item>
199
+                  </el-col>
200
+                  <el-col
201
+                    :span="8"
202
+                    v-if="
203
+                      current_select == 2 ||
204
+                        current_select == 5 ||
205
+                        current_select == 12
185
                     "
206
                     "
186
-                    prop="anticoagulant_gaijiliang"
187
                   >
207
                   >
188
-                    <el-input
189
-                      v-model="addPlan.anticoagulant_gaijiliang"
190
-                      :disabled="anticoagulant.gaijiliang == 1 ? false : true"
191
-                      placeholder="钙剂量"
192
-                    ></el-input>
193
-                  </el-form-item>
194
-                </el-col>
195
-                <el-col
196
-                  :span="8"
197
-                  v-if="
198
-                    current_select == 2 ||
199
-                      current_select == 5 ||
200
-                      current_select == 12
201
-                  "
202
-                >
203
-                  <el-form-item label="置换量(L) : " prop="replacement_total">
204
-                    <el-input
205
-                      v-model="addPlan.replacement_total"
206
-                      type="number"
207
-                    ></el-input>
208
-                  </el-form-item>
209
-                </el-col>
208
+                    <el-form-item label="置换量(L) : " prop="replacement_total">
209
+                      <el-input
210
+                        v-model="addPlan.replacement_total"
211
+                        type="number"
212
+                      ></el-input>
213
+                    </el-form-item>
214
+                  </el-col>
210
 
215
 
211
-                <el-col :span="8">
212
-                  <el-form-item label="钾(mmol/L): " prop="kalium">
213
-                    <el-input v-model="addPlan.kalium"></el-input>
214
-                  </el-form-item>
215
-                </el-col>
216
-                <el-col :span="8">
217
-                  <el-form-item label="钠(mmol/L): " prop="sodium">
218
-                    <el-input v-model="addPlan.sodium"></el-input>
219
-                  </el-form-item>
220
-                </el-col>
221
-                <el-col :span="8">
222
-                  <el-form-item label="钙(mmol/L): " prop="calcium">
223
-                    <el-input v-model="addPlan.calcium"></el-input>
224
-                  </el-form-item>
225
-                </el-col>
216
+                  <el-col :span="8">
217
+                    <el-form-item label="钾(mmol/L): " prop="kalium">
218
+                      <el-input v-model="addPlan.kalium"></el-input>
219
+                    </el-form-item>
220
+                  </el-col>
221
+                  <el-col :span="8">
222
+                    <el-form-item label="钠(mmol/L): " prop="sodium">
223
+                      <el-input v-model="addPlan.sodium"></el-input>
224
+                    </el-form-item>
225
+                  </el-col>
226
+                  <el-col :span="8">
227
+                    <el-form-item label="钙(mmol/L): " prop="calcium">
228
+                      <el-input v-model="addPlan.calcium"></el-input>
229
+                    </el-form-item>
230
+                  </el-col>
226
 
231
 
227
-                <el-col :span="8">
228
-                  <el-form-item label="透析器/灌流器:">
232
+                  <el-col :span="8">
233
+                    <el-form-item label="透析器/灌流器:">
229
 
234
 
230
-                    <el-input
231
-                      v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
232
-                  </el-form-item>
233
-                </el-col>
235
+                      <el-input
236
+                        v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
237
+                    </el-form-item>
238
+                  </el-col>
234
 
239
 
235
-                <el-col :span="8">
236
-                  <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
237
-                    <el-input v-model="addPlan.bicarbonate"></el-input>
238
-                  </el-form-item>
239
-                </el-col>
240
-                <el-col :span="8">
241
-                  <el-form-item label="葡萄糖(mmol/L): " prop="glucose">
242
-                    <el-input v-model="addPlan.glucose"></el-input>
243
-                  </el-form-item>
244
-                </el-col>
240
+                  <el-col :span="8">
241
+                    <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
242
+                      <el-input v-model="addPlan.bicarbonate"></el-input>
243
+                    </el-form-item>
244
+                  </el-col>
245
+                  <el-col :span="8">
246
+                    <el-form-item label="葡萄糖(mmol/L): " prop="glucose">
247
+                      <el-input v-model="addPlan.glucose"></el-input>
248
+                    </el-form-item>
249
+                  </el-col>
245
 
250
 
246
-                <el-col :span="8">
247
-                  <el-form-item
248
-                    label="透析液流量(ml/min): "
249
-                    prop="dialysate_flow"
250
-                  >
251
-                    <el-input v-model="addPlan.dialysate_flow"></el-input>
252
-                  </el-form-item>
253
-                </el-col>
254
-                <el-col :span="8">
255
-                  <el-form-item
256
-                    label="透析液温度(℃): "
257
-                    prop="dialysate_temperature"
258
-                  >
259
-                    <el-input
260
-                      v-model="addPlan.dialysate_temperature"
261
-                    ></el-input>
262
-                  </el-form-item>
263
-                </el-col>
251
+                  <el-col :span="8">
252
+                    <el-form-item
253
+                      label="透析液流量(ml/min): "
254
+                      prop="dialysate_flow"
255
+                    >
256
+                      <el-input v-model="addPlan.dialysate_flow"></el-input>
257
+                    </el-form-item>
258
+                  </el-col>
259
+                  <el-col :span="8">
260
+                    <el-form-item
261
+                      label="透析液温度(℃): "
262
+                      prop="dialysate_temperature"
263
+                    >
264
+                      <el-input
265
+                        v-model="addPlan.dialysate_temperature"
266
+                      ></el-input>
267
+                    </el-form-item>
268
+                  </el-col>
264
 
269
 
265
-                <el-col :span="8">
266
-                  <el-form-item label="电导度(mS/cm): " prop="conductivity">
267
-                    <el-input v-model="addPlan.conductivity"></el-input>
268
-                  </el-form-item>
269
-                </el-col>
270
+                  <el-col :span="8">
271
+                    <el-form-item label="电导度(mS/cm): " prop="conductivity">
272
+                      <el-input v-model="addPlan.conductivity"></el-input>
273
+                    </el-form-item>
274
+                  </el-col>
270
 
275
 
271
-                <el-col :span="8">
272
-                  <el-form-item label="体液过多症状:">
273
-                    <el-select v-model="addPlan.body_fluid">
274
-                      <el-option
275
-                        v-for="(item, index) in body_fluid_option"
276
-                        :label="item.name"
277
-                        :key="index"
278
-                        :value="item.id"
279
-                      ></el-option>
280
-                    </el-select>
281
-                  </el-form-item>
282
-                </el-col>
276
+                  <el-col :span="8">
277
+                    <el-form-item label="体液过多症状:">
278
+                      <el-select v-model="addPlan.body_fluid">
279
+                        <el-option
280
+                          v-for="(item, index) in body_fluid_option"
281
+                          :label="item.name"
282
+                          :key="index"
283
+                          :value="item.id"
284
+                        ></el-option>
285
+                      </el-select>
286
+                    </el-form-item>
287
+                  </el-col>
283
 
288
 
284
-                <el-col :span="8">
285
-                  <el-form-item label="体液过多其他症状">
286
-                    <el-input v-model="addPlan.body_fluid_other"></el-input>
287
-                  </el-form-item>
288
-                </el-col>
289
+                  <el-col :span="8">
290
+                    <el-form-item label="体液过多其他症状">
291
+                      <el-input v-model="addPlan.body_fluid_other"></el-input>
292
+                    </el-form-item>
293
+                  </el-col>
289
 
294
 
290
-                <el-col :span="8">
291
-                  <el-form-item label="透析前使用特殊药物">
292
-                    <el-select
293
-                      v-model="addPlan.special_medicine"
294
-                      placeholder="请选择"
295
-                      style="width:100%;"
296
-                    >
297
-                      <el-option :key="0" label="请选择" :value="0"></el-option>
298
-                      <el-option
299
-                        v-for="(item, index) in special_medicine_option"
300
-                        :label="item.name"
301
-                        :key="index"
302
-                        :value="item.id"
303
-                      ></el-option>
304
-                    </el-select>
305
-                  </el-form-item>
306
-                </el-col>
295
+                  <el-col :span="8">
296
+                    <el-form-item label="透析前使用特殊药物">
297
+                      <el-select
298
+                        v-model="addPlan.special_medicine"
299
+                        placeholder="请选择"
300
+                        style="width:100%;"
301
+                      >
302
+                        <el-option :key="0" label="请选择" :value="0"></el-option>
303
+                        <el-option
304
+                          v-for="(item, index) in special_medicine_option"
305
+                          :label="item.name"
306
+                          :key="index"
307
+                          :value="item.id"
308
+                        ></el-option>
309
+                      </el-select>
310
+                    </el-form-item>
311
+                  </el-col>
307
 
312
 
308
-                <el-col :span="8">
309
-                  <el-form-item label="使用其他特殊药物">
310
-                    <el-input
311
-                      v-model="addPlan.special_medicine_other"
312
-                    ></el-input>
313
-                  </el-form-item>
314
-                </el-col>
313
+                  <el-col :span="8">
314
+                    <el-form-item label="使用其他特殊药物">
315
+                      <el-input
316
+                        v-model="addPlan.special_medicine_other"
317
+                      ></el-input>
318
+                    </el-form-item>
319
+                  </el-col>
315
 
320
 
316
-                <el-col :span="8">
317
-                  <el-form-item
318
-                    label="置换液:"
319
-                    v-if="
320
-                      (current_select == 2 ||
321
-                        current_select == 5 ||
322
-                        current_select == 12) &&
323
-                        this.$store.getters.xt_user.template_info.template_id !=
324
-                          6
325
-                    "
326
-                  >
327
-                    <el-select
328
-                      v-model="addPlan.displace_liqui_part"
329
-                      placeholder="请选择"
321
+                  <el-col :span="8">
322
+                    <el-form-item
323
+                      label="置换液:"
324
+                      v-if="
325
+                        (current_select == 2 ||
326
+                          current_select == 5 ||
327
+                          current_select == 12) &&
328
+                          this.$store.getters.xt_user.template_info.template_id !=
329
+                            6
330
+                      "
331
+                    >
332
+                      <el-select
333
+                        v-model="addPlan.displace_liqui_part"
334
+                        placeholder="请选择"
335
+                      >
336
+                        <el-option :key="0" label="请选择" :value="0"></el-option>
337
+                        <el-option
338
+                          v-for="(option, index) in displace_liqui_part_option"
339
+                          :key="index"
340
+                          :label="option.name"
341
+                          :value="option.id"
342
+                        ></el-option>
343
+                      </el-select>
344
+                    </el-form-item>
345
+
346
+                    <el-form-item
347
+                      label="置换方式:"
348
+                      v-if="
349
+                        current_select == 2 &&
350
+                          this.$store.getters.xt_user.template_info.template_id ==
351
+                            6
352
+                      "
330
                     >
353
                     >
331
-                      <el-option :key="0" label="请选择" :value="0"></el-option>
332
-                      <el-option
333
-                        v-for="(option, index) in displace_liqui_part_option"
334
-                        :key="index"
335
-                        :label="option.name"
336
-                        :value="option.id"
337
-                      ></el-option>
338
-                    </el-select>
339
-                  </el-form-item>
354
+                      <el-select
355
+                        v-model="addPlan.displace_liqui_part"
356
+                        placeholder="请选择"
357
+                      >
358
+                        <el-option :key="0" label="请选择" :value="0"></el-option>
359
+                        <el-option
360
+                          v-for="(option, index) in displace_liqui_part_option"
361
+                          :key="index"
362
+                          :label="option.name"
363
+                          :value="option.id"
364
+                        ></el-option>
365
+                      </el-select>
366
+                    </el-form-item>
367
+                  </el-col>
340
 
368
 
341
-                  <el-form-item
342
-                    label="置换方式:"
369
+                  <el-col
370
+                    :span="8"
343
                     v-if="
371
                     v-if="
344
-                      current_select == 2 &&
345
-                        this.$store.getters.xt_user.template_info.template_id ==
346
-                          6
372
+                      current_select == 2 ||
373
+                        current_select == 5 ||
374
+                        current_select == 12
347
                     "
375
                     "
348
                   >
376
                   >
349
-                    <el-select
350
-                      v-model="addPlan.displace_liqui_part"
351
-                      placeholder="请选择"
352
-                    >
353
-                      <el-option :key="0" label="请选择" :value="0"></el-option>
354
-                      <el-option
355
-                        v-for="(option, index) in displace_liqui_part_option"
356
-                        :key="index"
357
-                        :label="option.name"
358
-                        :value="option.id"
359
-                      ></el-option>
360
-                    </el-select>
361
-                  </el-form-item>
362
-                </el-col>
363
-
364
-                <el-col
365
-                  :span="8"
366
-                  v-if="
367
-                    current_select == 2 ||
368
-                      current_select == 5 ||
369
-                      current_select == 12
370
-                  "
371
-                >
372
-                  <el-form-item label="置换液总量(L)">
373
-                    <el-input v-model="addPlan.displace_liqui_value"></el-input>
374
-                  </el-form-item>
375
-                </el-col>
377
+                    <el-form-item label="置换液总量(L)">
378
+                      <el-input v-model="addPlan.displace_liqui_value"></el-input>
379
+                    </el-form-item>
380
+                  </el-col>
376
 
381
 
377
-                <el-col :span="8">
378
-                  <el-form-item label="血管通路:">
379
-                    <el-select
380
-                      v-model="addPlan.blood_access"
381
-                      placeholder="请选择"
382
-                    >
383
-                      <el-option :key="0" label="请选择" :value="0"></el-option>
382
+                  <el-col :span="8">
383
+                    <el-form-item label="血管通路:">
384
+                      <el-select
385
+                        v-model="addPlan.blood_access"
386
+                        placeholder="请选择"
387
+                      >
388
+                        <el-option :key="0" label="请选择" :value="0"></el-option>
384
 
389
 
385
-                      <el-option
386
-                        v-for="(option, index) in blood_access_option"
387
-                        :key="index"
388
-                        :label="option.name"
389
-                        :value="option.id"
390
-                      ></el-option>
391
-                    </el-select>
392
-                  </el-form-item>
393
-                </el-col>
390
+                        <el-option
391
+                          v-for="(option, index) in blood_access_option"
392
+                          :key="index"
393
+                          :label="option.name"
394
+                          :value="option.id"
395
+                        ></el-option>
396
+                      </el-select>
397
+                    </el-form-item>
398
+                  </el-col>
394
 
399
 
395
-                <!-- </el-row>
396
-                <el-row :gutter="20" > -->
397
-                <el-col :span="8">
398
-                  <el-form-item label="实际超滤量(L)">
399
-                    <el-input v-model="addPlan.ultrafiltration"></el-input>
400
-                  </el-form-item>
401
-                </el-col>
400
+                  <!-- </el-row>
401
+                  <el-row :gutter="20" > -->
402
+                  <el-col :span="8">
403
+                    <el-form-item label="实际超滤量(L)">
404
+                      <el-input v-model="addPlan.ultrafiltration"></el-input>
405
+                    </el-form-item>
406
+                  </el-col>
402
 
407
 
403
-                <el-col :span="8">
404
-                  <el-form-item label="目标KT/V">
405
-                    <el-input v-model="addPlan.target_ktv"></el-input>
406
-                  </el-form-item>
407
-                </el-col>
408
-              </el-row>
409
-            </el-form>
410
-            <el-button
411
-              style="float: right"
412
-              size="small"
413
-              class="filter-item"
414
-              type="primary"
415
-              icon="el-icon-edit-outline"
416
-              @click="savePrescription()"
417
-              >保存
418
-            </el-button>
419
-          </div>
420
-        </el-col>
421
-      </el-row>
408
+                  <el-col :span="8">
409
+                    <el-form-item label="目标KT/V">
410
+                      <el-input v-model="addPlan.target_ktv"></el-input>
411
+                    </el-form-item>
412
+                  </el-col>
413
+                </el-row>
414
+              </el-form>
415
+              <el-button
416
+                style="float: right"
417
+                size="small"
418
+                class="filter-item"
419
+                type="primary"
420
+                icon="el-icon-edit-outline"
421
+                @click="savePrescription()"
422
+                >保存
423
+              </el-button>
424
+            </div>
425
+          </el-col>
426
+        </el-row>
427
+      </div>
428
+      <multi-select-box
429
+        :propsForm="InnerDialogProps"
430
+        v-on:dialog-comfirm="innerDialogComfirm"
431
+        v-on:dialog-cancle="innerDialogCancle"
432
+      >
433
+      </multi-select-box>
422
     </div>
434
     </div>
423
-    <multi-select-box
424
-      :propsForm="InnerDialogProps"
425
-      v-on:dialog-comfirm="innerDialogComfirm"
426
-      v-on:dialog-cancle="innerDialogCancle"
427
-    >
428
-    </multi-select-box>
429
   </div>
435
   </div>
430
 </template>
436
 </template>
431
 
437
 
432
 <script>
438
 <script>
439
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
433
 import { calculateAnticoagulantZL, uParseTime } from "@/utils/tools";
440
 import { calculateAnticoagulantZL, uParseTime } from "@/utils/tools";
434
 import {
441
 import {
435
   getAllSystemPrescription,
442
   getAllSystemPrescription,
443
 
450
 
444
 export default {
451
 export default {
445
   name: "prescription",
452
   name: "prescription",
446
-  components: { MultiSelectBox },
453
+  components: { MultiSelectBox,BreadCrumb },
447
 
454
 
448
   data() {
455
   data() {
449
     return {
456
     return {
457
+      crumbs: [
458
+        { path: false, name: '配置管理' },
459
+        { path: false, name: '处方模板' }
460
+      ],
450
       InnerDialogProps: {
461
       InnerDialogProps: {
451
         values: [],
462
         values: [],
452
         visibility: false,
463
         visibility: false,

+ 1 - 1
src/xt_pages/stock/drugs/drugStockOutOrderDetail.vue 查看文件

204
         this.$emit('edit-record')
204
         this.$emit('edit-record')
205
       },jump(row){
205
       },jump(row){
206
         this.$router.push({
206
         this.$router.push({
207
-          name: 'user_detail',
207
+          name: 'drugStockUserDetail',
208
           query: { id: row.id }
208
           query: { id: row.id }
209
         })
209
         })
210
       },merge({ row, column, rowIndex, columnIndex }) {
210
       },merge({ row, column, rowIndex, columnIndex }) {

+ 6 - 22
src/xt_pages/stock/drugs/drugStockUserDetail.vue 查看文件

11
       </div>
11
       </div>
12
 
12
 
13
       <div class="cell clearfix">
13
       <div class="cell clearfix">
14
-        <span style="width: 300px;color: #606266">商品类型: {{userList[0].type.type_name}} </span>
15
-        <span style="width: 300px;color: #606266">规格名称: {{userList[0].info.specification_name}}</span>
14
+        <span style="width: 300px;color: #606266">商品类型: {{userList[0].drug.drug_name}} </span>
15
+        <span style="width: 300px;color: #606266">规格名称: {{userList[0].drug.drug_spec}}</span>
16
       </div>
16
       </div>
17
 
17
 
18
       <el-row :gutter="12" style="margin-top: 10px">
18
       <el-row :gutter="12" style="margin-top: 10px">
64
 
64
 
65
 <script>
65
 <script>
66
   import { uParseTime } from '@/utils/tools'
66
   import { uParseTime } from '@/utils/tools'
67
-  import { getWarehouseOutUser } from '@/api/stock'
68
-  import BreadCrumb from '../components/bread-crumb'
67
+  import { getDrugWarehouseOutUser } from '@/api/drug/drug_stock'
68
+  import BreadCrumb from '../../components/bread-crumb'
69
 
69
 
70
   export default {
70
   export default {
71
     name: 'stockInOrderDetail',
71
     name: 'stockInOrderDetail',
88
       }
88
       }
89
     },
89
     },
90
     methods: {
90
     methods: {
91
-      getSpecificationName: function(id) {
92
-        let name = ''
93
-        for (let i = 0; i < this.goodInfo.length; i++) {
94
-          if (this.goodInfo[i].id == id) {
95
-            name = this.goodInfo[i].specification_name
96
-          }
97
-        }
98
-        return name
99
-      }, getTypeName: function(id) {
100
-        let name = ''
101
-        for (let i = 0; i < this.goodType.length; i++) {
102
-          if (this.goodType[i].id == id) {
103
-            name = this.goodType[i].type_name
104
-          }
105
-        }
106
-        return name
107
-      }, GetOrderDetail: function(order_id) {
91
+    GetOrderDetail: function(order_id) {
108
         const params = {
92
         const params = {
109
           'id': order_id
93
           'id': order_id
110
         }
94
         }
111
-        getWarehouseOutUser(params).then(response => {
95
+        getDrugWarehouseOutUser(params).then(response => {
112
           if (response.data.state == 0) {
96
           if (response.data.state == 0) {
113
             this.$message.error(response.data.msg)
97
             this.$message.error(response.data.msg)
114
             return false
98
             return false

+ 4 - 7
src/xt_pages/stock/selfPreparedMedicine/info.vue 查看文件

17
                 <div style="width:250px;">
17
                 <div style="width:250px;">
18
                     <div style="display:flex;justify-content: space-between;align-items: center;">
18
                     <div style="display:flex;justify-content: space-between;align-items: center;">
19
                         <div class="tablesTitle">药品名称</div>
19
                         <div class="tablesTitle">药品名称</div>
20
-                        <el-button type="primary" @click="addDrug">新增</el-button>
20
+                        <el-button type="primary" size="mini" @click="addDrug">新增</el-button>
21
                     </div>
21
                     </div>
22
                     <el-table :data="tableData" border style="width: 100%;" height="500" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
22
                     <el-table :data="tableData" border style="width: 100%;" height="500" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
23
                      highlight-current-row
23
                      highlight-current-row
24
                       @current-change="handleCurrentChange"  ref="monthlyPlanTable">
24
                       @current-change="handleCurrentChange"  ref="monthlyPlanTable">
25
-                        <el-table-column align="center" prop="dialysis_no" label="序号" width="70">
26
-                            <template slot-scope="scope">
27
-                               {{scope.$index+1}} 
28
-                            </template>
25
+                        <el-table-column align="center" type="index" label="序号" width="70">
29
                         </el-table-column>
26
                         </el-table-column>
30
                         <el-table-column align="center" prop="name" label="名称" width="90">
27
                         <el-table-column align="center" prop="name" label="名称" width="90">
31
                             <template slot-scope="scope">{{ scope.row.drug_name }}</template>
28
                             <template slot-scope="scope">{{ scope.row.drug_name }}</template>
32
                         </el-table-column>
29
                         </el-table-column>
33
-                        <el-table-column align="center" prop="name" label="操作" width="80">
30
+                        <el-table-column align="center" prop="name" label="操作" width="90">
34
                             <template slot-scope="scope">
31
                             <template slot-scope="scope">
35
                                 <el-button size="mini" type="danger" @click="DeleteDrugById(scope.row.id,scope.row.drug_name,scope.$index)">删除</el-button>
32
                                 <el-button size="mini" type="danger" @click="DeleteDrugById(scope.row.id,scope.row.drug_name,scope.$index)">删除</el-button>
36
                             </template>
33
                             </template>
41
                     <div style="display:flex;justify-content: space-between;align-items: center;">
38
                     <div style="display:flex;justify-content: space-between;align-items: center;">
42
                         <div class="tablesTitle">药品规格</div>
39
                         <div class="tablesTitle">药品规格</div>
43
                         <div>
40
                         <div>
44
-                            <el-button type="primary" @click="addRule">新增</el-button>
41
+                            <el-button type="primary" size="mini" @click="addRule">新增</el-button>
45
                         </div>
42
                         </div>
46
                     </div>
43
                     </div>
47
                     <el-table :data="rullerList" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
44
                     <el-table :data="rullerList" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>