xiaoming_global 5 年 前
コミット
e3f1f1a303

+ 12 - 11
src/api/doctor.js ファイルの表示

@@ -1,14 +1,15 @@
1 1
 import request from '@/utils/request'
2 2
 
3
-export function fetchAllDoctorAndNurse(){
4
-    return request({
5
-        url:'/api/alldoctors',
6
-        method:'get',
7
-    })
3
+export function fetchAllDoctorAndNurse() {
4
+  return request({
5
+    url: '/api/alldoctors',
6
+    method: 'get'
7
+  })
8 8
 }
9
-export function fetchAllAdminUsers(){
10
-    return request({
11
-        url:'/api/admin/users',
12
-        method:'get',
13
-    })
14
-}
9
+export function fetchAllAdminUsers() {
10
+  return request({
11
+    url: '/api/admin/users',
12
+    method: 'get'
13
+  })
14
+}
15
+

+ 38 - 14
src/api/patient.js ファイルの表示

@@ -30,14 +30,14 @@ export function generateDialysisNo() {
30 30
 
31 31
 export function createPatient(patient) {
32 32
   return request({
33
-    url: '/api/patients/create?record_date='+patient.record_date+"&is_infectious="+patient.is_infectious+"&remind_cycle="+patient.remind_cycle,
33
+    url: '/api/patients/create?record_date=' + patient.record_date + '&is_infectious=' + patient.is_infectious + '&remind_cycle=' + patient.remind_cycle,
34 34
     method: 'post',
35 35
     data: patient
36 36
   })
37 37
 }
38 38
 export function editPatient(id, patient) {
39 39
   return request({
40
-    url: '/api/patients/edit?id=' + id+"&record_date="+patient.record_date+"&is_infectious="+patient.is_infectious+"&remind_cycle="+patient.remind_cycle,
40
+    url: '/api/patients/edit?id=' + id + '&record_date=' + patient.record_date + '&is_infectious=' + patient.is_infectious + '&remind_cycle=' + patient.remind_cycle,
41 41
     method: 'put',
42 42
     data: patient
43 43
   })
@@ -148,12 +148,12 @@ export function getCourseOfDiseaseRecords(patient_id, start_time_ymd, end_time_y
148 148
   })
149 149
 }
150 150
 
151
-export function createCourseOfDiseaseRecord(patient_id, content, record_time,title) {
151
+export function createCourseOfDiseaseRecord(patient_id, content, record_time, title) {
152 152
   var params = {
153 153
     patient_id: patient_id,
154 154
     content: content,
155 155
     record_time: record_time,
156
-    title:title,
156
+    title: title
157 157
   }
158 158
   return request({
159 159
     url: '/api/patient/course/create',
@@ -162,14 +162,14 @@ export function createCourseOfDiseaseRecord(patient_id, content, record_time,tit
162 162
   })
163 163
 }
164 164
 
165
-export function modifyCourseOfDiseaseRecord(patient_id, content, record_time,id,title) {
165
+export function modifyCourseOfDiseaseRecord(patient_id, content, record_time, id, title) {
166 166
   console.log(title)
167 167
   var params = {
168 168
     patient_id: patient_id,
169 169
     content: content,
170 170
     record_time: record_time,
171 171
     id: id,
172
-    title:title,
172
+    title: title
173 173
 
174 174
   }
175 175
   return request({
@@ -179,7 +179,6 @@ export function modifyCourseOfDiseaseRecord(patient_id, content, record_time,id,
179 179
   })
180 180
 }
181 181
 
182
-
183 182
 export function getRescueRecords(patient_id, start_time_ymd, end_time_ymd) {
184 183
   var params = {
185 184
     patient_id: patient_id,
@@ -265,7 +264,6 @@ export function code(id) {
265 264
   })
266 265
 }
267 266
 
268
-
269 267
 export function GetCoursePrintData(id) {
270 268
   return request({
271 269
     url: '/api/print/course',
@@ -276,27 +274,53 @@ export function GetCoursePrintData(id) {
276 274
   })
277 275
 }
278 276
 
279
-
280 277
 export function GetRemind(params) {
281 278
   return request({
282 279
     url: '/api/infectious/remind',
283 280
     method: 'Get',
284
-    params:params,
281
+    params: params
285 282
   })
286 283
 }
287 284
 
288
-
289 285
 export function PostRemind(params) {
290 286
   return request({
291 287
     url: '/api/remind/is_open',
292 288
     method: 'Post',
293
-    params:params,
289
+    params: params
294 290
   })
295 291
 }
296 292
 
293
+export function getDryWeightData(patientid, params) {
294
+  console.log('patientid', patientid)
295
+  return request({
296
+    url: '/api/patient/getdryweightdata?patientid=' + patientid,
297
+    method: 'Get',
298
+    params: params
299
+  })
300
+}
297 301
 
302
+export function getAllDoctor(params) {
303
+  return request({
304
+    url: '/api/patient/getAllDoctor',
305
+    method: 'Get',
306
+    params: params
307
+  })
308
+}
298 309
 
310
+export function UpdateDryWeightData(params) {
311
+  console.log('我是傻子', params)
312
+  return request({
313
+    url: '/api/patient/updatedryweightdata',
314
+    method: 'Post',
315
+    params: params
316
+  })
317
+}
299 318
 
300
-
301
-
319
+export function getAllData(params) {
320
+  return request({
321
+    url: '/api/patient/getalldata',
322
+    method: 'Get',
323
+    params: params
324
+  })
325
+}
302 326
 

+ 0 - 8
src/api/signandweigh.js ファイルの表示

@@ -82,11 +82,3 @@ export function updateSignweight(params) {
82 82
   })
83 83
 }
84 84
 
85
-export function getForenoonData(params) {
86
-  console.log('呵呵呵呵呵')
87
-  return request({
88
-    url: '/api/sign/getforenoondata',
89
-    params: params,
90
-    method: 'Get'
91
-  })
92
-}

+ 12 - 11
src/lang/zh.js ファイルの表示

@@ -91,6 +91,7 @@ export default {
91 91
     scheduling: '排班信息',
92 92
     proeducation: '宣教信息',
93 93
     doctorAdvice: '医嘱信息',
94
+    dryWeight: '干体重',
94 95
     device: '设备',
95 96
     deviceManage: '设备管理',
96 97
     dialysisMachineManage: '透析机管理',
@@ -152,18 +153,18 @@ export default {
152 153
     salesReturnDetail: '退货单详情',
153 154
     stockOutDetail: '出库单详情',
154 155
     cancelStockDetail: '退库单详情',
155
-    stockDetail:'出入库明细查询',
156
+    stockDetail: '出入库明细查询',
156 157
 
157
-    showconfig:'显示配置',
158
-    user_detail:'使用明细',
159
-    systemManage:'系统管理',
160
-    printTemplate:'打印模版',
161
-    data_upload:'一键上报',
162
-    fast_upload:'快捷上报',
163
-    export:"一键导出",
164
-    upload_config:"质控上报配置",
165
-    quality_control:"质控上报",
166
-    remind_print:"排版提醒打印",
158
+    showconfig: '显示配置',
159
+    user_detail: '使用明细',
160
+    systemManage: '系统管理',
161
+    printTemplate: '打印模版',
162
+    data_upload: '一键上报',
163
+    fast_upload: '快捷上报',
164
+    export: '一键导出',
165
+    upload_config: '质控上报配置',
166
+    quality_control: '质控上报',
167
+    remind_print: '排版提醒打印'
167 168
 
168 169
   },
169 170
   navbar: {

+ 40 - 40
src/router/index_路由未分离前.js ファイルの表示

@@ -120,7 +120,7 @@ export const xt_constantRouterMap = [
120 120
       meta: { title: 'recordList', icon: 'shebei', noCache: true }
121 121
     }
122 122
     ]
123
-  },
123
+  }
124 124
 
125 125
   // ////////////////////////////
126 126
   // 本地开始
@@ -694,21 +694,21 @@ export const xt_asyncRouterMap = [
694 694
         meta: { title: 'remind', noCache: true }
695 695
       },
696 696
       {
697
-        path: "/workforce/template",
698
-        component: () => import("@/xt_pages/workforce/template"),
699
-        name: "workforce_template",
697
+        path: '/workforce/template',
698
+        component: () => import('@/xt_pages/workforce/template'),
699
+        name: 'workforce_template',
700 700
         hidden: true,
701 701
         is_menu: false,
702 702
         meta: { title: 'workforce_template', noCache: true }
703 703
       },
704 704
       {
705
-        path: "/workforce/schedule/print",
706
-        component: () => import("@/xt_pages/workforce/schedule_print"),
707
-        name: "schedule_print",
705
+        path: '/workforce/schedule/print',
706
+        component: () => import('@/xt_pages/workforce/schedule_print'),
707
+        name: 'schedule_print',
708 708
         hidden: true,
709 709
         is_menu: false,
710 710
         meta: { title: 'schedule_print', noCache: true }
711
-      },
711
+      }
712 712
     ]
713 713
   },
714 714
   {
@@ -754,7 +754,7 @@ export const xt_asyncRouterMap = [
754 754
       // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
755 755
       // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
756 756
       { path: '/dialysis/watch', component: () => import('@/xt_pages/dialysis/bloodPresssWatch'), name: 'watch', meta: { title: 'watch' }},
757
-      { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, is_menu: false,},
757
+      { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, is_menu: false },
758 758
       {
759 759
         path: '/dialysis/print/batch',
760 760
         component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
@@ -763,7 +763,7 @@ export const xt_asyncRouterMap = [
763 763
         name: 'dialysis_batch_print',
764 764
         meta: { title: '批量打印', noCache: true }
765 765
       },
766
-      { path: '/dialysis/board', component: () => import('@/xt_pages/dialysis/bulletinBoard'), name: '数据看板', meta: { title: '数据看板' }},
766
+      { path: '/dialysis/board', component: () => import('@/xt_pages/dialysis/bulletinBoard'), name: '数据看板', meta: { title: '数据看板' }}
767 767
     ]
768 768
   },
769 769
   {
@@ -824,7 +824,7 @@ export const xt_asyncRouterMap = [
824 824
         component: () => import('@/xt_pages/stock/stockDetailIndex'),
825 825
         name: 'stockDetail',
826 826
         meta: { title: 'stockDetail' }
827
-      },{
827
+      }, {
828 828
         path: '/stock/in/add',
829 829
         component: () => import('@/xt_pages/stock/stockInOrderAdd'),
830 830
         name: 'stockInOrderAdd',
@@ -888,35 +888,35 @@ export const xt_asyncRouterMap = [
888 888
         meta: { title: 'config' }
889 889
       }
890 890
     ]
891
-   },
892
-   {
893
-     path: '/qcd',
894
-     component: Layout,
895
-     redirect: '/qcd/dialysistotal',
896
-     name: 'qcd',
897
-     alwaysShow: true,
898
-     meta: { title: '科室质控', icon: 'table' },
899
-     children: [
900
-       { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
901
-       { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
902
-       { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
903
-       { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
904
-       { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
905
-       { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
906
-       { path: '/qcd/patientanalysis/weight',hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
907
-       { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
908
-       { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
909
-       { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
910
-       { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
911
-       { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
912
-       { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
913
-       { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
914
-       { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
915
-       { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
916
-       { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }},
917
-     ]
918
-   },
919
-   {
891
+  },
892
+  {
893
+    path: '/qcd',
894
+    component: Layout,
895
+    redirect: '/qcd/dialysistotal',
896
+    name: 'qcd',
897
+    alwaysShow: true,
898
+    meta: { title: '科室质控', icon: 'table' },
899
+    children: [
900
+      { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
901
+      { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
902
+      { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
903
+      { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
904
+      { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
905
+      { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
906
+      { path: '/qcd/patientanalysis/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
907
+      { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
908
+      { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
909
+      { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
910
+      { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
911
+      { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
912
+      { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
913
+      { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
914
+      { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
915
+      { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
916
+      { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }}
917
+    ]
918
+  },
919
+  {
920 920
     path: '/data/',
921 921
     component: Layout,
922 922
     redirect: 'noredirect',

+ 8 - 0
src/router/modules/patient.js ファイルの表示

@@ -105,6 +105,14 @@ export default {
105 105
       noCache: true
106 106
     }
107 107
   },
108
+  {
109
+    path: '/patients/patient/:id/dryWeight',
110
+    component: () => import('@/xt_pages/user/dryWeight'),
111
+    hidden: true,
112
+    is_menu: false,
113
+    name: 'dryWeight',
114
+    meta: { title: 'dryWeight', noCache: true }
115
+  },
108 116
   {
109 117
     path: '/patients/inspection',
110 118
     component: () => import('@/xt_pages/user/inspection'),

+ 1 - 0
src/styles/index.scss ファイルの表示

@@ -251,6 +251,7 @@ code {
251 251
   // @include align-items-center;
252 252
   @include justify-content-between; // border-bottom: 1px #e6e6e6 dashed;
253 253
   ul {
254
+    width: 33.3%;
254 255
     li {
255 256
       font-size: 15px;
256 257
       line-height: 30px;

+ 38 - 44
src/xt_pages/data/components/dialysisBefore.vue ファイルの表示

@@ -51,81 +51,75 @@
51 51
 
52 52
 <script>
53 53
   import { updateFieldIsShow } from '@/api/data'
54
-  import store from "@/store";
54
+  import store from '@/store'
55 55
 
56
-  export default {
56
+export default {
57 57
     name: 'dialysisBefore',
58 58
 
59 59
     props: {
60 60
       dialysis_before_data: {
61 61
         type: Array
62 62
       }
63
-    },  methods:{
64
-      handleHide:function(index, row) {
65
-
66
-
67
-        this.$confirm("是否将该字段设为不可见?", "提示", {
68
-          confirmButtonText: "确 定",
69
-          cancelButtonText: "取 消",
70
-          type: "warning"
63
+    }, methods: {
64
+      handleHide: function(index, row) {
65
+        this.$confirm('是否将该字段设为不可见?', '提示', {
66
+          confirmButtonText: '确 定',
67
+          cancelButtonText: '取 消',
68
+          type: 'warning'
71 69
         }).then(() => {
72
-          updateFieldIsShow(row.id,2).then(response => {
70
+          updateFieldIsShow(row.id, 2).then(response => {
73 71
             if (response.data.state == 1) {
74
-              let params={
75
-                id:response.data.data.id,
76
-                is_show:response.data.data.is_show,
72
+              const params = {
73
+                id: response.data.data.id,
74
+                is_show: response.data.data.is_show
77 75
               }
78
-              store.dispatch("updateFiledConfigList",params).then(() => {
79
-
80
-              });
81
-              this.$emit('change',params);
76
+              store.dispatch('updateFiledConfigList', params).then(() => {
82 77
 
78
+              })
79
+              this.$emit('change', params)
83 80
             }
84 81
           })
85 82
           this.$message({
86
-            type: "success",
87
-            message: "设置成功!"
88
-          });
83
+            type: 'success',
84
+            message: '设置成功!'
85
+          })
89 86
         }).catch(() => {
90 87
 
91
-        });
92
-
88
+        })
93 89
       },
94
-      handleShow:function(index, row) {
95
-        this.$confirm("是否将该字段设为可见?", "提示", {
96
-          confirmButtonText: "确 定",
97
-          cancelButtonText: "取 消",
98
-          type: "warning"
90
+      handleShow: function(index, row) {
91
+        this.$confirm('是否将该字段设为可见?', '提示', {
92
+          confirmButtonText: '确 定',
93
+          cancelButtonText: '取 消',
94
+          type: 'warning'
99 95
         }).then(() => {
100
-          updateFieldIsShow(row.id,1).then(response => {
96
+          updateFieldIsShow(row.id, 1).then(response => {
101 97
             if (response.data.state == 1) {
102
-              let params={
103
-                id:response.data.data.id,
104
-                is_show:response.data.data.is_show,
98
+              const params = {
99
+                id: response.data.data.id,
100
+                is_show: response.data.data.is_show
105 101
               }
106
-              store.dispatch("updateFiledConfigList",params).then(() => {
107
-
108
-              });
109
-              this.$emit('change',params);
102
+              store.dispatch('updateFiledConfigList', params).then(() => {
110 103
 
104
+              })
105
+              this.$emit('change', params)
111 106
             }
112 107
           })
113 108
           this.$message({
114
-            type: "success",
115
-            message: "设置成功!"
116
-          });
109
+            type: 'success',
110
+            message: '设置成功!'
111
+          })
117 112
         }).catch(() => {
118 113
 
119
-        });
120
-
121
-
114
+        })
122 115
       }
123 116
 
124 117
     },
118
+    created() {
119
+      console.log('hhhhhhhhh', this.dialysis_before_data)
120
+    }
125 121
   }
126 122
 
127
-
128
-
129 123
 </script>
130 124
 
131 125
 <style scoped>

+ 10 - 17
src/xt_pages/dialysis/details/DialysisPrescription.vue ファイルの表示

@@ -33,21 +33,21 @@
33 33
           <span class="content">{{glucose != '0'?glucose:""}}</span>
34 34
           <span class="unit">{{glucose != '0'?"mmol/l":""}}</span>
35 35
         </li>
36
-      </ul>
37
-      <ul>
38
-        <li v-if="isShow('透析时长')">
36
+         <li v-if="isShow('透析时长')">
39 37
           <label>透析时长 : </label>
40 38
           <span class="content">{{dialysis_duration != '0'?dialysis_duration:""}}</span>
41 39
         </li>
42
-        <li v-if="isShow('透析液配方')">
40
+         <li v-if="isShow('透析液配方')">
43 41
           <label>透析液配方 : </label>
44 42
           <span class="content">{{dialysate_formulation}}</span>
45 43
         </li>
46
-        <li v-if="isShow('维持')">
44
+         <li v-if="isShow('维持')">
47 45
           <label>维持 : </label>
48 46
           <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
49 47
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
50 48
         </li>
49
+      </ul>
50
+      <ul>  
51 51
         <li v-if="isShow('钾')">
52 52
           <label>钾 : </label>
53 53
           <span class="content">{{kalium != '0'?kalium:""}}</span>
@@ -68,10 +68,7 @@
68 68
           <span class="content">{{dialysate_temperature != '0'?dialysate_temperature:""}}</span>
69 69
           <span class="unit">{{dialysate_temperature != '0'?"℃":""}}</span>
70 70
         </li>
71
-      </ul>
72
-      <ul>
73
-
74
-        <li v-if="isShow('血流量')">
71
+         <li v-if="isShow('血流量')">
75 72
           <label>血流量 : </label>
76 73
           <span class="content">{{blood_flow_volume != '0'?blood_flow_volume:''}}</span>
77 74
           <span class="unit">{{blood_flow_volume != '0'?"ml/min":''}}</span>
@@ -80,7 +77,7 @@
80 77
           <label>抗凝剂 : </label>
81 78
           <span class="content">{{anticoagulant}}</span>
82 79
         </li>
83
-        <li v-if="isShow('总量')">
80
+          <li v-if="isShow('总量')">
84 81
           <label>总量: </label>
85 82
           <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
86 83
           <span class="unit">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
@@ -90,20 +87,19 @@
90 87
           <span class="content">{{sodium != '0'?sodium:""}}</span>
91 88
           <span class="unit">{{sodium != '0'?"mmol/L":""}}</span>
92 89
         </li>
93
-        <li v-if="isShow('透析液流量')">
90
+          <li v-if="isShow('透析液流量')">
94 91
           <label>透析液流量 : </label>
95 92
           <span class="content">{{dialysate_flow != '0'?dialysate_flow:""}}</span>
96 93
           <span class="unit">{{dialysate_flow != '0'?"ml/min":""}}</span>
97 94
         </li>
98
-        <li v-if="isShow('电导度')">
95
+           <li v-if="isShow('电导度')">
99 96
           <label>电导度 : </label>
100 97
           <span class="content">{{conductivity != '0'?conductivity:""}}</span>
101 98
           <span class="unit">{{conductivity != '0'?"mS/m":""}}</span>
102 99
         </li>
103 100
       </ul>
104
-
105
-
106 101
       <ul>
102
+      
107 103
         <li v-if="isShow('透析器/灌流器')">
108 104
           <label>透析器/灌流器 : </label>
109 105
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
@@ -150,9 +146,6 @@
150 146
           <span class="content">{{target_ktv != '0'? target_ktv:''}}</span>
151 147
         </li>
152 148
       </ul>
153
-
154
-
155
-
156 149
     </div>
157 150
     <div class="note">备注 : <span>{{note}}</span></div>
158 151
   </div>

+ 17 - 38
src/xt_pages/dialysis/details/acceptsAssessment.vue ファイルの表示

@@ -11,39 +11,29 @@
11 11
           <label>病人情况 : </label>
12 12
           <span class="content">{{ condition }}</span>
13 13
         </li>
14
-      </ul>
15
-      <ul>
16 14
         <li v-if="isShow('病人意识')">
17 15
           <label>病人意识 : </label>
18 16
           <span class="content">{{ consciousness }}</span>
19 17
         </li>
20
-        <li v-if="isShow('体位')">
18
+         <li v-if="isShow('体位')">
21 19
           <label>体位 : </label>
22 20
           <span class="content">{{ posture }}</span>
23 21
         </li>
24
-      </ul>
25
-      <ul>
26
-        <li v-if="isShow('病人食欲')">
22
+          <li v-if="isShow('病人食欲')">
27 23
           <label>病人食欲 : </label>
28 24
           <span class="content">{{ appetite }}</span>
29 25
         </li>
26
+      </ul>
27
+      <ul>
30 28
         <li v-if="isShow('病情')">
31 29
           <label>病情 </label>
32 30
           <span class="content">{{sickCondition}} </span>
33 31
         </li>
34
-      </ul>
35
-      <ul>
36
-        <li v-if="isShow('跌倒风险评估评分')">
32
+          <li v-if="isShow('跌倒风险评估评分')">
37 33
           <label>跌倒风险评估评分:</label>
38 34
           <span class="content">{{this.record.score}}分</span>
39 35
         </li>
40
-
41
-
42
-      </ul>
43
-
44
-
45
-      <ul>
46
-        <li v-if="isShow('摄入量')">
36
+          <li v-if="isShow('摄入量')">
47 37
           <label>摄入量:</label>
48 38
           <span class="content">{{intakes}}</span>
49 39
         </li>
@@ -52,29 +42,17 @@
52 42
           <label>营养状况:</label>
53 43
           <span class="content">{{nutritions}}</span>
54 44
         </li>
55
-      </ul>
56
-      <ul>
57
-
58
-        <li v-if="isShow('风险程度')">
45
+         <li v-if="isShow('风险程度')">
59 46
           <label>风险程度:</label>
60 47
           <span class="content">{{dangerLevel}}</span>
61 48
         </li>
62
-
49
+      </ul>
50
+      <ul>
63 51
         <li v-if="isShow('心理评估')">
64 52
           <label> 心理评估</label>
65 53
           <span class="content">{{psychologicalAssessment}}</span>
66 54
         </li>
67
-      </ul>
68
-
69
-      <ul v-if="isShow('心理评估异常原因')&&this.record.psychological_assessment == 2 ">
70
-        <li>
71
-          <label>心理评估异常原因:</label>
72
-          <span class="content">{{this.record.psychological_assessment_other}}</span>
73
-        </li>
74
-      </ul>
75
-
76
-      <ul>
77
-        <li v-if="isShow('其他心理评估')">
55
+          <li v-if="isShow('其他心理评估')">
78 56
           <label>其他心理评估:</label>
79 57
           <span class="content">{{this.record.psychological_other}}</span>
80 58
         </li>
@@ -85,15 +63,16 @@
85 63
         </li>
86 64
       </ul>
87 65
 
88
-      <ul>
89
-        <li v-if="isShow('其他跌倒风险预防措施')">
66
+      <ul v-if="isShow('心理评估异常原因')&&this.record.psychological_assessment == 2 ">
67
+        <li>
68
+          <label>心理评估异常原因:</label>
69
+          <span class="content">{{this.record.psychological_assessment_other}}</span>
70
+        </li>
71
+          <li v-if="isShow('其他跌倒风险预防措施')">
90 72
           <label>其他跌倒风险预防措施:</label>
91 73
           <span class="content">{{this.record.precaution_other}}</span>
92 74
         </li>
93
-      </ul>
94
-
95
-      <ul>
96
-        <li v-if="isShow('跌倒风险预防措施')">
75
+         <li v-if="isShow('跌倒风险预防措施')">
97 76
           <label>跌倒风险预防措施:</label>
98 77
           <span class="content">{{precaution}}</span>
99 78
         </li>

+ 257 - 261
src/xt_pages/dialysis/details/assessmentBefore.vue ファイルの表示

@@ -40,10 +40,7 @@
40 40
           <span class="content">{{dialysis_count?dialysis_count:''}}</span>
41 41
           <span class="unit">{{ dialysis_count?'次/周':''}}</span>
42 42
         </li>
43
-      </ul>
44
-      <ul>
45
-
46
-        <li v-if="isShow('透析期间')">
43
+         <li v-if="isShow('透析期间')">
47 44
           <label>透析期间 : </label>
48 45
           <span class="content" v-if="dialysis_interphase!='0'">{{ dialysis_interphase }}</span>
49 46
           <span class="unit" v-if="dialysis_interphase!='0'"></span>
@@ -53,17 +50,24 @@
53 50
           <span class="content">{{ complication }}</span>
54 51
           <span class="unit"></span>
55 52
         </li>
56
-
57
-        <li v-if="isShow('体温')">
53
+         <li v-if="isShow('体温')">
58 54
           <label>体温 : </label>
59 55
           <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
60 56
           <span class="unit" v-if="temperature!='0'">℃</span>
61 57
         </li>
62
-        <li v-if="isShow('脉')">
63
-          <label>脉 : </label>
58
+        <li v-if="isShow('脉')">
59
+          <label>脉 : </label>
64 60
           <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
65 61
           <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
66 62
         </li>
63
+      </ul>
64
+      <ul>
65
+        <li v-if="isShow('透析机型号')">
66
+            <label>透析机型号:</label>
67
+            <span class="content" v-if="machine_type!='0'">
68
+              {{machine_type}}
69
+            </span>
70
+        </li>
67 71
 
68 72
         <li v-if="isShow('呼吸频率')">
69 73
           <label>呼吸频率 : </label>
@@ -84,21 +88,16 @@
84 88
           <label>血管通路(内瘘) : </label>
85 89
           <span class="content">{{blood_access_internal_fistula}}</span>
86 90
         </li>
87
-      </ul>
88
-      <ul >
89
-
90
-
91
-        <li v-if="isShow('血管杂音')">
91
+          <li v-if="isShow('血管杂音')">
92 92
           <label>血管杂音 : </label>
93 93
           <span class="content">{{getBloodAccessNoise(this.record.blood_access_noise)}}</span>
94 94
         </li>
95
-
95
+     
96 96
         <li v-if="isShow('穿刺针')">
97 97
           <label>穿刺针 : </label>
98 98
           <span class="content">{{this.record.puncture_needle}}</span>
99 99
         </li>
100
-
101
-        <li v-if="isShow('穿刺方式')">
100
+          <li v-if="isShow('穿刺方式')">
102 101
           <label>穿刺方式 : </label>
103 102
           <span class="content">{{getWay(this.record.puncture_way)}}</span>
104 103
         </li>
@@ -115,12 +114,12 @@
115 114
           <label>其他位置</label>
116 115
           <span class="content" v-if="this.record.venous_catheterization_part_other&&this.record.venous_catheterization_part_other.length > 0">{{venous_catheterization_part_other}}</span>
117 116
         </li>
117
+      </ul>
118
+      <ul >
118 119
         <li v-if="isShow('中心静脉导管')">
119 120
           <label>中心静脉导管: </label>
120 121
           <span class="content">{{this.record.ductus_arantii}}</span>
121 122
         </li>
122
-
123
-
124 123
         <li  v-if="isShow('其他中心静脉导管')">
125 124
           <label>其他中心静脉导管:</label>
126 125
           <span class="content">{{ ductus_arantii_other }}</span>
@@ -132,9 +131,7 @@
132 131
           <span class="content">{{getEmergencyTreatment(this.record.emergency_treatment)}}</span>
133 132
           <span class="content" v-if="this.record.emergency_treatment_other&&this.record.emergency_treatment_other.length > 0">,{{emergency_treatment_other}}</span>
134 133
         </li>
135
-      </ul>
136
-      <ul>
137
-        <li  v-if="isShow('感染')">
134
+          <li  v-if="isShow('感染')">
138 135
           <label>感染:</label>
139 136
           <span class="content">{{this.record.is_infect == 1 ? '无' : '有' }}</span>
140 137
           <span class="unit"> </span>
@@ -164,7 +161,6 @@
164 161
           <span class="unit"> </span>
165 162
         </li>
166 163
       </ul>
167
-
168 164
     </div>
169 165
     <div class="note">备注 : <span>{{ remark }}</span></div>
170 166
     <!-- <div class="note">处方医生 : {{doctor}}</div> -->
@@ -173,270 +169,270 @@
173 169
 </template>
174 170
 
175 171
 <script>
176
-  import store from "@/store";
172
+  import store from '@/store'
177 173
 
178
-  export default {
174
+export default {
179 175
   name: 'assessmentBefore',
180 176
   data() {
181
-    return {
182
-      title: '透前评估 '
183
-    }
177
+      return {
178
+        title: '透前评估 '
179
+      }
184 180
   },
185 181
   props: {
186
-    record: {
187
-      type: Object
188
-    }
182
+      record: {
183
+        type: Object
184
+      }
189 185
   },
190 186
   computed: {
191
-    weight_before: function() {
192
-      if (this.record.id == 0) {
193
-        return '-'
194
-      }
195
-      return this.record.weight_before
196
-    },
197
-    systolic_blood_pressure: function() {
198
-      if (this.record.id == 0) {
199
-        return '-'
200
-      }
201
-      return this.record.systolic_blood_pressure
202
-    },
203
-    last_post_dialysis: function() {
204
-      if (this.record.id == 0) {
205
-        return '-'
206
-      }
207
-      return this.record.last_post_dialysis
208
-    },
209
-
210
-    dry_weight: function() {
211
-      if (this.record.id == 0) {
212
-        return '-'
213
-      }
214
-      return this.record.dry_weight
215
-    },
216
-    diastolic_blood_pressure: function() {
217
-      if (this.record.id == 0) {
218
-        return '-'
219
-      }
220
-      return this.record.diastolic_blood_pressure
221
-    },
222
-    dialysis_interphase: function() {
223
-      if (this.record.id == 0) {
224
-        return '-'
225
-      }
226
-      return this.record.dialysis_interphase
227
-    },
228
-    catheter: function() {
229
-      if (this.record.id == 0) {
230
-        return '-'
231
-      }
232
-      return this.record.catheter
233
-    },
234
-
235
-    temperature: function() {
236
-      if (this.record.id == 0) {
237
-        return '-'
238
-      }
239
-      return this.record.temperature
240
-    },
241
-    pulse_frequency: function() {
242
-      if (this.record.id == 0) {
243
-        return '-'
244
-      }
245
-      return this.record.pulse_frequency
246
-    },
247
-    breathing_rate: function() {
248
-      if (this.record.id == 0) {
249
-        return '-'
250
-      }
251
-      return this.record.breathing_rate
252
-    },
253
-    symptom_before_dialysis: function() {
254
-      if (this.record.id == 0) {
255
-        return '-'
256
-      }
257
-      return this.record.symptom_before_dialysis
258
-    },
259
-    complication: function() {
260
-      if (this.record.id == 0) {
261
-        return '-'
262
-      }
263
-      return this.record.complication
264
-    },
265
-    internal_fistula: function() {
266
-      if (this.record.id == 0) {
267
-        return '-'
268
-      }
269
-      return this.record.internal_fistula
270
-    },
271
-    is_hemorrhage: function() {
272
-      if (this.record.id == 0) {
273
-        return false
274
-      }
275
-      return this.record.is_hemorrhage == 1
276
-    },
277
-    hemorrhage: function() {
278
-      if (this.record.id == 0) {
279
-        return '-'
280
-      }
281
-      return this.record.hemorrhage
282
-    },
283
-    hemorrhage_other: function() {
284
-      if (this.record.id == 0) {
285
-        return '-'
286
-      }
287
-      return this.record.hemorrhage_other
288
-    },
289
-
290
-    remark: function() {
291
-      if (this.record.id == 0) {
292
-        return ''
293
-      }
294
-      return this.record.remark
295
-    },dialysis_count: function () {
296
-      if (this.record == null || this.record.id == '') {
297
-        return '-'
298
-      }
299
-      return this.record.dialysis_count
300
-    }, internal_fistula_other: function () {
301
-      if (this.record == null || this.record.id == '') {
302
-        return '-'
303
-      }
304
-      return this.record.internal_fistula_other
305
-    },venous_catheterization_part_other:function () {
306
-      if (this.record == null || this.record.id == '') {
307
-        return '-'
308
-      }
309
-      return this.record.venous_catheterization_part_other
310
-
311
-    },emergency_treatment_other:function () {
312
-      if (this.record == null || this.record.id == '') {
313
-        return '-'
314
-      }
315
-      return this.record.emergency_treatment_other
316
-    },blood_access_internal_fistula:function () {
187
+      weight_before: function() {
188
+        if (this.record.id == 0) {
189
+          return '-'
190
+        }
191
+        return this.record.weight_before
192
+      },
193
+      systolic_blood_pressure: function() {
194
+        if (this.record.id == 0) {
195
+          return '-'
196
+        }
197
+        return this.record.systolic_blood_pressure
198
+      },
199
+      last_post_dialysis: function() {
200
+        if (this.record.id == 0) {
201
+          return '-'
202
+        }
203
+        return this.record.last_post_dialysis
204
+      },
317 205
 
318
-      var name1 = ""
319
-      var name2 = ""
206
+      dry_weight: function() {
207
+        if (this.record.id == 0) {
208
+          return '-'
209
+        }
210
+        return this.record.dry_weight
211
+      },
212
+      diastolic_blood_pressure: function() {
213
+        if (this.record.id == 0) {
214
+          return '-'
215
+        }
216
+        return this.record.diastolic_blood_pressure
217
+      },
218
+      dialysis_interphase: function() {
219
+        if (this.record.id == 0) {
220
+          return '-'
221
+        }
222
+        return this.record.dialysis_interphase
223
+      },
224
+      catheter: function() {
225
+        if (this.record.id == 0) {
226
+          return '-'
227
+        }
228
+        return this.record.catheter
229
+      },
320 230
 
321
-      if (this.record == null || this.record.id == '') {
322
-        return '-'
323
-      }
324
-      if(this.record.blood_access_internal_fistula == undefined){
325
-        name1 = ""
326
-      }else{
231
+      temperature: function() {
232
+        if (this.record.id == 0) {
233
+          return '-'
234
+        }
235
+        return this.record.temperature
236
+      },
237
+      pulse_frequency: function() {
238
+        if (this.record.id == 0) {
239
+          return '-'
240
+        }
241
+        return this.record.pulse_frequency
242
+      },
243
+      machine_type: function() {
244
+        if (this.record.id == 0) {
245
+          return '-'
246
+        }
247
+        return this.record.machine_type
248
+      },
249
+      breathing_rate: function() {
250
+        if (this.record.id == 0) {
251
+          return '-'
252
+        }
253
+        return this.record.breathing_rate
254
+      },
255
+      symptom_before_dialysis: function() {
256
+        if (this.record.id == 0) {
257
+          return '-'
258
+        }
259
+        return this.record.symptom_before_dialysis
260
+      },
261
+      complication: function() {
262
+        if (this.record.id == 0) {
263
+          return '-'
264
+        }
265
+        return this.record.complication
266
+      },
267
+      internal_fistula: function() {
268
+        if (this.record.id == 0) {
269
+          return '-'
270
+        }
271
+        return this.record.internal_fistula
272
+      },
273
+      is_hemorrhage: function() {
274
+        if (this.record.id == 0) {
275
+          return false
276
+        }
277
+        return this.record.is_hemorrhage == 1
278
+      },
279
+      hemorrhage: function() {
280
+        if (this.record.id == 0) {
281
+          return '-'
282
+        }
283
+        return this.record.hemorrhage
284
+      },
285
+      hemorrhage_other: function() {
286
+        if (this.record.id == 0) {
287
+          return '-'
288
+        }
289
+        return this.record.hemorrhage_other
290
+      },
327 291
 
328
-        name1 = this.record.blood_access_internal_fistula+","
292
+      remark: function() {
293
+        if (this.record.id == 0) {
294
+          return ''
295
+        }
296
+        return this.record.remark
297
+      }, dialysis_count: function() {
298
+        if (this.record == null || this.record.id == '') {
299
+          return '-'
300
+        }
301
+        return this.record.dialysis_count
302
+      }, internal_fistula_other: function() {
303
+        if (this.record == null || this.record.id == '') {
304
+          return '-'
305
+        }
306
+        return this.record.internal_fistula_other
307
+      }, venous_catheterization_part_other: function() {
308
+        if (this.record == null || this.record.id == '') {
309
+          return '-'
310
+        }
311
+        return this.record.venous_catheterization_part_other
312
+      }, emergency_treatment_other: function() {
313
+        if (this.record == null || this.record.id == '') {
314
+          return '-'
315
+        }
316
+        return this.record.emergency_treatment_other
317
+      }, blood_access_internal_fistula: function() {
318
+        var name1 = ''
319
+        var name2 = ''
329 320
 
330
-      }
331
-      if(this.record.internal_fistula_other == undefined){
332
-        name2 = ""
333
-      }else{
334
-        name2 = this.record.internal_fistula_other
335
-      }
321
+        if (this.record == null || this.record.id == '') {
322
+          return '-'
323
+        }
324
+        if (this.record.blood_access_internal_fistula == undefined) {
325
+          name1 = ''
326
+        } else {
327
+          name1 = this.record.blood_access_internal_fistula + ','
328
+        }
329
+        if (this.record.internal_fistula_other == undefined) {
330
+          name2 = ''
331
+        } else {
332
+          name2 = this.record.internal_fistula_other
333
+        }
336 334
 
337
-      return name1+name2
338
-    },ductus_arantii_other:function () {
339
-      if (this.record == null || this.record.id == '') {
340
-        return '-'
341
-      }
342
-      return this.record.ductus_arantii_other
343
-    },infect_other:function () {
344
-      if (this.record == null || this.record.id == '') {
345
-        return '-'
346
-      }
347
-      return this.record.infect_other
348
-    },skin_other:function () {
349
-      if (this.record == null || this.record.id == '') {
350
-        return '-'
335
+        return name1 + name2
336
+      }, ductus_arantii_other: function() {
337
+        if (this.record == null || this.record.id == '') {
338
+          return '-'
339
+        }
340
+        return this.record.ductus_arantii_other
341
+      }, infect_other: function() {
342
+        if (this.record == null || this.record.id == '') {
343
+          return '-'
344
+        }
345
+        return this.record.infect_other
346
+      }, skin_other: function() {
347
+        if (this.record == null || this.record.id == '') {
348
+          return '-'
349
+        }
350
+        return this.record.skin_other
351 351
       }
352
-      return this.record.skin_other
353
-    }
354 352
   },
355 353
   methods: {
356
-    getBloodAccessInternalFistula: function (id) {
357
-      var BloodAccessInternalFistulaOptions = this.$store.getters.blood_access_internal_fistula;
358
-      var BloodAccessInternalFistulaName = "";
359
-      for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++){
360
-        if(BloodAccessInternalFistulaOptions[i].id == id){
361
-          BloodAccessInternalFistulaName =    BloodAccessInternalFistulaOptions[i].name
354
+      getBloodAccessInternalFistula: function(id) {
355
+        var BloodAccessInternalFistulaOptions = this.$store.getters.blood_access_internal_fistula
356
+        var BloodAccessInternalFistulaName = ''
357
+        for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
358
+          if (BloodAccessInternalFistulaOptions[i].id == id) {
359
+            BloodAccessInternalFistulaName = BloodAccessInternalFistulaOptions[i].name
360
+          }
362 361
         }
363
-      }
364
-      return BloodAccessInternalFistulaName
365
-    },
366
-    getBloodAccessNoise: function (id) {
367
-      var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
368
-      var BloodAccessNoiseName = "";
369
-      for (let i = 0; i < BloodAccessNoiseOptions.length; i++){
370
-        if(BloodAccessNoiseOptions[i].id == id){
371
-          BloodAccessNoiseName =    BloodAccessNoiseOptions[i].name
362
+        return BloodAccessInternalFistulaName
363
+      },
364
+      getBloodAccessNoise: function(id) {
365
+        var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise
366
+        var BloodAccessNoiseName = ''
367
+        for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
368
+          if (BloodAccessNoiseOptions[i].id == id) {
369
+            BloodAccessNoiseName = BloodAccessNoiseOptions[i].name
370
+          }
372 371
         }
373
-      }
374
-      return BloodAccessNoiseName
375
-    },getVenousCatheterization:function (id) {
376
-      var VenousCatheterizationOptions = this.$store.getters.venous_catheterization;
377
-      var VenousCatheterizationName = "";
378
-      for (let i = 0; i < VenousCatheterizationOptions.length; i++){
379
-        if(VenousCatheterizationOptions[i].id == id){
380
-          VenousCatheterizationName =    VenousCatheterizationOptions[i].name
372
+        return BloodAccessNoiseName
373
+      }, getVenousCatheterization: function(id) {
374
+        var VenousCatheterizationOptions = this.$store.getters.venous_catheterization
375
+        var VenousCatheterizationName = ''
376
+        for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
377
+          if (VenousCatheterizationOptions[i].id == id) {
378
+            VenousCatheterizationName = VenousCatheterizationOptions[i].name
379
+          }
381 380
         }
382
-      }
383
-      return VenousCatheterizationName
384
-    },getWay:function (id) {
385
-      var PunctureWayOptions = this.$store.getters.puncture_way;
386
-      var PunctureWayOptionsName = "";
387
-      for (let i = 0; i < PunctureWayOptions.length; i++){
388
-        if(PunctureWayOptions[i].id == id){
389
-          PunctureWayOptionsName =    PunctureWayOptions[i].name
381
+        return VenousCatheterizationName
382
+      }, getWay: function(id) {
383
+        var PunctureWayOptions = this.$store.getters.puncture_way
384
+        var PunctureWayOptionsName = ''
385
+        for (let i = 0; i < PunctureWayOptions.length; i++) {
386
+          if (PunctureWayOptions[i].id == id) {
387
+            PunctureWayOptionsName = PunctureWayOptions[i].name
388
+          }
390 389
         }
391
-      }
392
-      return PunctureWayOptionsName
393
-
394
-    },getVenousCatheterizationPart:function (id) {
395
-      var venousCatheterizationPartOptions = this.$store.getters.venous_catheterization_part;
396
-      var venousCatheterizationPartName = "";
397
-      for (let i = 0; i < venousCatheterizationPartOptions.length; i++){
398
-        if(venousCatheterizationPartOptions[i].id == id){
399
-          venousCatheterizationPartName =    venousCatheterizationPartOptions[i].name
390
+        return PunctureWayOptionsName
391
+      }, getVenousCatheterizationPart: function(id) {
392
+        var venousCatheterizationPartOptions = this.$store.getters.venous_catheterization_part
393
+        var venousCatheterizationPartName = ''
394
+        for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
395
+          if (venousCatheterizationPartOptions[i].id == id) {
396
+            venousCatheterizationPartName = venousCatheterizationPartOptions[i].name
397
+          }
400 398
         }
401
-      }
402
-      return venousCatheterizationPartName
403
-    },getDuctusArantii:function (id) {
404
-      var ductusArantiiOptions = this.$store.getters.ductus_arantii;
405
-      var ductusArantiiOptionsName = "";
406
-      for (let i = 0; i < ductusArantiiOptions.length; i++){
407
-        if(ductusArantiiOptions[i].id == id){
408
-          ductusArantiiOptionsName =    ductusArantiiOptions[i].name
399
+        return venousCatheterizationPartName
400
+      }, getDuctusArantii: function(id) {
401
+        var ductusArantiiOptions = this.$store.getters.ductus_arantii
402
+        var ductusArantiiOptionsName = ''
403
+        for (let i = 0; i < ductusArantiiOptions.length; i++) {
404
+          if (ductusArantiiOptions[i].id == id) {
405
+            ductusArantiiOptionsName = ductusArantiiOptions[i].name
406
+          }
409 407
         }
410
-      }
411
-      return ductusArantiiOptionsName
412
-    },getEmergencyTreatment:function (id) {
413
-      var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
414
-      var emergencyTreatmentName = "";
415
-      for (let i = 0; i < emergencyTreatmentOptions.length; i++){
416
-        if(emergencyTreatmentOptions[i].id == id){
417
-          emergencyTreatmentName =    emergencyTreatmentOptions[i].name
408
+        return ductusArantiiOptionsName
409
+      }, getEmergencyTreatment: function(id) {
410
+        var emergencyTreatmentOptions = this.$store.getters.emergency_treatment
411
+        var emergencyTreatmentName = ''
412
+        for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
413
+          if (emergencyTreatmentOptions[i].id == id) {
414
+            emergencyTreatmentName = emergencyTreatmentOptions[i].name
415
+          }
418 416
         }
419
-      }
420
-      return emergencyTreatmentName
421
-    },isShow(name){
422
-      var filedList = store.getters.xt_user.fileds
423
-      for (let i = 0; i < filedList.length; i++){
424
-        if(filedList[i].module == 3 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
425
-          return true
417
+        return emergencyTreatmentName
418
+      }, isShow(name) {
419
+        var filedList = store.getters.xt_user.fileds
420
+        for (let i = 0; i < filedList.length; i++) {
421
+          if (filedList[i].module == 3 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
422
+            return true
423
+          }
426 424
         }
427
-      }
428
-      return false
429
-    },getSkin:function (id) {
430
-      var skinOptions = this.$store.getters.skin;
431
-      var skinName = "";
432
-      for (let i = 0; i < skinOptions.length; i++){
433
-        if(skinOptions[i].id == id){
434
-          skinName =    skinOptions[i].name
425
+        return false
426
+      }, getSkin: function(id) {
427
+        var skinOptions = this.$store.getters.skin
428
+        var skinName = ''
429
+        for (let i = 0; i < skinOptions.length; i++) {
430
+          if (skinOptions[i].id == id) {
431
+            skinName = skinOptions[i].name
432
+          }
435 433
         }
434
+        return skinName
436 435
       }
437
-      return skinName
438
-
439
-    }
440 436
 
441 437
   }
442 438
 }

+ 10 - 4
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue ファイルの表示

@@ -96,18 +96,22 @@
96 96
             <el-input type="number" v-model="assessmentBeforeDislysis.diastolic_blood_pressure"></el-input>
97 97
           </el-form-item>
98 98
         </el-col>
99
-
100
-
101 99
       <!-- </el-row>
102 100
 
103 101
 
104 102
       <el-row :gutter="20"> -->
105 103
 
106 104
         <el-col :span="8">
107
-          <el-form-item label="脉率(次/分):" v-if="isShow('脉率')">
105
+          <el-form-item label="脉搏(次/分):" v-if="isShow('脉搏')">
108 106
             <el-input type="number" v-model="assessmentBeforeDislysis.pulse_frequency"></el-input>
109 107
           </el-form-item>
110 108
         </el-col>
109
+         
110
+         <el-col :span="8">
111
+             <el-form-item label="透析机型号:" v-if="isShow('透析机型号')">
112
+                <el-input  v-model="assessmentBeforeDislysis.machine_type"></el-input>
113
+             </el-form-item>
114
+         </el-col>
111 115
 
112 116
         <el-col :span="8">
113 117
           <el-form-item label="呼吸频率(次/分):" v-if="isShow('呼吸频率')">
@@ -136,6 +140,7 @@
136 140
             </el-select>
137 141
           </el-form-item>
138 142
         </el-col>
143
+        
139 144
 
140 145
 
141 146
       <!-- </el-row>
@@ -477,7 +482,8 @@ export default {
477 482
           exposed: '',
478 483
           skin: '',
479 484
           skin_other: '',
480
-          infect_other: ''
485
+          infect_other: '',
486
+          machine_type: ''
481 487
         },
482 488
         // InnerDialogProps: {
483 489
         //   checkedCities: [],

+ 4 - 13
src/xt_pages/dialysis/details/dialog/computer_dialog.vue ファイルの表示

@@ -55,8 +55,8 @@
55 55
         form: {
56 56
           bed_id: '',
57 57
           nurse_id: '',
58
-          start_time:'',
59
-          puncture_nurse_id:'',
58
+          start_time: '',
59
+          puncture_nurse_id: ''
60 60
         }
61 61
       }
62 62
     },
@@ -75,8 +75,6 @@
75 75
       }
76 76
     },
77 77
     created() {
78
-
79
-
80 78
       this.patient_id = this.$route.query.patient_id
81 79
       this.schedule_date = this.$route.query.date
82 80
 
@@ -84,14 +82,9 @@
84 82
       this.form.nurse_id = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.start_nurse
85 83
       this.form.puncture_nurse_id = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.puncture_nurse
86 84
 
87
-      if(this.form.puncture_nurse_id == 0){
85
+      if (this.form.puncture_nurse_id == 0) {
88 86
         this.form.puncture_nurse_id = this.$store.getters.xt_user.user.id
89 87
       }
90
-
91
-
92
-
93
-
94
-
95 88
     },
96 89
     watch: {
97 90
       'schedule.id': function() {
@@ -117,7 +110,6 @@
117 110
           '-' +
118 111
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
119 112
         this.form.start_time = this.dialysis_order.id == 0 ? time : this.getTime(this.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
120
-
121 113
       }
122 114
     },
123 115
     computed: {
@@ -166,7 +158,7 @@
166 158
       },
167 159
       submit: function() {
168 160
         this.loading = true
169
-        startDialysis(this.patient_id, parseTime(this.schedule_date, '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.puncture_nurse_id,this.form.start_time).then(rs => {
161
+        startDialysis(this.patient_id, parseTime(this.schedule_date, '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.puncture_nurse_id, this.form.start_time).then(rs => {
170 162
           this.loading = false
171 163
           var resp = rs.data
172 164
           if (resp.state == 1) {
@@ -175,7 +167,6 @@
175 167
             for (const key in resp_dialysis_order) {
176 168
               this.$set(this_order, key, resp_dialysis_order[key])
177 169
             }
178
-
179 170
           } else {
180 171
             this.$message.error(resp.msg)
181 172
           }

+ 49 - 45
src/xt_pages/dialysis/details/dialysisComputer.vue ファイルの表示

@@ -11,7 +11,9 @@
11 11
           <label>上机护士 : </label>
12 12
           <span class="content">{{ nurse }}</span>
13 13
         </li>
14
-        <li>
14
+      </ul>
15
+      <ul>
16
+           <li>
15 17
           <label>穿刺护士 : </label>
16 18
           <span class="content">{{ puncture_nurse }}</span>
17 19
         </li>
@@ -19,7 +21,9 @@
19 21
           <label>状态 : </label>
20 22
           <span class="content">{{ stage }}</span>
21 23
         </li>
22
-        <li>
24
+      </ul>
25
+      <ul>
26
+          <li>
23 27
           <label>上机时间 : </label>
24 28
           <span class="content">{{start_time}}</span>
25 29
         </li>
@@ -30,62 +34,62 @@
30 34
 </template>
31 35
 
32 36
 <script>
33
-  import { parseTime } from "@/utils";
37
+  import { parseTime } from '@/utils';
34 38
 
35 39
   export default {
36
-  name: "DialysisComputer",
40
+  name: 'DialysisComputer',
37 41
   data() {
38
-    return {
39
-      title: "透析上机 ",
40
-    };
41
-  },
42
+      return {
43
+        title: '透析上机 '
44
+      }
45
+},
42 46
   props: {
43
-    record: {
44
-      type: Object,
45
-    },
46
-    admin_map: {
47
-      type: Object,
48
-    },
49
-    device_number_map: {
50
-      type: Object,
51
-    }
47
+      record: {
48
+        type: Object
49
+      },
50
+      admin_map: {
51
+        type: Object
52
+      },
53
+      device_number_map: {
54
+        type: Object
55
+      }
52 56
   },
53 57
   computed: {
54
-    device_number: function() {
55
-      if (this.record.id == 0) {
56
-        return "-"
57
-      }
58
-      return this.device_number_map[this.record.bed_id] == null ? "" : this.device_number_map[this.record.bed_id].number
59
-    },
60
-    nurse: function() {
61
-      if (this.record.id == 0) {
62
-        return "-"
63
-      }
64
-      return this.admin_map[this.record.start_nurse] == null ? "" : this.admin_map[this.record.start_nurse].name
65
-    },
66
-    stage: function() {
67
-      if (this.record.id == 0) {
68
-        return "未上机"
69
-      }
70
-      return this.record.stage == 1 ? "已上机" : "已下机"
71
-    },start_time:function () {
72
-      if (this.record == null || this.record.id == '') {
73
-        return "-"
74
-      }
75
-      return parseTime(this.record.start_time, "{y}年{m}月{d}日 {h}时{i}分");
58
+      device_number: function() {
59
+        if (this.record.id == 0) {
60
+          return '-'
61
+        }
62
+        return this.device_number_map[this.record.bed_id] == null ? '' : this.device_number_map[this.record.bed_id].number
63
+      },
64
+      nurse: function() {
65
+        if (this.record.id == 0) {
66
+          return '-'
67
+        }
68
+        return this.admin_map[this.record.start_nurse] == null ? '' : this.admin_map[this.record.start_nurse].name
69
+      },
70
+      stage: function() {
71
+        if (this.record.id == 0) {
72
+          return '未上机'
73
+        }
74
+        return this.record.stage == 1 ? '已上机' : '已下机'
75
+      }, start_time: function() {
76
+        if (this.record == null || this.record.id == '') {
77
+          return '-'
78
+        }
79
+        return parseTime(this.record.start_time, '{y}年{m}月{d}日 {h}时{i}分')
76 80
 
77 81
 
78
-    },puncture_nurse:function() {
79
-      if (this.record.id == 0) {
80
-        return "-"
82
+  }, puncture_nurse: function() {
83
+        if (this.record.id == 0) {
84
+          return '-'
85
+        }
86
+        return this.admin_map[this.record.puncture_nurse] == null ? '' : this.admin_map[this.record.puncture_nurse].name
81 87
       }
82
-      return this.admin_map[this.record.puncture_nurse] == null ? "" : this.admin_map[this.record.puncture_nurse].name
83
-    }
84 88
   },
85 89
   methods: {
86 90
 
87 91
   }
88
-};
92
+}
89 93
 </script>
90 94
 
91 95
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 40 - 37
src/xt_pages/dialysis/details/dialysisOff.vue ファイルの表示

@@ -7,10 +7,14 @@
7 7
           <label>下机护士 : </label>
8 8
           <span class="content">{{ nurse }}</span>
9 9
         </li>
10
-        <li>
10
+      </ul>
11
+      <ul>
12
+          <li>
11 13
           <label>状态 : </label>
12 14
           <span class="content">{{ stage }}</span>
13 15
         </li>
16
+      </ul>
17
+      <ul>
14 18
         <li>
15 19
           <label>下机时间 : </label>
16 20
           <span class="content">{{end_time}}</span>
@@ -22,53 +26,52 @@
22 26
 </template>
23 27
 
24 28
 <script>
25
-  import { parseTime } from "@/utils";
29
+  import { parseTime } from '@/utils'
26 30
 
27
-  export default {
28
-  name: "DialysisComputer",
31
+export default {
32
+  name: 'DialysisComputer',
29 33
   data() {
30
-    return {
31
-      title: "透析下机 ",
32
-    };
34
+      return {
35
+        title: '透析下机 '
36
+      }
33 37
   },
34 38
   props: {
35
-    record: {
36
-      type: Object
37
-    },
38
-    admin_map: {
39
-      type: Object,
40
-    },
39
+      record: {
40
+        type: Object
41
+      },
42
+      admin_map: {
43
+        type: Object
44
+      }
41 45
   },
42 46
   computed: {
43
-    stage: function() {
44
-      if (this.record.id == 0) {
45
-        return "未上机"
46
-      }
47
-      return this.record.stage == 1 ? "未下机" : "已下机"
48
-    },
49
-    nurse: function() {
50
-      if (this.record.id == 0) {
51
-        return "-"
52
-      } else if (this.record.stage == 1) {
53
-        return "-"
54
-      } else {
55
-        return this.admin_map[this.record.finish_nurse] == null ? "" : this.admin_map[this.record.finish_nurse].name
56
-      }
57
-    },end_time:function () {
58
-      if (this.record == null || this.record.id == '') {
59
-        return "-"
60
-      } else if (this.record.stage == 1) {
61
-        return "-"
62
-      } else {
63
-        return parseTime(this.record.end_time, "{y}年{m}月{d}日 {h}时{i}分");
64
-
47
+      stage: function() {
48
+        if (this.record.id == 0) {
49
+          return '未上机'
50
+        }
51
+        return this.record.stage == 1 ? '未下机' : '已下机'
52
+      },
53
+      nurse: function() {
54
+        if (this.record.id == 0) {
55
+          return '-'
56
+        } else if (this.record.stage == 1) {
57
+          return '-'
58
+        } else {
59
+          return this.admin_map[this.record.finish_nurse] == null ? '' : this.admin_map[this.record.finish_nurse].name
60
+        }
61
+      }, end_time: function() {
62
+        if (this.record == null || this.record.id == '') {
63
+          return '-'
64
+        } else if (this.record.stage == 1) {
65
+          return '-'
66
+        } else {
67
+          return parseTime(this.record.end_time, '{y}年{m}月{d}日 {h}时{i}分')
68
+        }
65 69
       }
66
-    },
67 70
   },
68 71
   methods: {
69 72
 
70 73
   }
71
-};
74
+}
72 75
 </script>
73 76
 
74 77
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 131 - 140
src/xt_pages/dialysis/details/doubleCheck.vue ファイルの表示

@@ -15,15 +15,8 @@
15 15
           <label>血管通路核查 : </label>
16 16
           <span class="content">{{ vascular_access_verification }}</span>
17 17
         </li>
18
-        <li>
19
-          <label>管道连接核查 : </label>
20
-          <span class="content">{{ pipeline_connection_check }}</span>
21
-        </li>
22
-
23 18
       </ul>
24 19
       <ul>
25
-
26
-
27 20
         <li>
28 21
           <label>{{ dialysis_item_desc_title }}</label>
29 22
           <span class="content">{{ dialysis_item_desc }}</span>
@@ -36,13 +29,13 @@
36 29
           <label>{{ vascular_access_desc_title }}</label>
37 30
           <span class="content">{{ vascular_access_desc }}</span>
38 31
         </li>
39
-        <li>
40
-          <label>{{ pipeline_connection_desc_title }}</label>
41
-          <span class="content">{{ pipeline_connection_desc }}</span>
42
-        </li>
43 32
       </ul>
44 33
       <ul>
45
-        <li>
34
+          <li>
35
+          <label>管道连接核查 : </label>
36
+          <span class="content">{{ pipeline_connection_check }}</span>
37
+        </li>
38
+          <li>
46 39
           <label>第一次核对人员 : </label>
47 40
           <span class="content">{{getCreaterName(record.creater)}}</span>
48 41
         </li>
@@ -50,6 +43,15 @@
50 43
           <label>第一次核对时间 : </label>
51 44
           <span class="content">{{getCreateTime(record.created_time,record.creater)}}</span>
52 45
         </li>
46
+      </ul>
47
+      <ul>
48
+          <li>
49
+          <label>{{ pipeline_connection_desc_title }}</label>
50
+          <span class="content">{{ pipeline_connection_desc }}</span>
51
+        </li>
52
+      </ul>
53
+      <ul>
54
+      
53 55
         <li>
54 56
           <label>第二次核对人员 : </label>
55 57
           <span class="content">{{ getModifierName(record.modifier) }}</span>
@@ -66,146 +68,135 @@
66 68
 </template>
67 69
 
68 70
 <script>
69
-  import {uParseTime} from "@/utils/tools";
71
+  import { uParseTime } from '@/utils/tools'
70 72
 
71
-  export default {
72
-  name: "DoubleCheck",
73
+export default {
74
+  name: 'DoubleCheck',
73 75
   data() {
74
-    return {
75
-      title: "双人核对 ",
76
-    };
76
+      return {
77
+        title: '双人核对 '
78
+      }
77 79
   },
78 80
   props: {
79
-    record: {
80
-      type: Object,
81
-    }, admin_map: {
82
-      type: Object,
83
-    },
81
+      record: {
82
+        type: Object
83
+      }, admin_map: {
84
+        type: Object
85
+      }
84 86
   },
85 87
   computed: {
86
-    dialysis_item_check: function() {
87
-      if (this.record.id == 0) {
88
-        return ""
89
-      }
90
-      return this.record.dialysis_item_check == 1 ? "正确" : "错误"
91
-    },
92
-    dialysis_parameter_check: function() {
93
-      if (this.record.id == 0) {
94
-        return ""
95
-      }
96
-      return this.record.dialysis_parameter_check == 1 ? "正确" : "错误"
97
-    },
98
-    vascular_access_verification: function() {
99
-      if (this.record.id == 0) {
100
-        return ""
101
-      }
102
-      return this.record.vascular_access_verification == 1 ? "正确" : "错误"
103
-    },
104
-    pipeline_connection_check: function() {
105
-      if (this.record.id == 0) {
106
-        return ""
88
+      dialysis_item_check: function() {
89
+        if (this.record.id == 0) {
90
+          return ''
91
+        }
92
+        return this.record.dialysis_item_check == 1 ? '正确' : '错误'
93
+      },
94
+      dialysis_parameter_check: function() {
95
+        if (this.record.id == 0) {
96
+          return ''
97
+        }
98
+        return this.record.dialysis_parameter_check == 1 ? '正确' : '错误'
99
+      },
100
+      vascular_access_verification: function() {
101
+        if (this.record.id == 0) {
102
+          return ''
103
+        }
104
+        return this.record.vascular_access_verification == 1 ? '正确' : '错误'
105
+      },
106
+      pipeline_connection_check: function() {
107
+        if (this.record.id == 0) {
108
+          return ''
109
+        }
110
+        return this.record.pipeline_connection_check == 1 ? '正确' : '错误'
111
+      },
112
+      dialysis_item_desc_title: function() {
113
+        if (this.record.id == 0) {
114
+          return ''
115
+        }
116
+        return this.record.dialysis_item_check == 1 ? '' : '错误描述 : '
117
+      },
118
+      dialysis_parameter_desc_title: function() {
119
+        if (this.record.id == 0) {
120
+          return ''
121
+        }
122
+        return this.record.dialysis_parameter_check == 1 ? '' : '错误描述 : '
123
+      },
124
+      vascular_access_desc_title: function() {
125
+        if (this.record.id == 0) {
126
+          return ''
127
+        }
128
+        return this.record.vascular_access_verification == 1 ? '' : '错误描述 : '
129
+      },
130
+      pipeline_connection_desc_title: function() {
131
+        if (this.record.id == 0) {
132
+          return ''
133
+        }
134
+        return this.record.pipeline_connection_check == 1 ? '' : '错误描述 : '
135
+      },
136
+
137
+      dialysis_item_desc: function() {
138
+        if (this.record.id == 0) {
139
+          return ''
140
+        }
141
+        return this.record.dialysis_item_check == 1 ? '' : this.record.dialysis_item_desc
142
+      },
143
+      dialysis_parameter_desc: function() {
144
+        if (this.record.id == 0) {
145
+          return ''
146
+        }
147
+        return this.record.dialysis_parameter_check == 1 ? '' : this.record.dialysis_parameter_desc
148
+      },
149
+      vascular_access_desc: function() {
150
+        if (this.record.id == 0) {
151
+          return ''
152
+        }
153
+        return this.record.vascular_access_verification == 1 ? '' : this.record.vascular_access_desc
154
+      },
155
+      pipeline_connection_desc: function() {
156
+        if (this.record.id == 0) {
157
+          return ''
158
+        }
159
+        return this.record.pipeline_connection_check == 1 ? '' : this.record.pipeline_connection_desc
107 160
       }
108
-      return this.record.pipeline_connection_check == 1 ? "正确" : "错误"
109
-    },
110
-    dialysis_item_desc_title: function() {
111
-      if (this.record.id == 0) {
112
-        return ""
113
-      }
114
-      return this.record.dialysis_item_check == 1 ? "" : "错误描述 : "
115
-    },
116
-    dialysis_parameter_desc_title: function() {
117
-      if (this.record.id == 0) {
118
-        return ""
119
-      }
120
-      return this.record.dialysis_parameter_check == 1 ? "" : "错误描述 : "
121
-    },
122
-    vascular_access_desc_title: function() {
123
-      if (this.record.id == 0) {
124
-        return ""
125
-      }
126
-      return this.record.vascular_access_verification == 1 ? "" : "错误描述 : "
127
-    },
128
-    pipeline_connection_desc_title: function() {
129
-      if (this.record.id == 0) {
130
-        return ""
131
-      }
132
-      return this.record.pipeline_connection_check == 1 ? "" : "错误描述 : "
133
-    },
134
-
135
-    dialysis_item_desc: function() {
136
-      if (this.record.id == 0) {
137
-        return ""
138
-      }
139
-      return this.record.dialysis_item_check == 1 ? "" : this.record.dialysis_item_desc
140
-    },
141
-    dialysis_parameter_desc: function() {
142
-      if (this.record.id == 0) {
143
-        return ""
144
-      }
145
-      return this.record.dialysis_parameter_check == 1 ? "" : this.record.dialysis_parameter_desc
146
-    },
147
-    vascular_access_desc: function() {
148
-      if (this.record.id == 0) {
149
-        return ""
150
-      }
151
-      return this.record.vascular_access_verification == 1 ? "" : this.record.vascular_access_desc
152
-    },
153
-    pipeline_connection_desc: function() {
154
-      if (this.record.id == 0) {
155
-        return ""
156
-      }
157
-      return this.record.pipeline_connection_check == 1 ? "" : this.record.pipeline_connection_desc
158
-    }
159 161
   },
160 162
   methods: {
161
-    getCreaterName:function(val){
162
-
163
-
164
-      if (this.record.id == 0) {
165
-        return "-"
163
+      getCreaterName: function(val) {
164
+        if (this.record.id == 0) {
165
+          return '-'
166
+        }
167
+        const id = String(val)
168
+
169
+        return this.admin_map[id] == null ? '' : this.admin_map[id].name
170
+      }, getCreateTime: function(time, creator) {
171
+        if (this.record.id == 0) {
172
+          return ''
173
+        }
174
+        if (creator == 0) {
175
+          return ''
176
+        } else {
177
+          return uParseTime(time, '{y}-{m}-{d}  {h}:{i}')
178
+        }
179
+      }, getModifierName: function(val) {
180
+        console.log(this.admin_map)
181
+        if (this.record.id == 0) {
182
+          return '-'
183
+        }
184
+        const id = String(val)
185
+
186
+        return this.admin_map[id] == null ? '' : this.admin_map[id].name
187
+      }, getUpdateTime: function(time, modifier) {
188
+        if (this.record.id == 0) {
189
+          return ''
190
+        }
191
+        if (modifier == 0) {
192
+          return ''
193
+        } else {
194
+          return uParseTime(time, '{y}-{m}-{d}  {h}:{i}')
195
+        }
166 196
       }
167
-      let id = String(val)
168
-
169
-
170
-      return this.admin_map[id] == null ? "" : this.admin_map[id].name
171
-
172
-    },getCreateTime:function(time,creator){
173
-      if (this.record.id == 0) {
174
-        return ""
175
-      }
176
-      if(creator == 0){
177
-        return ""
178
-
179
-      }else{
180
-        return uParseTime(time, "{y}-{m}-{d}  {h}:{i}")
181
-
182
-      }
183
-
184
-
185
-    },getModifierName:function(val){
186
-      console.log(this.admin_map)
187
-      if (this.record.id == 0) {
188
-        return "-"
189
-      }
190
-      let id = String(val)
191
-
192
-      return this.admin_map[id] == null ? "" : this.admin_map[id].name
193
-
194
-
195
-    },getUpdateTime:function(time,modifier){
196
-      if (this.record.id == 0) {
197
-        return ""
198
-      }
199
-      if(modifier == 0){
200
-        return ''
201
-      }else{
202
-        return uParseTime(time, "{y}-{m}-{d}  {h}:{i}")
203
-      }
204
-
205
-    }
206 197
 
207 198
   }
208
-};
199
+}
209 200
 </script>
210 201
 
211 202
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 18 - 18
src/xt_pages/dialysis/details/operationStaff.vue ファイルの表示

@@ -31,34 +31,34 @@
31 31
 
32 32
 <script>
33 33
 export default {
34
-  name: "DialysisPrescription",
34
+  name: 'DialysisPrescription',
35 35
   data() {
36 36
     return {
37
-      title: "操作人员",
37
+      title: '操作人员',
38 38
       info1: [
39
-        { value: "1", label: "签到时间 : ", content: "2018-05-12 09:32:22", unit: "" },
40
-        { value: "2", label: "上机护士 : ", content: "刘大燕", unit: "" },
41
-        { value: "3", label: "核对护士: ", content: "刘大燕", unit: "" },
42
-        { value: "4", label: "下机护士 : ", content: "刘大燕", unit: "" },
43
-        { value: "4", label: "上机换药护士 : ", content: "周明君", unit: "" },
44
-        { value: "4", label: "上机换药护士 : ", content: "周明君", unit: "" },
45
-        { value: "4", label: "责任护士 : ", content: "周明君", unit: "" },
46
-        { value: "4", label: "责任医生 : ", content: "周明君", unit: "" },
39
+        { value: '1', label: '签到时间 : ', content: '2018-05-12 09:32:22', unit: '' },
40
+        { value: '2', label: '上机护士 : ', content: '刘大燕', unit: '' },
41
+        { value: '3', label: '核对护士: ', content: '刘大燕', unit: '' },
42
+        { value: '4', label: '下机护士 : ', content: '刘大燕', unit: '' },
43
+        { value: '4', label: '上机换药护士 : ', content: '周明君', unit: '' },
44
+        { value: '4', label: '上机换药护士 : ', content: '周明君', unit: '' },
45
+        { value: '4', label: '责任护士 : ', content: '周明君', unit: '' },
46
+        { value: '4', label: '责任医生 : ', content: '周明君', unit: '' }
47 47
       ],
48 48
       info2: [
49
-        { value: "1", label: "上机时间 : ", content: "2018-05-12 09:32:22", unit: "" },
50
-        { value: "2", label: "核对时间 : ", content: "2018-05-12 09:32:22", unit: "" },
51
-        { value: "3", label: "下机时间 : ", content: "2018-05-12 09:32:22", unit: "" },
52
-        { value: "4", label: "上机换药时间 : ", content: "2018-05-12 09:32:22", unit: "" },
53
-        { value: "4", label: "下机换药时间 : ", content: "2018-05-12 09:32:22", unit: "" }
49
+        { value: '1', label: '上机时间 : ', content: '2018-05-12 09:32:22', unit: '' },
50
+        { value: '2', label: '核对时间 : ', content: '2018-05-12 09:32:22', unit: '' },
51
+        { value: '3', label: '下机时间 : ', content: '2018-05-12 09:32:22', unit: '' },
52
+        { value: '4', label: '上机换药时间 : ', content: '2018-05-12 09:32:22', unit: '' },
53
+        { value: '4', label: '下机换药时间 : ', content: '2018-05-12 09:32:22', unit: '' }
54 54
       ],
55 55
       info3: [
56
-        { value: "1", label: " ", content: "", unit: "" },
56
+        { value: '1', label: ' ', content: '', unit: '' }
57 57
 
58 58
       ]
59
-    };
59
+    }
60 60
   }
61
-};
61
+}
62 62
 </script>
63 63
 
64 64
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 12 - 10
src/xt_pages/dialysis/details/treatmentOf.vue ファイルの表示

@@ -7,7 +7,9 @@
7 7
           <label>透后宣教 : </label>
8 8
           <span class="content">{{ mission }}</span>
9 9
         </li>
10
-        <li>
10
+      </ul>
11
+      <ul>
12
+         <li>
11 13
           <label>透析小结 : </label>
12 14
           <span class="content">{{ dialysis_summary }}</span>
13 15
         </li>
@@ -19,35 +21,35 @@
19 21
 
20 22
 <script>
21 23
 export default {
22
-  name: "DialysisPrescription",
24
+  name: 'DialysisPrescription',
23 25
   data() {
24 26
     return {
25
-      title: "治疗小结",
26
-    };
27
+      title: '治疗小结'
28
+    }
27 29
   },
28 30
   props: {
29 31
     record: {
30
-      type: Object,
32
+      type: Object
31 33
     }
32 34
   },
33 35
   computed: {
34 36
     mission: function() {
35 37
       if (this.record.id == 0) {
36
-        return ""
38
+        return ''
37 39
       }
38 40
       return this.record.mission
39 41
     },
40 42
     dialysis_summary: function() {
41 43
       if (this.record.id == 0) {
42
-        return ""
44
+        return ''
43 45
       }
44 46
       return this.record.dialysis_summary
45
-    },
47
+    }
46 48
   },
47 49
   methods: {
48
-    
50
+
49 51
   }
50
-};
52
+}
51 53
 </script>
52 54
 
53 55
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 4 - 3
src/xt_pages/home/modifyOrgInfoDialog.vue ファイルの表示

@@ -17,7 +17,7 @@
17 17
                     </neditor>
18 18
                 </keep-alive>
19 19
                 </el-form-item>
20
-                <el-form-item label="机构头像:" prop="org_logo">
20
+                <!-- <el-form-item label="机构头像:" prop="org_logo">
21 21
                     <el-upload
22 22
                         v-loading="uploading"
23 23
                         :element-loading-text="loadingText"
@@ -31,7 +31,7 @@
31 31
                         <img v-if="imageUrl" :src="imageUrl" class="avatar">
32 32
                         <i v-else class="el-icon-plus avatar-uploader-icon"></i>
33 33
                     </el-upload>
34
-                </el-form-item>
34
+                </el-form-item> -->
35 35
                 <el-form-item label="机构地区:" prop="org_area">
36 36
                     <el-select v-model="form.province" clearable filterable placeholder="请选择" @change="changeProvince">
37 37
                         <el-option
@@ -194,7 +194,8 @@ export default {
194 194
         business_time: '',
195 195
         illness: '',
196 196
         illness_list: [],
197
-        org_gallery: []
197
+        org_gallery: [],
198
+        imageUrl: ''
198 199
       },
199 200
       myConfig: {
200 201
         // 如果需要上传功能,找后端小伙伴要服务器接口地址

+ 5 - 49
src/xt_pages/sign/index.vue ファイルの表示

@@ -82,7 +82,7 @@
82 82
                     <el-row :gutter="20">
83 83
                         <el-col :span="23" align="right" class="button">
84 84
                             <el-button  @click="hide()">取消</el-button>
85
-                            <el-button @click="updateSignweight();" type="primary">保存</el-button>
85
+                            <el-button @click="updateSignweight();sighdata()" type="primary">保存</el-button>
86 86
                         </el-col>
87 87
                     </el-row>
88 88
                    </div>
@@ -94,7 +94,7 @@
94 94
 </template>
95 95
 
96 96
 <script>
97
-import { fetchSignPatients, getPatientSign, getDialysisInforInfomation, getDialysisAfterInfomation, updateSignweight, sighdata, getForenoonData } from '@/api/signandweigh'
97
+import { fetchSignPatients, getPatientSign, getDialysisInforInfomation, getDialysisAfterInfomation, updateSignweight, sighdata } from '@/api/signandweigh'
98 98
 import BreadCrumb from '../components/bread-crumb'
99 99
 export default {
100 100
   name: 'sign',
@@ -214,50 +214,16 @@ export default {
214 214
           if (this.queryParams.need_schedule_type === 1) {
215 215
             var sl = this.schedules.length
216 216
             var panel = response.data.data.panel
217
-            console.log('panel是什么', panel)
218
-            console.log('s1是什么东西', sl)
219
-            console.log(sl)
220 217
             for (let index = 0; index < sl; index++) {
221 218
               if (this.schedules[index].type in response.data.data.panel) {
222 219
                 console.log(this.schedules[index].type)
223 220
                 console.log(response.data.data.panel[this.schedules[index].type].schedule)
224 221
                 this.schedules[index].arrange = response.data.data.panel[this.schedules[index].type].schedule
225
-                // this.schedules[index].sign = response.data.data.panel[this.schedules[index].type].sign
226
-                // console.log('sign是什么', this.schedules[index].sign)
227
-                // this.schedules[index].before = response.data.data.panel[this.schedules[index].type].before
228
-                // this.schedules[index].after = response.data.data.panel[this.schedules[index].type].after
222
+                this.schedules[index].sign = response.data.data.panel[this.schedules[index].type].sign
223
+                this.schedules[index].before = response.data.data.panel[this.schedules[index].type].before
224
+                this.schedules[index].after = response.data.data.panel[this.schedules[index].type].after
229 225
               }
230 226
             }
231
-
232
-            for (let index = 0; index < this.patients.length; index++) {
233
-              var sl = this.schedules.length
234
-              for (let j = 0; j < sl; j++) {
235
-                console.log('这个是是呢是什么', this.schedules[j].type)
236
-                console.log('这个是什么', this.patients[index].schedule.schedule_type)
237
-                if (this.schedules[j].type === this.patients[index].schedule.schedule_type) {
238
-                  if (this.patients[index].predialysisevaluation.id !== 0) {
239
-                    this.schedules[j].sign++
240
-                  }
241
-                }
242
-              }
243
-            }
244
-
245
-            // if (this.patients[index].schedule.id > 0 && (this.patients[index].schedule.schedule_type >= 1 || this.patients[index].schedule.schedule_type <= 3)) {
246
-            //   var sl = this.schedules.length
247
-            //   for (let j = 0; j < sl; j++) {
248
-            //     if (this.schedules[j].type === this.patients[index].schedule.schedule_type) {
249
-            //       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)) {
250
-            //         this.schedules[j].sign++
251
-            //       }
252
-            //       if (signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0) {
253
-            //         this.schedules[j].before++
254
-            //       }
255
-            //       if (signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0) {
256
-            //         this.schedules[j].after++
257
-            //       }
258
-            //     }
259
-            //   }
260
-            // }
261 227
           }
262 228
         }
263 229
       })
@@ -501,16 +467,7 @@ export default {
501 467
           return false
502 468
         }
503 469
       })
504
-    },
505
-    getForenoonData() {
506
-      getForenoonData().then(response => {
507
-        if (response.data.state === 1) {
508
-          var total = response.data.data.total
509
-          console.log('total', total)
510
-        }
511
-      })
512 470
     }
513
-
514 471
   },
515 472
   watch: {
516 473
     'weigh_form.weigh_before': function() {
@@ -567,7 +524,6 @@ export default {
567 524
     this.queryParams.schedule_type = -1
568 525
     this.queryParams.need_schedule_type = 1
569 526
     this.fetchSignPatients()
570
-    this.getForenoonData()
571 527
   }
572 528
 }
573 529
 </script>

+ 42 - 45
src/xt_pages/user/components/PatientSidebar.1.vue ファイルの表示

@@ -42,6 +42,9 @@
42 42
           <router-link :to="'/patients/patient/'+this.id+'/doctorAdvice'">
43 43
             <el-menu-item index="1-4">医嘱管理</el-menu-item>
44 44
           </router-link>
45
+          <router-link :to="'/patients/patient/'+this.id+'/dryWeight'">
46
+            <el-menu-item index="1-6">干体重</el-menu-item>
47
+          </router-link>
45 48
           <router-link :to="'/patients/course?id='+this.id">
46 49
             <el-menu-item index="1-2">病程管理</el-menu-item>
47 50
           </router-link>
@@ -86,20 +89,19 @@
86 89
 
87 90
 </template>
88 91
 <script>
92
+  import { fetchAllList, PostSearch } from '@/api/patient'
93
+import { jsGetAge, uParseTime } from '@/utils/tools'
89 94
 
90
-  import {fetchAllList,PostSearch} from "@/api/patient";
91
-  import {jsGetAge, uParseTime} from "@/utils/tools";
92
-
93
-  export default {
94
-    name: "patientSidebar",
95
-    value:'',
96
-    searchArray:[],
95
+export default {
96
+    name: 'patientSidebar',
97
+    value: '',
98
+    searchArray: [],
97 99
     props: {
98 100
       id: 0,
99 101
       defaultActive: {
100 102
         type: String,
101
-        default: '1-1',
102
-      },
103
+        default: '1-1'
104
+      }
103 105
 
104 106
     },
105 107
     data() {
@@ -108,80 +110,75 @@
108 110
         patientsList: null,
109 111
         currentPatient: {},
110 112
         selectID: 0,
111
-        keyword:'',
112
-        value:'',
113
+        keyword: '',
114
+        value: ''
113 115
       }
114 116
     },
115 117
     methods: {
116 118
       changePatient(value) {
117 119
         console.log(value)
118
-        this.$router.push("/patients/patient/" + value);
120
+        this.$router.push('/patients/patient/' + value)
119 121
       },
120 122
       getList() {
121 123
         fetchAllList().then(response => {
122 124
           if (response.data.state == 1) {
123
-            this.patientsList = response.data.data.patients;
124
-            var len = this.patientsList.length;
125
+            this.patientsList = response.data.data.patients
126
+            var len = this.patientsList.length
125 127
             if (len > 0) {
126 128
               for (let index = 0; index < len; index++) {
127 129
                 if (this.patientsList[index].id == this.id) {
128
-                  this.currentPatient = this.patientsList[index];
130
+                  this.currentPatient = this.patientsList[index]
129 131
 
130
-                  this.selectID = this.patientsList[index].id;
131
-                  this.$emit('tran-patient', this.currentPatient);
132
-                  break;
132
+                  this.selectID = this.patientsList[index].id
133
+                  this.$emit('tran-patient', this.currentPatient)
134
+                  break
133 135
                 }
134 136
               }
135 137
             }
136 138
           }
137
-        });
139
+        })
138 140
       },
139 141
       tranAge(birthday) {
140
-        var birth = uParseTime(birthday, '{y}-{m}-{d}');
141
-        return jsGetAge(birth, '-');
142
+        var birth = uParseTime(birthday, '{y}-{m}-{d}')
143
+        return jsGetAge(birth, '-')
142 144
       },
143 145
       tranSex(gender) {
144
-        var sex = "未知";
146
+        var sex = '未知'
145 147
         switch (gender) {
146 148
           case 1:
147
-            sex = "男"
148
-            break;
149
+            sex = '男'
150
+            break
149 151
           case 2:
150
-            sex = "女"
151
-            break;
152
+            sex = '女'
153
+            break
152 154
           default:
153
-            break;
155
+            break
154 156
         }
155
-        return sex;
156
-      },querySearchAsync(keyword,cb){
157
-        let key = ""
158
-        if(keyword != undefined){
157
+        return sex
158
+      }, querySearchAsync(keyword, cb) {
159
+        let key = ''
160
+        if (keyword != undefined) {
159 161
           key = keyword
160 162
         }
161 163
         let searchArray = []
162 164
         PostSearch(key).then(response => {
163 165
           if (response.data.state == 1) {
164
-            searchArray =response.data.data.patient
166
+            searchArray = response.data.data.patient
165 167
             cb(searchArray)
166
-          }else{
167
-            this.$message.error(response.data.msg);
168
+          } else {
169
+            this.$message.error(response.data.msg)
168 170
             cb([])
169
-
170 171
           }
171
-
172
-        });
173
-
174
-      },handleSelect(val){
175
-        this.$router.push("/patients/patient/" + val.id);
176
-
177
-
172
+        })
173
+      }, handleSelect(val) {
174
+        this.$router.push('/patients/patient/' + val.id)
178 175
       }
179 176
 
180 177
     },
181 178
     created() {
182
-      this.getList();
183
-    },
184
-  };
179
+      this.getList()
180
+  }
181
+  }
185 182
 </script>
186 183
 
187 184
 <style>

+ 94 - 85
src/xt_pages/user/components/PatientSidebar.vue ファイルの表示

@@ -42,18 +42,18 @@
42 42
 
43 43
 </template>
44 44
 <script>
45
-import { fetchAllList, PostSearch } from "@/api/patient";
46
-import { jsGetAge, uParseTime } from "@/utils/tools";
45
+import { fetchAllList, PostSearch } from '@/api/patient'
46
+import { jsGetAge, uParseTime } from '@/utils/tools'
47 47
 
48 48
 export default {
49
-  name: "patientSidebar",
50
-  value: "",
49
+  name: 'patientSidebar',
50
+  value: '',
51 51
   searchArray: [],
52 52
   props: {
53 53
     id: 0,
54 54
     defaultActive: {
55 55
       type: String,
56
-      default: "1-1"
56
+      default: '1-1'
57 57
     }
58 58
   },
59 59
   data() {
@@ -62,160 +62,169 @@ export default {
62 62
       patientsList: null,
63 63
       currentPatient: {},
64 64
       selectID: 0,
65
-      keyword: "",
66
-      value: "",
67
-      treeKey: "",
65
+      keyword: '',
66
+      value: '',
67
+      treeKey: '',
68 68
       treeData: [
69 69
         {
70
-          name: "1",
71
-          label: "电子病历",
70
+          name: '1',
71
+          label: '电子病历',
72 72
           children: [
73 73
             {
74
-              name: "1-1",
75
-              label: "基本信息"
74
+              name: '1-1',
75
+              label: '基本信息'
76 76
             },
77 77
             {
78
-              name: "1-4",
79
-              label: "医嘱管理"
78
+              name: '1-4',
79
+              label: '医嘱管理'
80 80
             },
81 81
             {
82
-              name: "1-2",
83
-              label: "病程管理"
82
+              name: '1-6',
83
+              label: '干体重'
84 84
             },
85 85
             {
86
-              name: "1-3",
87
-              label: "检验检查"
86
+              name: '1-2',
87
+              label: '病程管理'
88 88
             },
89 89
             {
90
-              name: "1-5",
91
-              label: "抢救记录"
90
+              name: '1-3',
91
+              label: '检验检查'
92
+            },
93
+            {
94
+              name: '1-5',
95
+              label: '抢救记录'
92 96
             }
97
+
93 98
           ]
94 99
         },
95 100
         {
96
-          name: "2",
97
-          label: "透析管理",
101
+          name: '2',
102
+          label: '透析管理',
98 103
           children: [
99 104
             {
100
-              name: "2-1",
101
-              label: "长期透析处方"
105
+              name: '2-1',
106
+              label: '长期透析处方'
102 107
             },
103 108
             {
104
-              name: "2-2",
105
-              label: "透析记录"
109
+              name: '2-2',
110
+              label: '透析记录'
106 111
             },
107 112
             {
108
-              name: "2-4",
109
-              label: "排班信息"
113
+              name: '2-4',
114
+              label: '排班信息'
110 115
             },
111 116
             {
112
-              name: "2-5",
113
-              label: "宣教信息"
117
+              name: '2-5',
118
+              label: '宣教信息'
114 119
             }
115 120
           ]
116 121
         }
117 122
       ]
118
-    };
123
+    }
119 124
   },
120 125
   methods: {
121 126
     handleNodeClick(data) {
122
-      var name = data.name;
123
-      if (name == "1-1") {
124
-        this.$router.push({ path: "/patients/patient/" + this.id });
125
-      } else if (name == "1-2") {
126
-        this.$router.push({ path: "/patients/course?id=" + this.id });
127
-      } else if (name == "1-3") {
128
-        this.$router.push({ path: "/patients/inspection?id=" + this.id });
129
-      } else if (name == "1-4") {
127
+      var name = data.name
128
+      if (name == '1-1') {
129
+        this.$router.push({ path: '/patients/patient/' + this.id })
130
+      } else if (name == '1-2') {
131
+        this.$router.push({ path: '/patients/course?id=' + this.id })
132
+      } else if (name == '1-3') {
133
+        this.$router.push({ path: '/patients/inspection?id=' + this.id })
134
+      } else if (name == '1-4') {
135
+        this.$router.push({
136
+          path: '/patients/patient/' + this.id + '/doctorAdvice'
137
+        })
138
+      } else if (name == '1-6') {
130 139
         this.$router.push({
131
-          path: "/patients/patient/" + this.id + "/doctorAdvice"
132
-        });
133
-      } else if (name == "1-5") {
134
-        this.$router.push({ path: "/patients/rescue?id=" + this.id });
135
-      } else if (name == "2-1") {
140
+          path: '/patients/patient/' + this.id + '/dryWeight'
141
+        })
142
+      } else if (name == '1-5') {
143
+        this.$router.push({ path: '/patients/rescue?id=' + this.id })
144
+      } else if (name == '2-1') {
136 145
         this.$router.push({
137
-          path: "/patients/patient/" + this.id + "/dialysisSolution"
138
-        });
139
-      } else if (name == "2-2") {
146
+          path: '/patients/patient/' + this.id + '/dialysisSolution'
147
+        })
148
+      } else if (name == '2-2') {
140 149
         this.$router.push({
141
-          path: "/patients/patient/" + this.id + "/dialysisRecord"
142
-        });
143
-      } else if (name == "2-4") {
150
+          path: '/patients/patient/' + this.id + '/dialysisRecord'
151
+        })
152
+      } else if (name == '2-4') {
144 153
         this.$router.push({
145
-          path: "/patients/patient/" + this.id + "/scheduling"
146
-        });
147
-      } else if (name == "2-5") {
154
+          path: '/patients/patient/' + this.id + '/scheduling'
155
+        })
156
+      } else if (name == '2-5') {
148 157
         this.$router.push({
149
-          path: "/patients/patient/" + this.id + "/proeducation"
150
-        });
158
+          path: '/patients/patient/' + this.id + '/proeducation'
159
+        })
151 160
       }
152 161
     },
153 162
     changePatient(value) {
154
-      console.log(value);
155
-      this.$router.push("/patients/patient/" + value);
163
+      console.log(value)
164
+      this.$router.push('/patients/patient/' + value)
156 165
     },
157 166
     getList() {
158 167
       fetchAllList().then(response => {
159 168
         if (response.data.state == 1) {
160
-          this.patientsList = response.data.data.patients;
161
-          var len = this.patientsList.length;
169
+          this.patientsList = response.data.data.patients
170
+          var len = this.patientsList.length
162 171
           if (len > 0) {
163 172
             for (let index = 0; index < len; index++) {
164 173
               if (this.patientsList[index].id == this.id) {
165
-                this.currentPatient = this.patientsList[index];
174
+                this.currentPatient = this.patientsList[index]
166 175
 
167
-                this.selectID = this.patientsList[index].id;
168
-                this.$emit("tran-patient", this.currentPatient);
169
-                break;
176
+                this.selectID = this.patientsList[index].id
177
+                this.$emit('tran-patient', this.currentPatient)
178
+                break
170 179
               }
171 180
             }
172 181
           }
173 182
         }
174
-      });
183
+      })
175 184
     },
176 185
     tranAge(birthday) {
177
-      var birth = uParseTime(birthday, "{y}-{m}-{d}");
178
-      return jsGetAge(birth, "-");
186
+      var birth = uParseTime(birthday, '{y}-{m}-{d}')
187
+      return jsGetAge(birth, '-')
179 188
     },
180 189
     tranSex(gender) {
181
-      var sex = "未知";
190
+      var sex = '未知'
182 191
       switch (gender) {
183 192
         case 1:
184
-          sex = "男";
185
-          break;
193
+          sex = '男'
194
+          break
186 195
         case 2:
187
-          sex = "女";
188
-          break;
196
+          sex = '女'
197
+          break
189 198
         default:
190
-          break;
199
+          break
191 200
       }
192
-      return sex;
201
+      return sex
193 202
     },
194 203
     querySearchAsync(keyword, cb) {
195
-      let key = "";
204
+      let key = ''
196 205
       if (keyword != undefined) {
197
-        key = keyword;
206
+        key = keyword
198 207
       }
199
-      let searchArray = [];
208
+      let searchArray = []
200 209
       PostSearch(key).then(response => {
201 210
         if (response.data.state == 1) {
202
-          searchArray = response.data.data.patient;
203
-          cb(searchArray);
211
+          searchArray = response.data.data.patient
212
+          cb(searchArray)
204 213
         } else {
205
-          this.$message.error(response.data.msg);
206
-          cb([]);
214
+          this.$message.error(response.data.msg)
215
+          cb([])
207 216
         }
208
-      });
217
+      })
209 218
     },
210 219
     handleSelect(val) {
211
-      this.$router.push("/patients/patient/" + val.id);
220
+      this.$router.push('/patients/patient/' + val.id)
212 221
     }
213 222
   },
214 223
   created() {
215
-    this.treeKey = this.defaultActive;
216
-    this.getList();
224
+    this.treeKey = this.defaultActive
225
+    this.getList()
217 226
   }
218
-};
227
+}
219 228
 </script>
220 229
 
221 230
 <style>

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

@@ -0,0 +1,404 @@
1
+<template>
2
+  <div class="patient-container">
3
+    <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
4
+    <div class="patient-app-container advice-container app-container">
5
+      <div class="cell clearfix">
6
+      当前时间: <el-input  style="width:130px;" v-model="nowtime" :disabled="true"></el-input> 
7
+         </el-time-select>
8
+        干体重:<el-input style="width:100px" v-model="dryweight" :disabled="true"></el-input>
9
+         <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="addShow">新增</el-button>
10
+         <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="adjustShow">调整</el-button>
11
+      </div>
12
+      <el-table  :data="tableData" border style="width:100%">
13
+      <el-table-column     prop="date"    label="时间"      align="center">
14
+          <template  slot-scope="scope">
15
+              {{CreateTime(scope.row.ctime)}}
16
+          </template>
17
+     </el-table-column>
18
+      <el-table-column     prop="date"    label="调整值"   align="center">
19
+        <template slot-scope="scope">
20
+              {{scope.row.adjusted_value}}
21
+        </template>
22
+     </el-table-column>
23
+      <el-table-column     prop="date"    label="干体重"    align="center"> 
24
+         <template slot-scope="scope">
25
+              {{scope.row.dry_weight}}
26
+         </template>
27
+      </el-table-column>
28
+      <el-table-column     prop="date"    label="医生"      align="center"> 
29
+          <template slot-scope="scope">
30
+                {{scope.row.user_name}}
31
+          </template>
32
+      </el-table-column>
33
+      <el-table-column     prop="date"    label="备注"      align="center"> 
34
+          <template slot-scope="scope">
35
+              {{scope.row.remakes}}
36
+          </template>
37
+      </el-table-column>
38
+  </el-table>
39
+     
40
+     <el-dialog
41
+         title="调整干体重"
42
+         :visible.sync="dialogVisible"
43
+         width="30%"
44
+         center>
45
+      <el-form label-width="120px" :model="dryWeightForm" ref="dryWeightForm">
46
+          <el-form-item label="干体重:">
47
+              <el-input style="width:200px" v-model="dryWeightForm.dry_weight"></el-input>
48
+          </el-form-item>
49
+          <el-form-item label="医生:">
50
+              <el-select v-model="dryWeightForm.doctors" placeholder="请选择">
51
+                <el-option
52
+                  v-for="item in options"
53
+                  :key="item.id"
54
+                  :label="item.user_name"
55
+                  :value="item.id">
56
+              </el-option>
57
+           </el-select>
58
+          </el-form-item>
59
+           <el-form-item label="备注:" style="width:290px">
60
+            <el-input
61
+             type="textarea"
62
+             :autosize="{ minRows: 2, maxRows: 4}"
63
+             placeholder="请输入内容"
64
+             v-model="dryWeightForm.remarks">
65
+           </el-input>
66
+        </el-form-item>
67
+      </el-form>
68
+     
69
+     <span slot="footer" class="dialog-footer">
70
+     <el-button @click="dialogVisible = false">取 消</el-button>
71
+     <el-button type="primary" @click="UpdateDryWeightData('dryWeightForm')">确 定</el-button>
72
+     </span>
73
+     </el-dialog>
74
+
75
+    </div>
76
+  </div>
77
+</template>
78
+<script>
79
+  const moment = require('moment')
80
+  import PatientSidebar from './components/PatientSidebar'
81
+  import EditGroupAdvice from './components/EditGroupAdvice'
82
+  import { fetchAllAdminUsers, fetchAllDoctorAndNurse } from '@/api/doctor'
83
+  import { fetchPatient, PostRemind, getDryWeightData, getAllDoctor, UpdateDryWeightData, getAllData } from '@/api/patient'
84
+
85
+  import { jsGetAge, uParseTime } from '@/utils/tools'
86
+  import { getDataConfig } from '@/utils/data'
87
+  export default {
88
+    name: 'doctorAdvice',
89
+    components: {
90
+      PatientSidebar,
91
+      EditGroupAdvice
92
+    },
93
+    data() {
94
+      return {
95
+        tableData: [],
96
+        nowtime: moment(new Date()).format('YYYY-MM-DD'),
97
+        patientID: '',
98
+        dryweight: '',
99
+        dialogVisible: false,
100
+        options: [],
101
+        textarea2: '',
102
+        dryWeightForm: {
103
+          dry_weight: '',
104
+          doctors: '',
105
+          remarks: ''
106
+        },
107
+        addShow: true,
108
+        adjustShow: false
109
+      }
110
+    },
111
+    methods: {
112
+      clickuseradvicecell(row, column, cell, event) {
113
+      },
114
+      onTranPatient: function(tranPatient) {
115
+        this.currentPatient = tranPatient
116
+      },
117
+      CreateTime(time) {
118
+        return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
119
+      },
120
+      getDryWeightData(id) {
121
+        getDryWeightData(id).then(response => {
122
+          if (response.data.state === 1) {
123
+            var pre = response.data.data.pre
124
+            console.log('pre是什么', pre)
125
+            for (let index = 0; index < pre.length; index++) {
126
+              this.dryweight = pre[0].dry_weight
127
+            }
128
+          }
129
+        })
130
+      },
131
+      getAllDoctor() {
132
+        getAllDoctor().then(response => {
133
+          if (response.data.state == 1) {
134
+            var appRole = response.data.data.appRole
135
+            console.log('approle', appRole)
136
+            this.options = appRole
137
+          }
138
+        })
139
+      },
140
+      UpdateDryWeightData(formName) {
141
+        const params = {
142
+          dry_weight: this.dryWeightForm.dry_weight,
143
+          doctors: this.dryWeightForm.doctors,
144
+          remarks: this.dryWeightForm.remarks,
145
+          patient_id: this.patientID,
146
+          dryweight: this.dryweight
147
+        }
148
+  
149
+        this.$refs[formName].validate((valid) => {
150
+          if (valid) {
151
+            UpdateDryWeightData(params).then(response => {
152
+              if (response.data.state === 1) {
153
+                var patientDryweight = response.data.data.patientDryweight
154
+                console.log('patientdryweight', patientDryweight)
155
+                this.dialogVisible = false
156
+                this.getAllData()
157
+                const id = this.$route.params && this.$route.params.id
158
+                this.getDryWeightData(id)
159
+              }
160
+            })
161
+          }
162
+        })
163
+      },
164
+      getAllData() {
165
+        getAllData().then(response => {
166
+          if (response.data.state === 1) {
167
+            var dry = response.data.data.dry
168
+            this.tableData = dry
169
+            if (dry.length === 0) {
170
+              this.addShow = true
171
+              this.adjustShow = false
172
+            } else {
173
+              this.addShow = false
174
+              this.adjustShow = true
175
+            }
176
+            console.log('dry', dry)
177
+          }
178
+        })
179
+      }
180
+    },
181
+    created() {
182
+      const id = this.$route.params && this.$route.params.id
183
+      console.log('id是设么', id)
184
+      this.patientID = parseInt(id)
185
+      this.getDryWeightData(id)
186
+      this.getAllDoctor()
187
+      this.getAllData()
188
+    }
189
+  }
190
+</script>
191
+
192
+<style>
193
+  #oictable ::-webkit-scrollbar {
194
+    height: 15px;
195
+  }
196
+</style>
197
+
198
+<style rel="stylesheet/scss" lang="scss" scoped>
199
+
200
+  .printForm {
201
+    width: 960px;
202
+  }
203
+
204
+  .printForm .hospital_title {
205
+    font-size: 20px;
206
+    font-weight: 400;
207
+    text-align: center;
208
+    letter-spacing: 5px;
209
+  }
210
+
211
+  .printForm .title {
212
+    font-size: 30px;
213
+    font-weight: 500;
214
+    text-align: center;
215
+  }
216
+
217
+  .printForm .title {
218
+    font-size: 30px;
219
+    font-weight: 500;
220
+    text-align: center;
221
+  }
222
+
223
+  .printForm .info ul {
224
+    display: -webkit-box;
225
+    display: -moz-box;
226
+    display: -ms-flexbox;
227
+    display: -webkit-flex;
228
+    display: flex;
229
+    align-items: center;
230
+    -moz-box-sizing: border-box;
231
+    -webkit-box-sizing: border-box;
232
+    -o-box-sizing: border-box;
233
+    -ms-box-sizing: border-box;
234
+    box-sizing: border-box;
235
+    -webkit-justify-content: space-around;
236
+    -moz-justify-content: space-around;
237
+    -ms-justify-content: space-around;
238
+    -o-justify-content: space-around;
239
+    justify-content: space-around;
240
+  }
241
+
242
+  .printForm .info ul li {
243
+    display: flex;
244
+    box-sizing: border-box;
245
+    justify-content: space-around;
246
+  }
247
+
248
+  .printForm .info ul li .InputBox {
249
+    padding: 0;
250
+    border: none;
251
+    border-bottom: 1px #e5e5e5 solid;
252
+    outline: none;
253
+    width: 80px;
254
+  }
255
+
256
+  .printForm .printTable tr {
257
+    padding: 2px;
258
+  }
259
+
260
+  .printForm .printTable tr > th {
261
+    padding: 6px 4px;
262
+  }
263
+
264
+  .printForm .printTable tr > td {
265
+    padding: 6px 4px;
266
+  }
267
+
268
+  .es-img {
269
+    height: 25px;
270
+  }
271
+
272
+  .advice-container {
273
+    font-size: 15px;
274
+
275
+  .filter-container {
276
+    padding-bottom: 5px;
277
+  }
278
+
279
+  .search-component {
280
+    width: 500px;
281
+
282
+  .searchBox {
283
+    width: 300px;
284
+    height: 36px;
285
+    line-height: 36px;
286
+    padding-left: 15px;
287
+    border: 1px #dcdfe6 solid;
288
+    border-right: none;
289
+    outline: none;
290
+    float: left;
291
+    border-radius: 6px 0 0 6px;
292
+    font-size: 14px;
293
+    color: #333;
294
+    background: #fff;
295
+    box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
296
+  }
297
+
298
+  .searchBtn {
299
+    background-color: #409eff;
300
+    color: #fff;
301
+    font-size: 15px;
302
+    text-align: center;
303
+    height: 36px;
304
+    line-height: 36px;
305
+    float: left;
306
+    outline: none;
307
+    width: 70px;
308
+    border: none;
309
+    border-radius: 0 6px 6px 0;
310
+    font-family: "Microsoft Yahei";
311
+    cursor: pointer;
312
+  }
313
+
314
+  }
315
+  .amount {
316
+    font-weight: normal;
317
+    padding: 10px 0 0 0;
318
+    color: #606266;
319
+    font-size: 14px;
320
+
321
+  span {
322
+    color: #ef2525;
323
+    font-family: "Arial";
324
+    padding: 0 2px;
325
+  }
326
+
327
+  }
328
+  .el-dropdown-link {
329
+    cursor: pointer;
330
+  }
331
+
332
+  }
333
+
334
+  .advice-order .ls-title {
335
+    text-align: center;
336
+    font-weight: 600;
337
+    font-size: 30px;
338
+    line-height: 80px;
339
+    margin-bottom: 20px;
340
+  }
341
+
342
+  .advice-order .ls-type {
343
+    text-align: center;
344
+    margin-bottom: 20px;
345
+  }
346
+
347
+  .advice-order .ls-name {
348
+    display: flex;
349
+    align-items: center;
350
+    justify-content: space-between;
351
+    padding: 30px 2em;
352
+  }
353
+</style>
354
+<style>
355
+  .advice-order .el-table__body {
356
+    border: 1px solid #333;
357
+  }
358
+
359
+  .advice-order .el-table__body td {
360
+    border: 1px solid #333;
361
+  }
362
+
363
+  .advice-order .item-value {
364
+    flex: 1;
365
+    border-bottom: 1px solid #333;
366
+  }
367
+
368
+  .advice-order th,
369
+  .advice-order td {
370
+    padding: 5px 10px;
371
+  }
372
+
373
+  #user-advice-name-table .expanded {
374
+    display: table-row !important;
375
+  }
376
+
377
+  #user-advice-name-table .el-table__expand-icon {
378
+    -webkit-transform: rotate(90deg) !important;
379
+    transform: rotate(90deg) !important;
380
+  }
381
+
382
+  .user-advice-table-row:hover > td {
383
+    background: #fff !important;
384
+  }
385
+
386
+  .user-advice-table-row td:hover {
387
+    background: #fff !important;
388
+  }
389
+
390
+  #user-advice-select-template-table .el-table__row {
391
+    display: table-row !important;
392
+  }
393
+
394
+  #user-advice-select-template-table .el-table__expand-icon {
395
+    -webkit-transform: rotate(90deg) !important;
396
+    transform: rotate(90deg) !important;
397
+  }
398
+
399
+  .advicenamedisplay .cell {
400
+    float: left;
401
+    text-align: left;
402
+  }
403
+</style>
404
+

+ 15 - 30
src/xt_pages/workforce/components/tableData.vue ファイルの表示

@@ -671,7 +671,6 @@
671 671
               }
672 672
               console.log(that.scheduleZone)
673 673
               console.log(theSchedules)
674
-
675 674
             })
676 675
           } else {
677 676
             this.$message.error('网络错误')
@@ -818,7 +817,8 @@
818 817
           this.creating_schedule = false
819 818
         })
820 819
       },
821
-      clickThis(row, column, cell, event) {debugger
820
+      clickThis(row, column, cell, event) {
821
+      // debugger
822 822
         console.log(column.property)
823 823
         var week = this.weekDay(column.property)
824 824
         console.log(week)
@@ -970,9 +970,8 @@
970 970
       changePartition(value) {
971 971
         this.current_devices = this.zone_device_map[value]
972 972
         this.device_id = this.current_devices[0].id
973
-
974 973
       }, changeScheduleType(schedule_type) {
975
-        let params = {
974
+        const params = {
976 975
           type: schedule_type
977 976
         }
978 977
         getUrgentScheduleInitData(params).then(rs => {
@@ -999,7 +998,7 @@
999 998
               zone_device_map[device_number.zone.name].push(device_number)
1000 999
             }
1001 1000
             this.zone_device_map = zone_device_map
1002
-            debugger
1001
+            // debugger
1003 1002
 
1004 1003
             this.zone_names = Object.keys(this.zone_device_map)
1005 1004
             if (this.zone_names.length > 0) {
@@ -1015,12 +1014,10 @@
1015 1014
           } else {
1016 1015
             Toast.fail(rs.data.msg)
1017 1016
           }
1018
-
1019 1017
         }).catch(err => {
1020 1018
           this.loading = false
1021 1019
           Toast.fail(err)
1022 1020
         })
1023
-
1024 1021
       },
1025 1022
       submitTiaoX() {
1026 1023
         // if (this.tiaoZhengType==1) {
@@ -1052,7 +1049,7 @@
1052 1049
             } else {
1053 1050
               this.jihaos = []
1054 1051
             }
1055
-            let params = {
1052
+            const params = {
1056 1053
               type: this.currentData.schedule_type,
1057 1054
               date: this.currentData.schedule_date
1058 1055
             }
@@ -1060,7 +1057,6 @@
1060 1057
               if (response.data.state == 0) {
1061 1058
                 this.$message.error(response.data.msg)
1062 1059
               } else {
1063
-
1064 1060
                 if (response.data.state == 1) {
1065 1061
                   this.origin_schedules = response.data.data.schedules
1066 1062
                   this.origin_device_numbers = response.data.data.device_numbers
@@ -1072,7 +1068,7 @@
1072 1068
                       }
1073 1069
                     }
1074 1070
                   }
1075
-                  debugger
1071
+                  // debugger
1076 1072
                   var zone_device_map = {}
1077 1073
                   for (let index = 0; index < this.origin_device_numbers.length; index++) {
1078 1074
                     const device_number = this.origin_device_numbers[index]
@@ -1082,7 +1078,7 @@
1082 1078
                     zone_device_map[device_number.zone.name].push(device_number)
1083 1079
                   }
1084 1080
                   this.zone_device_map = zone_device_map
1085
-                  
1081
+  
1086 1082
                   this.zone_names = Object.keys(this.zone_device_map)
1087 1083
                   if (this.zone_names.length > 0) {
1088 1084
                     this.zone_name = this.zone_names[0]
@@ -1095,11 +1091,9 @@
1095 1091
                     // { values: this.getDeviceNumberNames(this.current_devices) },
1096 1092
                     { values: this.current_devices }
1097 1093
                   ]
1098
-
1099 1094
                 } else {
1100 1095
                   Toast.fail(rs.data.msg)
1101 1096
                 }
1102
-
1103 1097
               }
1104 1098
             }).catch(err => {
1105 1099
               this.$message.error(err)
@@ -1159,7 +1153,7 @@
1159 1153
               .then(() => {
1160 1154
                 this.CreateSchedule(this.currentData.patient_id, this.currentData)
1161 1155
               }).catch(() => {
1162
-            })
1156
+              })
1163 1157
           } else {
1164 1158
             this.CreateSchedule(this.currentData.patient_id, this.currentData)
1165 1159
           }
@@ -1172,7 +1166,7 @@
1172 1166
             .then(() => {
1173 1167
               this.CreateSchedule(this.currentData.patient_id, this.currentData)
1174 1168
             }).catch(() => {
1175
-          })
1169
+            })
1176 1170
         } else {
1177 1171
           this.CreateSchedule(this.currentData.patient_id, this.currentData)
1178 1172
         }
@@ -1276,14 +1270,13 @@
1276 1270
         }
1277 1271
         return [w, n]
1278 1272
       }, search: function() {
1279
-        let params = {
1273
+        const params = {
1280 1274
           keywords: this.keywords
1281 1275
         }
1282 1276
         getSearchResult(params).then(response => {
1283 1277
           if (response.data.state == 1) {
1284 1278
             this.schedulePatients = response.data.data.schdules
1285 1279
             this.searchTableVisible = true
1286
-
1287 1280
           }
1288 1281
         })
1289 1282
       }, changeMachineNumber: function(index, row) {
@@ -1294,13 +1287,13 @@
1294 1287
 
1295 1288
         switch (row.schedule_type) {
1296 1289
           case 1:
1297
-            this.currentData.type_name = "上午"
1290
+            this.currentData.type_name = '上午'
1298 1291
             break
1299 1292
           case 2:
1300
-            this.currentData.type_name = "下午"
1293
+            this.currentData.type_name = '下午'
1301 1294
             break
1302 1295
           case 3:
1303
-            this.currentData.type_name = "晚上"
1296
+            this.currentData.type_name = '晚上'
1304 1297
             break
1305 1298
         }
1306 1299
 
@@ -1313,7 +1306,6 @@
1313 1306
         this.currentData.patient = row.patient
1314 1307
         this.currentData.contagions = row.patient_contagions
1315 1308
 
1316
-
1317 1309
         this.currentData.id = row.id
1318 1310
         this.changeSchedule = {
1319 1311
           mode_id: row.mode_id,
@@ -1330,14 +1322,13 @@
1330 1322
         } else {
1331 1323
           this.jihaos = []
1332 1324
         }
1333
-        let params = {
1325
+        const params = {
1334 1326
           type: row.schedule_type
1335 1327
         }
1336 1328
         getUrgentScheduleInitData(params).then(response => {
1337 1329
           if (response.data.state == 0) {
1338 1330
             this.$message.error(response.data.msg)
1339 1331
           } else {
1340
-
1341 1332
             if (response.data.state == 1) {
1342 1333
               this.origin_schedules = response.data.data.schedules
1343 1334
               this.origin_device_numbers = response.data.data.device_numbers
@@ -1372,11 +1363,9 @@
1372 1363
                 // { values: this.getDeviceNumberNames(this.current_devices) },
1373 1364
                 { values: this.current_devices }
1374 1365
               ]
1375
-
1376 1366
             } else {
1377 1367
               Toast.fail(rs.data.msg)
1378 1368
             }
1379
-
1380 1369
           }
1381 1370
         }).catch(err => {
1382 1371
           this.$message.error(err)
@@ -1384,7 +1373,6 @@
1384 1373
 
1385 1374
         this.searchTableVisible = false
1386 1375
         this.jhDialogVisible = true
1387
-
1388 1376
       }, getDialysisDate: function(row) {
1389 1377
         let week = ''
1390 1378
         switch (row.schedule_week) {
@@ -1415,7 +1403,6 @@
1415 1403
         }
1416 1404
 
1417 1405
         return week + '(' + uParseTime(row.schedule_date, '{y}-{m}-{d}') + ')'
1418
-
1419 1406
       }, getSchedulesType: function(type) {
1420 1407
         let type_name = ''
1421 1408
         switch (type) {
@@ -1429,11 +1416,9 @@
1429 1416
           case 3:
1430 1417
             type_name = '晚上'
1431 1418
             break
1432
-
1433 1419
         }
1434 1420
         return type_name
1435
-
1436
-      },changeMode:function(index,row) {
1421
+      }, changeMode: function(index, row) {
1437 1422
         this.changeSchedule = {
1438 1423
           mode_id: '',
1439 1424
           schedule_type: '',

File diff suppressed because it is too large
+ 2152 - 2203
static/neditor/third-party/video-js/video.dev.js