Browse Source

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

陈少旭 1 year ago
parent
commit
1bf945dffb
34 changed files with 3199 additions and 155 deletions
  1. 1 2
      src/api/advice.js
  2. 42 0
      src/api/device.js
  3. 4 1
      src/lang/en.js
  4. 3 1
      src/lang/zh.js
  5. 4 0
      src/router/index.js
  6. 15 0
      src/router/index_路由未分离前.js
  7. 20 10
      src/router/modules/device.js
  8. 19 0
      src/router/modules/dialysisIndex.js
  9. 2 1
      src/router/modules/dialysisRecord.js
  10. 1 1
      src/views/layout/Layout.vue
  11. 1 1
      src/views/layout/components/Sidebar/index.vue
  12. 19 2
      src/xt_pages/data/components/addProject.vue
  13. 23 2
      src/xt_pages/data/components/editProject.vue
  14. 317 0
      src/xt_pages/data/components/patient_diagnose.vue
  15. 19 16
      src/xt_pages/device/airDisinfectTwo.vue
  16. 1014 0
      src/xt_pages/device/objectRegistration.vue
  17. 7 2
      src/xt_pages/device/objectTableDisinfectTwo.vue
  18. 5 4
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  19. 7 1
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  20. 1 1
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  21. 1 0
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  22. 2 3
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue
  23. 2 2
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue
  24. 9 5
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  25. 1 1
      src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue
  26. 2 2
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  27. 0 0
      src/xt_pages/dialysis/scheduleIndex.vue
  28. 5 10
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  29. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  30. 75 70
      src/xt_pages/infor/index.vue
  31. 7 7
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  32. 0 1
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue
  33. 21 8
      src/xt_pages/user/inspection.vue
  34. 1549 0
      src/xt_pages/workforce/scheduleTablePrintThree.vue

+ 1 - 2
src/api/advice.js View File

@@ -260,8 +260,7 @@ export function CreateGroupAdvice(id, groupno, advices, mode) {
260 260
 }
261 261
 export function DeleteGroupAdvice(groupno, mode) {
262 262
   return request({
263
-    url:
264
-      '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
263
+    url:'/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
265 264
     method: 'delete',
266 265
     headers: {
267 266
       Permission: 3

+ 42 - 0
src/api/device.js View File

@@ -340,4 +340,46 @@ export function getObjectTableDisinfectLongTime(params){
340 340
     method:"get",
341 341
     params:params,
342 342
   })
343
+}
344
+
345
+export function saveObjectRegistration(data){
346
+  
347
+  return request({
348
+    url:"/api/manage/saveobjectregistration",
349
+    method:"post",
350
+    data:data
351
+  })
352
+}
353
+
354
+export function getRegistrationDisInfectList(params){
355
+  return request({
356
+    url:"/api/manage/getregistrationdisinfectlist",
357
+    method:"get",
358
+    params:params,
359
+  })
360
+}
361
+
362
+export function getObjectRegistrationByIdList(id,params){
363
+  return request({
364
+    url:"/api/manage/getobjectregistrationbyidlist?id="+id,
365
+    method:"Get",
366
+    params:params
367
+  })
368
+}
369
+
370
+export function UpdateObjectRegistration(data){
371
+  return request({
372
+    url:"/api/manage/updateobjectregistration",
373
+    method:"post",
374
+    data:data,
375
+  })
376
+
377
+}
378
+
379
+export function deleteObjectRegistration(id,params){
380
+  return request({
381
+    url:"/api/manage/deleteobjectregistration?id="+id,
382
+    method:"get",
383
+    params:params
384
+  })
343 385
 }

+ 4 - 1
src/lang/en.js View File

@@ -81,6 +81,8 @@ export default {
81 81
     infor:'infor',
82 82
     weight: 'weight',
83 83
     dialysisRecord: 'dialysisRecord',
84
+    dialysisInfo:'dialysisInfo',
85
+    dialysis_index:'dialysis_index',
84 86
     scheduling: 'scheduling',
85 87
     device: 'Device',
86 88
     deviceManage: 'Device Manage',
@@ -123,7 +125,8 @@ export default {
123 125
     special_permission_manage: 'Special Permission Manage',
124 126
     schedule_print: 'Print Schudule',
125 127
     dialysis_batch_print: 'Batch Print Order',
126
-    user_detail: 'user_detail'
128
+    user_detail: 'user_detail',
129
+    objectRegistration:'objectRegistration',
127 130
   },
128 131
   navbar: {
129 132
     logOut: 'Log Out',

+ 3 - 1
src/lang/zh.js View File

@@ -93,9 +93,9 @@ export default {
93 93
     dialysisSolution: '透析处方',
94 94
     inspection: '检验检查',
95 95
     home: '透析首页',
96
-    infor:'信息归档',
97 96
     weight: '干体重',
98 97
     dialysisRecord: '透析记录',
98
+    dialysisInfo:'透析信息',
99 99
     scheduling: '排班信息',
100 100
     proeducation: '宣教信息',
101 101
     doctorAdvice: '医嘱信息',
@@ -296,6 +296,8 @@ export default {
296 296
     yidiClear: '异地清分',
297 297
     zeroSummary: '零用明细汇总',
298 298
     hospitalhistory: '住院历史',
299
+    dialysis_index:'信息归档',
300
+    objectRegistration:"医疗器械登记",
299 301
     Dialysisanalysis: '专业质控'
300 302
   },
301 303
   navbar: {

+ 4 - 0
src/router/index.js View File

@@ -64,6 +64,8 @@ import basicConfig from './modules/basicConfig'
64 64
 import Dialysisanalysis from './modules/Dialysisanalysis'
65 65
 
66 66
 
67
+import basicConfig from './modules/basicConfig'
68
+import dialysisIndex from './modules/dialysisIndex'
67 69
 Vue.use(Router)
68 70
 
69 71
 /** note: submenu only apppear when children.length>=1
@@ -206,6 +208,8 @@ var _asy_router_map = [
206 208
   basicConfig,
207 209
   supply,
208 210
   Dialysisanalysis,// 新菜单6.1
211
+  // Dialysisanalysis,// 新菜单6.1
212
+  dialysisIndex,
209 213
 ]
210 214
 
211 215
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证

+ 15 - 0
src/router/index_路由未分离前.js View File

@@ -744,6 +744,7 @@ export const xt_asyncRouterMap = [
744 744
     },
745 745
     children: [
746 746
       { path: '/dialysis/dialysisrecord', component: () => import('@/xt_pages/dialysis/schedualPatient'), name: '透析记录', meta: { title: '透析记录' }},
747
+    
747 748
       {
748 749
         path: '/dialysis/record/:id',
749 750
         component: () => import('@/xt_pages/dialysis/dialysisPage'),
@@ -963,6 +964,18 @@ export const xt_asyncRouterMap = [
963 964
     ]
964 965
   },
965 966
 
967
+  {
968
+    path: '/dialysisIndex',
969
+    component: Layout,
970
+    redirct: '/dialysisIndex/index',
971
+    children: [{
972
+      path: '/dialysisIndex',
973
+      component: () => import('@/xt_pages/dialysis/scheduleIndex'),
974
+      name: 'dialysisIndex',
975
+      meta: { title: 'dialysisIndex', icon: 'dialysisIndex', noCache: true }
976
+    }]
977
+  },
978
+
966 979
   // /////////////////////////////////////线在end
967 980
   {
968 981
     path: '/role',
@@ -980,4 +993,6 @@ export const xt_asyncRouterMap = [
980 993
       { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
981 994
     ]
982 995
   },
996
+
997
+
983 998
 ]

+ 20 - 10
src/router/modules/device.js View File

@@ -90,16 +90,16 @@ export default {
90 90
     },
91 91
 
92 92
 
93
-    {
94
-      path: '/infor/index',
95
-      component: () => import('@/xt_pages/infor/index'),
96
-      name: 'infor',
93
+    // {
94
+    //   path: '/infor/index',
95
+    //   component: () => import('@/xt_pages/infor/index'),
96
+    //   name: 'infor',
97 97
      
98
-      meta: {
99
-        title: 'infor',
100
-        noCache: true,
101
-      }
102
-    },
98
+    //   meta: {
99
+    //     title: 'infor',
100
+    //     noCache: true,
101
+    //   }
102
+    // },
103 103
 
104 104
     {
105 105
       path: '/device/waterformprint',
@@ -114,7 +114,17 @@ export default {
114 114
       }
115 115
     },
116 116
 
117
-  
117
+    {
118
+      path: '/device/objectRegistration',
119
+      component: () => import('@/xt_pages/device/objectRegistration'),
120
+      name: 'objectRegistration',
121
+      meta: {
122
+        title: 'objectRegistration',
123
+        noCache: true,
124
+
125
+      }
126
+    },
127
+
118 128
 
119 129
   ]
120 130
 }

+ 19 - 0
src/router/modules/dialysisIndex.js View File

@@ -0,0 +1,19 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+ 
5
+  path: '/dialysis_index',
6
+  component: Layout,
7
+  name:'dialysis_index',
8
+  redirct: '/dialysis/dialysisScheduleIndex',
9
+  children: [{
10
+    path: '/dialysis/dialysisScheduleIndex',
11
+    component: () => import('@/xt_pages/infor/index'),
12
+    name: '信息归档',
13
+    meta: {
14
+      title: '信息归档',
15
+      noCache: true
16
+    }
17
+  },]
18
+ 
19
+}

+ 2 - 1
src/router/modules/dialysisRecord.js View File

@@ -13,5 +13,6 @@ export default {
13 13
       title: '透析记录',
14 14
       noCache: true
15 15
     }
16
-  },]
16
+  },],
17
+  
17 18
 }

+ 1 - 1
src/views/layout/Layout.vue View File

@@ -134,7 +134,7 @@ export default {
134 134
   created(){
135 135
     let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
136 136
     let bingli = ['User','createPatient'];
137
-    let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control'];
137
+    let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index'];
138 138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];
139 139
     let caigou = ['supplyManage','supplyList'];
140 140
     let peizhi = ['system','roleManage','DepartManage', 'bedManagement', 'dictionaryManagement', 'templateManagement','showconfig','printTemplate','integration_config','basicConfig'];

+ 1 - 1
src/views/layout/components/Sidebar/index.vue View File

@@ -48,7 +48,7 @@ export default {
48 48
   },
49 49
   created(){
50 50
     if(this.navTitle == '透析管理'){
51
-      let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','Dialysisanalysis'];
51
+      let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index'];
52 52
       // console.log('permission_routers',this.permission_routers)
53 53
       let routerArr = [];
54 54
       this.permission_routers.map(item => {

+ 19 - 2
src/xt_pages/data/components/addProject.vue View File

@@ -231,6 +231,17 @@
231 231
                             </el-option>
232 232
                         </el-select>
233 233
                     </el-form-item>
234
+
235
+                    <el-form-item label="是否打印显示:" prop="is_advice">
236
+                        <el-select v-model="form.is_print" style="width:160px;" placeholder="请选择">
237
+                            <el-option
238
+                            v-for="item in printOptions"
239
+                            :key="item.value"
240
+                            :label="item.label"
241
+                            :value="item.value">
242
+                            </el-option>
243
+                        </el-select>
244
+                    </el-form-item>
234 245
                 </el-form>
235 246
             </el-tab-pane>
236 247
         </el-tabs>
@@ -254,6 +265,10 @@ export default {
254 265
              {value: 1,label: '是'},
255 266
              {value: 2,label: '否'}
256 267
              ],
268
+             printOptions: [
269
+             {value: 1,label: '是'},
270
+             {value: 2,label: '否'}
271
+             ],
257 272
             value: '',
258 273
             radio:'1',
259 274
             form:{
@@ -288,7 +303,8 @@ export default {
288 303
               category:"",
289 304
               specail_project:"",
290 305
               social_security_directory_code:"",
291
-              record_date:""
306
+              record_date:"",
307
+              is_print:"",
292 308
             },
293 309
             rules: {
294 310
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -383,7 +399,8 @@ export default {
383 399
                     category:this.form.category,
384 400
                     specail_project:this.form.specail_project,
385 401
                     social_security_directory_code:this.form.social_security_directory_code,
386
-                    record_date:this.form.record_date
402
+                    record_date:this.form.record_date,
403
+                    is_print:parseInt(this.form.is_print) 
387 404
                }
388 405
              console.log("params222222",params)
389 406
               saveProject(params).then(response=>{

+ 23 - 2
src/xt_pages/data/components/editProject.vue View File

@@ -234,6 +234,16 @@
234 234
                             </el-option>
235 235
                         </el-select>
236 236
                     </el-form-item>
237
+                    <el-form-item label="是否打印显示:" prop="is_advice">
238
+                        <el-select v-model="form.is_print" style="width:160px;" placeholder="请选择">
239
+                            <el-option
240
+                            v-for="item in printOptions"
241
+                            :key="item.value"
242
+                            :label="item.label"
243
+                            :value="item.value">
244
+                            </el-option>
245
+                        </el-select>
246
+                    </el-form-item>
237 247
                 </el-form>
238 248
             </el-tab-pane>
239 249
         </el-tabs>
@@ -259,6 +269,10 @@ export default {
259 269
              {value: 1,label: '是'},
260 270
              {value: 2,label: '否'}
261 271
              ],
272
+             printOptions: [
273
+             {value: 1,label: '是'},
274
+             {value: 2,label: '否'}
275
+             ],
262 276
             value: '',
263 277
             radio:'1',
264 278
 
@@ -296,7 +310,7 @@ export default {
296 310
               specail_project:"",
297 311
               social_security_directory_code:"",
298 312
               record_date:"",
299
-
313
+              is_print:"",
300 314
             },
301 315
             rules: {
302 316
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -416,6 +430,12 @@ export default {
416 430
                 this.form.social_security_directory_code = ""
417 431
               }
418 432
               this.form.record_date = this.getTime(projecDetail.record_date)
433
+              if(projecDetail.is_print == 0){
434
+                this.form.is_print = ""
435
+              }else{
436
+                this.form.is_print = projecDetail.is_print
437
+              }
438
+             
419 439
             }
420 440
          })
421 441
        },
@@ -457,7 +477,8 @@ export default {
457 477
                     category:this.form.category,
458 478
                      specail_project:this.form.specail_project,
459 479
                     social_security_directory_code:this.form.social_security_directory_code,
460
-                    record_date:this.form.record_date
480
+                    record_date:this.form.record_date,
481
+                    is_print:parseInt(this.form.is_print)
461 482
                }
462 483
 
463 484
               updatedProject(params).then(response=>{

+ 317 - 0
src/xt_pages/data/components/patient_diagnose.vue View File

@@ -0,0 +1,317 @@
1
+<template>
2
+    <div class="main-contain">
3
+      <div class=" sign-and-weigh-box" style="background: white">
4
+  
5
+
6
+        <el-row :gutter="15">
7
+          <el-col>
8
+            <div>
9
+              <el-button
10
+                size="small"
11
+                icon="el-icon-circle-plus-outline"
12
+                style="float: right;margin-bottom: 15px"
13
+                type="primary"
14
+                @click="showDialog"
15
+              >新增
16
+              </el-button>
17
+            </div>
18
+  
19
+            <el-table
20
+              :row-style="{ color: '#303133' }"
21
+              :header-cell-style="{
22
+                backgroundColor: 'rgb(245, 247, 250)',
23
+                color: '#606266'
24
+              }"
25
+              :data="manufacturerData"
26
+              style="width: 100%"
27
+              border
28
+              v-loading="loading"
29
+            >
30
+             
31
+              <el-table-column label="诊断名称" align="center">
32
+                <template slot-scope="scope">
33
+                   {{scope.row.class_name  }}
34
+                </template>
35
+              </el-table-column>
36
+  
37
+  
38
+              <el-table-column label="排序" align="center">
39
+                <template slot-scope="scope">
40
+                   {{ scope.row.sort }}
41
+                </template>
42
+              </el-table-column>
43
+  
44
+        
45
+  
46
+              <el-table-column label="操作" align="center">
47
+                <template slot-scope="scope">
48
+                  <el-tooltip
49
+                    class="item"
50
+                    effect="dark"
51
+                    content="编辑"
52
+                    placement="top"
53
+                  >
54
+                    <el-button
55
+                      size="small"
56
+                      type="primary"
57
+                      icon="el-icon-edit-outline"
58
+                      @click="handleEdit(scope.$index, scope.row)"
59
+                    >
60
+                    </el-button>
61
+                  </el-tooltip>
62
+                  <el-tooltip
63
+                    class="item"
64
+                    effect="dark"
65
+                    content="删除"
66
+                    placement="top"
67
+                  >
68
+                    <el-button
69
+                      size="small"
70
+                      type="danger"
71
+                      icon="el-icon-delete"
72
+                      @click="handleDelete(scope.$index, scope.row)"
73
+                    >
74
+                    </el-button>
75
+                  </el-tooltip>
76
+  
77
+                </template>
78
+              </el-table-column>
79
+            </el-table>
80
+  
81
+            <el-pagination
82
+              @size-change="handleSizeChange"
83
+              @current-change="handleCurrentChange"
84
+              :page-sizes="[10, 50, 100]"
85
+              :page-size="10"
86
+              background
87
+              align="right"
88
+              style="margin-top:20px;"
89
+              layout="total, sizes, prev, pager, next, jumper"
90
+              :total="total"
91
+            >
92
+            </el-pagination>
93
+          </el-col>
94
+        </el-row>
95
+      </div>
96
+
97
+      <el-dialog
98
+        title="新增"
99
+        :visible.sync="dialogVisible"
100
+        width="50%">
101
+        <span>
102
+          <el-form>
103
+             <el-row>
104
+                <el-col >
105
+                   <el-form-item label="诊断名称:">
106
+                    <el-input v-model="form.class_name"  type="textarea" style="width: 300px;"></el-input>
107
+                   </el-form-item>
108
+                   
109
+                </el-col>
110
+             </el-row>
111
+
112
+             <el-row>
113
+                <el-col >
114
+                   <el-form-item label="排序:">
115
+                    <el-input v-model="form.sort" style="width: 200px;"></el-input>
116
+                   </el-form-item>
117
+                   
118
+                </el-col>
119
+             </el-row>
120
+          </el-form>
121
+        </span>
122
+        <span slot="footer" class="dialog-footer">
123
+            <el-button @click="dialogVisible = false">取 消</el-button>
124
+            <el-button type="primary" @click="savePatientCase">确 定</el-button>
125
+        </span>
126
+      </el-dialog>
127
+
128
+      <el-dialog
129
+        title="新增"
130
+        :visible.sync="editdialogVisible"
131
+        width="50%">
132
+        <span>
133
+          <el-form>
134
+             <el-row>
135
+                <el-col >
136
+                   <el-form-item label="诊断名称:">
137
+                    <el-input v-model="form.class_name"  type="textarea" style="width: 300px;"></el-input>
138
+                   </el-form-item>
139
+                   
140
+                </el-col>
141
+             </el-row>
142
+
143
+             <el-row>
144
+                <el-col >
145
+                   <el-form-item label="排序:">
146
+                    <el-input v-model="form.sort" style="width: 200px;"></el-input>
147
+                   </el-form-item>
148
+                   
149
+                </el-col>
150
+             </el-row>
151
+          </el-form>
152
+        </span>
153
+        <span slot="footer" class="dialog-footer">
154
+            <el-button @click="editdialogVisible = false">取 消</el-button>
155
+            <el-button type="primary" @click="updatePatientCase">确 定</el-button>
156
+        </span>
157
+      </el-dialog>
158
+     
159
+    </div>
160
+  </template>
161
+  
162
+  <script>
163
+    import {
164
+      savePatientDiagnose,
165
+      getPatientDiagnose,
166
+      getPatientDiagnoseDetail,
167
+      updatePatientCase,
168
+      deletePatientDiagnose 
169
+    } from '@/api/data'
170
+    import DiagnoseOtherDialog from "./diagnoseOtherDialog";
171
+  
172
+    export default {
173
+      components: {
174
+        DiagnoseOtherDialog,
175
+      },
176
+      name: 'diagnoseOther',
177
+      data() {
178
+        return {
179
+          signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
180
+          manufacturerData: [],
181
+          total: 0,
182
+          pageTotal: 0,
183
+          pageSelect: 0,
184
+  
185
+          page: 1,
186
+          limit: 10,
187
+          loading: false,
188
+  
189
+          manufacturer_code: '',
190
+          editId: '',
191
+          editIndex: '',
192
+          form:{
193
+            id:0,
194
+            class_name:"",
195
+            sort:"",
196
+          },
197
+          dialogVisible:false,
198
+          editdialogVisible:false,
199
+        }
200
+      },
201
+      methods: {
202
+        savePatientCase(){
203
+            var params= {
204
+                class_name:this.form.class_name,
205
+                sort:parseInt(this.form.sort),
206
+            }
207
+           console.log("param23232323w",params)
208
+          savePatientDiagnose(params).then(response=>{
209
+            if(response.data.state==1){
210
+              var diagnose = response.data.data.diagnose
211
+              this.$message.success("保存成功!")
212
+              this.dialogVisible = false
213
+              this.getList()
214
+            }
215
+          })
216
+        },
217
+        getList(){
218
+            var params = {
219
+               limit:this.limit,
220
+               page:this.page,
221
+            }
222
+          getPatientDiagnose(params).then(response=>{
223
+             if(response.data.state == 1){
224
+                this.manufacturerData = response.data.data.list
225
+
226
+                this.total =  response.data.data.total
227
+             }
228
+          })
229
+        },
230
+        handleEdit(index,row){
231
+           
232
+            var params ={
233
+              id:row.id
234
+            }
235
+         
236
+          getPatientDiagnoseDetail(params).then(response=>{
237
+             if(response.data.state == 1){
238
+              var detail =  response.data.data.detail
239
+              this.editdialogVisible =true
240
+              this.form.class_name =detail.class_name
241
+              this.form.sort = detail.sort
242
+              this.form.id = detail.id
243
+             }
244
+          })
245
+        },
246
+        updatePatientCase(){
247
+              var params = {
248
+                id:this.form.id,
249
+                class_name:this.form.class_name,
250
+                sort:parseInt(this.form.sort),
251
+              }
252
+            updatePatientCase(params).then(response=>{
253
+                if(response.data.state == 1){
254
+                    this.$message.success("保存成功!")
255
+                    this.editdialogVisible = false
256
+                    this.getList()
257
+                }
258
+            })
259
+        },
260
+        handleDelete: function(index, row) {
261
+          this.$confirm('确认删除这条记录?', '删除记录', {
262
+            confirmButtonText: '确定',
263
+            cancelButtonText: '取消',
264
+            type: 'warning'
265
+          })
266
+            .then(() => {
267
+              let params = {
268
+                id: row.id
269
+              }
270
+              deletePatientDiagnose(params).then(response => {
271
+                if (response.data.state == 0) {
272
+                  this.$message.error(response.data.msg)
273
+                  return false
274
+                } else {
275
+                  this.manufacturerData.splice(index, 1)
276
+                  this.$message.success('删除成功')
277
+                }
278
+              })
279
+            })
280
+            .catch(() => {
281
+            })
282
+        },
283
+     
284
+        showDialog: function() {
285
+           this.dialogVisible = true
286
+        },
287
+        handleSizeChange(val) {
288
+          this.limit = val
289
+          this.getList()
290
+        },
291
+        handleCurrentChange(val) {
292
+          this.page = val
293
+          this.getList()
294
+        },
295
+       
296
+      },
297
+      created() {
298
+        this.getList()
299
+      }
300
+    }
301
+  </script>
302
+  
303
+  <style lang="scss">
304
+    .el-table td,
305
+    .el-table th.is-leaf,
306
+    .el-table--border,
307
+    .el-table--group {
308
+      border-color: #d0d3da;
309
+    }
310
+  
311
+    .el-table--border::after,
312
+    .el-table--group::after,
313
+    .el-table::before {
314
+      background-color: #d0d3da;
315
+    }
316
+  </style>
317
+  

+ 19 - 16
src/xt_pages/device/airDisinfectTwo.vue View File

@@ -24,7 +24,7 @@
24 24
               style="width: 150px;"
25 25
               @change="changeEndtime">
26 26
             </el-date-picker>
27
-            <el-button type="primary" style="margin-left: 10px;">搜索</el-button>
27
+            <el-button type="primary" style="margin-left: 10px;" @click="toSeach">搜索</el-button>
28 28
           </div>
29 29
           <div style="float:right;margin-bottom:10px;">
30 30
             <el-button type="primary" @click="printCard">打印</el-button>
@@ -943,48 +943,48 @@
943 943
         }
944 944
       },
945 945
       created(){
946
-        console.log("00000000000000000",this.$store.getters.xt_user.user.id)
946
+       
947 947
         this.getAllDoctorList()
948 948
         this.getNewAirDisinfectList()
949 949
         var time=moment(this.form.first_start_time).format("HH:mm");
950
-        console.log('sdfgsdfsdsddf',time,this.form.first_start_time);
950
+        
951 951
 
952 952
       },
953 953
       computed:{
954 954
         firstdisinfection_time (){
955 955
             let firststart= Date.parse(new Date(this.form.first_start_time))
956
-            console.log('开始时间',firststart);
956
+        
957 957
             let firstend= Date.parse(new Date(this.form.first_end_time))
958
-            console.log('结束时间',firstend);
958
+      
959 959
             let time_interval = ((firstend - firststart)/(60*60*1000)).toFixed(1)
960
-            console.log('结束时间',((firstend - firststart)/(60*60*1000)).toFixed(1));
960
+          
961 961
             return time_interval
962 962
         },
963 963
         senconddisinfection_time (){
964 964
             const sencondstart= Date.parse(new Date(this.form.sencond_start_time))
965
-            console.log('开始时间',sencondstart);
965
+          
966 966
             const sencondend= Date.parse(new Date(this.form.sencond_end_time))
967
-            console.log('结束时间',sencondstart);
967
+           
968 968
             const time_interval = ((sencondend - sencondstart)/(60*60*1000)).toFixed(1)
969
-            console.log('结束时间',time_interval);
969
+           
970 970
             return time_interval
971 971
         },
972 972
         thirddisinfection_time (){
973 973
             const thirdstart= Date.parse(new Date(this.form.third_start_time))
974
-            console.log('开始时间',thirdstart);
974
+          
975 975
             const thirdend= Date.parse(new Date(this.form.third_end_time))
976
-            console.log('结束时间',thirdend);
976
+           
977 977
             const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
978
-            console.log('结束时间',time_interval);
978
+           
979 979
             return time_interval
980 980
         },
981 981
         lastdisinfection_time(){
982 982
             const lasttart= Date.parse(new Date(this.form.last_start_time))
983
-            console.log('开始时间',lasttart);
983
+           
984 984
             const lastend= Date.parse(new Date(this.form.last_end_time))
985
-            console.log('结束时间',lastend);
985
+           
986 986
             const time_interval = ((lastend - lasttart)/(60*60*1000)).toFixed(1)
987
-            console.log('结束时间',time_interval);
987
+           
988 988
             return time_interval    
989 989
         }
990 990
       },
@@ -993,7 +993,7 @@
993 993
         getAirDisinfectLongTime().then(response=>{
994 994
           if(response.data.state == 1){
995 995
             var list = response.data.data.list
996
-            console.log("累计2323322323我",list)
996
+           
997 997
             var first_total_time = 0
998 998
             var sencond_total_time = 0
999 999
             var third_total_time = 0
@@ -1378,6 +1378,9 @@
1378 1378
           this.form.last_disinfection_time = this.lastdisinfection_time   
1379 1379
 
1380 1380
           this.form.last_total_time = parseFloat(this.last_total_time ) + parseFloat(this.form.last_disinfection_time)
1381
+        },
1382
+        toSeach(){
1383
+          this.getNewAirDisinfectList()   
1381 1384
         }
1382 1385
 
1383 1386
       },

File diff suppressed because it is too large
+ 1014 - 0
src/xt_pages/device/objectRegistration.vue


+ 7 - 2
src/xt_pages/device/objectTableDisinfectTwo.vue View File

@@ -7,6 +7,7 @@
7 7
           <div style="float: left; margin-bottom: 10px;">
8 8
             <el-date-picker
9 9
               v-model="startvalue"
10
+              value-format="yyyy-MM-dd"
10 11
               type="date"
11 12
               placeholder="选择日期"
12 13
               style="width: 150px;">
@@ -16,9 +17,10 @@
16 17
               v-model="endvalue"
17 18
               type="date"
18 19
               placeholder="选择日期"
19
-              style="width: 150px;">
20
+              style="width: 150px;"
21
+              value-format="yyyy-MM-dd">
20 22
             </el-date-picker>
21
-            <el-button type="primary" style="margin-left: 10px;">搜索</el-button>
23
+            <el-button type="primary" style="margin-left: 10px;" @click="toSeach">搜索</el-button>
22 24
           </div>
23 25
           <div style="float:right;margin-bottom:10px;">
24 26
             <el-button type="primary" @click="printCard">打印</el-button>
@@ -1600,6 +1602,9 @@
1600 1602
         this.page = val;
1601 1603
         this.getObjectTableDisInfectList()
1602 1604
       },
1605
+      toSeach(){
1606
+        this.getObjectTableDisInfectList()
1607
+      }
1603 1608
         
1604 1609
       }
1605 1610
     }

+ 5 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1382,9 +1382,9 @@
1382 1382
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1383 1383
                           <td
1384 1384
                             v-if="
1385
-                              record.prescription.mode_id == 2 ||
1385
+                             (record.prescription.mode_id == 2 ||
1386 1386
                               record.prescription.mode_id == 5 ||
1387
-                              record.prescription.mode_id == 12
1387
+                              record.prescription.mode_id == 12) && org_id!=0&&org_id!=10478
1388 1388
                             "
1389 1389
                             width="50"
1390 1390
                           >
@@ -1574,9 +1574,10 @@
1574 1574
 
1575 1575
                           <td
1576 1576
                             v-if="
1577
-                              record.prescription.mode_id == 2 ||
1577
+                              (record.prescription.mode_id == 2 ||
1578 1578
                               record.prescription.mode_id == 5 ||
1579
-                              record.prescription.mode_id == 12
1579
+                              record.prescription.mode_id == 12)
1580
+                              && org_id!=0&&org_id!=10478
1580 1581
                             "
1581 1582
                             style="width: 50px"
1582 1583
                           >

+ 7 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -349,12 +349,18 @@
349 349
           </el-form-item>
350 350
         </el-col>
351 351
 
352
-        <el-col :span="8" v-if="isShow('透析中入量')">
352
+        <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485">
353 353
           <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
354 354
             <el-input v-model="form.dialysis_intakes"></el-input>
355 355
           </el-form-item>
356 356
         </el-col>
357 357
 
358
+        <el-col :span="8" v-if="isShow('透析中入量') && org_id==10485">
359
+          <el-form-item label="透析中入量(g): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
360
+            <el-input v-model="form.dialysis_intakes"></el-input>
361
+          </el-form-item>
362
+        </el-col>
363
+
358 364
         <el-col :span="8" v-if="isShow('透析中入量单位')">
359 365
           <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')" >
360 366
             <el-select v-model="form.dialysis_intakes_unit" placeholder='请选择'>

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

@@ -2665,7 +2665,7 @@
2665 2665
         saveInformation(params).then(response=>{
2666 2666
            if(response.data.state == 1){
2667 2667
              var information = response.data.data.information
2668
-             this.$message.success("审核成功!")
2668
+             this.$message.success("提交成功!")
2669 2669
              this.infoDialogVisible = false
2670 2670
            }
2671 2671
         })

+ 1 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

@@ -383,6 +383,7 @@
383 383
       </span>
384 384
     </el-dialog>
385 385
    </div>
386
+ </div>
386 387
 </template>
387 388
 
388 389
 <script>

+ 2 - 3
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

@@ -952,8 +952,7 @@ export default {
952 952
       ParamsQuery["puncture_nurse"] = this.form.puncture_nurse_id;
953 953
       ParamsQuery["washpipe_nurse"] = this.form.washpipe_nurse;
954 954
       ParamsQuery["change_nurse"] = this.form.change_nurse;
955
-      ParamsQuery["difficult_puncture_nurse"] =
956
-        this.form.difficult_puncture_nurse;
955
+      ParamsQuery["difficult_puncture_nurse"] =this.form.difficult_puncture_nurse;
957 956
       ParamsQuery["new_fistula_nurse"] = this.form.new_fistula_nurse;
958 957
       ParamsQuery["blood_drawing"] = this.form.blood_drawing;
959 958
       ParamsQuery["quality_nurse"] = this.form.quality_nurse_id;
@@ -984,7 +983,7 @@ export default {
984 983
           }
985 984
         } else {
986 985
           this.$message.error(resp.msg);
987
-          if(response.data.code == 600000008){
986
+          if(resp.code == 600000008){
988 987
             this.infoDialogVisible = true
989 988
           }
990 989
         }

+ 2 - 2
src/xt_pages/dialysis/details/dialog/finish_dialog.vue View File

@@ -580,11 +580,11 @@
580 580
           module:8,
581 581
           remark:this.remark,
582 582
         }
583
-        console.log("params32222222222----",params)
583
+      
584 584
         saveInformation(params).then(response=>{
585 585
            if(response.data.state == 1){
586 586
              var information = response.data.data.information
587
-             this.$message.success("审核成功!")
587
+             this.$message.success("提交成功!")
588 588
              this.infoDialogVisible = false
589 589
            }
590 590
         })

+ 9 - 5
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -363,7 +363,8 @@
363 363
                 org_id == 10432 ||
364 364
                 org_id == 10445 ||
365 365
                 org_id == 10410 ||
366
-                org_id == 10495)
366
+                org_id == 10495 
367
+                || org_id == 10485)
367 368
                 && org_id!=10387
368 369
             "
369 370
           >
@@ -414,7 +415,8 @@
414 415
               template_id != 60 &&
415 416
               org_id!=10432 &&
416 417
               org_id!=10445 &&
417
-              org_id!=10410 && org_id!=10495) ||
418
+              org_id!=10410 && org_id!=10495
419
+              && org_id!=10485) ||
418 420
               org_id == 10387
419 421
             "
420 422
           >
@@ -1133,7 +1135,8 @@
1133 1135
                 template_id == 60 ||
1134 1136
                 org_id== 10432 ||
1135 1137
                 org_id== 10445 ||
1136
-                org_id== 10410) &&
1138
+                org_id== 10410 ||
1139
+                org_id == 10485) &&
1137 1140
                 org_id!=10387
1138 1141
             "
1139 1142
           >
@@ -1178,7 +1181,8 @@
1178 1181
               template_id != 60 &&
1179 1182
               org_id!=10432 &&
1180 1183
               org_id!=10445 &&
1181
-              org_id!=10410)
1184
+              org_id!=10410 &&
1185
+              org_id!=10485)
1182 1186
               || org_id == 10387
1183 1187
             "
1184 1188
           >
@@ -2921,7 +2925,7 @@ export default {
2921 2925
         saveInformation(params).then(response=>{
2922 2926
            if(response.data.state == 1){
2923 2927
              var information = response.data.data.information
2924
-             this.$message.success("审核成功!")
2928
+             this.$message.success("提交成功!")
2925 2929
              this.infoDialogVisible = false
2926 2930
            }
2927 2931
         })

+ 1 - 1
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

@@ -532,7 +532,7 @@ export default {
532 532
       saveInformation(params).then(response=>{
533 533
            if(response.data.state == 1){
534 534
              var information = response.data.data.information
535
-             this.$message.success("审核成功!")
535
+             this.$message.success("提交成功!")
536 536
              this.infoDialogVisible = false
537 537
            }
538 538
         })

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -16,8 +16,8 @@
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17 17
           <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
18 18
           <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) " width="92px" > 置换率(ml/min) </th>

+ 0 - 0
src/xt_pages/dialysis/scheduleIndex.vue View File


+ 5 - 10
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -751,6 +751,7 @@
751 751
                       </div>
752 752
                     </div>
753 753
                     <div
754
+                     
754 755
                       class="inline_block"
755 756
                       style="margin-left: 10px; flex: 1"
756 757
                     >
@@ -1460,14 +1461,7 @@
1460 1461
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1461 1462
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1462 1463
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1463
-                        <td
1464
-                          v-if="
1465
-                            prescription.mode_id == 2 ||
1466
-                            prescription.mode_id == 5 ||
1467
-                            prescription.mode_id == 12
1468
-                          "
1469
-                          width="50"
1470
-                        >
1464
+                        <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0" width="50">
1471 1465
                           置换量<br />(ml)
1472 1466
                         </td>
1473 1467
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
@@ -1571,9 +1565,10 @@
1571 1565
                         </td> -->
1572 1566
                         <td
1573 1567
                           v-if="
1574
-                            prescription.mode_id == 2 ||
1568
+                            (prescription.mode_id == 2 ||
1575 1569
                             prescription.mode_id == 5 ||
1576
-                            prescription.mode_id == 12
1570
+                            prescription.mode_id == 12)
1571
+                            && org_id!=0 && org_id!=10478
1577 1572
                           "
1578 1573
                           style="width: 50px"
1579 1574
                         >

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue View File

@@ -989,7 +989,7 @@ export default {
989 989
 
990 990
         let projects = [];
991 991
         response.data.data.projects.map((item) => {
992
-          if (item.type == 2) {
992
+          if (item.type == 2 && item.project.is_print == 1) {
993 993
             projects.push(item);
994 994
           }
995 995
         });

+ 75 - 70
src/xt_pages/infor/index.vue View File

@@ -59,16 +59,7 @@
59 59
                      <span v-if="scope.row.application_status == 3">拒绝</span>
60 60
                   </template>
61 61
                 </el-table-column>
62
-                <el-table-column prop="name" label="审批人"  min-width="100" align="center">
63
-                  <template  slot-scope="scope" >
64
-                      {{getUserName(scope.row.checker)  }}
65
-                   </template>
66
-                </el-table-column>
67
-                <el-table-column prop="address" label="审批时间"   min-width="100" align="center">
68
-                  <template  slot-scope="scope">
69
-                      {{getTimeOne(scope.row.check_time)  }}
70
-                   </template>
71
-                </el-table-column>
62
+               
72 63
                 <el-table-column  prop="address" label="备注"   min-width="100" align="center">
73 64
                   <template  slot-scope="scope">
74 65
                       {{scope.row.remark }}
@@ -299,7 +290,7 @@
299 290
                var informaitonSetting = response.data.data.informaitonSetting
300 291
                this.$message.success("保存成功!")
301 292
                this.dialogVisible = false
302
-               this.toSeeting()
293
+               this.toSeetingOne()
303 294
              }
304 295
           })
305 296
         },
@@ -365,68 +356,82 @@
365 356
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
366 357
         }
367 358
      },
368
-     getUserName(admin_user_id){
369
-       var user_name = ""
370
-       for(let i=0;i<this.adminList.length;i++){
371
-         if(admin_user_id == this.adminList[i].admin_user_id){
372
-            user_name = this.adminList[i].user_name
373
-         }
374
-       }
375
-       return user_name
376
-     },
377
-     handleEdit(index,row) {
378
-      this.$confirm("确认审核吗?", "审核", {
379
-        confirmButtonText: "确 定",
380
-        cancelButtonText: "取 消",
381
-        type: "warning"
382
-      }).then(() => {
383
-          var params = {
384
-            id:row.id,
385
-            application_status:1,
359
+      getUserName(admin_user_id){
360
+        var user_name = ""
361
+        for(let i=0;i<this.adminList.length;i++){
362
+          if(admin_user_id == this.adminList[i].admin_user_id){
363
+              user_name = this.adminList[i].user_name
386 364
           }
387
-          checkDialysisInformation(params).then(response => {
388
-            if (response.data.state == 0) {
389
-              this.$message.error(response.data.msg);
390
-              return false;
391
-            } else {
392
-              this.$notify({
393
-                title: "成功",
394
-                message: "审核成功",
395
-                type: "success",
396
-                duration: 2000
397
-              });
398
-              this.getlist()
365
+        }
366
+        return user_name
367
+      },
368
+      handleEdit(index,row) {
369
+        this.$confirm("确认审核吗?", "审核", {
370
+          confirmButtonText: "确 定",
371
+          cancelButtonText: "取 消",
372
+          type: "warning"
373
+        }).then(() => {
374
+            var params = {
375
+              id:row.id,
376
+              application_status:1,
399 377
             }
400
-          });
401
-        })
402
-        .catch(() => {});
403
-    },
404
-    handleDelete(index,row){
405
-      this.$confirm("确认审核吗?", "审核", {
406
-        confirmButtonText: "确 定",
407
-        cancelButtonText: "取 消",
408
-        type: "warning"
409
-      }).then(() => {
410
-          var params = {
411
-            id:row.id,
412
-            application_status:3,
413
-          }
414
-          checkDialysisInformation(params).then(response => {
415
-            if (response.data.state == 0) {
416
-              this.$message.error(response.data.msg);
417
-              return false;
418
-            } else {
419
-              this.$notify({
420
-                title: "成功",
421
-                message: "拒绝成功",
422
-                type: "success",
423
-                duration: 2000
424
-              });
425
-              this.getlist()
378
+            checkDialysisInformation(params).then(response => {
379
+              if (response.data.state == 0) {
380
+                this.$message.error(response.data.msg);
381
+                return false;
382
+              } else {
383
+                this.$notify({
384
+                  title: "成功",
385
+                  message: "审核成功",
386
+                  type: "success",
387
+                  duration: 2000
388
+                });
389
+                this.getlist()
390
+              }
391
+            });
392
+          })
393
+          .catch(() => {});
394
+      },
395
+      handleDelete(index,row){
396
+        this.$confirm("确认审核吗?", "审核", {
397
+          confirmButtonText: "确 定",
398
+          cancelButtonText: "取 消",
399
+          type: "warning"
400
+        }).then(() => {
401
+            var params = {
402
+              id:row.id,
403
+              application_status:3,
426 404
             }
427
-          });
428
-        }).catch(() => {});
429
-    },
405
+            checkDialysisInformation(params).then(response => {
406
+              if (response.data.state == 0) {
407
+                this.$message.error(response.data.msg);
408
+                return false;
409
+              } else {
410
+                this.$notify({
411
+                  title: "成功",
412
+                  message: "拒绝成功",
413
+                  type: "success",
414
+                  duration: 2000
415
+                });
416
+                this.getlist()
417
+              }
418
+            });
419
+          }).catch(() => {});
420
+      },
421
+
422
+         toSeetingOne(){
423
+           var params = {
424
+             limit:this.limit,
425
+             page:this.page
426
+           }
427
+          getDialysisInformationSetting(params).then(response=>{
428
+            if(response.data.state == 1){
429
+              var informaitonSetting =  response.data.data.informaitonSetting
430
+              this.tableData = []
431
+              this.tableData = informaitonSetting
432
+            }
433
+          }) 
434
+      },
430 435
 
431 436
     
432 437
     },

+ 7 - 7
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -60,7 +60,7 @@
60 60
                   </el-form-item>
61 61
 
62 62
 
63
-
63
+                
64 64
 
65 65
 
66 66
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
@@ -74,7 +74,7 @@
74 74
                   </el-form-item>
75 75
 
76 76
 
77
-                  <el-form-item label="疾病诊断:" prop="name" label-position="right" style="width:66.6%;" v-if="org_id==3877 || org_id ==10485 ">
77
+                  <el-form-item label="疾病诊断:" prop="name" label-position="right" style="width:66.6%;" v-if="org_id==3877 || org_id ==10485 || org_id == 0 ">
78 78
 
79 79
                     <el-select style="width:100%;" v-model="patient_diagnose" placeholder="" multiple filterable>
80 80
                         <el-option
@@ -2077,7 +2077,7 @@ export default {
2077 2077
         }
2078 2078
 
2079 2079
       }
2080
-
2080
+      
2081 2081
       // console.log("info233333333333333333333",info.id)
2082 2082
       // console.log("LAST_INFO2323232323WO",last_info.patient_diagnosis)
2083 2083
       this.patient_diagnose = []
@@ -2094,13 +2094,13 @@ export default {
2094 2094
       }
2095 2095
 
2096 2096
       if(info.id > 0){
2097
-
2097
+       
2098 2098
         if (info.patient_diagnosis.length == 0) {
2099 2099
           this.patient_diagnose = []
2100 2100
         } else {
2101 2101
           this.patient_diagnose = []
2102 2102
           for (let i = 0; i < info.patient_diagnosis.split(",").length; i++) {
2103
-
2103
+           
2104 2104
             if(info.patient_diagnosis.split(',')[i].length > 0) {
2105 2105
               this.patient_diagnose.push(parseInt(info.patient_diagnosis.split(',')[i]))
2106 2106
             }
@@ -2387,7 +2387,7 @@ export default {
2387 2387
               reg_type: this.register_type,
2388 2388
               patient_diagnose:str
2389 2389
             }
2390
-
2390
+            
2391 2391
             for (let i = 0; i < this.prescriptions.length; i++) {
2392 2392
               if (this.prescriptions[i].advices.length > 0 && this.prescriptions[i].project.length == 0) {
2393 2393
                 this.prescriptions[i]['type'] = 1
@@ -2797,7 +2797,7 @@ export default {
2797 2797
             this.$message.error('科室不能为空')
2798 2798
             return
2799 2799
           }
2800
-
2800
+          
2801 2801
           var str = ""
2802 2802
           if(patient_diagnose!=""){
2803 2803
              str = this.patient_diagnose.join(',')

+ 0 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -275,7 +275,6 @@
275 275
           </template>
276 276
         </el-table-column>
277 277
       </el-table>
278
-
279 278
       <el-dialog
280 279
           class="centerDialog"
281 280
           width="600px"

+ 21 - 8
src/xt_pages/user/inspection.vue View File

@@ -888,6 +888,8 @@ export default {
888 888
               this.itemDate = this.form.inspect_date
889 889
               this.items = []
890 890
               var inspections = response.data.data.inspections
891
+             
892
+              
891 893
               this.inspections = response.data.data.inspections
892 894
               if (inspections == null) {
893 895
                 this.inspections = []
@@ -901,6 +903,7 @@ export default {
901 903
                 this.inspectionsMap[inspections[index].item_id] =
902 904
                   inspections[index]
903 905
               }
906
+             
904 907
               var items = this.project.inspection_reference
905 908
               console.log('itmes', items)
906 909
               for (var index in items) {
@@ -959,8 +962,7 @@ export default {
959 962
             this.patientID,
960 963
             this.form,
961 964
             this.form.remind_cycle
962
-          )
963
-            .then(response => {
965
+          ).then(response => {
964 966
               if (response.data.state == 1) {
965 967
                 this.$notify({
966 968
                   title: '成功',
@@ -1161,10 +1163,10 @@ export default {
1161 1163
 
1162 1164
     },
1163 1165
     fetchInspectionReference() {
1164
-      fetchInspectionReference(this.patientID)
1165
-        .then(response => {
1166
+      fetchInspectionReference(this.patientID).then(response => {
1166 1167
           if (response.data.state == 1) {
1167 1168
             var reference = response.data.data.reference
1169
+           
1168 1170
             var patient_info = response.data.data.patient_info
1169 1171
             this.projects = reference
1170 1172
             this.patient_info = patient_info
@@ -1218,6 +1220,10 @@ export default {
1218 1220
         .then(response => {
1219 1221
           if (response.data.state == 1) {
1220 1222
             var inspections = response.data.data.inspections
1223
+            console.log("inspections=========",inspections)
1224
+            console.log("时间",this.project.inspection_reference)
1225
+            var obj = {created_time:0,inspect_date:0,inspect_desc:"",inspect_tips:"",inspect_type:1,inspect_value:"",item_id:11063,item_name:"",org_id:0,patient_id:"",project_id:4,project_name:"",updated_time:"",status:1}
1226
+           
1221 1227
             this.total = response.data.data.total
1222 1228
             this.itemDate = response.data.data.date
1223 1229
             let remind = response.data.data.remind
@@ -1251,17 +1257,22 @@ export default {
1251 1257
             var inspectionsMap = {}
1252 1258
             this.inspectionsMap = {}
1253 1259
             for (var index in inspections) {
1260
+             
1254 1261
               inspectionsMap[inspections[index].item_id] = inspections[index]
1255 1262
               this.inspectionsMap[inspections[index].item_id] = inspections[index]
1256 1263
             }
1257
-
1264
+           
1258 1265
             var items = this.project.inspection_reference
1266
+           
1259 1267
             for (var index in items) {
1260 1268
               var item = {}
1261 1269
               for (var key in items[index]) {
1270
+               
1262 1271
                 item[key] = items[index][key]
1263 1272
               }
1273
+             
1264 1274
               if (item.item_id > 0) {
1275
+                
1265 1276
                 if (inspectionsMap[items[index].item_id] == undefined) {
1266 1277
                   item.value = inspectionsMap[items[index].id].inspect_value
1267 1278
                   item.item_name = inspectionsMap[items[index].id].item_name
@@ -1272,13 +1283,14 @@ export default {
1272 1283
 
1273 1284
                 }
1274 1285
               } else {
1286
+              
1275 1287
                 item.value = inspectionsMap[items[index].id].inspect_value
1276 1288
                 item.item_name = inspectionsMap[items[index].id].item_name
1277 1289
 
1278 1290
               }
1279
-              // item["inspect_desc"] = inspectionsMap[items[index].id].inspect_desc
1280
-              // item["inspect_type"] = inspectionsMap[items[index].id].inspect_type
1291
+              
1281 1292
               item.value_direction = ''
1293
+           
1282 1294
               if (item.range_type == 1) {
1283 1295
                 var value = parseFloat(item.value)
1284 1296
                 var range_min = parseFloat(item.range_min)
@@ -1289,8 +1301,9 @@ export default {
1289 1301
                   item.value_direction = '↑'
1290 1302
                 }
1291 1303
               }
1304
+            
1292 1305
               this.items.push(item)
1293
-
1306
+              console.log("item233333333333wo",this.items)
1294 1307
 
1295 1308
               if(item.value.indexOf("http") >= 0){
1296 1309
                 this.isPic = true

File diff suppressed because it is too large
+ 1549 - 0
src/xt_pages/workforce/scheduleTablePrintThree.vue