Browse Source

hah阿凡达

28169 1 week ago
parent
commit
4db91dac78

+ 4 - 4
src/main.js View File

@@ -26,10 +26,10 @@ import './xt_permission'
26 26
 // import '@/static/ueditor/ueditor.config.js'
27 27
 // import '@/static/ueditor/ueditor.all.js'
28 28
 // import '@/static/ueditor/lang/zh-cn/zh-cn.js'
29
-import '../static/ueditor/ueditor.config.js'
30
-import '../static/ueditor/ueditor.all.min.js'
31
-import '../static/ueditor/lang/zh-cn/zh-cn.js'
32
-import '../static/ueditor/ueditor.parse.min.js'
29
+// import '../static/ueditor/ueditor.config.js'
30
+// import '../static/ueditor/ueditor.all.min.js'
31
+// import '../static/ueditor/lang/zh-cn/zh-cn.js'
32
+// import '../static/ueditor/ueditor.parse.min.js'
33 33
 // import './mock' // simulation data
34 34
 import VueClipboard from 'vue-clipboard2'
35 35
 

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

@@ -163,10 +163,10 @@ export default {
163 163
               name: '3-2',
164 164
               label: '体格检查'
165 165
             },
166
-            {
167
-              name: '3-3',
168
-              label: '体格检查新'
169
-            },
166
+            // {
167
+            //   name: '3-3',
168
+            //   label: '体格检查新'
169
+            // },
170 170
             {
171 171
               name: '1-11',
172 172
               label: '首次病程记录'

+ 8 - 8
src/xt_pages/user/components/PatientSidebar_new.vue View File

@@ -159,18 +159,18 @@ export default {
159 159
               name: '3-1',
160 160
               label: '病史'
161 161
             },
162
-            {
163
-              name: '3-4',
164
-              label: '病史新'
165
-            },
162
+            // {
163
+            //   name: '3-4',
164
+            //   label: '病史新'
165
+            // },
166 166
             {
167 167
               name: '3-2',
168 168
               label: '体格检查'
169 169
             },
170
-            {
171
-              name: '3-3',
172
-              label: '体格检查新'
173
-            },
170
+            // {
171
+            //   name: '3-3',
172
+            //   label: '体格检查新'
173
+            // },
174 174
             {
175 175
               name: '1-11',
176 176
               label: '首次病程记录'

+ 670 - 0
src/xt_pages/user/deathSummary.vue View File

@@ -0,0 +1,670 @@
1
+<template>
2
+    <div class="patient-container">
3
+      <patient-sidebar :id="patientID" defaultActive="8" v-on:tran-patient="onTranPatient"></patient-sidebar>
4
+      <div class="patient-app-container advice-container app-container">
5
+        <div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
6
+        
7
+           <div>
8
+            <div style="margin-left: 1000px;">
9
+              <el-button type="primary" size="small" @click="addRecord" v-show="modifyShow">添加</el-button>
10
+              <el-button type="primary" size="small" @click="updateRecord" v-if="id>0" v-show="updateShow">修改</el-button>
11
+              <el-button type="danger" size="small"  icon="el-icon-delete" @click="deleteRecord"  v-if="id>0" v-show="updateShow">删除</el-button>
12
+              <el-button type="primary" size="small" v-show="addShow" @click="addDeathSummary">保存</el-button>
13
+              <el-button type="primary" size="small" v-show="addShow" @click="cancelRecord">取消</el-button>
14
+            </div>
15
+             <el-form :model="form" ref="form">
16
+                <el-row>
17
+                  <el-col :span="24">
18
+                    <el-form-item label="死亡日期:" style="width: 300px;"> 
19
+                      <el-date-picker
20
+                          :disabled="deathDisabed"
21
+                          v-model="record_date"
22
+                          type="date"
23
+                          value-format="yyyy-MM-dd"
24
+                          placeholder="选择日期">
25
+                        </el-date-picker>
26
+                     </el-form-item>
27
+                  </el-col>
28
+                </el-row>
29
+                <el-row>
30
+                  <el-col :span="6">
31
+                    <el-form-item label="死亡主要原因:" style="width: 300px;"> 
32
+                        <el-select v-model="reason_one" placeholder="请选择" style="width: 200px;"   :disabled="deathDisabed">
33
+                          <el-option
34
+                         
35
+                            v-for="item in deathList"
36
+                            :key="item.id"
37
+                            :label="item.name"
38
+                            :value="item.id">
39
+                          </el-option>
40
+                        </el-select>
41
+                     </el-form-item>
42
+                  </el-col>
43
+
44
+                  <el-col :span="6">
45
+                    <el-form-item label="死亡主要原因1:" style="width: 600px;"> 
46
+                        <el-select v-model="reason_two" placeholder="请选择"  :disabled="deathDisabed">
47
+                          <el-option
48
+                            
49
+                            v-for="item in deathList"
50
+                            :key="item.id"
51
+                            :label="item.name"
52
+                            :value="item.id">
53
+                          </el-option>
54
+                        </el-select>
55
+                     </el-form-item>
56
+                  </el-col>
57
+
58
+                  <el-col :span="6">
59
+                    <el-form-item label="死亡主要原因2:" style="width: 600px;"> 
60
+                        <el-select v-model="reason_three" placeholder="请选择"  :disabled="deathDisabed">
61
+                          <el-option
62
+                          
63
+                            v-for="item in deathList"
64
+                            :key="item.id"
65
+                            :label="item.name"
66
+                            :value="item.id">
67
+                          </el-option>
68
+                        </el-select>
69
+                     </el-form-item>
70
+                  </el-col>
71
+
72
+                  <el-col :span="6">
73
+                    <el-form-item label="死亡主要原因3:" style="width: 600px;"> 
74
+                        <el-select v-model="reason_four" placeholder="请选择 " :disabled="deathDisabed">
75
+                          <el-option
76
+                           
77
+                            v-for="item in deathList"
78
+                            :key="item.id"
79
+                            :label="item.name"
80
+                            :value="item.id">
81
+                          </el-option>
82
+                        </el-select>
83
+                     </el-form-item>
84
+                  </el-col>
85
+                
86
+                </el-row>
87
+
88
+                <el-row>
89
+                  <el-col :span="6">
90
+                    <el-form-item label="死前肾替代方式:" style="width: 300px;"> 
91
+                        <el-select v-model="death_way" placeholder="请选择" style="width: 150px;"  :disabled="deathDisabed">
92
+                          <el-option
93
+                          
94
+                            v-for="item in deathWayList"
95
+                            :key="item.id"
96
+                            :label="item.name"
97
+                            :value="item.id">
98
+                          </el-option>
99
+                        </el-select>
100
+                     </el-form-item>
101
+                  </el-col>
102
+
103
+                  <el-col :span="6">
104
+                    <el-form-item label="死前终止替代:" style="width: 600px;"> 
105
+                        <el-select v-model="replace_way" placeholder="请选择" :disabled="deathDisabed">
106
+                          <el-option
107
+                           
108
+                            v-for="item in replacWayList"
109
+                            :key="item.id"
110
+                            :label="item.name"
111
+                            :value="item.id">
112
+                          </el-option>
113
+                        </el-select>
114
+                     </el-form-item>
115
+                  </el-col>
116
+
117
+                  <el-col :span="6">
118
+                    <el-form-item label="死前止替原因:" style="width: 600px;"> 
119
+                        <el-input style="width:200px;" v-model="replace_reason"  :disabled="deathDisabed"></el-input>
120
+                     </el-form-item>
121
+                  </el-col>
122
+
123
+                  <el-col :span="6">
124
+                    <el-form-item label="接受过肾移植:" style="width: 600px;"> 
125
+                        <el-select v-model="transplant" placeholder="请选择"  :disabled="deathDisabed">
126
+                          <el-option
127
+                          
128
+                            v-for="item in list"
129
+                            :key="item.id"
130
+                            :label="item.name"
131
+                            :value="item.id">
132
+                          </el-option>
133
+                        </el-select>
134
+                     </el-form-item>
135
+                  </el-col>
136
+                
137
+                </el-row>
138
+
139
+              
140
+                <el-row>
141
+                  <el-col :span="6">
142
+                    <el-form-item label="最后一次移植日期:" style="width: 400px;"> 
143
+                        <el-date-picker
144
+                         :disabled="deathDisabed"
145
+                          v-model="last_record_date"
146
+                          type="date"
147
+                            value-format="yyyy-MM-dd"
148
+                          placeholder="选择日期">
149
+                        </el-date-picker>
150
+                     </el-form-item>
151
+                  </el-col>
152
+                </el-row>
153
+                <el-row>
154
+                  <el-col>
155
+                    <el-form-item label="备注">
156
+                        <el-input
157
+                         :disabled="deathDisabed"
158
+                         type="textarea"
159
+                         :autosize="{ minRows: 2, maxRows: 6}"
160
+                         placeholder="请输入内容"
161
+                         v-model="remark">
162
+                  </el-input>
163
+                    </el-form-item>
164
+                  </el-col>   
165
+                 
166
+                </el-row>
167
+             </el-form>
168
+           </div>
169
+        </div>
170
+     
171
+      </div>
172
+      
173
+    </div>
174
+  </template>
175
+  <script>
176
+    const moment = require('moment')
177
+    import PatientSidebar from './components/PatientSidebar'
178
+    import { addDeathSummary,getPatientDeathSummary,deletePatientDeathSummary} from '@/api/patient'
179
+    import { jsGetAge, uParseTime } from '@/utils/tools'
180
+    import { getDataConfig } from '@/utils/data'
181
+    import multiSelectBox from '../dialysis/details/dialog/MultiSelectBox'
182
+    import sitemap from './Sitemap'
183
+    export default {
184
+      name: 'doctorAdvice',
185
+      components: {
186
+        PatientSidebar,
187
+        multiSelectBox,
188
+        sitemap
189
+      },
190
+      data() {
191
+        return {
192
+          tableData: [],
193
+          nowtime: moment(new Date()).format('YYYY-MM-DD'),
194
+          page: 1,
195
+          limit: 10,
196
+          total: 0,
197
+          rules: {
198
+            start_time: [{ required: true, message: '请输入建立日期' }],
199
+            access_project: [{ required: true, message: '请选择通路项目' }],
200
+            blood_access_part_opera_id:[{required:true,message:'请选择血管通路类型'}],
201
+            blood_access_part_id:[{required:true,message:"请选择血管通路"}],
202
+           //  first_start_time:[{required:true,message:"请选择首次启用日期"}],
203
+            user_status:[{required:true,message:"请选择使用状态"}]
204
+          },
205
+          dialogVisible:false,
206
+          editDialogVisible:false,
207
+
208
+          form:{
209
+           id:0,
210
+           death_time:"",
211
+          },
212
+          options:[
213
+           {id:1,name:"启用"},
214
+           {id:2,name:"停用"},
215
+           {id:3,name:"备用"}
216
+          ],
217
+          optionsPass:[
218
+            {id:1,name:"流入-动脉"},
219
+            {id:2,name:"流出-静脉"},
220
+          ],
221
+  
222
+          blood_access_part_opera:[],
223
+          blood_access_part:[],
224
+          show:false,
225
+          doctorList:[],
226
+          InnerDialogProps: {
227
+            values: [],
228
+            visibility: false,
229
+            isShowTextArea: true,
230
+            customContent: '',
231
+            titles: '',
232
+            type: '' // 不同弹框类型,用来匹配数据
233
+          },
234
+          new_blood_access_part_opera:[],
235
+          new_blood_access_part:[],
236
+          deathList:[
237
+            {id:1,name:"脑血管"},
238
+            {id:2,name:"心血管"},
239
+            {id:3,name:"感染"},
240
+            {id:4,name:"营养不良"},
241
+            {id:5,name:"全是衰竭"},
242
+            {id:6,name:"肿瘤"},
243
+            {id:7,name:"出血"},
244
+            {id:8,name:"呼吸衰竭"},
245
+            {id:9,name:"肝衰"},
246
+            {id:10,name:"自杀"},
247
+            {id:11,name:"原因不明"},
248
+          ],
249
+          deathWayList:[
250
+            {id:1,name:"血透"},
251
+            {id:2,name:"腹透"},
252
+            {id:3,name:"肾移植"},
253
+            {id:4,name:"CRRT"},
254
+            {id:5,name:"IRRT"},
255
+          ],
256
+          replacWayList:[
257
+            {id:1,name:"是"},
258
+            {id:2,name:"否"},
259
+          ],
260
+          list:[
261
+            {id:1,name:"是"},
262
+            {id:2,name:"否"},
263
+          ],
264
+          showOne:false,
265
+          name:"",
266
+          dialysis_no:"",
267
+          lapse_type:"1",
268
+          lapse_class:"1",
269
+          lapse_reason:"",
270
+          record_date:moment(new Date()).format('YYYY-MM-DD')  ,
271
+          remark:"",
272
+          adminUserList:[],
273
+          limit:10,
274
+          page:1,
275
+          total:0,
276
+          id:0,
277
+          admin_user_id:this.$store.getters.xt_user.user.id,
278
+          lapseto:0,
279
+          his_type:"1",
280
+          his_zone:"",
281
+          his_bed:"",
282
+          start_time:"",
283
+          end_time:"",
284
+          patient_address:"",
285
+          start_time_one:"",
286
+          end_time_one:"",
287
+          reason_one:1,
288
+          reason_two:1,
289
+          reason_three:1,
290
+          reason_four:"",
291
+          replace_way:"",
292
+          death_way:1,
293
+          replace_reason:"",
294
+          transplant:"",
295
+          addShow:false,
296
+          last_record_date:moment(new Date()).format('YYYY-MM-DD'),
297
+          updateShow:false,
298
+          modifyShow:true,
299
+          patientID:0,
300
+          deathDisabed:false,
301
+        }
302
+      },
303
+      methods: {
304
+        addRecord(){
305
+          if(this.id >0){
306
+            this.deathDisabed = false  
307
+          }else{
308
+            this.deathDisabed = false  
309
+          }
310
+          this.addShow = true
311
+          this.modifyShow = false
312
+
313
+        },
314
+        updateRecord(){
315
+           this.deathDisabed = false  
316
+           this.addShow = true
317
+           this.updateShow = false
318
+           
319
+        },
320
+        clickuseradvicecell(row, column, cell, event) {
321
+        },
322
+        onTranPatient: function(tranPatient) {
323
+          this.currentPatient = tranPatient
324
+        },
325
+        CreateTime(time) {
326
+          return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
327
+        },
328
+        handleSizeChange(limit) {
329
+          this.limit = limit
330
+          this.getlist()
331
+        },
332
+        handleCurrentChange(page) {
333
+          this.page = page
334
+        
335
+          this.getlist()
336
+        },
337
+        changeStatus(val){
338
+          if(val == 1 ){
339
+            this.show = false
340
+          }
341
+          if(val == 2){
342
+            this.show = true
343
+          }
344
+        },
345
+       getTime(val) {
346
+           if(val < 0){
347
+             return ""
348
+           }
349
+           if(val == ""){
350
+            return ""
351
+           }else {
352
+            return uParseTime(val, '{y}-{m}-{d}')
353
+           }
354
+        },
355
+     
356
+       getDoctor(id){
357
+         var name = ""
358
+         for(let i=0;i<this.doctorList.length;i++){
359
+            if(id == this.doctorList[i].admin_user_id){
360
+               name = this.doctorList[i].user_name
361
+            }
362
+         }
363
+         return name
364
+       },
365
+       getPatientById(id){
366
+        getPatientById(id).then(response=>{
367
+           if(response.data.state ==1){
368
+             var patient = response.data.data.patients
369
+             if(patient.lapseto == 1){
370
+               this.lapse_type="2"
371
+             }
372
+             if(patient.lapseto == 2){
373
+               this.lapse_type="1"
374
+             }
375
+             this.lapseto = patient.lapseto
376
+             this.dialysis_no = patient.dialysis_no
377
+             this.name = patient.name
378
+             
379
+           }
380
+        })
381
+       },
382
+       getAllDoctor() {
383
+        getAllDoctor().then(response => {
384
+          if (response.data.state == 1) {
385
+            var appRole = response.data.data.appRole
386
+            this.adminUserList = appRole
387
+          }
388
+        })
389
+      },
390
+
391
+      getLapseType(id){
392
+        var name = ""
393
+        if(id == 4){
394
+          name = "转出院外"
395
+        }
396
+        if(id == 5){
397
+          name = "转出院外"
398
+        }
399
+        if(id == 6){
400
+          name = "回居住地透析"
401
+        }
402
+        if(id == 7){
403
+          name = "临时透析"
404
+        }
405
+        if(id == 8){
406
+          name = "转腹膜透析"
407
+        }
408
+        if(id == 9){
409
+          name = "其他"
410
+        }
411
+        if(id == 10){
412
+          name = "变更透析医院"
413
+        }
414
+        if(id == 11){
415
+          name = "住院"
416
+        }
417
+        if(id == 12){
418
+          name = "转血透科"
419
+        }
420
+        if(id == 13){
421
+          name = "回居住地透析"
422
+        }
423
+        if(id == 14){
424
+          name = "变更透析医院"
425
+        }
426
+
427
+        return name
428
+
429
+      },
430
+ 
431
+      getlist(){
432
+         var params = {
433
+          patient_id:this.patientID,
434
+          limit:this.limit,
435
+          page:this.page,
436
+         }
437
+        getPatientLapseRecord(params).then(response=>{
438
+           if(response.data.state == 1){
439
+             var total = response.data.data.total
440
+             this.total = total
441
+             var record =  response.data.data.record
442
+             this.tableData = record
443
+           }
444
+        })
445
+      },
446
+      cancelRecord(){
447
+
448
+        this.addShow = false
449
+        if(this.id >0){
450
+            this.updateShow = true
451
+            this.modifyShow = false
452
+        }else{
453
+            this.modifyShow = true
454
+        }
455
+        
456
+      },
457
+      addDeathSummary(){
458
+        if(this.record_date == ""){
459
+          this.$message.error("死亡日期不能为空!")
460
+          return false
461
+        }
462
+        var reason_one = ""
463
+        for(let i=-0;i<this.deathList.length;i++){
464
+           if(this.reason_one == this.deathList[i].id){
465
+            reason_one = this.deathList[i].name
466
+           }           
467
+        }
468
+        var reason_two = ""
469
+        for(let i=-0;i<this.deathList.length;i++){
470
+           if(this.reason_two == this.deathList[i].id){
471
+            reason_two = this.deathList[i].name
472
+           }           
473
+        }
474
+
475
+        var reason_three = ""
476
+        for(let i=-0;i<this.deathList.length;i++){
477
+           if(this.reason_three == this.deathList[i].id){
478
+            reason_three = this.deathList[i].name
479
+           }           
480
+        }
481
+        var reason_four = ""
482
+        for(let i=-0;i<this.deathList.length;i++){
483
+           if(this.reason_four == this.deathList[i].id){
484
+            reason_four = this.deathList[i].name
485
+           }           
486
+        }
487
+
488
+        var  death_way = ""
489
+        for(let i=0;i<this.deathWayList.length;i++){
490
+          if(this.death_way == this.deathWayList[i].id){
491
+            death_way = this.deathWayList[i].name
492
+           }         
493
+        }
494
+
495
+        var replace_way = ""
496
+        for(let i=0;i<this.replacWayList.length;i++){
497
+            if(this.replace_way == this.replacWayList[i].id){
498
+            replace_way = this.replacWayList[i].name
499
+           }       
500
+        }
501
+
502
+        var transplant = ""
503
+        for(let i=0;i<this.list.length;i++){
504
+         if(this.transplant == this.list[i].id){
505
+             transplant = this.list[i].name
506
+         }
507
+        }
508
+        var params = {
509
+          id:this.id,  
510
+          record_date:this.record_date,
511
+          reason_one:reason_one,
512
+          reason_two:reason_two,
513
+          reason_three:reason_three,
514
+          reason_four:reason_four,
515
+          death_way:death_way,
516
+          replace_way:replace_way,
517
+          replace_reason:this.replace_reason,
518
+          transplant:transplant,
519
+          patient_id:this.patientID,
520
+          remark:this.remark,
521
+          last_record_date:this.last_record_date
522
+        }
523
+        console.log("parasm===============",params)
524
+       
525
+        addDeathSummary(params).then(response=>{
526
+           if(response.data.state == 1){
527
+             var deathSummary =  response.data.data.deathSummary
528
+             this.$message.success("保存成功")
529
+             this.modifyShow = false
530
+             this.addShow = false
531
+             this.getPatientDeathSummary(this.patientID)
532
+             
533
+             
534
+           }
535
+        })
536
+      },
537
+      getTime(val) {
538
+           if(val < 0){
539
+             return ""
540
+           }
541
+           if(val == ""){
542
+            return ""
543
+           }else {
544
+            return uParseTime(val, '{y}-{m}-{d}')
545
+           }
546
+      },
547
+      getPatientDeathSummary(){
548
+        var params = {
549
+          patient_id:this.patientID,
550
+        }
551
+        getPatientDeathSummary(params).then(response=>{
552
+            if(response.data.state ==1){
553
+              var deathSummary = response.data.data.deathSummary
554
+               
555
+              this.id = deathSummary.id
556
+             if(deathSummary.id >0){
557
+
558
+                       
559
+              for(let i=-0;i<this.deathList.length;i++){
560
+                 if(deathSummary.reason_one == this.deathList[i].name){
561
+                    this.reason_one = this.deathList[i].id
562
+                  }           
563
+             }
564
+
565
+             for(let i=-0;i<this.deathList.length;i++){
566
+                 if(deathSummary.reason_two == this.deathList[i].name){
567
+                    this.reason_two = this.deathList[i].id
568
+                  }           
569
+             }
570
+
571
+             
572
+             for(let i=-0;i<this.deathList.length;i++){
573
+                 if(deathSummary.reason_three == this.deathList[i].name){
574
+                    this.reason_three = this.deathList[i].id
575
+                  }           
576
+             }
577
+
578
+             for(let i=-0;i<this.deathList.length;i++){
579
+                 if(deathSummary.reason_four == this.deathList[i].name){
580
+                    this.reason_four = this.deathList[i].id
581
+                  }           
582
+             }
583
+
584
+             for(let i=-0;i<this.deathWayList.length;i++){
585
+                 if(deathSummary.death_way == this.deathWayList[i].name){
586
+                    this.death_way = this.deathWayList[i].id
587
+                  }           
588
+             }
589
+
590
+             for(let i=-0;i<this.replacWayList.length;i++){
591
+                 if(deathSummary.replace_way == this.replacWayList[i].name){
592
+                    this.replace_way = this.replacWayList[i].id
593
+                  }           
594
+             }
595
+      
596
+            
597
+              for(let i=0;i<this.list.length;i++){
598
+               if(deathSummary.transplant == this.list[i].name){
599
+                this.transplant = this.list[i].id
600
+               }
601
+              }
602
+            
603
+               this.replace_reason = deathSummary.replace_reason
604
+              
605
+               this.patient_id = deathSummary.patient_id
606
+               this.remark = deathSummary.remark
607
+               if(deathSummary.record_date>0){
608
+                this.record_date = this.getTime(deathSummary.record_date)
609
+               }
610
+               if(deathSummary.last_record_date>0){
611
+                this.last_record_date = this.getTime(deathSummary.last_record_date)
612
+               }
613
+                this.updateShow = true
614
+                this.deathDisabed = true
615
+                this.modifyShow = false
616
+
617
+               }else{
618
+                this.deathDisabed = false
619
+                this.updateShow = false
620
+               }
621
+              
622
+               
623
+       
624
+              
625
+            }
626
+        })
627
+      },
628
+      deleteRecord(){
629
+          var params = {
630
+            id:this.id,
631
+          }
632
+        deletePatientDeathSummary(params).then(response=>{
633
+           if(response.data.state == 1){
634
+             this.$message.success("删除成功!")
635
+             this.getPatientDeathSummary()
636
+             this.modifyShow = true
637
+           }
638
+        })
639
+      }
640
+     
641
+      },
642
+      created() {
643
+        // this.record_date =  moment(new Date()).format('YYYY-MM-DD')  
644
+        // console.log("record_date---------------",this.record_date)
645
+        // this.last_record_date =  moment(new Date()).format('YYYY-MM-DD')       
646
+        const id = this.$route.params && this.$route.params.id
647
+        console.log('id是设么', id)
648
+         this.patientID = parseInt(id)
649
+         this.getPatientDeathSummary(id)
650
+        //  this.getAllDoctor()
651
+        //  this.getlist()
652
+      },
653
+     
654
+    }
655
+  </script>
656
+  
657
+  <style>
658
+    .oictable ::-webkit-scrollbar {
659
+      height: 15px;
660
+    }
661
+  </style>
662
+  
663
+  <style rel="stylesheet/scss" lang="scss">
664
+     ::-webkit-scrollbar{
665
+        height:15px;
666
+     }
667
+  
668
+  </style>
669
+  
670
+  

+ 2 - 2
src/xt_pages/user/patientInfo.vue View File

@@ -1,8 +1,8 @@
1 1
 
2 2
 <template>
3 3
   <div class="patient-container">
4
-  <!-- <patient-sidebar :id="patientID"></patient-sidebar> -->
5
-   <PatientSidebar_new :id="patientID"></PatientSidebar_new>
4
+  <patient-sidebar :id="patientID"></patient-sidebar>
5
+   <!-- <PatientSidebar_new :id="patientID"></PatientSidebar_new> -->
6 6
   <patient-detail :is-edit='true' :class='panelClass' v-on:tran-patient-info="patientInfo=$event"></patient-detail>
7 7
   </div>
8 8
 </template>

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))

File diff suppressed because it is too large
+ 1 - 1
static/ueditor/ueditor.parse.min.js