Browse Source

Merge branch 'superman' of http://git.shengws.com:3000/zhangbj/xt_vue into superman

zhengchengwu 6 years ago
parent
commit
09e4fb66bd
48 changed files with 350 additions and 384 deletions
  1. 1 1
      config/dev.env.js
  2. 8 8
      src/api/stock.js
  3. 1 1
      src/icons/svg/dashboard.svg
  4. 1 1
      src/icons/svg/sign.svg
  5. 60 57
      src/router/index.js
  6. 5 2
      src/styles/index.scss
  7. 6 0
      src/views/layout/components/Navbar.vue
  8. 9 3
      src/views/layout/components/TagsView.vue
  9. 1 1
      src/xt_pages/data/components/tableson.vue
  10. 5 12
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  11. 9 12
      src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue
  12. 6 12
      src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue
  13. 32 70
      src/xt_pages/sign/index.vue
  14. 8 31
      src/xt_pages/stock/Dialog/goodInfoDailog.vue
  15. 1 1
      src/xt_pages/stock/cancelStockOrder.vue
  16. 1 1
      src/xt_pages/stock/cancelStockOrderEdit.vue
  17. 2 2
      src/xt_pages/stock/detail/cancelStockDetail.vue
  18. 4 4
      src/xt_pages/stock/detail/salesReturnDetail.vue
  19. 3 3
      src/xt_pages/stock/detail/stockInDetail.vue
  20. 3 3
      src/xt_pages/stock/detail/stockOutDetail.vue
  21. 1 1
      src/xt_pages/stock/otherCancelStockOrder.vue
  22. 1 1
      src/xt_pages/stock/otherSalesReturnOrder.vue
  23. 1 1
      src/xt_pages/stock/otherStockInOrder.vue
  24. 1 1
      src/xt_pages/stock/otherStockOutOrder.vue
  25. 1 1
      src/xt_pages/stock/salesReturnEdit.vue
  26. 1 1
      src/xt_pages/stock/salesReturnOrder.vue
  27. 1 1
      src/xt_pages/stock/stockDetail.vue
  28. 1 1
      src/xt_pages/stock/stockInOrder.vue
  29. 1 1
      src/xt_pages/stock/stockInOrderDetail.vue
  30. 1 1
      src/xt_pages/stock/stockInOrderEdit.vue
  31. 1 1
      src/xt_pages/stock/stockOutOrder.vue
  32. 1 1
      src/xt_pages/stock/stockOutOrderEdit.vue
  33. 7 12
      src/xt_pages/user/components/EditGroupAdvice.vue
  34. 11 11
      src/xt_pages/user/components/PatientDetail.vue
  35. 23 28
      src/xt_pages/user/components/PatientForm.vue
  36. 1 2
      src/xt_pages/user/components/PatientSidebar.1.vue
  37. 1 2
      src/xt_pages/user/components/PatientSidebar.vue
  38. 67 21
      src/xt_pages/user/courseOfDisease.vue
  39. 18 19
      src/xt_pages/user/dialysisRecord.vue
  40. 12 17
      src/xt_pages/user/doctorAdvice.vue
  41. 6 0
      src/xt_pages/user/editPatient.vue
  42. 1 1
      src/xt_pages/user/patient.vue
  43. 1 1
      src/xt_pages/user/patients.vue
  44. 1 1
      src/xt_pages/user/proeducation.vue
  45. 1 0
      src/xt_pages/user/rescueRecord.vue
  46. 3 3
      src/xt_pages/workforce/components/setup_template_dialog.vue
  47. 18 28
      src/xt_pages/workforce/components/tableData.vue
  48. 1 1
      src/xt_pages/workforce/components/template_table.vue

+ 1 - 1
config/dev.env.js View File

6
 module.exports = {
6
 module.exports = {
7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
-  BASE_API:'"http://localhost:9529"', //'"http://112.74.16.180:9527"', //http://api.xt.test.sgjyun.com http://112.74.16.180:9527
9
+  BASE_API: '"http://112.74.16.180:9527"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com http://112.74.16.180:9527
10
 }
10
 }

+ 8 - 8
src/api/stock.js View File

385
   })
385
   })
386
 }
386
 }
387
 
387
 
388
-export function EditWarehouse(params, warehousing_time, id) {
388
+export function EditWarehouse(params, warehousing_time, id,type) {
389
   return request({
389
   return request({
390
-    url: '/api/warehouse/edit?warehousing_time=' + warehousing_time + '&id=' + id,
390
+    url: '/api/warehouse/edit?warehousing_time=' + warehousing_time + '&id=' + id+"&type="+type,
391
     method: 'post',
391
     method: 'post',
392
     data: params
392
     data: params
393
   })
393
   })
433
   })
433
   })
434
 }
434
 }
435
 
435
 
436
-export function editSalesReturnInfo(params, return_time, id) {
436
+export function editSalesReturnInfo(params, return_time, id,type) {
437
   return request({
437
   return request({
438
-    url: '/api/salesreturn/edit?return_time=' + return_time + '&id=' + id,
438
+    url: '/api/salesreturn/edit?return_time=' + return_time + '&id=' + id+"&type="+type,
439
     method: 'post',
439
     method: 'post',
440
     data: params
440
     data: params
441
   })
441
   })
473
   })
473
   })
474
 }
474
 }
475
 
475
 
476
-export function editWarehouseoutInfo(params, warehouse_out_time, id) {
476
+export function editWarehouseoutInfo(params, warehouse_out_time, id,type) {
477
   return request({
477
   return request({
478
-    url: '/api/warehouseout/edit?warehouse_out_time=' + warehouse_out_time + '&id=' + id,
478
+    url: '/api/warehouseout/edit?warehouse_out_time=' + warehouse_out_time + '&id=' + id+"&type="+type,
479
     method: 'post',
479
     method: 'post',
480
     data: params
480
     data: params
481
   })
481
   })
489
   })
489
   })
490
 }
490
 }
491
 
491
 
492
-export function editCancelStockInfo(params, cancel_stock_time, id) {
492
+export function editCancelStockInfo(params, cancel_stock_time, id,type) {
493
   return request({
493
   return request({
494
-    url: '/api/cancelstockinfo/edit?cancel_time=' + cancel_stock_time + '&id=' + id,
494
+    url: '/api/cancelstockinfo/edit?cancel_time=' + cancel_stock_time + '&id=' + id+"&type="+type,
495
     method: 'post',
495
     method: 'post',
496
     data: params
496
     data: params
497
   })
497
   })

+ 1 - 1
src/icons/svg/dashboard.svg View File

1
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1509611822979" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10379" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M219.428571 658.285714q0-30.285714-21.428571-51.714285T146.285714 585.142857t-51.714285 21.428572T73.142857 658.285714t21.428572 51.714286T146.285714 731.428571t51.714286-21.428571T219.428571 658.285714z m109.714286-256q0-30.285714-21.428571-51.714285T256 329.142857t-51.714286 21.428572T182.857143 402.285714t21.428571 51.714286T256 475.428571t51.714286-21.428571T329.142857 402.285714z m244.571429 274.857143l57.714285-218.285714q3.428571-14.857143-4.285714-27.714286T605.142857 414.285714t-27.428571 3.714286-17.142857 22.571429l-57.714286 218.285714q-34.285714 2.857143-61.142857 24.857143t-36 56.285714q-11.428571 44 11.428571 83.428571t66.857143 50.857143 83.428571-11.428571 50.857143-66.857143q9.142857-34.285714-3.428571-66.857143t-41.142857-52z m377.142857-18.857143q0-30.285714-21.428572-51.714285T877.714286 585.142857t-51.714286 21.428572-21.428571 51.714285 21.428571 51.714286 51.714286 21.428571 51.714285-21.428571 21.428572-51.714286z m-365.714286-365.714285q0-30.285714-21.428571-51.714286T512 219.428571t-51.714286 21.428572T438.857143 292.571429t21.428571 51.714285T512 365.714286t51.714286-21.428572T585.142857 292.571429z m256 109.714285q0-30.285714-21.428571-51.714285T768 329.142857t-51.714286 21.428572T694.857143 402.285714t21.428571 51.714286T768 475.428571t51.714286-21.428571T841.142857 402.285714z m182.857143 256q0 149.142857-80.571429 276-10.857143 16.571429-30.857142 16.571429H111.428571q-20 0-30.857142-16.571429Q0 808 0 658.285714q0-104 40.571429-198.857143t109.142857-163.428571 163.428571-109.142857 198.857143-40.571429 198.857143 40.571429 163.428571 109.142857 109.142857 163.428571 40.571429 198.857143z" p-id="10380"></path></svg>
1
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1559126278025" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4738" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M553.86203002 156.61769104a59.43740844 59.43740844 0 0 0-79.86785887 0L151.037323 463.27838135a29.79286192 29.79286192 0 0 0 39.89685059 44.25361632l5.13542175-4.87586974V822.72082519a59.58572388 59.58572388 0 0 0 59.58572388 59.6598816h173.39927672v-179.3875122a41.95472718 41.95472718 0 0 1 41.97326661-42.01034547h81.59202576a41.95472718 41.95472718 0 0 1 41.97326659 42.01034547v179.3875122h177.51502992a59.58572388 59.58572388 0 0 0 59.6042633-59.6598816V506.56794739c13.2371521 11.97647094 32.01759338 11.06803894 43.03001403-1.20506286a29.79286192 29.79286192 0 0 0-2.15057372-42.08450318L553.86203002 156.63623047z" fill="#333333" p-id="4739"></path></svg>

+ 1 - 1
src/icons/svg/sign.svg View File

1
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1558939526756" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9518" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M 879.646 245.609 v 599.999 h -728.57 V 245.609 h 728.57 m 0 -85.714 h -728.57 c -47.338 0 -85.716 38.377 -85.716 85.715 v 599.999 c 0 47.338 38.378 85.715 85.716 85.715 h 728.57 c 47.338 0 85.715 -38.377 85.715 -85.715 v -600 c -0.001 -47.338 -38.378 -85.714 -85.715 -85.714 Z" p-id="9519"></path><path d="M 482.506 755.331 h -0.021 c -16.541 0 -32.059 -6.495 -43.695 -18.276 L 306.62 603.377 c -16.637 -16.835 -16.479 -43.967 0.348 -60.613 c 16.822 -16.625 43.954 -16.479 60.609 0.343 l 114.93 116.248 l 220.668 -223.211 c 16.646 -16.813 43.778 -16.972 60.614 -0.348 c 16.826 16.646 16.98 43.778 0.347 60.614 L 526.2 737.076 c -11.644 11.778 -27.161 18.255 -43.694 18.255 Z M 707.145 318.818 c -23.669 0 -42.86 -19.187 -42.86 -42.855 V 104.532 c 0 -23.665 19.191 -42.855 42.86 -42.855 c 23.664 0 42.855 19.19 42.855 42.855 v 171.431 c 0 23.669 -19.191 42.855 -42.855 42.855 Z M 318.211 318.818 c -23.67 0 -42.855 -19.187 -42.855 -42.855 V 104.532 c 0 -23.665 19.186 -42.855 42.855 -42.855 c 23.668 0 42.855 19.19 42.855 42.855 v 171.431 c 0 23.669 -19.187 42.855 -42.855 42.855 Z" p-id="9520"></path></svg>
1
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1509611822979" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10379" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M219.428571 658.285714q0-30.285714-21.428571-51.714285T146.285714 585.142857t-51.714285 21.428572T73.142857 658.285714t21.428572 51.714286T146.285714 731.428571t51.714286-21.428571T219.428571 658.285714z m109.714286-256q0-30.285714-21.428571-51.714285T256 329.142857t-51.714286 21.428572T182.857143 402.285714t21.428571 51.714286T256 475.428571t51.714286-21.428571T329.142857 402.285714z m244.571429 274.857143l57.714285-218.285714q3.428571-14.857143-4.285714-27.714286T605.142857 414.285714t-27.428571 3.714286-17.142857 22.571429l-57.714286 218.285714q-34.285714 2.857143-61.142857 24.857143t-36 56.285714q-11.428571 44 11.428571 83.428571t66.857143 50.857143 83.428571-11.428571 50.857143-66.857143q9.142857-34.285714-3.428571-66.857143t-41.142857-52z m377.142857-18.857143q0-30.285714-21.428572-51.714285T877.714286 585.142857t-51.714286 21.428572-21.428571 51.714285 21.428571 51.714286 51.714286 21.428571 51.714285-21.428571 21.428572-51.714286z m-365.714286-365.714285q0-30.285714-21.428571-51.714286T512 219.428571t-51.714286 21.428572T438.857143 292.571429t21.428571 51.714285T512 365.714286t51.714286-21.428572T585.142857 292.571429z m256 109.714285q0-30.285714-21.428571-51.714285T768 329.142857t-51.714286 21.428572T694.857143 402.285714t21.428571 51.714286T768 475.428571t51.714286-21.428571T841.142857 402.285714z m182.857143 256q0 149.142857-80.571429 276-10.857143 16.571429-30.857142 16.571429H111.428571q-20 0-30.857142-16.571429Q0 808 0 658.285714q0-104 40.571429-198.857143t109.142857-163.428571 163.428571-109.142857 198.857143-40.571429 198.857143 40.571429 163.428571 109.142857 109.142857 163.428571 40.571429 198.857143z" p-id="10380"></path></svg>

+ 60 - 57
src/router/index.js View File

125
   // ////////////////////////////
125
   // ////////////////////////////
126
   // 本地开始
126
   // 本地开始
127
   // /////////////////////////////
127
   // /////////////////////////////
128
-  {
129
-    path: '/sign',
130
-    component: Layout,
131
-    redirct: '/sign/index',
132
-    children: [{
133
-      path: '/sign',
134
-      component: () => import('@/xt_pages/sign/index'),
135
-      name: 'sign',
136
-      meta: { title: 'signWeight', icon: 'sign', noCache: true }
137
-    }]
138
-  },
139
-  {
140
-    path: '/qcd',
141
-    component: Layout,
142
-    redirect: '/qcd/dialysistotal',
143
-    name: 'qcd',
144
-    alwaysShow: true,
145
-    meta: { title: '科室质控', icon: 'statistics' },
146
-    children: [
147
-      { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
148
-      { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
149
-      { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
150
-      { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
151
-      { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
152
-      { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
153
-      { path: '/qcd/patientanalysis/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
154
-      { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
155
-      { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
156
-      { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
157
-      { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
158
-      { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
159
-      { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
160
-      { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
161
-      { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
162
-      { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
163
-      { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }}
164
-    ]
165
-  },
166
   {
128
   {
167
     path: '/patients',
129
     path: '/patients',
168
     component: Layout,
130
     component: Layout,
323
       }
285
       }
324
     ]
286
     ]
325
   },
287
   },
288
+  {
289
+    path: '/sign',
290
+    component: Layout,
291
+    redirct: '/sign/index',
292
+    children: [{
293
+      path: '/sign',
294
+      component: () => import('@/xt_pages/sign/index'),
295
+      name: 'sign',
296
+      meta: { title: 'signWeight', icon: 'sign', noCache: true }
297
+    }]
298
+  },
326
   {
299
   {
327
     path: '/dialysis/',
300
     path: '/dialysis/',
328
     component: Layout,
301
     component: Layout,
367
     ]
340
     ]
368
   },
341
   },
369
   {
342
   {
370
-    path: '/fullscreenboard',
371
-    component: () => import('@/xt_pages/fullscreenboard/index'),
372
-    hidden: true
373
-  },
374
-  {
375
-    path: '/device',
376
-    component: Layout,
377
-    redirect: '/device/main',
378
-    name: 'device',
379
-    alwaysShow: true,
380
-    meta: { title: 'deviceManage', icon: 'shebei' },
381
-    children: [
382
-      { path: '/device/zones', component: () => import('@/xt_pages/device/zone_main'), name: 'deviceZoneManage', meta: { title: 'deviceZoneManage' }},
383
-      { path: '/device/groups', component: () => import('@/xt_pages/device/group_main'), name: 'deviceGroupManage', meta: { title: 'deviceGroupManage' }},
384
-      { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
385
-      { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
386
-    ]
387
-  }, {
388
     path: '/stock/',
343
     path: '/stock/',
389
     component: Layout,
344
     component: Layout,
390
     redirect: 'noredirect',
345
     redirect: 'noredirect',
508
       }
463
       }
509
     ]
464
     ]
510
   },
465
   },
466
+
467
+  {
468
+    path: '/qcd',
469
+    component: Layout,
470
+    redirect: '/qcd/dialysistotal',
471
+    name: 'qcd',
472
+    alwaysShow: true,
473
+    meta: { title: '科室质控', icon: 'statistics' },
474
+    children: [
475
+      { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
476
+      { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
477
+      { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
478
+      { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
479
+      { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
480
+      { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
481
+      { path: '/qcd/patientanalysis/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
482
+      { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
483
+      { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
484
+      { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
485
+      { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
486
+      { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
487
+      { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
488
+      { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
489
+      { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
490
+      { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
491
+      { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }}
492
+    ]
493
+  },
511
   {
494
   {
512
     path: '/data/',
495
     path: '/data/',
513
     component: Layout,
496
     component: Layout,
520
       { path: '/data/druguse', component: () => import('@/xt_pages/data/druguseTemplate'), name: 'druguse', meta: { title: 'druguse' }}
503
       { path: '/data/druguse', component: () => import('@/xt_pages/data/druguseTemplate'), name: 'druguse', meta: { title: 'druguse' }}
521
     ]
504
     ]
522
   },
505
   },
506
+  {
507
+    path: '/device',
508
+    component: Layout,
509
+    redirect: '/device/main',
510
+    name: 'device',
511
+    alwaysShow: true,
512
+    meta: { title: 'deviceManage', icon: 'shebei' },
513
+    children: [
514
+      { path: '/device/zones', component: () => import('@/xt_pages/device/zone_main'), name: 'deviceZoneManage', meta: { title: 'deviceZoneManage' }},
515
+      { path: '/device/groups', component: () => import('@/xt_pages/device/group_main'), name: 'deviceGroupManage', meta: { title: 'deviceGroupManage' }},
516
+      { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
517
+      { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
518
+    ]
519
+  },
523
   {
520
   {
524
     path: '/role',
521
     path: '/role',
525
     component: Layout,
522
     component: Layout,
535
       { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
532
       { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
536
       { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
533
       { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
537
     ]
534
     ]
538
-  }
535
+  },
536
+
537
+  {
538
+    path: '/fullscreenboard',
539
+    component: () => import('@/xt_pages/fullscreenboard/index'),
540
+    hidden: true
541
+  },
539
   // /////////////本地要end/
542
   // /////////////本地要end/
540
 ]
543
 ]
541
 
544
 

+ 5 - 2
src/styles/index.scss View File

458
   // z-index: 9999!important;
458
   // z-index: 9999!important;
459
 }
459
 }
460
 .el-message{
460
 .el-message{
461
-  z-index: 2004!important;
461
+  z-index: 99999!important;
462
 }
462
 }
463
 .el-select-dropdown{
463
 .el-select-dropdown{
464
   // z-index: 2003!important;
464
   // z-index: 2003!important;
481
   border-bottom: 1px #E4E7ED solid;
481
   border-bottom: 1px #E4E7ED solid;
482
   margin: 0 18px;
482
   margin: 0 18px;
483
   flex: 1;
483
   flex: 1;
484
-  
485
 }
484
 }
486
 .el-button+.el-button{
485
 .el-button+.el-button{
487
   // margin-left: 0;
486
   // margin-left: 0;
495
 .Total{
494
 .Total{
496
  margin:0 0 10px 0;
495
  margin:0 0 10px 0;
497
  float: right;
496
  float: right;
497
+}
498
+.cellLine{
499
+  color: #C0C4CC;
500
+  padding: 0 3px;
498
 }
501
 }

+ 6 - 0
src/views/layout/components/Navbar.vue View File

255
     left: 0;
255
     left: 0;
256
   }
256
   }
257
 }
257
 }
258
+.el-dropdown-menu{
259
+  z-index: 9999!important;
260
+}
261
+.v-modal{
262
+  z-index: 9999!important;  
263
+}
258
 </style>
264
 </style>

+ 9 - 3
src/views/layout/components/TagsView.vue View File

1
 <template>
1
 <template>
2
   <div class="tags-view-container">
2
   <div class="tags-view-container">
3
     <scroll-pane class='tags-view-wrapper' ref='scrollPane'>
3
     <scroll-pane class='tags-view-wrapper' ref='scrollPane'>
4
-      <router-link ref='tag' class="tags-view-item" :class="isActive(tag)?'active':''" v-for="tag in Array.from(visitedViews)"
5
-        :to="tag" :key="tag.path" @contextmenu.prevent.native="openMenu(tag,$event)">
4
+      <router-link 
5
+        ref='tag' 
6
+        class="tags-view-item" 
7
+        :class="isActive(tag)?'active':''" 
8
+        v-for="tag in Array.from(visitedViews)"
9
+        :to="tag" 
10
+        :key="tag.path" 
11
+        @contextmenu.prevent.native="openMenu(tag,$event)">
6
         {{generateTitle(tag.title)}}
12
         {{generateTitle(tag.title)}}
7
         <span class='el-icon-close' @click.prevent.stop='closeSelectedTag(tag)'></span>
13
         <span class='el-icon-close' @click.prevent.stop='closeSelectedTag(tag)'></span>
8
       </router-link>
14
       </router-link>
18
 <script>
24
 <script>
19
 import ScrollPane from '@/components/ScrollPane'
25
 import ScrollPane from '@/components/ScrollPane'
20
 import { generateTitle } from '@/utils/i18n'
26
 import { generateTitle } from '@/utils/i18n'
21
-
27
+  
22
 export default {
28
 export default {
23
   components: { ScrollPane },
29
   components: { ScrollPane },
24
   data() {
30
   data() {

+ 1 - 1
src/xt_pages/data/components/tableson.vue View File

1
 <template>
1
 <template>
2
   <div class="">
2
   <div class="">
3
     <div class="filter-container">
3
     <div class="filter-container">
4
-      <el-button style="float: right;margin-right: 20px" class="filter-item" size="small" :disabled="addState"  @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
4
+      <el-button style="float: right" class="filter-item" size="small" :disabled="addState"  @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
5
     </div>
5
     </div>
6
 
6
 
7
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :key='tableKey' :data="list" v-loading="listLoading" border fit highlight-current-row
7
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :key='tableKey' :data="list" v-loading="listLoading" border fit highlight-current-row

+ 5 - 12
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

536
       },
536
       },
537
       openDeleteGroupAdvice() {
537
       openDeleteGroupAdvice() {
538
         if (this.groupSelectRow === null) {
538
         if (this.groupSelectRow === null) {
539
-          this.$notify.error({
540
-            title: '错误',
541
-            message: '未选择要删除的医嘱内容'
542
-          })
539
+          this.$message.error("未选择要删除的医嘱内容")
543
           return
540
           return
544
         }
541
         }
545
         this.DeleteGroupAdvice(this.groupSelectRow.groupno)
542
         this.DeleteGroupAdvice(this.groupSelectRow.groupno)
556
       openAdviceName(isEdit) {
553
       openAdviceName(isEdit) {
557
         if (isEdit) {
554
         if (isEdit) {
558
           if (this.groupSelectRow === null) {
555
           if (this.groupSelectRow === null) {
559
-            this.$notify.error({
560
-              title: '错误',
561
-              message: '未选择要修改的医嘱内容'
562
-            })
556
+
557
+            this.$message.error("未选择要修改的医嘱内容")
558
+
563
             return
559
             return
564
           }
560
           }
565
           this.nameForm = {
561
           this.nameForm = {
855
 
851
 
856
       openEditGroupAdvice() {
852
       openEditGroupAdvice() {
857
         if (this.groupSelectRow === null) {
853
         if (this.groupSelectRow === null) {
858
-          this.$notify.error({
859
-            title: '错误',
860
-            message: '未选择要修改的医嘱内容'
861
-          })
854
+          this.$message.error("未选择要修改的医嘱内容")
862
           return
855
           return
863
         }
856
         }
864
 
857
 

+ 9 - 12
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

651
 
651
 
652
       openDeleteGroupAdvice() {
652
       openDeleteGroupAdvice() {
653
         if (this.groupSelectRow === null) {
653
         if (this.groupSelectRow === null) {
654
-          this.$notify.error({
655
-            title: '错误',
656
-            message: '未选择要删除的医嘱内容'
657
-          })
654
+
655
+          this.$message.error("未选择要删除的医嘱内容")
656
+
658
           return
657
           return
659
         }
658
         }
660
         var content = ''
659
         var content = ''
770
 
769
 
771
       openGroupChild() {
770
       openGroupChild() {
772
         if (this.groupSelectRow === null) {
771
         if (this.groupSelectRow === null) {
773
-          this.$notify.error({
774
-            title: '错误',
775
-            message: '未选择医嘱内容,无法添加子药'
776
-          })
772
+
773
+          this.$message.error("未选择医嘱内容,无法添加子药")
774
+
777
           return
775
           return
778
         } else if (this.groupSelectRow.parent_row > 0) {
776
         } else if (this.groupSelectRow.parent_row > 0) {
779
           this.$notify.error({
777
           this.$notify.error({
807
         this.isChild = false
805
         this.isChild = false
808
         if (isEdit) {
806
         if (isEdit) {
809
           if (this.groupSelectRow === null) {
807
           if (this.groupSelectRow === null) {
810
-            this.$notify.error({
811
-              title: '错误',
812
-              message: '未选择要修改的医嘱内容'
813
-            })
808
+
809
+            this.$message.error("未选择要修改的医嘱内容")
810
+
814
             return
811
             return
815
           }
812
           }
816
           if (this.groupSelectRow.parent_row) {
813
           if (this.groupSelectRow.parent_row) {

+ 6 - 12
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue View File

594
       },
594
       },
595
       openDeleteGroupAdvice() {
595
       openDeleteGroupAdvice() {
596
         if (this.groupSelectRow === null) {
596
         if (this.groupSelectRow === null) {
597
-          this.$notify.error({
598
-            title: '错误',
599
-            message: '未选择要删除的医嘱内容'
600
-          })
597
+          this.$message.error("未选择要删除的医嘱内容")
601
           return
598
           return
602
         }
599
         }
603
         console.log(this.groupSelectRow)
600
         console.log(this.groupSelectRow)
997
 
994
 
998
       openGroupChild() {
995
       openGroupChild() {
999
         if (this.groupSelectRow === null) {
996
         if (this.groupSelectRow === null) {
1000
-          this.$notify.error({
1001
-            title: '错误',
1002
-            message: '未选择医嘱内容,无法添加子药'
1003
-          })
997
+
998
+          this.$message.error("未选择医嘱内容,无法添加子药")
999
+
1004
           return
1000
           return
1005
         } else if (this.groupSelectRow.parent_row > 0) {
1001
         } else if (this.groupSelectRow.parent_row > 0) {
1006
           this.$notify.error({
1002
           this.$notify.error({
1034
         this.isChild = false
1030
         this.isChild = false
1035
         if (isEdit) {
1031
         if (isEdit) {
1036
           if (this.groupSelectRow === null) {
1032
           if (this.groupSelectRow === null) {
1037
-            this.$notify.error({
1038
-              title: '错误',
1039
-              message: '未选择要修改的医嘱内容'
1040
-            })
1033
+            this.$message.error("未选择要修改的医嘱内容")
1041
             return
1034
             return
1035
+
1042
           }
1036
           }
1043
           if (this.groupSelectRow.parent_row) {
1037
           if (this.groupSelectRow.parent_row) {
1044
             this.isChild = true
1038
             this.isChild = true

+ 32 - 70
src/xt_pages/sign/index.vue View File

51
                       <span class="button"><el-button  @click="change()">修改</el-button></span>
51
                       <span class="button"><el-button  @click="change()">修改</el-button></span>
52
                     </div>
52
                     </div>
53
                     <div class="border"></div>
53
                     <div class="border"></div>
54
-
55
-                    <el-row :gutter="20">
56
-                        <el-col :span="8">
57
-                            <el-form-item label="透前称重(kg):" label-width="100px">
58
-                                <el-input v-model="weigh_list.weight_before" :disabled="disa" ></el-input>
59
-                            </el-form-item>
60
-                        </el-col> 
61
-                        <el-col :span="8">
62
-                            <el-form-item label="干体重(kg):" label-width="100px">
63
-                                <el-input v-model="weigh_list.dry_weight" :disabled="disa"></el-input>
64
-                            </el-form-item>
65
-                        </el-col>
66
-                    </el-row>
67
-                    <el-row :gutter="20">
68
-                        <el-col :span="4">
69
-                            <el-form-item label="体温(℃):" label-width="80px">
70
-                               <el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>
71
-                            </el-form-item>
72
-                        </el-col>
73
-                        <el-col :span="5">
74
-                            <el-form-item label="脉搏(次/分):" label-width="90px">
75
-                                <el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
76
-                            </el-form-item>
77
-                        </el-col>
78
-                        <el-col :span="5">
79
-                            <el-form-item label="呼吸(次/分):" label-width="100px">
80
-                                <el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>
81
-                            </el-form-item>
82
-                        </el-col>
83
-                        <el-col :span="9">
84
-                            <el-form-item label="血压(mmHg):" label-width="100px">
85
-                                <el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
86
-                                <span> / </span>
87
-                                <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
88
-                            </el-form-item>
89
-                        </el-col>
90
-                    </el-row>
91
-                    <div class="border"></div>                  
92
-                    <el-row :gutter="20">
93
-                        <el-col :span="8">
94
-                            <el-form-item label="透后称重(kg):" label-width="100px">
95
-                                <el-input v-model="weigh_infor.weight_after"  :disabled="disa"></el-input>
96
-                            </el-form-item>
97
-                        </el-col>
98
-                        <el-col :span="8">
99
-                            <el-form-item label="干体重(kg):" label-width="100px">
100
-                                <el-input v-model="weigh_list.dry_weight" :disabled="disa"></el-input>
101
-                            </el-form-item>
102
-                        </el-col>
54
+                    <div style="margin-bottom:20px;color:rgb(96,96,96)">
55
+                    透前体重(kg):&nbsp;<el-input v-model="weigh_list.weight_before" :disabled="disa" style="width:200px"></el-input> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
+                    干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input><br>
57
+                    </div>
58
+                    <div style="margin-bottom:12px;color:rgb(96,96,96)">
59
+                     体温(℃):&nbsp;<el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
60
+                     脉搏(次/分):&nbsp;<el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
61
+                     呼吸(次/分):&nbsp;<el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
62
+                     血压(mmHg):&nbsp;<el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
63
+                    </div>
64
+                    <div class="border"></div>  
65
+                    <div style="margin-bottom:20px;color:rgb(96,96,96)">
66
+                     透后称重(kg):&nbsp;<el-input v-model="weigh_infor.weight_after" style="width:200px" :disabled="disa"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67
+                     干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
68
+                    </div> 
69
+                    <div style="margin-bottom:12px;color:rgb(96,96,96)">
70
+                      体温(℃):&nbsp;<el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
71
+                      脉搏(次/分):&nbsp;<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
72
+                      呼吸(次/分):&nbsp;<el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
73
+                      血压(mmHg):&nbsp;<el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
74
+                    </div>               
75
+                    <!-- <el-row :gutter="20">
103
                     </el-row>
76
                     </el-row>
104
                     <el-row :gutter="20">
77
                     <el-row :gutter="20">
105
-                        <el-col :span="4">
106
-                            <el-form-item label="体温(℃):" label-width="80px">
107
-                                <el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>
108
-                            </el-form-item>
109
-                        </el-col>
110
                         <el-col :span="5">
78
                         <el-col :span="5">
111
                             <el-form-item label="脉搏(次/分):" label-width="90px">
79
                             <el-form-item label="脉搏(次/分):" label-width="90px">
112
                                 <el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
80
                                 <el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
113
                             </el-form-item>
81
                             </el-form-item>
114
                         </el-col>
82
                         </el-col>
115
-                        <el-col :span="5">
116
-                            <el-form-item label="呼吸(次/分):" label-width="100px">
117
-                                <el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>
118
-                            </el-form-item>
119
-                        </el-col>
120
-                        <el-col :span="9">
121
-                            <el-form-item label="血压(mmHg):" label-width="100px">
122
-                                <el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
123
-                                <span> / </span>
124
-                                <el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
125
-                            </el-form-item>
126
-                        </el-col>
127
-                    </el-row>
83
+                    </el-row> -->
128
                     
84
                     
129
                     <div class="border"></div>
85
                     <div class="border"></div>
130
                     <div v-if="show">
86
                     <div v-if="show">
209
         diastolic_blood_pressure: ''
165
         diastolic_blood_pressure: ''
210
       },
166
       },
211
       shiftOptions: [
167
       shiftOptions: [
212
-        { value: 0, label: '班次' },
168
+        { value: 0, label: '全部' },
213
         { value: 1, label: '上午' },
169
         { value: 1, label: '上午' },
214
         { value: 2, label: '下午' },
170
         { value: 2, label: '下午' },
215
         { value: 3, label: '晚上' }
171
         { value: 3, label: '晚上' }
248
         this.patients = []
204
         this.patients = []
249
         if (response.data.state === 1) {
205
         if (response.data.state === 1) {
250
           this.patients = response.data.data.patients
206
           this.patients = response.data.data.patients
207
+          console.log("排班数据是什么呢?")
208
+          console.log(this.patients)
251
           this.queryParams.schedule_type = response.data.data.schedule_type
209
           this.queryParams.schedule_type = response.data.data.schedule_type
252
           this.querySignParams.date_time = response.data.data.today
210
           this.querySignParams.date_time = response.data.data.today
253
            
211
            
540
                     var sl = this.schedules.length
498
                     var sl = this.schedules.length
541
                     for(let j = 0; j < sl; j++){
499
                     for(let j = 0; j < sl; j++){
542
                          if(this.schedules[j].type === this.patients[index].schedule.schedule_type){
500
                          if(this.schedules[j].type === this.patients[index].schedule.schedule_type){
543
-                              if(this.weigh_form.id > 0){
544
-                                  this.schedules[j].sign++
501
+                              // if(this.weigh_form.id>= 0){
502
+                              //     this.schedules[j].sign++
503
+                              // }
504
+                              if((signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0)||(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0)){
505
+                                    this.schedules[j].sign++
545
                               }
506
                               }
546
                               if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
507
                               if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
508
+                                   
547
                                    this.schedules[j].before++
509
                                    this.schedules[j].before++
548
                               }
510
                               }
549
                               if(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0){
511
                               if(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0){

+ 8 - 31
src/xt_pages/stock/Dialog/goodInfoDailog.vue View File

41
       </el-row>
41
       </el-row>
42
 
42
 
43
       <el-row>
43
       <el-row>
44
-        <el-col :span="8">
45
-          <el-form-item label="生产厂家" prop="dealer">
46
-            <el-select  v-model="form.manufacturer" placeholder="请选择">
47
-              <el-option
48
-                v-for="item in form.manufacturers"
49
-                :key="item.id"
50
-                :label="item.manufacturer_name"
51
-                :value="item.id">
52
-              </el-option>
53
-            </el-select>
54
-          </el-form-item>
55
-        </el-col>
56
-
57
-        <el-col :span="8">
58
-          <el-form-item label="经销商" prop="manufacturer">
59
-            <el-select  v-model="form.dealer" placeholder="请选择">
60
-              <el-option
61
-                v-for="item in form.dealers"
62
-                :key="item.id"
63
-                :label="item.dealer_name"
64
-                :value="item.id">
65
-              </el-option>
66
-            </el-select>
67
-          </el-form-item>
68
-        </el-col>
69
 
44
 
70
         <el-col :span="8">
45
         <el-col :span="8">
71
           <el-form-item label="进货价" prop="buy_price">
46
           <el-form-item label="进货价" prop="buy_price">
72
             <el-input  type="number" v-model="form.buy_price"></el-input>
47
             <el-input  type="number" v-model="form.buy_price"></el-input>
73
           </el-form-item>
48
           </el-form-item>
74
         </el-col>
49
         </el-col>
75
-      </el-row>
76
 
50
 
77
-      <el-row>
78
         <el-col :span="8">
51
         <el-col :span="8">
79
           <el-form-item label="出货价" prop="sell_price">
52
           <el-form-item label="出货价" prop="sell_price">
80
             <el-input  type="number" v-model="form.sell_price"></el-input>
53
             <el-input  type="number" v-model="form.sell_price"></el-input>
81
           </el-form-item>
54
           </el-form-item>
82
         </el-col>
55
         </el-col>
83
-
84
         <el-col :span="8">
56
         <el-col :span="8">
85
           <el-form-item label="有效期预警天数" prop="expiry_date_warn_day_count">
57
           <el-form-item label="有效期预警天数" prop="expiry_date_warn_day_count">
86
             <el-input type="number" v-model="form.expiry_date_warn_day_count"></el-input>
58
             <el-input type="number" v-model="form.expiry_date_warn_day_count"></el-input>
87
           </el-form-item>
59
           </el-form-item>
88
         </el-col>
60
         </el-col>
89
 
61
 
62
+
63
+      </el-row>
64
+
65
+
66
+      <el-row>
67
+
90
         <el-col :span="8">
68
         <el-col :span="8">
91
           <el-form-item label="库存预警数量" prop="stock_warn_count">
69
           <el-form-item label="库存预警数量" prop="stock_warn_count">
92
             <el-input  type="number" v-model="form.stock_warn_count"></el-input>
70
             <el-input  type="number" v-model="form.stock_warn_count"></el-input>
93
           </el-form-item>
71
           </el-form-item>
94
         </el-col>
72
         </el-col>
95
-      </el-row>
96
 
73
 
97
-      <el-row>
98
-       <el-col :span="16">
74
+
75
+        <el-col :span="16">
99
         <el-form-item label="是否可复用" prop="is_reuse">
76
         <el-form-item label="是否可复用" prop="is_reuse">
100
             <el-radio v-model="form.is_reuse" label="1">可以</el-radio>
77
             <el-radio v-model="form.is_reuse" label="1">可以</el-radio>
101
             <el-radio v-model="form.is_reuse" label="2">不可以</el-radio>
78
             <el-radio v-model="form.is_reuse" label="2">不可以</el-radio>

+ 1 - 1
src/xt_pages/stock/cancelStockOrder.vue View File

21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
24
-        <span class="">-</span>
24
+        <span class="cellLine"> - </span>
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderEdit.vue View File

302
             const params = {
302
             const params = {
303
               'cancelStock': this.recordInfo.recordData
303
               'cancelStock': this.recordInfo.recordData
304
             }
304
             }
305
-            editCancelStockInfo(params, this.return_time, this.$route.query.id).then(response => {
305
+            editCancelStockInfo(params, this.return_time, this.$route.query.id,this.$route.query.type).then(response => {
306
               if (response.data.state == 0) {
306
               if (response.data.state == 0) {
307
                 this.$message.error(response.data.msg)
307
                 this.$message.error(response.data.msg)
308
                 return false
308
                 return false

+ 2 - 2
src/xt_pages/stock/detail/cancelStockDetail.vue View File

11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
14
-        <span class="">-</span>
14
+        <span class="cellLine"> - </span>
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
53
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
53
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
54
         >
54
         >
55
 
55
 
56
-          <el-table-column label="单据编号" align="center">
56
+          <el-table-column label="单据编号" align="center" width="200">
57
             <template slot-scope="scope">
57
             <template slot-scope="scope">
58
               {{scope.row.order_number}}
58
               {{scope.row.order_number}}
59
             </template>
59
             </template>

+ 4 - 4
src/xt_pages/stock/detail/salesReturnDetail.vue View File

2
   <div class="main-contain">
2
   <div class="main-contain">
3
     <div class="app-container">
3
     <div class="app-container">
4
       <div class="cell clearfix" >
4
       <div class="cell clearfix" >
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品类型"/>
5
+        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
7
       </div>
8
 
8
 
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
14
-        <span class="">-</span>
14
+        <span class="cellLine"> - </span>
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
56
 
56
 
57
 
57
 
58
 
58
 
59
-          <el-table-column label="单据编号" align="center">
59
+          <el-table-column label="单据编号" align="center"  width="200">
60
             <template slot-scope="scope">
60
             <template slot-scope="scope">
61
-              {{scope.row.order_number}}
61
+              {{scope.row.SalesReturn.order_number}}
62
             </template>
62
             </template>
63
           </el-table-column>
63
           </el-table-column>
64
 
64
 

+ 3 - 3
src/xt_pages/stock/detail/stockInDetail.vue View File

2
   <div class="main-contain">
2
   <div class="main-contain">
3
     <div class="app-container">
3
     <div class="app-container">
4
       <div class="cell clearfix">
4
       <div class="cell clearfix">
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品类型"/>
5
+        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
7
       </div>
8
 
8
 
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
14
-        <span class="">-</span>
14
+        <span class="cellLine"> - </span>
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
53
 
53
 
54
         >
54
         >
55
 
55
 
56
-          <el-table-column label="单据编号" align="center">
56
+          <el-table-column label="单据编号" align="center"  width="200">
57
             <template slot-scope="scope">
57
             <template slot-scope="scope">
58
               {{scope.row.warehousing_order}}
58
               {{scope.row.warehousing_order}}
59
             </template>
59
             </template>

+ 3 - 3
src/xt_pages/stock/detail/stockOutDetail.vue View File

2
   <div class="main-contain">
2
   <div class="main-contain">
3
     <div class="app-container">
3
     <div class="app-container">
4
       <div class="cell clearfix" >
4
       <div class="cell clearfix" >
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品类型"/>
5
+        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
7
       </div>
8
 
8
 
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
11
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
12
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
13
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
14
-        <span class="">-</span>
14
+        <span class="cellLine"> - </span>
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
15
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
16
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
17
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
57
 
57
 
58
 
58
 
59
 
59
 
60
-          <el-table-column label="单据编号" align="center">
60
+          <el-table-column label="单据编号" align="center"  width="200">
61
             <template slot-scope="scope">
61
             <template slot-scope="scope">
62
               {{scope.row.warehouse_out_order_number}}
62
               {{scope.row.warehouse_out_order_number}}
63
             </template>
63
             </template>

+ 1 - 1
src/xt_pages/stock/otherCancelStockOrder.vue View File

21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
24
-        <span class="">-</span>
24
+        <span class="cellLine"> - </span>
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/otherSalesReturnOrder.vue View File

21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
24
-        <span class="">-</span>
24
+        <span class="cellLine"> - </span>
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/otherStockInOrder.vue View File

20
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
20
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
22
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
-        <span class="">-</span>
23
+        <span class="cellLine"> - </span>
24
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
24
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
25
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
26
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/otherStockOutOrder.vue View File

19
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
19
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
20
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
20
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
21
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
21
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
22
-        <span class="">-</span>
22
+        <span class="cellLine"> - </span>
23
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
23
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
24
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
24
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
25
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
25
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/salesReturnEdit.vue View File

315
             const params = {
315
             const params = {
316
               'salesReturn': this.recordInfo.recordData
316
               'salesReturn': this.recordInfo.recordData
317
             }
317
             }
318
-            editSalesReturnInfo(params, this.return_time, this.$route.query.id).then(response => {
318
+            editSalesReturnInfo(params, this.return_time, this.$route.query.id,this.$route.query.type).then(response => {
319
               if (response.data.state == 0) {
319
               if (response.data.state == 0) {
320
                 this.$message.error(response.data.msg)
320
                 this.$message.error(response.data.msg)
321
                 return false
321
                 return false

+ 1 - 1
src/xt_pages/stock/salesReturnOrder.vue View File

20
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
20
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
22
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
-        <span class="">-</span>
23
+        <span class="cellLine"> - </span>
24
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
24
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
25
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
26
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/stockDetail.vue View File

21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
23
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
24
-        <span class="">-</span>
24
+        <span class="cellLine"> - </span>
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
25
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
26
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
27
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/stockInOrder.vue View File

18
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
18
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
19
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
19
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
20
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
20
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
21
-        <span class="">-</span>
21
+        <span class="cellLine"> - </span>
22
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
22
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
23
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
23
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
24
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
24
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/stockInOrderDetail.vue View File

84
           </template>
84
           </template>
85
         </el-table-column>
85
         </el-table-column>
86
         <el-table-column label="有效日期" min-width="40" align="center">
86
         <el-table-column label="有效日期" min-width="40" align="center">
87
-          <template v-if="scope.row.product_date != 0" slot-scope="scope">
87
+          <template v-if="scope.row.expiry_date != 0" slot-scope="scope">
88
             {{ scope.row.expiry_date | parseTime('{y}-{m}-{d}')}}
88
             {{ scope.row.expiry_date | parseTime('{y}-{m}-{d}')}}
89
           </template>
89
           </template>
90
         </el-table-column>
90
         </el-table-column>

+ 1 - 1
src/xt_pages/stock/stockInOrderEdit.vue View File

423
             const params = {
423
             const params = {
424
               'stockIn': this.recordInfo.recordData
424
               'stockIn': this.recordInfo.recordData
425
             }
425
             }
426
-            EditWarehouse(params, this.warehousing_time, this.$route.query.id).then(response => {
426
+            EditWarehouse(params, this.warehousing_time, this.$route.query.id,this.$route.query.type).then(response => {
427
               if (response.data.state == 0) {
427
               if (response.data.state == 0) {
428
                 this.$message.error(response.data.msg)
428
                 this.$message.error(response.data.msg)
429
                 return false
429
                 return false

+ 1 - 1
src/xt_pages/stock/stockOutOrder.vue View File

16
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
17
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
17
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
18
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
18
                         value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
19
-        <span class="">-</span>
19
+        <span class="cellLine"> - </span>
20
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
20
         <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
21
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
22
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
22
                         value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>

+ 1 - 1
src/xt_pages/stock/stockOutOrderEdit.vue View File

336
             const params = {
336
             const params = {
337
               'stockOut': this.recordInfo.recordData
337
               'stockOut': this.recordInfo.recordData
338
             }
338
             }
339
-            editWarehouseoutInfo(params, this.warehouse_out_time, this.$route.query.id).then(response => {
339
+            editWarehouseoutInfo(params, this.warehouse_out_time, this.$route.query.id,this.$route.query.type).then(response => {
340
               if (response.data.state == 0) {
340
               if (response.data.state == 0) {
341
                 this.$message.error(response.data.msg)
341
                 this.$message.error(response.data.msg)
342
                 return false
342
                 return false

+ 7 - 12
src/xt_pages/user/components/EditGroupAdvice.vue View File

552
 
552
 
553
       openDeleteGroupAdvice() {
553
       openDeleteGroupAdvice() {
554
         if (this.groupSelectRow === null) {
554
         if (this.groupSelectRow === null) {
555
-          this.$notify.error({
556
-            title: "错误",
557
-            message: "未选择要删除的医嘱内容"
558
-          });
555
+          this.$message.error("未选择要删除的医嘱内容")
556
+
559
           return;
557
           return;
558
+
560
         }
559
         }
561
         console.log(this.groupSelectRow)
560
         console.log(this.groupSelectRow)
562
         var content = ""
561
         var content = ""
966
 
965
 
967
       openGroupChild() {
966
       openGroupChild() {
968
         if (this.groupSelectRow === null) {
967
         if (this.groupSelectRow === null) {
969
-          this.$notify.error({
970
-            title: "错误",
971
-            message: "未选择医嘱内容,无法添加子药"
972
-          });
968
+
969
+          this.$message.error("未选择医嘱内容,无法添加子药")
970
+
973
           return;
971
           return;
974
         } else if (this.groupSelectRow.parent_row > 0) {
972
         } else if (this.groupSelectRow.parent_row > 0) {
975
           this.$notify.error({
973
           this.$notify.error({
1003
         this.isChild = false;
1001
         this.isChild = false;
1004
         if (isEdit) {
1002
         if (isEdit) {
1005
           if (this.groupSelectRow === null) {
1003
           if (this.groupSelectRow === null) {
1006
-            this.$notify.error({
1007
-              title: "错误",
1008
-              message: "未选择要修改的医嘱内容"
1009
-            });
1004
+            this.$message.error("未选择要修改的医嘱内容")
1010
             return;
1005
             return;
1011
           }
1006
           }
1012
           if (this.groupSelectRow.parent_row) {
1007
           if (this.groupSelectRow.parent_row) {

+ 11 - 11
src/xt_pages/user/components/PatientDetail.vue View File

1
 <template>
1
 <template>
2
   <div class="app-container ">
2
   <div class="app-container ">
3
     <el-form ref="form" :rules="rules" :model="form" label-width="134px" class="clearfix" id="patient-info" >
3
     <el-form ref="form" :rules="rules" :model="form" label-width="134px" class="clearfix" id="patient-info" >
4
-    <div style="float:right;z-index:8;position: absolute;right: 30px;">
4
+    <div style="float:right;z-index:8;position: absolute;right: 16px;">
5
       <el-button size="small" type="primary" @click="printCard()" style="margin:0 6px 6px 0;z-index:1;">打印签到卡</el-button>
5
       <el-button size="small" type="primary" @click="printCard()" style="margin:0 6px 6px 0;z-index:1;">打印签到卡</el-button>
6
       <el-button size="small" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="$router.push('/patients/patient/'+patientID+'/edit')" style="margin:0 0 6px 0;z-index:1;">修改</el-button>
6
       <el-button size="small" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="$router.push('/patients/patient/'+patientID+'/edit')" style="margin:0 0 6px 0;z-index:1;">修改</el-button>
7
       <el-button size="small" type="primary" @click="printThisInfo()" style="margin:0 6px 6px 0;z-index:1;">打印</el-button>
7
       <el-button size="small" type="primary" @click="printThisInfo()" style="margin:0 6px 6px 0;z-index:1;">打印</el-button>
8
     </div>
8
     </div>
9
       <div class="dataTitle">一般资料</div>
9
       <div class="dataTitle">一般资料</div>
10
       <el-row >
10
       <el-row >
11
-        <el-col :span="4" align="center">
12
-          <img width="100%" height="100%" v-if="form.avatar" :src="form.avatar" class="avatar">
13
-          <el-form-item prop="avatar">
14
-            <el-input v-model="form.avatar"  type="hidden" placeholder=""></el-input>
15
-          </el-form-item>
16
-        </el-col>
17
         <el-col :span="20" >
11
         <el-col :span="20" >
18
           <el-row :gutter="10">
12
           <el-row :gutter="10">
19
             <el-col :span="8">
13
             <el-col :span="8">
168
             </el-col>
162
             </el-col>
169
           </el-row>
163
           </el-row>
170
         </el-col>
164
         </el-col>
165
+         <el-col :span="4" align="center">
166
+          <img width="146px" height="146px" v-if="form.avatar" :src="form.avatar" class="avatar">
167
+          <el-form-item prop="avatar">
168
+            <el-input v-model="form.avatar"  type="hidden" placeholder=""></el-input>
169
+          </el-form-item>
170
+        </el-col>
171
       </el-row>
171
       </el-row>
172
 
172
 
173
       <div class="dataTitle">治疗信息</div>
173
       <div class="dataTitle">治疗信息</div>
174
-      <el-row :gutter="10">
175
-        <el-col :span="24">
174
+      <el-row :gutter="24">
175
+        <el-col :span="12">
176
           <el-form-item label="主诉 : " prop="patient_complains">
176
           <el-form-item label="主诉 : " prop="patient_complains">
177
             <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder="" readonly></el-input>
177
             <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder="" readonly></el-input>
178
           </el-form-item>
178
           </el-form-item>
179
         </el-col>
179
         </el-col>
180
-        <el-col :span="24">
180
+        <el-col :span="12">
181
           <el-form-item label="现病史 : " prop="present_history">
181
           <el-form-item label="现病史 : " prop="present_history">
182
             <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder="" readonly></el-input>
182
             <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder="" readonly></el-input>
183
           </el-form-item>
183
           </el-form-item>
184
         </el-col>
184
         </el-col>
185
-        <el-col :span="24">
185
+        <el-col :span="12">
186
           <el-form-item label="既往史 : " prop="past_history">
186
           <el-form-item label="既往史 : " prop="past_history">
187
             <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder="" readonly></el-input>
187
             <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder="" readonly></el-input>
188
           </el-form-item>
188
           </el-form-item>

+ 23 - 28
src/xt_pages/user/components/PatientForm.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
-  <div class="position">
4
-    <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-
6
-    <div class="" style="float:right;">
7
-       <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
8
-       <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" v-if="this.isEdit==false" @click="resetForm('form')"  icon="el-icon-circle-plus-outline" size="small">新增</el-button>
9
-       <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" @click="onSubmit('form')"  size="small" type="success" icon="el-icon-setting" >保存</el-button>
10
-       <el-button v-if="this.isEdit==false" @click="onReSubmit('form')" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" icon="el-icon-document-add" size="small" type="warning" >保存并继续新增</el-button>
11
-    </div>
12
-  </div>
3
+    
13
   <div class="app-container " v-loading="pageLoad">
4
   <div class="app-container " v-loading="pageLoad">
14
     <el-form ref="form" :rules="rules" :model="form" label-width="124px" class="clearfix" >
5
     <el-form ref="form" :rules="rules" :model="form" label-width="124px" class="clearfix" >
6
+        <div class="" style="z-index: 9999;position: absolute;right: 20px;">
7
+        <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
8
+        <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" v-if="this.isEdit==false" @click="resetForm('form')"  icon="el-icon-circle-plus-outline" size="small">新增</el-button>
9
+        <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" @click="onSubmit('form')"  size="small" type="primary" icon="el-icon-setting" >保存</el-button>
10
+        <el-button v-if="this.isEdit==false" @click="onReSubmit('form')" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" icon="el-icon-document-add" size="small" type="warning" >保存并继续新增</el-button>
11
+      </div>
15
       <div class="dataTitle">一般资料</div>
12
       <div class="dataTitle">一般资料</div>
16
       <el-row >
13
       <el-row >
17
         <el-col :span="20" class="form-table" >
14
         <el-col :span="20" class="form-table" >
37
               </el-col> -->
34
               </el-col> -->
38
               <el-col :span="8" :style="isEdit?'width:360px':''">
35
               <el-col :span="8" :style="isEdit?'width:360px':''">
39
                 <el-form-item label="透析号 : " class="is-required">
36
                 <el-form-item label="透析号 : " class="is-required">
40
-                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
37
+                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
41
                     <el-button style="width:36%;padding:10px 0;" disabled type="primary">自动生成</el-button>
38
                     <el-button style="width:36%;padding:10px 0;" disabled type="primary">自动生成</el-button>
42
                 </el-form-item>
39
                 </el-form-item>
43
               </el-col>
40
               </el-col>
59
               </el-col>
56
               </el-col>
60
               <el-col :span="8" >
57
               <el-col :span="8" >
61
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
58
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
62
-                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
59
+                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
63
                     <el-button style="width:36%;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
60
                     <el-button style="width:36%;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
64
                 </el-form-item>
61
                 </el-form-item>
65
               </el-col>
62
               </el-col>
66
             </template>
63
             </template>
67
-            
64
+
68
             <el-col :span="8" :style="isEdit?'width:360px':''">
65
             <el-col :span="8" :style="isEdit?'width:360px':''">
69
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
66
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
70
                   <el-date-picker v-model="form.birth" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'" @change="hadSelectBirth" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
67
                   <el-date-picker v-model="form.birth" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'" @change="hadSelectBirth" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
107
               </el-form-item>
104
               </el-form-item>
108
             </el-col>
105
             </el-col>
109
 
106
 
110
-            <el-col :span="8" >
107
+            <el-col :span="8" :style="isEdit?'width:360px':''">
111
               <el-form-item label="家庭住址 : " prop="homeAddress">
108
               <el-form-item label="家庭住址 : " prop="homeAddress">
112
                 <el-input v-model="form.homeAddress"></el-input>
109
                 <el-input v-model="form.homeAddress"></el-input>
113
               </el-form-item>
110
               </el-form-item>
179
                 </el-select>
176
                 </el-select>
180
               </el-form-item>
177
               </el-form-item>
181
             </el-col>
178
             </el-col>
182
-            <el-col :span="8" >
179
+            <el-col :span="8" :style="isEdit?'width:360px':''">
183
               <el-form-item label="工作单位 : " prop="work">
180
               <el-form-item label="工作单位 : " prop="work">
184
                 <el-input v-model="form.work"></el-input>
181
                 <el-input v-model="form.work"></el-input>
185
               </el-form-item>
182
               </el-form-item>
186
             </el-col>
183
             </el-col>
187
-            <el-col :span="8" >
184
+            <el-col :span="8" :style="isEdit?'width:360px':''">
188
               <el-form-item label="单位地址 : " prop="unit_address">
185
               <el-form-item label="单位地址 : " prop="unit_address">
189
                 <el-input v-model="form.unit_address"></el-input>
186
                 <el-input v-model="form.unit_address"></el-input>
190
               </el-form-item>
187
               </el-form-item>
235
 
232
 
236
       <div class="dataTitle">治疗信息</div>
233
       <div class="dataTitle">治疗信息</div>
237
       <el-row :span="24">
234
       <el-row :span="24">
238
-        <el-col :span="8">
235
+        <el-col :span="12">
239
           <el-form-item label="主诉 : " prop="patient_complains">
236
           <el-form-item label="主诉 : " prop="patient_complains">
240
             <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder=""></el-input>
237
             <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder=""></el-input>
241
           </el-form-item>
238
           </el-form-item>
242
         </el-col>
239
         </el-col>
243
-        <el-col :span="8">
240
+        <el-col :span="12">
244
           <el-form-item label="现病史 : " prop="present_history">
241
           <el-form-item label="现病史 : " prop="present_history">
245
             <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder=""></el-input>
242
             <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder=""></el-input>
246
           </el-form-item>
243
           </el-form-item>
247
         </el-col>
244
         </el-col>
248
-        <el-col :span="8">
245
+        <el-col :span="12">
249
           <el-form-item label="既往史 : " prop="past_history">
246
           <el-form-item label="既往史 : " prop="past_history">
250
             <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder=""></el-input>
247
             <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder=""></el-input>
251
           </el-form-item>
248
           </el-form-item>
300
             </el-checkbox-group>
297
             </el-checkbox-group>
301
           </el-form-item>
298
           </el-form-item>
302
         </el-col>
299
         </el-col>
303
-        
300
+
304
         <el-col :span="24">
301
         <el-col :span="24">
305
           <el-form-item label="诊断 : " prop="diagnose">
302
           <el-form-item label="诊断 : " prop="diagnose">
306
             <el-input type="textarea" :rows="3" v-model="form.diagnose" resize="none" placeholder=""></el-input>
303
             <el-input type="textarea" :rows="3" v-model="form.diagnose" resize="none" placeholder=""></el-input>
489
     }
486
     }
490
 
487
 
491
     return {
488
     return {
492
-      crumbs: [
493
-        { path: false, name: '病人管理' },
494
-        { path: '/patients/create', name: '新增病人' },
495
-      ],
496
       generic_info_fold: true,
489
       generic_info_fold: true,
497
       treat_info_fold: true,
490
       treat_info_fold: true,
498
 
491
 
993
 </script>
986
 </script>
994
 
987
 
995
 <style rel="stylesheet/scss" lang="scss" scoped>
988
 <style rel="stylesheet/scss" lang="scss" scoped>
996
-
997
-.uploadHead {
998
-  // margin-top: 25%;
989
+.app-container{
990
+  margin: 0;
999
 }
991
 }
1000
 .uploadHeadBtn {
992
 .uploadHeadBtn {
1001
   width: 148px;
993
   width: 148px;
1006
     width: 430px;
998
     width: 430px;
1007
     }
999
     }
1008
   .el-form-item {
1000
   .el-form-item {
1009
-    // margin-bottom: 17px !important;
1010
     .el-select {
1001
     .el-select {
1011
       width: 100%;
1002
       width: 100%;
1012
     }
1003
     }
1021
     }
1012
     }
1022
   }
1013
   }
1023
 }
1014
 }
1015
+.el-select-dropdown,
1016
+.el-popper{
1017
+  z-index: 2000!important;
1018
+}
1024
 </style>
1019
 </style>
1025
 
1020
 

+ 1 - 2
src/xt_pages/user/components/PatientSidebar.1.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="patient-menu">
3
     <div class="patient-menu">
4
-
5
       <el-autocomplete
4
       <el-autocomplete
6
-        style="margin:13px 5px"
5
+        style="margin:16px 5px"
7
         popper-class="my-autocomplete"
6
         popper-class="my-autocomplete"
8
         v-model="value"
7
         v-model="value"
9
         :fetch-suggestions="querySearchAsync"
8
         :fetch-suggestions="querySearchAsync"

+ 1 - 2
src/xt_pages/user/components/PatientSidebar.vue View File

2
   <div>
2
   <div>
3
     <div class="patient-menu">
3
     <div class="patient-menu">
4
       <el-autocomplete
4
       <el-autocomplete
5
-        style="margin:13px 5px"
5
+        style="margin:16px 5px"
6
         popper-class="my-autocomplete"
6
         popper-class="my-autocomplete"
7
         v-model="value"
7
         v-model="value"
8
         :fetch-suggestions="querySearchAsync"
8
         :fetch-suggestions="querySearchAsync"
232
 }
232
 }
233
 .patient-menu .el-tree-node .el-tree-node.is-current > .el-tree-node__content {
233
 .patient-menu .el-tree-node .el-tree-node.is-current > .el-tree-node__content {
234
   color:#409eff;
234
   color:#409eff;
235
-  /* background-color: transparent; */
236
 }
235
 }
237
 .patient-menu .el-tree {
236
 .patient-menu .el-tree {
238
   background: #f6f8f9;
237
   background: #f6f8f9;

+ 67 - 21
src/xt_pages/user/courseOfDisease.vue View File

3
     <div class="position">
3
     <div class="position">
4
        <bread-crumb></bread-crumb>
4
        <bread-crumb></bread-crumb>
5
     </div> -->
5
     </div> -->
6
-    <div class="patient-container ">
6
+    <div class="patient-container">
7
         <patient-sidebar :id="patient_id" defaultActive="1-2"></patient-sidebar>
7
         <patient-sidebar :id="patient_id" defaultActive="1-2"></patient-sidebar>
8
         <!-- <div class="app-container"> -->
8
         <!-- <div class="app-container"> -->
9
-            <div class="container" v-loading="loading">
10
-                <div>
9
+            <div  v-loading="loading">
10
+              <div class="patient-app-container advice-container app-container">
11
+
12
+              <div>
11
                     <span style="margin-left: 10px;float:right;">
13
                     <span style="margin-left: 10px;float:right;">
12
                         <el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="show_dialog = true">新增</el-button>
14
                         <el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="show_dialog = true">新增</el-button>
13
                         <el-button  size="small" v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
15
                         <el-button  size="small" v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
14
                     </span>
16
                     </span>
15
-                    <span class="filter_title">日期查询</span>
16
-                    <el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestCourseRecords()"></el-date-picker>
17
-                    
17
+                    <!--<span class="filter_title">日期查询</span>-->
18
+                    <!--<el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestCourseRecords()"></el-date-picker>-->
18
                 </div>
19
                 </div>
20
+              <!--<div></div>-->
21
+              <div class="cell clearfix">
22
+                <label class="title"><span class="name">日期查询</span> : </label>
23
+                <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
24
+                                type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
25
+                                value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
26
+                <span class="">-</span>
27
+                <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
28
+                                type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
29
+                                value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
30
+              </div>
19
                 <div class="record">
31
                 <div class="record">
20
                     <el-row :gutter="15">
32
                     <el-row :gutter="15">
21
                         <el-col :span="10">
33
                         <el-col :span="10">
35
                         </el-col>
47
                         </el-col>
36
                         <el-col :span="14">
48
                         <el-col :span="14">
37
                             <div class="record_content_panel">
49
                             <div class="record_content_panel">
38
-                                <div class="title">病程内容</div>
50
+                                <div style="background-color:rgb(245, 247, 250)" class="title">病程内容</div>
39
                                 <div class="content">
51
                                 <div class="content">
40
                                     {{ current_select_record == null ? "" : current_select_record.content }}
52
                                     {{ current_select_record == null ? "" : current_select_record.content }}
41
                                 </div>
53
                                 </div>
45
                 </div>
57
                 </div>
46
             </div>
58
             </div>
47
         <!-- </div> -->
59
         <!-- </div> -->
48
-        <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog" :before-close="willCloseDialog">
60
+        <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog">
49
             <div>
61
             <div>
50
                 <div class="new_record_form">
62
                 <div class="new_record_form">
51
                     <diV>
63
                     <diV>
60
 
72
 
61
                     <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
73
                     <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
62
                         <el-button @click="show_dialog = false">取消</el-button>
74
                         <el-button @click="show_dialog = false">取消</el-button>
63
-                        <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction" :loading="uploading_new_record">确定</el-button>
75
+                        <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction" :loading="uploading_new_record">保存</el-button>
64
                     </div>
76
                     </div>
65
                 </div>
77
                 </div>
66
             </div>
78
             </div>
67
         </el-dialog>
79
         </el-dialog>
68
     </div>
80
     </div>
69
-<!-- </div> -->
81
+    </div>
82
+
83
+  <!-- </div> -->
70
 </template>
84
 </template>
71
 
85
 
72
 <script>
86
 <script>
77
 
91
 
78
 export default {
92
 export default {
79
     name: "CourseOfDisease",
93
     name: "CourseOfDisease",
80
-    components: { 
94
+    components: {
81
         PatientSidebar,
95
         PatientSidebar,
82
         BreadCrumb
96
         BreadCrumb
83
     },
97
     },
87
 
101
 
88
             patient_id: 0,
102
             patient_id: 0,
89
             date: [],
103
             date: [],
104
+            start_time: '',
105
+            end_time: '',
90
 
106
 
91
             records: [],
107
             records: [],
92
             doctors: [],
108
             doctors: [],
95
             show_dialog: false,
111
             show_dialog: false,
96
             uploading_new_record: false,
112
             uploading_new_record: false,
97
             templates: this.$store.getters.configlist.course_disease,
113
             templates: this.$store.getters.configlist.course_disease,
98
-            select_template: [],
114
+            select_template: '',
99
             new_content: "",
115
             new_content: "",
100
 
116
 
101
             selectingRows: [],
117
             selectingRows: [],
114
         var now = new Date()
130
         var now = new Date()
115
         this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
131
         this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
116
 
132
 
117
-        this.requestCourseRecords()
133
+
134
+
135
+
136
+      var year = new Date().getFullYear()
137
+      var month = new Date().getMonth() + 1
138
+      var day = new Date().getDate()
139
+      if (parseInt(month) < 10) {
140
+        month = '0' + month
141
+      }
142
+      if (parseInt(day) < 10) {
143
+        day = '0' + day
144
+      }
145
+      const endTime = year + '-' + month + '-' + day
146
+      this.end_time = endTime
147
+
148
+      var year = new Date().getFullYear()
149
+      var month = new Date().getMonth()
150
+      var day = new Date().getDate()
151
+      if (parseInt(month) < 10) {
152
+        month = '0' + month
153
+      }
154
+      if (parseInt(day) < 10) {
155
+        day = '0' + day
156
+      }
157
+      const startTime = year + '-' + month + '-' + day
158
+      this.start_time = startTime
159
+
160
+
161
+      this.requestCourseRecords()
162
+
163
+
164
+
118
     },
165
     },
119
     methods: {
166
     methods: {
120
         requestCourseRecords: function() {
167
         requestCourseRecords: function() {
121
-            var startTime = new Date(this.date[0])
122
-            var endTime = new Date(this.date[1])
123
             this.loading = true
168
             this.loading = true
124
-            getCourseOfDiseaseRecords(this.patient_id, parseTime(startTime, "{y}-{m}-{d}"), parseTime(endTime, "{y}-{m}-{d}")).then(rs => {
169
+            getCourseOfDiseaseRecords(this.patient_id, this.start_time,this.end_time).then(rs => {
125
                 this.loading = false
170
                 this.loading = false
126
                 var resp = rs.data
171
                 var resp = rs.data
127
                 if (resp.state == 1) {
172
                 if (resp.state == 1) {
128
                     this.current_select_record = null
173
                     this.current_select_record = null
129
                     this.records = resp.data.records
174
                     this.records = resp.data.records
130
                     this.doctors = resp.data.doctors
175
                     this.doctors = resp.data.doctors
131
-                    
176
+
132
                 } else {
177
                 } else {
133
                     this.$message.error(resp.msg)
178
                     this.$message.error(resp.msg)
134
                 }
179
                 }
155
             return ""
200
             return ""
156
         },
201
         },
157
 
202
 
158
-        willCloseDialog: function() {
159
 
203
 
160
-        },
161
         createAction: function() {
204
         createAction: function() {
162
             if (this.new_content.length == 0) {
205
             if (this.new_content.length == 0) {
163
                 this.$message.error("请填写病程内容")
206
                 this.$message.error("请填写病程内容")
187
         didSelectTemplate: function(templateContent) {
230
         didSelectTemplate: function(templateContent) {
188
             this.new_content = this.new_content.length > 0 ? (this.new_content + templateContent) : templateContent
231
             this.new_content = this.new_content.length > 0 ? (this.new_content + templateContent) : templateContent
189
 
232
 
190
-            this.select_template = ""
191
         },
233
         },
192
 
234
 
193
         didSelectionChange: function(selectRows) {
235
         didSelectionChange: function(selectRows) {
226
                 this.loading = false
268
                 this.loading = false
227
                 this.$message.error(err)
269
                 this.$message.error(err)
228
             })
270
             })
229
-        },
271
+        },startTimeChange(val) {
272
+        this.requestCourseRecords()
273
+      }, endTimeChange(val) {
274
+        this.requestCourseRecords()
275
+      }
230
     },
276
     },
231
 }
277
 }
232
 </script>
278
 </script>

+ 18 - 19
src/xt_pages/user/dialysisRecord.vue View File

16
                     <!-- <el-col :span="11"> -->
16
                     <!-- <el-col :span="11"> -->
17
                       <el-date-picker size="small" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间" style="width:150px" v-model="queryParams.start_time" @change="changeSearch" ></el-date-picker>
17
                       <el-date-picker size="small" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间" style="width:150px" v-model="queryParams.start_time" @change="changeSearch" ></el-date-picker>
18
                     <!-- </el-col> -->
18
                     <!-- </el-col> -->
19
-                    <span>-</span>
19
+                    <span class="cellLine">-</span>
20
                     <!-- <el-col :span="11"> -->
20
                     <!-- <el-col :span="11"> -->
21
                       <el-date-picker size="small"   type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择结束时间" style="width:150px" v-model="queryParams.end_time" @change="changeSearch" ></el-date-picker>
21
                       <el-date-picker size="small"   type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择结束时间" style="width:150px" v-model="queryParams.end_time" @change="changeSearch" ></el-date-picker>
22
                     <!-- </el-col> -->
22
                     <!-- </el-col> -->
33
         </div>
33
         </div>
34
         <div>
34
         <div>
35
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="recordData" border style="width: 100%" @current-change="clickCurrent">
35
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="recordData" border style="width: 100%" @current-change="clickCurrent">
36
-              <el-table-column prop="dialysis_date" label="透析日期" align="center" min-width="60">
36
+              <el-table-column prop="dialysis_date" label="透析日期" align="center" width="110" fixed>
37
                 <template slot-scope="scope"><span>{{scope.row.dialysis_date | parseTime('{y}-{m}-{d}')}}</span></template>
37
                 <template slot-scope="scope"><span>{{scope.row.dialysis_date | parseTime('{y}-{m}-{d}')}}</span></template>
38
               </el-table-column>
38
               </el-table-column>
39
-              <el-table-column prop="schedule_type" label="班次" align="center" min-width="40">
39
+              <el-table-column prop="schedule_type" label="班次" align="center" width="80">
40
                 <template slot-scope="scope"><span>{{scheduleType(scope.row.schedule_type)}}</span></template>
40
                 <template slot-scope="scope"><span>{{scheduleType(scope.row.schedule_type)}}</span></template>
41
               </el-table-column>
41
               </el-table-column>
42
-              <el-table-column prop="partition" min-width="60" align="center" label="分区 - 机号">
42
+              <el-table-column prop="partition" width="100" align="center" label="分区 - 机号">
43
                 <template slot-scope="scope"><span>{{scope.row.partition_name}}-{{scope.row.device_number}}</span></template>
43
                 <template slot-scope="scope"><span>{{scope.row.partition_name}}-{{scope.row.device_number}}</span></template>
44
               </el-table-column>
44
               </el-table-column>
45
-              <el-table-column prop="mode" min-width="60" align="center" label="透析模式">
45
+              <el-table-column prop="mode" width="90" align="center" label="透析模式">
46
                 <template slot-scope="scope">{{modeName(scope.row.prescription.mode_id)}}</template>
46
                 <template slot-scope="scope">{{modeName(scope.row.prescription.mode_id)}}</template>
47
               </el-table-column>
47
               </el-table-column>
48
-              <el-table-column prop="prescription.dialysis_duration" width="80" align="center" label="透析时长 h">
48
+              <el-table-column prop="prescription.dialysis_duration" width="100" align="center" label="透析时长(h)">
49
               </el-table-column>
49
               </el-table-column>
50
-              <el-table-column prop="prescription.dry_weight" width="70" align="center" label="干体重 kg">
50
+              <el-table-column prop="prescription.dry_weight" width="96" align="center" label="干体重(kg)">
51
               </el-table-column>
51
               </el-table-column>
52
-              <el-table-column prop="predialysis_evaluation.weight_before" width="80" align="center" label="透前体重 kg">
52
+              <el-table-column prop="predialysis_evaluation.weight_before" width="110" align="center" label="透前体重(kg)">
53
               </el-table-column>
53
               </el-table-column>
54
-              <el-table-column prop="assessment_after_dislysis.weight_after" width="80" align="center" label="透后体重 kg">
54
+              <el-table-column prop="assessment_after_dislysis.weight_after" width="110" align="center" label="透后体重(kg)">
55
               </el-table-column>
55
               </el-table-column>
56
-              <el-table-column prop="predialysis_evaluation" width="80" align="center" label="透前血压 mmhg">
56
+              <el-table-column prop="predialysis_evaluation" width="140" align="center" label="透前血压(mmhg)">
57
                 <template slot-scope="scope"><span>{{scope.row.predialysis_evaluation.systolic_blood_pressure}}/{{scope.row.predialysis_evaluation.diastolic_blood_pressure}}</span></template>
57
                 <template slot-scope="scope"><span>{{scope.row.predialysis_evaluation.systolic_blood_pressure}}/{{scope.row.predialysis_evaluation.diastolic_blood_pressure}}</span></template>
58
               </el-table-column>
58
               </el-table-column>
59
-              <el-table-column prop="assessment_after_dislysis" width="80" align="center" label="透后血压 mmhg">
59
+              <el-table-column prop="assessment_after_dislysis" width="140" align="center" label="透后血压(mmhg)">
60
                 <template slot-scope="scope"><span>{{scope.row.assessment_after_dislysis.systolic_blood_pressure}}/{{scope.row.assessment_after_dislysis.diastolic_blood_pressure}}</span></template>
60
                 <template slot-scope="scope"><span>{{scope.row.assessment_after_dislysis.systolic_blood_pressure}}/{{scope.row.assessment_after_dislysis.diastolic_blood_pressure}}</span></template>
61
               </el-table-column>
61
               </el-table-column>
62
-              <el-table-column prop="predialysis_evaluation.ultrafiltration_amount" width="80" align="center" label="超滤总量 L">
62
+              <el-table-column prop="predialysis_evaluation.ultrafiltration_amount" width="110" align="center" label="超滤总量(L)">
63
               </el-table-column>
63
               </el-table-column>
64
-              <el-table-column  prop="access" min-width="60" align="center" label="血管通路">
64
+              <el-table-column  prop="access" width="100" align="center" label="血管通路">
65
                 <template slot-scope="scope"><span>{{setVascularAccess(scope.row.prescription)}}</span></template>
65
                 <template slot-scope="scope"><span>{{setVascularAccess(scope.row.prescription)}}</span></template>
66
               </el-table-column>
66
               </el-table-column>
67
-              <el-table-column prop="type" width="145" align="center" label="抗凝剂种类 首剂/维持/总量">
67
+              <el-table-column prop="type" width="200" align="center" label="抗凝剂种类 首剂/维持/总量">
68
               <template slot-scope="scope">
68
               <template slot-scope="scope">
69
                 <span>{{setAnticoagulantsConfit(scope.row.prescription)}}</span>
69
                 <span>{{setAnticoagulantsConfit(scope.row.prescription)}}</span>
70
               </template>
70
               </template>
71
               </el-table-column>
71
               </el-table-column>
72
-              <el-table-column prop="model" min-width="60" align="center" label="透析器型号">
72
+              <el-table-column prop="model" width="100" align="center" label="透析器型号">
73
                 <template slot-scope="scope"><span>{{setDialyzerModel(scope.row.prescription)}}</span></template>
73
                 <template slot-scope="scope"><span>{{setDialyzerModel(scope.row.prescription)}}</span></template>
74
               </el-table-column>
74
               </el-table-column>
75
-              <el-table-column  prop="nurse" min-width="60" align="center" label="治疗护士">
75
+              <el-table-column  prop="nurse" width="90" align="center" label="治疗护士">
76
                 <template slot-scope="scope"><span>{{getNurseName(scope.row.treatment_summary)}}</span></template>
76
                 <template slot-scope="scope"><span>{{getNurseName(scope.row.treatment_summary)}}</span></template>
77
               </el-table-column>
77
               </el-table-column>
78
-              <el-table-column prop="doctor" min-width="60" align="center" label="治疗医生">
78
+              <el-table-column prop="doctor" width="90" align="center" label="治疗医生">
79
                 <template slot-scope="scope"><span>{{getDoctorName(scope.row.treatment_summary)}}</span></template>
79
                 <template slot-scope="scope"><span>{{getDoctorName(scope.row.treatment_summary)}}</span></template>
80
               </el-table-column>
80
               </el-table-column>
81
           </el-table>
81
           </el-table>
384
     justify-content: space-between;
384
     justify-content: space-between;
385
     padding: 30px 2em;
385
     padding: 30px 2em;
386
 }
386
 }
387
-</style>
388
-<style>
389
 .record-order .el-table__body{
387
 .record-order .el-table__body{
390
     border: 1px solid #333;
388
     border: 1px solid #333;
391
 }
389
 }
396
 .record-order th, .record-order td {
394
 .record-order th, .record-order td {
397
     padding: 5px 10px;
395
     padding: 5px 10px;
398
 }
396
 }
397
+
399
 </style>
398
 </style>

+ 12 - 17
src/xt_pages/user/doctorAdvice.vue View File

27
             <div class="cell clearfix">
27
             <div class="cell clearfix">
28
                 <label class="title"><span class="name">日期查询</span> : </label>
28
                 <label class="title"><span class="name">日期查询</span> : </label>
29
                 <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
29
                 <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
30
-                <span class="">-</span>
30
+                <span class="cellLine"> - </span>
31
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
31
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
32
             </div>
32
             </div>
33
             <el-table @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" >
33
             <el-table @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" >
1459
     },
1459
     },
1460
     openGroupChild() {
1460
     openGroupChild() {
1461
       if (this.groupSelectRow === null) {
1461
       if (this.groupSelectRow === null) {
1462
-        this.$notify.error({
1463
-          title: "错误",
1464
-          message: "未选择医嘱内容,无法添加子药"
1465
-        });
1462
+
1463
+        this.$message.error("未选择医嘱内容,无法添加子药")
1464
+
1466
         return;
1465
         return;
1467
       } else if (this.groupSelectRow.parent_row > 0) {
1466
       } else if (this.groupSelectRow.parent_row > 0) {
1468
-        this.$notify.error({
1469
-          title: "错误",
1470
-          message: "子药不能添加子药"
1471
-        });
1467
+
1468
+        this.$message.error("子药不能添加子药")
1469
+
1472
         return;
1470
         return;
1473
       }
1471
       }
1474
       this.nameForm = {
1472
       this.nameForm = {
1495
       this.isChild = false;
1493
       this.isChild = false;
1496
       if (isEdit) {
1494
       if (isEdit) {
1497
         if (this.groupSelectRow === null) {
1495
         if (this.groupSelectRow === null) {
1498
-          this.$notify.error({
1499
-            title: "错误",
1500
-            message: "未选择要修改的医嘱内容"
1501
-          });
1496
+
1497
+          this.$message.error("未选择要修改的医嘱内容")
1498
+
1502
           return;
1499
           return;
1500
+
1503
         }
1501
         }
1504
         if (this.groupSelectRow.parent_row) {
1502
         if (this.groupSelectRow.parent_row) {
1505
           this.isChild = true;
1503
           this.isChild = true;
1550
     },
1548
     },
1551
     openDeleteGroupAdvice() {
1549
     openDeleteGroupAdvice() {
1552
       if (this.groupSelectRow === null) {
1550
       if (this.groupSelectRow === null) {
1553
-        this.$notify.error({
1554
-          title: "错误",
1555
-          message: "未选择要删除的医嘱内容"
1556
-        });
1551
+        this.$message.error("未选择要删除的医嘱内容")
1557
         return;
1552
         return;
1558
       }
1553
       }
1559
       var content = "";
1554
       var content = "";

+ 6 - 0
src/xt_pages/user/editPatient.vue View File

37
 
37
 
38
 }
38
 }
39
 </script>
39
 </script>
40
+
41
+<style rel="stylesheet/scss" lang="scss" scoped>
42
+.app-container{
43
+  margin: 0;
44
+}
45
+</style>

+ 1 - 1
src/xt_pages/user/patient.vue View File

14
     <div class="cell clearfix">
14
     <div class="cell clearfix">
15
 	    <label class="title"><span class="name">日期查询</span> : </label>
15
 	    <label class="title"><span class="name">日期查询</span> : </label>
16
        <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
16
        <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
17
-       <span class="">-</span>
17
+       <span class="cellLine"> - </span>
18
        <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
18
        <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
19
     </div>
19
     </div>
20
     <div class="cell clearfix">
20
     <div class="cell clearfix">

+ 1 - 1
src/xt_pages/user/patients.vue View File

14
     <div class="cell clearfix">
14
     <div class="cell clearfix">
15
       <label class="title"><span class="name">日期查询</span> : </label>
15
       <label class="title"><span class="name">日期查询</span> : </label>
16
       <el-date-picker size="small" clearable v-model="listQuery.start_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
16
       <el-date-picker size="small" clearable v-model="listQuery.start_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
17
-      <span class="">-</span>
17
+      <span class="cellLine"> - </span>
18
       <el-date-picker size="small" clearable v-model="listQuery.end_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
18
       <el-date-picker size="small" clearable v-model="listQuery.end_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
19
     </div>
19
     </div>
20
     <div class="cell clearfix">
20
     <div class="cell clearfix">

+ 1 - 1
src/xt_pages/user/proeducation.vue View File

5
             <div class="cell clearfix">
5
             <div class="cell clearfix">
6
                 <label class="title"><span class="name">日期查询</span> : </label>
6
                 <label class="title"><span class="name">日期查询</span> : </label>
7
                 <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
7
                 <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
8
-                <span class="">-</span>
8
+                <span class="cellLine"> - </span> 
9
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
9
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
10
             </div>  
10
             </div>  
11
             <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="multipleTable" :data="edusTableData" border fit highlight-current-row  style="width: 100%;margin-top: 10px;" >
11
             <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="multipleTable" :data="edusTableData" border fit highlight-current-row  style="width: 100%;margin-top: 10px;" >

+ 1 - 0
src/xt_pages/user/rescueRecord.vue View File

248
         border-bottom-width: 1px;
248
         border-bottom-width: 1px;
249
         border-bottom-style: solid;
249
         border-bottom-style: solid;
250
         border-bottom-color: #ebeef5;
250
         border-bottom-color: #ebeef5;
251
+        background-color: rgb(245, 247, 250);
251
     }
252
     }
252
     .content {
253
     .content {
253
         padding: 12px 15px;
254
         padding: 12px 15px;

+ 3 - 3
src/xt_pages/workforce/components/setup_template_dialog.vue View File

11
             </el-form-item>
11
             </el-form-item>
12
         </el-form>
12
         </el-form>
13
         <div style="text-align: right; padding-right: 25px; padding-top: 10px; padding-bottom: 10px;">
13
         <div style="text-align: right; padding-right: 25px; padding-top: 10px; padding-bottom: 10px;">
14
-            <el-button @click="hide">取消</el-button>
15
-            <el-button :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false" type="primary" @click="saveAction">确定</el-button>
14
+            <el-button @click="hide">取 消</el-button>
15
+            <el-button :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false" type="primary" @click="saveAction">保 存</el-button>
16
         </div>
16
         </div>
17
     </el-dialog>
17
     </el-dialog>
18
 </template>
18
 </template>
73
             if (msg.length == 0) {
73
             if (msg.length == 0) {
74
                 this.submit()
74
                 this.submit()
75
             } else {
75
             } else {
76
-                this.$confirm(msg, '提示', {confirmButtonText: '是', cancelButtonText: '否', type: 'warning'})
76
+                this.$confirm(msg, '提示', {confirmButtonText: '确 定', cancelButtonText: '取 消', type: 'warning'})
77
                 .then(() => {
77
                 .then(() => {
78
                     this.submit()
78
                     this.submit()
79
                 })
79
                 })

+ 18 - 28
src/xt_pages/workforce/components/tableData.vue View File

96
         <el-table-column prop="total" label="总数" width="60" align="center" fixed="right"></el-table-column>
96
         <el-table-column prop="total" label="总数" width="60" align="center" fixed="right"></el-table-column>
97
       </el-table>
97
       </el-table>
98
 
98
 
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
       <el-dialog title="排班" :visible.sync="dialogTableVisible" width="1000px;" :v-model="dialog" >
99
       <el-dialog title="排班" :visible.sync="dialogTableVisible" width="1000px;" :v-model="dialog" >
109
         <div>
100
         <div>
110
            <div class="cell clearfix">
101
            <div class="cell clearfix">
174
       <el-dialog
165
       <el-dialog
175
         title="调整排班"
166
         title="调整排班"
176
         :visible.sync="tzDialogVisible"
167
         :visible.sync="tzDialogVisible"
177
-        width="365px"
178
-        center>
168
+        width="500px"
169
+        >
179
         <div style="width:100%;margin:0 auto">
170
         <div style="width:100%;margin:0 auto">
180
           <el-radio-group v-model="tiaoZhengType" :class="tiaozhengclass" >
171
           <el-radio-group v-model="tiaoZhengType" :class="tiaozhengclass" >
181
             <el-radio :label="1">取消排班</el-radio>
172
             <el-radio :label="1">取消排班</el-radio>
191
       <el-dialog
182
       <el-dialog
192
         title="调整模式"
183
         title="调整模式"
193
         :visible.sync="msDialogVisible"
184
         :visible.sync="msDialogVisible"
194
-        width="350px"
195
-        center>
196
-        <div style="width:100%;margin:0 auto">
185
+        width="500px"
186
+        >
187
+        <div>
197
           <el-form :model="changeSchedule" ref="changeSchedule" :rules="changeRules" >
188
           <el-form :model="changeSchedule" ref="changeSchedule" :rules="changeRules" >
198
             <el-form-item label="" prop="mode_id">
189
             <el-form-item label="" prop="mode_id">
199
               <el-select v-model="changeSchedule.mode_id" placeholder="请选择" style="width:100%">
190
               <el-select v-model="changeSchedule.mode_id" placeholder="请选择" style="width:100%">
216
       <el-dialog
207
       <el-dialog
217
         title="调整机号"
208
         title="调整机号"
218
         :visible.sync="jhDialogVisible"
209
         :visible.sync="jhDialogVisible"
219
-        width="400px"
220
-        center>
221
-        <div style="width:100%;margin:0 auto">
222
-          <el-form :model="changeSchedule" ref="changeSchedule" :rules="changeRules" label-width="90px" label-position="left">
223
-            <el-form-item label="排班日期">
210
+        width="500px"
211
+        >
212
+        <div >
213
+          <el-form :model="changeSchedule" ref="changeSchedule" :rules="changeRules" label-width="90px" >
214
+            <el-form-item label="排班日期: ">
224
               <el-input v-model="currentData.schedule_date" disabled></el-input>
215
               <el-input v-model="currentData.schedule_date" disabled></el-input>
225
             </el-form-item>
216
             </el-form-item>
226
-            <el-form-item label="班次" prop="schedule_type">
217
+            <el-form-item label="班次: " prop="schedule_type">
227
               <el-select v-model="changeSchedule.schedule_type" placeholder="请选择" style="width:100%">
218
               <el-select v-model="changeSchedule.schedule_type" placeholder="请选择" style="width:100%">
228
                 <el-option
219
                 <el-option
229
                   v-for="item in scheduleType"
220
                   v-for="item in scheduleType"
233
                 </el-option>
224
                 </el-option>
234
               </el-select>
225
               </el-select>
235
             </el-form-item>
226
             </el-form-item>
236
-            <el-form-item label="病房" prop="partition_id">
227
+            <el-form-item label="病房: " prop="partition_id">
237
               <el-select v-model="changeSchedule.partition_id" placeholder="请选择" style="width:100%" @change="changePartition">
228
               <el-select v-model="changeSchedule.partition_id" placeholder="请选择" style="width:100%" @change="changePartition">
238
                 <el-option
229
                 <el-option
239
                   v-for="item in partitions"
230
                   v-for="item in partitions"
243
                 </el-option>
234
                 </el-option>
244
               </el-select>
235
               </el-select>
245
             </el-form-item>
236
             </el-form-item>
246
-
247
-            <el-form-item label="透析机" prop="bed_id">
237
+            <el-form-item label="透析机: " prop="bed_id">
248
               <el-select v-model="changeSchedule.bed_id" placeholder="请选择" style="width:100%">
238
               <el-select v-model="changeSchedule.bed_id" placeholder="请选择" style="width:100%">
249
                 <el-option
239
                 <el-option
250
                   v-for="item in jihaos"
240
                   v-for="item in jihaos"
784
                 }
774
                 }
785
               }
775
               }
786
               if (!cflag) {
776
               if (!cflag) {
787
-                this.$confirm('此患者有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '是',cancelButtonText: '否',type: 'warning'})
777
+                this.$confirm('此患者有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '确 定',cancelButtonText: '取 消',type: 'warning'})
788
                 .then(() => {
778
                 .then(() => {
789
                   this.changeSchedule.change_action = "change_device";
779
                   this.changeSchedule.change_action = "change_device";
790
                   this.changeScheduleActon(formName);
780
                   this.changeScheduleActon(formName);
795
                 this.changeScheduleActon(formName);
785
                 this.changeScheduleActon(formName);
796
               }
786
               }
797
             }else if (this.changeSchedule.partition_type > 1) {
787
             }else if (this.changeSchedule.partition_type > 1) {
798
-              this.$confirm('此患者没有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '是',cancelButtonText: '否',type: 'warning'})
788
+              this.$confirm('此患者没有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '确 定',cancelButtonText: '取 消',type: 'warning'})
799
                 .then(() => {
789
                 .then(() => {
800
                   this.changeSchedule.change_action = "change_device";
790
                   this.changeSchedule.change_action = "change_device";
801
                   this.changeScheduleActon(formName);
791
                   this.changeScheduleActon(formName);
929
             }
919
             }
930
           });
920
           });
931
           if (!cflag) {
921
           if (!cflag) {
932
-            this.$confirm('此患者有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '是',cancelButtonText: '否',type: 'warning'})
922
+            this.$confirm('此患者有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '确 定',cancelButtonText: '取 消',type: 'warning'})
933
             .then(() => {
923
             .then(() => {
934
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
924
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
935
             }).catch(() => {
925
             }).catch(() => {
938
             this.CreateSchedule(this.currentData.patient_id, this.currentData);
928
             this.CreateSchedule(this.currentData.patient_id, this.currentData);
939
           }
929
           }
940
         }else if (that.currentData.partition_type > 1) {
930
         }else if (that.currentData.partition_type > 1) {
941
-          this.$confirm('此患者没有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '是',cancelButtonText: '否',type: 'warning'})
931
+          this.$confirm('此患者没有传染病,与此透析机不匹配,确定在此排班吗?', '提示', {confirmButtonText: '确 定',cancelButtonText: '取 消',type: 'warning'})
942
             .then(() => {
932
             .then(() => {
943
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
933
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
944
             }).catch(() => {
934
             }).catch(() => {
1124
   white-space:nowrap !important;
1114
   white-space:nowrap !important;
1125
 }
1115
 }
1126
 .schedule-table-cell-disable {
1116
 .schedule-table-cell-disable {
1127
-    background-color: rgb(245, 245, 245);
1117
+    background-color: rgb(245, 245, 245)!important;
1128
 }
1118
 }
1129
 #table_data{
1119
 #table_data{
1130
    min-height:calc(100vh - 350px);
1120
    min-height:calc(100vh - 350px);

+ 1 - 1
src/xt_pages/workforce/components/template_table.vue View File

466
             // 此患者没有传染病,与此透析机不匹配,确定在此排班吗?
466
             // 此患者没有传染病,与此透析机不匹配,确定在此排班吗?
467
             // 此患者有传染病,与此透析机不匹配,确定在此排班吗?
467
             // 此患者有传染病,与此透析机不匹配,确定在此排班吗?
468
             var msg = havePatientDisease ? '此患者有传染病,与此透析机不匹配,确定在此排班吗?' : '此患者没有传染病,与此透析机不匹配,确定在此排班吗?'
468
             var msg = havePatientDisease ? '此患者有传染病,与此透析机不匹配,确定在此排班吗?' : '此患者没有传染病,与此透析机不匹配,确定在此排班吗?'
469
-            this.$confirm(msg, '提示', { confirmButtonText: '是', cancelButtonText: '否', type: 'warning' })
469
+            this.$confirm(msg, '提示', { confirmButtonText: '确 定', cancelButtonText: '取 消', type: 'warning' })
470
               .then(() => {
470
               .then(() => {
471
                 this.add_schedule(patient, device_number, treat_mode, weekday, time_type)
471
                 this.add_schedule(patient, device_number, treat_mode, weekday, time_type)
472
               })
472
               })