Ver código fonte

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

陈少旭 1 ano atrás
pai
commit
0e7688ed8c
100 arquivos alterados com 937 adições e 403 exclusões
  1. 17 7
      src/xt_pages/data/components/addInspection.vue
  2. 15 5
      src/xt_pages/data/components/diagnoseOther.vue
  3. 8 1
      src/xt_pages/data/components/diagnoseOtherDialog.vue
  4. 4 0
      src/xt_pages/data/components/diagnosis.vue
  5. 12 2
      src/xt_pages/data/components/editInspection.vue
  6. 5 0
      src/xt_pages/data/components/inspection.vue
  7. 55 12
      src/xt_pages/device/objectTableDisinfectTwo.vue
  8. 59 39
      src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue
  9. 44 4
      src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue
  10. 9 8
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  11. 104 48
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  12. 4 3
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  13. 2 2
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue
  14. 8 87
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  15. 3 6
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue
  16. 1 1
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  17. 8 2
      src/xt_pages/dialysis/signPrint.vue
  18. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue
  19. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue
  20. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue
  21. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue
  22. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue
  23. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue
  24. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue
  25. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue
  26. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue
  27. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue
  28. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySix.vue
  29. 10 9
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  30. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThreeAdvice.vue
  31. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyTwo.vue
  32. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyfive.vue
  33. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue
  34. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue
  35. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue
  36. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue
  37. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue
  38. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue
  39. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue
  40. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue
  41. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue
  42. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue
  43. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue
  44. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue
  45. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue
  46. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue
  47. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  48. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue
  49. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue
  50. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  51. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue
  52. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue
  53. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyOne.vue
  54. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyThree.vue
  55. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue
  56. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  57. 13 3
      src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue
  58. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue
  59. 4 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue
  60. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue
  61. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue
  62. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue
  63. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue
  64. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue
  65. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue
  66. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue
  67. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyThree.vue
  68. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue
  69. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue
  70. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue
  71. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue
  72. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue
  73. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue
  74. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyNine.vue
  75. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue
  76. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  77. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue
  78. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyThree.vue
  79. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue
  80. 2 1
      src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue
  81. 8 29
      src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue
  82. 2 1
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue
  83. 1 1
      src/xt_pages/hospitalStation/checkTemplate/printOne.vue
  84. 1 1
      src/xt_pages/hospitalStation/components/dialysisIndex.vue
  85. 1 1
      src/xt_pages/management/components/QualityForm.vue
  86. 6 6
      src/xt_pages/management/home.vue
  87. 1 1
      src/xt_pages/outpatientCharges/print.vue
  88. 1 1
      src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue
  89. 16 2
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  90. 1 1
      src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue
  91. 21 4
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue
  92. 35 3
      src/xt_pages/outpatientDoctorStation/recordPrint.vue
  93. 289 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue
  94. 7 5
      src/xt_pages/user/components/PatientDetail.vue
  95. 1 1
      src/xt_pages/user/coursePrint.vue
  96. 6 8
      src/xt_pages/user/hospitalSummary.vue
  97. 14 15
      src/xt_pages/user/hospitalSummaryPrint.vue
  98. 2 2
      src/xt_pages/user/ktv.vue
  99. 1 1
      src/xt_pages/user/physiqueprinting.vue
  100. 0 0
      src/xt_pages/user/sickHistory.vue

+ 17 - 7
src/xt_pages/data/components/addInspection.vue Ver arquivo

@@ -79,6 +79,13 @@
79 79
             </el-option>
80 80
           </el-select>
81 81
         </el-form-item>
82
+        <el-form-item label="排序 : " prop="sort" style="width: 50%">
83
+          <el-input
84
+            v-model="form.sort"
85
+            placeholder=""
86
+            maxlength="30"
87
+          ></el-input>
88
+        </el-form-item>
82 89
         <el-form-item label="备注 : " prop="name" style="width: 100%">
83 90
           <el-input
84 91
             type="textarea"
@@ -219,6 +226,7 @@ export default {
219 226
         remark: "",
220 227
         project_detail: "",
221 228
         number: "1",
229
+        sort:0,
222 230
       },
223 231
       options: [
224 232
         { value: 1, label: "是" },
@@ -306,6 +314,7 @@ export default {
306 314
           tube_color: this.form.tube_color,
307 315
           team_type: this.form.team_type,
308 316
           remark: this.form.remark,
317
+          sort:parseInt(this.form.sort),
309 318
         };
310 319
         let data = {
311 320
           info: this.tableData,
@@ -316,15 +325,16 @@ export default {
316 325
            
317 326
             this.$message.success("保存成功");
318 327
             this.visible = false;
319
-            (this.form.project_team = ""),
320
-              (this.form.price = ""),
321
-              (this.form.pinyin = ""),
322
-              (this.form.wubi = ""),
323
-              (this.form.tube_color = ""),
324
-              (this.form.team_type = ""),
325
-              (this.form.remark = "");
328
+            this.form.project_team = "",
329
+            this.form.price = "",
330
+            this.form.pinyin = "",
331
+            this.form.wubi = "",
332
+            this.form.tube_color = "",
333
+            this.form.team_type = "",
334
+            this.form.remark = "";
326 335
             this.tableData = [];
327 336
             this.form.number = "";
337
+            this.form.sort = ""
328 338
             this.$parent.getlist();
329 339
           } else {
330 340
             this.$message.error("项目组套名称已存在!");

+ 15 - 5
src/xt_pages/data/components/diagnoseOther.vue Ver arquivo

@@ -64,6 +64,12 @@
64 64
               </template>
65 65
             </el-table-column>
66 66
 
67
+            <el-table-column label="排序" align="center">
68
+              <template slot-scope="scope">
69
+                {{ scope.row.sort }}
70
+              </template>
71
+            </el-table-column>
72
+
67 73
             <el-table-column label="备注" align="center">
68 74
               <template slot-scope="scope">
69 75
                 {{ scope.row.remark }}
@@ -164,7 +170,8 @@
164 170
             country_content_name: '',
165 171
             remark: '',
166 172
             pinyin: '',
167
-            wubi: ''
173
+            wubi: '',
174
+            sort:0,
168 175
 
169 176
           },
170 177
           resetForm: {
@@ -205,7 +212,7 @@
205 212
               response.data.data.sick.pinyin
206 213
             this.Dialog.formValue.wubi =
207 214
               response.data.data.sick.wubi
208
-
215
+            this.Dialog.formValue.sort = response.data.data.sick.sort
209 216
             this.Dialog.isCreated = 2
210 217
             this.$refs.dialog.show()
211 218
 
@@ -258,7 +265,8 @@
258 265
               response.data.data.sick.pinyin
259 266
             this.Dialog.formValue.wubi =
260 267
               response.data.data.sick.wubi
261
-
268
+            this.Dialog.formValue.sort =
269
+              response.data.data.sick.sort
262 270
             this.Dialog.isCreated = 3
263 271
             this.Dialog.isVisibility = true
264 272
           }
@@ -277,8 +285,8 @@
277 285
             remark: val.remark,
278 286
             id: this.editId,
279 287
             pinyin: val.pinyin,
280
-            wubi: val.wubi
281
-
288
+            wubi: val.wubi,
289
+            sort:parseInt(val.sort)
282 290
           }
283 291
           modifyDiagnose(params).then(response => {
284 292
             if (response.data.state == 0) {
@@ -301,6 +309,8 @@
301 309
                 response.data.data.sick.pinyin
302 310
               this.manufacturerData[this.editIndex].wubi =
303 311
                 response.data.data.sick.wubi
312
+              this.manufacturerData[this.editIndex].sort =
313
+                response.data.data.sick.sort
304 314
 
305 315
               this.$message.success('修改成功')
306 316
             }

+ 8 - 1
src/xt_pages/data/components/diagnoseOtherDialog.vue Ver arquivo

@@ -41,6 +41,12 @@
41 41
             <el-input v-model="formValue.country_content_name"></el-input>
42 42
           </el-form-item>
43 43
         </el-col>
44
+
45
+        <el-col :span="8">
46
+          <el-form-item label="排序" prop="">
47
+            <el-input v-model="formValue.sort"></el-input>
48
+          </el-form-item>
49
+        </el-col>
44 50
       </el-row>
45 51
 
46 52
       <el-col>
@@ -78,7 +84,8 @@
78 84
           country_content_name: '',
79 85
           remark: '',
80 86
           pinyin: '',
81
-          wubi: ''
87
+          wubi: '',
88
+          sort:0,
82 89
 
83 90
         },
84 91
         resetForm: {

+ 4 - 0
src/xt_pages/data/components/diagnosis.vue Ver arquivo

@@ -72,6 +72,10 @@
72 72
                 {{ scope.row.country_content_name }}
73 73
               </template>
74 74
             </el-table-column>
75
+            
76
+           
77
+
78
+        
75 79
 
76 80
             <el-table-column label="备注" align="center">
77 81
               <template slot-scope="scope">

+ 12 - 2
src/xt_pages/data/components/editInspection.vue Ver arquivo

@@ -41,6 +41,13 @@
41 41
                         </el-option>
42 42
                     </el-select>
43 43
                 </el-form-item>
44
+                <el-form-item label="排序 : " prop="sort" style="width: 50%">
45
+                  <el-input
46
+                    v-model="form.sort"
47
+                    placeholder=""
48
+                    maxlength="30"
49
+                  ></el-input>
50
+                </el-form-item>
44 51
                 <el-form-item label="备注 : " prop="name" style="width:100%;">
45 52
                     <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
46 53
                 </el-form-item>
@@ -145,7 +152,8 @@
145 152
           remark: '',
146 153
           project_detail: '',
147 154
           number: '',
148
-          item_id: ''
155
+          item_id: '',
156
+          sort:'',
149 157
         },
150 158
         options: [{
151 159
           value: 1,
@@ -285,6 +293,7 @@
285 293
             this.form.pinyin = projectTeamDetail.pinyin
286 294
             this.form.wubi = projectTeamDetail.wubi
287 295
             this.form.tube_color = projectTeamDetail.tube_color
296
+            this.form.sort = projectTeamDetail.sort
288 297
             if (projectTeamDetail.tube_color == 0) {
289 298
               this.form.tube_color = ''
290 299
             }
@@ -316,7 +325,8 @@
316 325
               wubi: this.form.wubi,
317 326
               tube_color: this.form.tube_color,
318 327
               team_type: this.form.team_type,
319
-              remark: this.form.remark
328
+              remark: this.form.remark,
329
+              sort:parseInt(this.form.sort)
320 330
             }
321 331
             let data = {
322 332
               'info': arr

+ 5 - 0
src/xt_pages/data/components/inspection.vue Ver arquivo

@@ -42,6 +42,11 @@
42 42
                    {{scope.row.price}}
43 43
                 </template>
44 44
             </el-table-column>
45
+            <el-table-column label="排序" width="100" align="center">
46
+                <template slot-scope="scope">
47
+                   {{scope.row.sort}}
48
+                </template>
49
+            </el-table-column>
45 50
             <el-table-column prop="date" label="备注" align="center">
46 51
                 <template slot-scope="scope">
47 52
                    {{scope.row.remark}}

+ 55 - 12
src/xt_pages/device/objectTableDisinfectTwo.vue Ver arquivo

@@ -39,8 +39,8 @@
39 39
                 </el-table-column>
40 40
                 <el-table-column prop="fenopda" :label="'湿化瓶'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
41 41
                     <template slot-scope="scope">
42
-                        <!-- {{scope.row.first_total_time?scope.row.first_total_time:""}} -->
43
-                        {{ scope.row.first_disinfection_time }}
42
+                        {{ getTimeTwo(scope.row.first_start_time) }} - {{ getTimeTwo(scope.row.first_end_time) }}
43
+                        <!-- {{ scope.row.first_disinfection_time }} -->
44 44
                     </template>
45 45
                 </el-table-column>
46 46
                 <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
@@ -54,7 +54,8 @@
54 54
                 <el-table-column prop="date" :label="'止血带'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
55 55
                     <template slot-scope="scope">
56 56
                         <!-- {{scope.row.sencond_total_time?scope.row.sencond_total_time:""}} -->
57
-                        {{ scope.row.sencond_disinfection_time }}
57
+                        <!-- {{ scope.row.sencond_disinfection_time }} -->
58
+                        {{ getTimeTwo(scope.row.sencond_start_time) }} - {{ getTimeTwo(scope.row.sencond_end_time) }}
58 59
                     </template>
59 60
                 </el-table-column>
60 61
                 <el-table-column prop="name" label="责任人" align="center" min-width="60">
@@ -67,7 +68,8 @@
67 68
                 <el-table-column prop="province" :label="'医疗垃圾桶'+'\n'+'1000mg/l含氯制剂'" align="center" min-width="60">
68 69
                     <template slot-scope="scope">
69 70
                         <!-- {{scope.row.third_total_time?scope.row.third_total_time:""}} -->
70
-                        {{ scope.row.third_disinfection_time }}
71
+                        <!-- {{ scope.row.third_disinfection_time }} -->
72
+                        {{ getTimeTwo(scope.row.third_start_time) }} - {{ getTimeTwo(scope.row.third_end_time) }}
71 73
                     </template>
72 74
                 </el-table-column>
73 75
                 <el-table-column prop="city" label="负责人" align="center" min-width="60">
@@ -81,7 +83,8 @@
81 83
                 <el-table-column prop="name" :label="'体温计'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
82 84
                     <template slot-scope="scope">
83 85
                         <!-- {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}} -->
84
-                        {{ scope.row.fourth_disinfection_time }}
86
+                        <!-- {{ scope.row.fourth_disinfection_time }} -->
87
+                        {{ getTimeTwo(scope.row.fourth_start_time) }} - {{ getTimeTwo(scope.row.fourth_end_time) }} 
85 88
                     </template>
86 89
                 </el-table-column>
87 90
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
@@ -95,7 +98,8 @@
95 98
                 <el-table-column prop="city" :label="'体温枪'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
96 99
                     <template slot-scope="scope">
97 100
                         <!-- {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}} -->
98
-                        {{ scope.row.last_disinfection_time }}
101
+                        <!-- {{ scope.row.last_disinfection_time }} -->
102
+                        {{ getTimeTwo(scope.row.last_start_time) }} - {{ getTimeTwo(scope.row.last_end_time) }} 
99 103
                     </template>
100 104
                 </el-table-column>
101 105
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
@@ -994,7 +998,7 @@
994 998
 
995 999
                             <tr v-for="(item,index) in tableData" :key="index">
996 1000
                                 <td>{{getTimes(item.record_date) }}</td>
997
-                                <td>{{item.first_disinfection_time}}</td>
1001
+                                <td>{{getTimeTwo( item.first_start_time)}}- {{getTimeTwo(item.first_end_time)  }}</td>
998 1002
                                 <td>
999 1003
                                 <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
1000 1004
                                    {{getName(item.first_creator)}}
@@ -1003,7 +1007,7 @@
1003 1007
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1004 1008
                                 </span>   
1005 1009
                                 </td>
1006
-                                <td>{{item.sencond_disinfection_time}}</td>
1010
+                                <td>{{getTimeTwo(item.sencond_start_time) }} - {{getTimeTwo( item.sencond_end_time) }}</td>
1007 1011
                                 <td>
1008 1012
                                  <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
1009 1013
                                    {{getName(item.sencond_creator)}}
@@ -1012,7 +1016,7 @@
1012 1016
                                     <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
1013 1017
                                 </span>   
1014 1018
                                 </td>
1015
-                                <td>{{item.third_disinfection_time }}</td>
1019
+                                <td>{{getTimeTwo(item.third_start_time) }} - {{getTimeTwo(item.third_end_time)  }}</td>
1016 1020
                                 <td>
1017 1021
                                     <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
1018 1022
                                    {{getName(item.third_creator)}}
@@ -1021,7 +1025,7 @@
1021 1025
                                     <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
1022 1026
                                 </span>   
1023 1027
                                 </td>
1024
-                                <td>{{ item.fourth_disinfection_time }}</td>
1028
+                                <td>{{getTimeTwo(item.fourth_start_time)  }} - {{getTimeTwo(item.fourth_end_time)  }}</td>
1025 1029
                                 <td>
1026 1030
                                     <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
1027 1031
                                    {{getName(item.fourth_creator)}}
@@ -1030,7 +1034,7 @@
1030 1034
                                     <img style="height:30px;" :src="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator)" alt="" srcset="">
1031 1035
                                 </span>   
1032 1036
                                 </td>
1033
-                                <td>{{ item.last_disinfection_time}}</td>
1037
+                                <td>{{getTimeTwo(item.last_start_time) }} - {{getTimeTwo( item.last_end_time) }}</td>
1034 1038
                                 <td>
1035 1039
                                     <span v-if="setAdminUserES(item.last_creator?item.last_creator:item.last_creator) == ''">
1036 1040
                                    {{getName(item.last_creator)}}
@@ -1316,8 +1320,47 @@
1316 1320
                 }else{
1317 1321
                     this.form.last_modifications = 0
1318 1322
                 }
1323
+
1324
+                if(this.form.first_start_time == null){
1325
+                   this.form.first_start_time = ""
1326
+                }
1327
+
1328
+                if(this.form.first_end_time == null){
1329
+                   this.form.first_end_time = ""
1330
+                }
1331
+
1332
+                if(this.form.sencond_start_time == null){
1333
+                   this.form.sencond_start_time = ""
1334
+                }
1335
+
1336
+                if(this.form.sencond_end_time == null){
1337
+                   this.form.sencond_end_time = ""
1338
+                }
1339
+
1340
+                if(this.form.third_start_time == null){
1341
+                   this.form.third_start_time = ""
1342
+                }
1343
+
1344
+                if(this.form.third_end_time == null){
1345
+                   this.form.third_end_time = ""
1346
+                }
1347
+
1348
+                if(this.form.fourth_start_time == null){
1349
+                   this.form.fourth_start_time = ""
1350
+                }
1351
+
1352
+                if(this.form.fourth_end_time == null){
1353
+                   this.form.fourth_end_time = ""
1354
+                }
1319 1355
               
1320
-              
1356
+                if(this.form.last_start_time == null){
1357
+                   this.form.last_start_time = ""
1358
+                }
1359
+
1360
+                if(this.form.last_end_time == null){
1361
+                   this.form.last_end_time = ""
1362
+                }
1363
+               console.log("param23333333333333333",this.form)
1321 1364
                
1322 1365
               saveObjectTableDisinfect(this.form).then(response=>{
1323 1366
                  if(response.data.state == 1){

+ 59 - 39
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue Ver arquivo

@@ -476,23 +476,23 @@
476 476
                         
477 477
 
478 478
                           <check-box
479
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('自体内瘘') > -1" 
479
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1" 
480 480
                             text="自体内瘘"
481 481
                           ></check-box>
482 482
                           &nbsp;
483 483
                           <check-box
484
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('人造血管') > -1" 
484
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('人造血管') > -1" 
485 485
                             text="人造血管"
486 486
                           ></check-box>
487 487
                           &nbsp;
488 488
                           <check-box
489
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('直穿') > -1" 
489
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('直穿') > -1" 
490 490
                             text="直穿"
491 491
                           ></check-box>
492 492
                           &nbsp;
493 493
 
494 494
                           <check-box
495
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('颈内静脉') > -1" 
495
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1" 
496 496
                             text="颈内静脉"
497 497
                           ></check-box>
498 498
                           &nbsp;
@@ -500,13 +500,13 @@
500 500
 
501 501
                           
502 502
                           <check-box
503
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('股静脉') > -1" 
503
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('股静脉') > -1" 
504 504
                             text="股静脉"
505 505
                           ></check-box>
506 506
                           &nbsp;
507 507
 
508 508
                           <check-box
509
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('锁骨下') > -1" 
509
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('锁骨下') > -1" 
510 510
                             text="锁骨下"
511 511
                           ></check-box>
512 512
                           &nbsp;
@@ -514,11 +514,11 @@
514 514
 
515 515
                           
516 516
                           <check-box
517
-                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('锁骨下') == -1
518
-                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('股静脉') == -1
519
-                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('颈内静脉') == -1
520
-                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('人造血管') == -1
521
-                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('自体内瘘') == -1
517
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('锁骨下') == -1
518
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('股静脉') == -1
519
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('颈内静脉') == -1
520
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('人造血管') == -1
521
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('自体内瘘') == -1
522 522
                             " 
523 523
                              
524 524
                              text="其他"
@@ -810,53 +810,53 @@
810 810
                       <tr v-for="(advice, advice_index) in record.advices" :key="advice_index" style="transform: translateY(3px)">
811 811
             
812 812
                     <td width="60">
813
-                      {{ getTime(advice[0].start_time, "{h}:{i}") }}
813
+                     <span v-if="advice[0]!=undefined">{{ getTime(advice[0].start_time, "{h}:{i}") }}</span>  
814 814
                     </td>
815 815
                   
816 816
                     <td style="text-align: left; padding-left: 5px" width="340">
817
-                      <span v-if="advice[0].parent_id > 0">---></span>
818
-                      <span>{{ advice[0].advice_name }}</span>
819
-                      <span v-if="advice && advice[0].advice_desc"
820
-                        >({{ advice[0].advice_desc
821
-                        }}{{ advice[0].drug_spec_unit }})</span
817
+                      <span v-if="advice[0]&&advice[0].parent_id > 0">---></span>
818
+                      <span>{{advice[0]&& advice[0].advice_name }}</span>
819
+                      <span v-if="advice[0] && advice[0].advice_desc"
820
+                        >({{ advice[0]&&advice[0].advice_desc
821
+                        }}{{advice[0]&& advice[0].drug_spec_unit }})</span
822 822
                       >
823
-                      <span v-if="advice[0].prescribing_number"
824
-                        >&nbsp;&nbsp; {{ advice[0].prescribing_number
825
-                        }}{{ advice[0].prescribing_number_unit }}</span
823
+                      <span v-if="advice[0]&&advice[0].prescribing_number"
824
+                        >&nbsp;&nbsp; {{advice[0]&& advice[0].prescribing_number
825
+                        }}{{advice[0]&& advice[0].prescribing_number_unit }}</span
826 826
                       >
827
-                      <span v-if="advice[0].single_dose != 0"
828
-                        >{{ advice[0].single_dose
829
-                        }}{{ advice[0].single_dose_unit }}</span
827
+                      <span v-if="advice[0]&&advice[0].single_dose != 0"
828
+                        >{{advice[0]&& advice[0].single_dose
829
+                        }}{{advice[0]&& advice[0].single_dose_unit }}</span
830 830
                       >
831 831
 
832
-                      <span v-if="advice[0].parent_id == 0">{{
833
-                        advice[0].delivery_way
832
+                      <span v-if="advice[0]&&advice[0].parent_id == 0">{{
833
+                        advice[0]&&advice[0].delivery_way
834 834
                       }}</span>
835
-                      <span v-if="advice[0].parent_id == 0">{{
836
-                        advice[0].execution_frequency
835
+                      <span v-if="advice[0]&&advice[0].parent_id == 0">{{
836
+                        advice[0]&&advice[0].execution_frequency
837 837
                       }}</span>
838
-                      <span>{{ advice[0].remark }}</span>
838
+                      <span>{{advice[0]&&advice[0].remark }}</span>
839 839
                     </td>
840 840
                 
841 841
                   
842 842
                     <td style="line-height: 10px" width="90">
843
-                      <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
844
-                        getAdminUser(advice[0].execution_staff)
843
+                      <span v-if="setAdminUserES(advice[0]&&advice[0].execution_staff) == ''">{{
844
+                        getAdminUser(advice[0]&&advice[0].execution_staff)
845 845
                       }}</span>
846 846
                       <img
847 847
                         style="height: 30px"
848
-                        :src="setAdminUserES(advice[0].execution_staff)"
848
+                        :src="setAdminUserES(advice[0]&&advice[0].execution_staff)"
849 849
                         alt=""
850 850
                         srcset=""
851 851
                       />
852 852
                     </td>
853 853
                     <td style="line-height: 30px" width="90">
854
-                      <span v-if="setAdminUserES(advice[0].checker) == ''">{{
855
-                        getAdminUser(advice[0].checker)
854
+                      <span v-if="setAdminUserES(advice[0]&&advice[0].checker) == ''">{{
855
+                        getAdminUser(advice[0]&&advice[0].checker)
856 856
                       }}</span>
857 857
                       <img
858 858
                         style="height: 30px"
859
-                        :src="setAdminUserES(advice[0].checker)"
859
+                        :src="setAdminUserES(advice[0]&&advice[0].checker)"
860 860
                         alt=""
861 861
                         srcset=""
862 862
                         v-else
@@ -954,7 +954,7 @@
954 954
                     }}
955 955
                 </td>
956 956
                 </tr>
957
-                <tr style="height: 50px; text-align: left" v-if="org_id==10430||org_id==9675">
957
+                <tr style="height: 50px; text-align: left" v-if="org_id==10430||org_id==9675 || org_id == 0">
958 958
                 <td style="padding-left: 5px; border-bottom: none;border-top: none;">
959 959
                     透析护理记录:{{
960 960
                     record.summer&&record.summer.nursing_record ? record.summer&&record.summer.nursing_record : ""
@@ -1112,6 +1112,7 @@ export default {
1112 1112
       loading: false,
1113 1113
       orgname: "",
1114 1114
       bloodAccessParOpera: {},
1115
+      bloodAccessParOperaList:[],
1115 1116
       anticoagulantsConfit: {},
1116 1117
       dialysateFormulationOptions: {},
1117 1118
       operatorMaps: {},
@@ -1142,6 +1143,11 @@ export default {
1142 1143
       "hemodialysis",
1143 1144
       "vascular_access_desc"
1144 1145
     );
1146
+    this.bloodAccessParOperaList = getDataConfig(
1147
+      "hemodialysis",
1148
+      "vascular_access_desc"
1149
+    );
1150
+    console.log("z=============",this.bloodAccessParOperaList)
1145 1151
     this.way_arr = getDataConfig("hemodialysis", "way");
1146 1152
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1147 1153
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
@@ -1205,6 +1211,14 @@ export default {
1205 1211
         var resp = rs.data;
1206 1212
         if (resp.state == 1) {
1207 1213
           this.records = this.records.concat(resp.data.schedules);
1214
+          console.log("记录233333333333333333",this.records)
1215
+          for(let i = 0 ; i < this.records.length ; i++){
1216
+            console.log("进来",this.records[i].assessment_before_dislysis.blood_access_part_opera_id)
1217
+            this.records[i].assessment_before_dislysis.blood_access_part_opera_name = ""
1218
+            this.records[i].assessment_before_dislysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.records[i].assessment_before_dislysis.blood_access_part_opera_id)
1219
+            console.log("232332",this.records[i].assessment_before_dislysis.blood_access_part_opera_name)
1220
+          }
1221
+          console.log("中uo",this.records)
1208 1222
           var tempmonitorflag = true;
1209 1223
           for(let i=0;i<this.records.length;i++){
1210 1224
             for(let j=0;j<this.records[i].monitor_records.length;j++){
@@ -1434,11 +1448,17 @@ export default {
1434 1448
       return "";
1435 1449
     },
1436 1450
     bloodAccessParOperaName(id) {
1437
-      console.log(tihs.records, "hhh");
1438
-      if (id in this.bloodAccessParOpera) {
1439
-        return this.bloodAccessParOpera[id].name;
1451
+     console.log("233333333333333",id)
1452
+      // if (id in this.bloodAccessParOpera) {
1453
+      //   return this.bloodAccessParOpera[id].name;
1454
+      // }
1455
+      var name = ""
1456
+      for(let i=0;i<this.bloodAccessParOperaList.length;i++){
1457
+        if(id== this.bloodAccessParOperaList[i].id){
1458
+           name = this.bloodAccessParOperaList[i].name
1459
+        }
1440 1460
       }
1441
-      return "";
1461
+      return name;
1442 1462
     },
1443 1463
     isBbloodAccessParOperaCheck(key, value) {
1444 1464
       if (key == null || typeof key === "undefined") {

+ 44 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue Ver arquivo

@@ -1374,24 +1374,64 @@
1374 1374
                     核对护士
1375 1375
                     <span
1376 1376
                       style="display: inline-block;width:100px;text-align: left;"
1377
+                    >
1378
+                      &nbsp;
1379
+
1380
+                      <span
1381
+                            v-if="
1382
+                              !record.advices ||
1383
+                                typeof record.advices[0] == 'undefined' ||
1384
+                                typeof record.advices[0][0] == 'undefined'
1385
+                            "
1386
+                          ></span>
1387
+                          <span
1388
+                            v-else-if="
1389
+                              setAdminUserES(
1390
+                                record.advices[0][0],
1391
+                                'checker'
1392
+                              ) == ''
1393
+                            "
1394
+                            >{{
1395
+                              getAdminUser(
1396
+                                record.advices[0][0],
1397
+                                "checker"
1398
+                              )
1399
+                            }}</span
1400
+                          >
1401
+                          <img
1402
+                             style="height: 30px;"
1403
+                            :src="
1404
+                              setAdminUserES(
1405
+                                record.advices[0][0],
1406
+                                'checker'
1407
+                              )
1408
+                            "
1409
+                            alt=""
1410
+                            srcset=""
1411
+                            v-else
1412
+                          />
1413
+
1414
+                    </span>
1415
+                    <!-- <span
1416
+                      style="display: inline-block;width:100px;text-align: left;"
1377 1417
                     >
1378 1418
                       <span
1379 1419
                           v-if="
1380
-                            setAdminUserES(record.check, 'modifier') ==
1420
+                            setAdminUserES(record.check, 'creater') ==
1381 1421
                               ''
1382 1422
                           "
1383 1423
                           >{{
1384
-                            getAdminUser(record.check, "modifier")
1424
+                            getAdminUser(record.check, "creater")
1385 1425
                           }}</span
1386 1426
                         >
1387 1427
                         <img
1388
-                          :src="setAdminUserES(record.check, 'modifier')"
1428
+                          :src="setAdminUserES(record.check, 'creater')"
1389 1429
                           alt=""
1390 1430
                           srcset=""
1391 1431
                           v-else
1392 1432
                           style="height: 30px;"
1393 1433
                         />
1394
-                    </span>
1434
+                    </span> -->
1395 1435
                     护士签名
1396 1436
                     <span
1397 1437
                       style="display: inline-block;width:100px;text-align: left;"

+ 9 - 8
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver arquivo

@@ -11,10 +11,10 @@
11 11
       <el-form ref="form" :model="form" label-width="160px">
12 12
         <el-row :gutter="20">
13 13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
-            <el-form-item label="实际治疗时长(时):" :prop="isName('实际治疗时长')" :rules="isCheckmust('实际治疗时长')">
15
-              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
14
+            <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
15
+              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> :prop="isName('实际治疗时长')"-->
16 16
               <el-time-picker
17
-                v-model="actualTreatmentHourShow"
17
+                v-model="form.actualTreatmentHourShow"
18 18
                 placeholder="透析时长"
19 19
                 style="width:100%;"
20 20
                 value-format="H:m"
@@ -620,9 +620,9 @@
620 620
           type="primary"
621 621
           @click="submitForm('form')"
622 622
           :loading="loading"
623
-          v-if="hasPermission"
623
+          
624 624
           >保 存</el-button>
625
-          <!--  -->
625
+          <!-- v-if="hasPermission" -->
626 626
       </span>
627 627
     </el-dialog>
628 628
 
@@ -697,7 +697,7 @@ export default {
697 697
       internalFistulaOptions: [],
698 698
       vascularAccessOptions: [],
699 699
       unit: [{ id: 1, name: 'g' }, { id: 2, name: 'ml' },{ id: 3, name: 'kg' }],
700
-      actualTreatmentHourShow: '',
700
+      // actualTreatmentHourShow: '',
701 701
       vascularAccessDescOptions: [],
702 702
       catheterOptions: [],
703 703
       complicationOptions: [],
@@ -729,6 +729,7 @@ export default {
729 729
       },
730 730
 
731 731
       form: {
732
+        actualTreatmentHourShow: '',
732 733
         weight_after: '',
733 734
         weight_loss: '',
734 735
         temperature: '',
@@ -893,7 +894,7 @@ export default {
893 894
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
894 895
           this.form['sealing_fluid_dispose'] = ''
895 896
         }
896
-        this.actualTreatmentHourShow = new Date(
897
+        this.form.actualTreatmentHourShow = new Date(
897 898
           2018,
898 899
           1,
899 900
           1,
@@ -1316,7 +1317,7 @@ export default {
1316 1317
       for (var index in records) {
1317 1318
         this.$set(this.assessment_after_dislysis, index, records[index])
1318 1319
       }
1319
-      this.actualTreatmentHourShow = new Date(
1320
+      this.form.actualTreatmentHourShow = new Date(
1320 1321
         2018,
1321 1322
         1,
1322 1323
         1,

+ 104 - 48
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Ver arquivo

@@ -218,15 +218,9 @@
218 218
         :rules="isCheckmust('跌倒风险预防措施')"
219 219
         v-if="isShow('跌倒风险预防措施')"
220 220
       >
221
-        <!--        <el-radio-->
222
-        <!--          v-for="(item, index) in precaution_arr"-->
223
-        <!--          :key="index"-->
224
-        <!--          :label="item.id"-->
225
-        <!--          v-model="receiveTreatmentAsses.precaution"-->
226
-        <!--          >{{ item.name }}-->
227
-        <!--        </el-radio>-->
228
-        
229
-        <el-checkbox-group v-model="precautionTwo">
221
+        <!-- isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施') :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
222
+           [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
223
+        <el-checkbox-group v-model="precautionTwo" @change="precautionchange">
230 224
           <el-checkbox
231 225
             v-for="item in precaution_arr"
232 226
             :label="item.name"
@@ -235,6 +229,7 @@
235 229
           >
236 230
         </el-checkbox-group>
237 231
       </el-form-item>
232
+
238 233
       <el-form-item
239 234
         label-width="200px"
240 235
         label="其他跌倒风险预防措施 : "
@@ -340,8 +335,8 @@
340 335
     </el-form>
341 336
     <div slot="footer" class="dialog-footer">
342 337
       <el-button @click="handleCancle">取 消</el-button>
343
-      <!-- -->
344
-      <el-button type="primary" v-if="hasPermission" @click="handleComfirm('receiveTreatmentAsses')"
338
+      <!-- v-if="hasPermission"-->
339
+      <el-button type="primary"   @click="handleComfirm('receiveTreatmentAsses')"
345 340
         >保 存</el-button
346 341
       >
347 342
     </div>
@@ -394,8 +389,10 @@ export default {
394 389
         tumble: "",
395 390
         his_department: "",
396 391
         his_bed: "",
392
+        falldown:[],
397 393
       },
398 394
       precautionTwo: [],
395
+      arr:[]
399 396
     };
400 397
   },
401 398
   methods: {
@@ -419,22 +416,21 @@ export default {
419 416
       }
420 417
       this.accepts = accepts;
421 418
       // console.log("accepts", accepts);
422
-      var arr = [];
423
-      if (this.accepts.precaution) {
424
-        var precaution = this.accepts.precaution.split(",");
425
-        // console.log("precaution", precaution);
426
-        // console.log("hhh", this.precaution_arr);
427
-        for (let i = 0; i < precaution.length; i++) {
428
-          for (let j = 0; j < this.precaution_arr.length; j++) {
429
-            if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
430
-              // console.log("aaaa");
431
-              arr.push(this.precaution_arr[j].name);
432
-            }
433
-          }
434
-        }
435
-        this.precautionTwo = arr;
436
-        // console.log("arr", arr);
437
-      }
419
+      // var arr = [];
420
+      // if (this.accepts.precaution) {
421
+      //   var precaution = this.accepts.precaution.split(",");
422
+      //   // console.log("precaution", precaution);
423
+      //   // console.log("hhh", this.precaution_arr);
424
+      //   for (let i = 0; i < precaution.length; i++) {
425
+      //     for (let j = 0; j < this.precaution_arr.length; j++) {
426
+      //       if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
427
+      //         // console.log("aaaa");
428
+      //         this.arr.push(this.precaution_arr[j].name);
429
+      //       }
430
+      //     }
431
+      //   }
432
+      //   this.precautionTwo = this.arr;
433
+      // }
438 434
 
439 435
       this.getPermission();
440 436
       for (var index in this.receiveTreatmentAsses) {
@@ -458,20 +454,44 @@ export default {
458 454
     handleCancle: function () {
459 455
       this.isVisibility = false;
460 456
     },
457
+    // 复选框跌倒风险措施
458
+    precautionchange(){
459
+      // for (let i = 0; i < this.precaution_arr.length; i++) {
460
+      //   for (let j = 0; j < this.precautionTwo.length; j++) {
461
+      //     if (this.precaution_arr[i].name == this.precautionTwo[j]) {
462
+      //       this.arr.push(this.precaution_arr[i].id);
463
+      //     }
464
+      //   }
465
+      // } 
466
+      // var obj = this.arr.join(",");
467
+      // this.receiveTreatmentAsses.precaution = obj;
468
+
469
+      // this.receiveTreatmentAsses.falldown=this.precautionTwo
470
+      if(this.precautionTwo.length>0){
471
+        this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
472
+      }
473
+      console.log('this.precaution_arr',this.precautionTwo);
474
+      // console.log('arr的数据',this.receiveTreatmentAsses.falldown);
475
+      // console.log('sadffdasfdg',this.receiveTreatmentAsses.falldown.length);
476
+      // this.$refs[fromName].resetFields();
477
+      
478
+    },
479
+
461 480
     handleComfirm: function (formName) {
462
-      var arr = [];
481
+      // var arr = [];
463 482
       for (let i = 0; i < this.precaution_arr.length; i++) {
464 483
         for (let j = 0; j < this.precautionTwo.length; j++) {
465 484
           if (this.precaution_arr[i].name == this.precautionTwo[j]) {
466
-            arr.push(this.precaution_arr[i].id);
485
+            this.arr.push(this.precaution_arr[i].id);
467 486
           }
468 487
         }
469
-      }
470
-      // console.log("arr", arr);
471
-      var obj = arr.join(",");
488
+      } 
489
+      // this.precautionchange()
490
+      var obj = this.arr.join(",");
472 491
       this.receiveTreatmentAsses.precaution = obj;
473 492
       let ParamsQuery = this.receiveTreatmentAsses;
474
-      // console.log("ParamsQuery", ParamsQuery);
493
+      
494
+      console.log("ParamsQuery", ParamsQuery);
475 495
       ParamsQuery["patient"] = this.patient.id;
476 496
       ParamsQuery["record_date"] = this.record_date;
477 497
       //console.log(this.receiver_treatment_access);
@@ -534,30 +554,61 @@ export default {
534 554
     isCheckmust(name) {
535 555
       let filedList = store.getters.xt_user.fileds;
536 556
       for (let i = 0; i < filedList.length; i++) {
537
-        // if (
538
-        //   filedList[i].module == 2){console.log(filedList[i],'filedList[i]')}
557
+        
539 558
         if (
540 559
           filedList[i].module == 2 &&
541 560
           filedList[i].filed_name_cn == name &&
542 561
           filedList[i].is_write == 1
543 562
         ) {
563
+          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
544 564
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
545
-          return [
546
-            { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
547
-            {
548
-              required: true,
549
-              pattern: /^[1-9]\d*$/,
550
-              message: `请输入${name}`,
551
-              trigger: ['blur','change']
552
-            },
553
-          ];
565
+            return [
566
+              { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
567
+              {
568
+                required: true,
569
+                pattern: /^[1-9]\d*$/,
570
+                message: `请输入${name}`,
571
+                trigger: ['blur','change']
572
+              },
573
+            ];
574
+          } 
575
+          // if(name == "跌倒风险预防措施" && this.precautionTwo.length<=0){
576
+          //   return [
577
+          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
578
+          //     {
579
+          //       required: true,
580
+          //       pattern: /^[1-9]\d*$/,
581
+          //       message: `请选择${name}`,
582
+          //       trigger: ['blur','change']
583
+          //     },
584
+          //   ];
585
+          // }
586
+            return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
554 587
         }
555
-          return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
556
-        }
557
-
558
-        
559 588
       }
560 589
     },
590
+    // isFalldown(name){
591
+    //   let filedList = store.getters.xt_user.fileds;
592
+    //   for (let i = 0; i < filedList.length; i++) {
593
+    //     if (
594
+    //       filedList[i].module == 2 &&
595
+    //       filedList[i].filed_name_cn == name &&
596
+    //       filedList[i].is_write == 1
597
+    //     ) {
598
+    //       if (name == "跌倒风险预防措施" && this.precautionTwo.length<=0) {
599
+    //         return [
600
+    //           { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
601
+    //           {
602
+    //             required: true,
603
+    //             pattern: /^[1-9]\d*$/,
604
+    //             message: `请选择${name}`,
605
+    //             trigger: ['blur','change']
606
+    //           },
607
+    //         ];
608
+    //       } 
609
+    //     }
610
+    //   }
611
+    // },
561 612
     getPermission() {
562 613
       request
563 614
         .get("/api/func_per/get", {
@@ -627,6 +678,7 @@ export default {
627 678
     },
628 679
   },
629 680
   created() {
681
+    
630 682
     // console.log("接诊评估", this.receiver_treatment_access);
631 683
     var date = this.$route.query && this.$route.query.date;
632 684
     this.record_date = date
@@ -643,7 +695,11 @@ export default {
643 695
     // console.log("风险", this.precaution_arr);
644 696
     this.intake_arr = getDataConfig("hemodialysis", "intake");
645 697
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
698
+    
646 699
   },
700
+  // mounted(){
701
+  //   this.isFalldown()
702
+  // }
647 703
 };
648 704
 </script>
649 705
 

+ 4 - 3
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver arquivo

@@ -964,7 +964,7 @@
964 964
             filedList[i].is_write == 1&&
965 965
             filedList[i].is_show == 1
966 966
           ) {
967
-            console.log(filedList[i],'false')
967
+            // console.log(filedList[i],'false')
968 968
             if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969 969
             return [
970 970
               { required: true, message: `请输入${name}` },
@@ -990,7 +990,7 @@
990 990
         var filedList = store.getters.xt_user.fileds
991 991
         for (let i = 0; i < filedList.length; i++) {
992 992
           if (filedList[i].module == 3 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
993
-            console.log("filedList",filedList)
993
+            // console.log("filedList",filedList)
994 994
             return true
995 995
           }
996 996
         }
@@ -1616,7 +1616,8 @@
1616 1616
       //   }
1617 1617
       //
1618 1618
       // }
1619
-    }, watch: {
1619
+    }, 
1620
+    watch: {
1620 1621
       isVisibility(val) {
1621 1622
 
1622 1623
       },

+ 2 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Ver arquivo

@@ -111,7 +111,8 @@
111 111
           :prop="isName('换药护士')"
112 112
           :rules="isCheckmust('换药护士')"
113 113
         >
114
-          <el-select v-model="form.change_nurse" placeholder="换药护士">
114
+        <!--  -->
115
+          <el-select v-model="form.change_nurse" placeholder="请选择换药护士">
115 116
             <el-option
116 117
               v-for="(admin, index) in adminRoles"
117 118
               :key="index"
@@ -250,7 +251,6 @@
250 251
         >
251 252
           <el-select v-model="form.blood_access_id" placeholder="请选择" @change="changeBloodAccessOpion">
252 253
             <el-option :key="0" label="请选择" :value="0"></el-option>
253
-
254 254
             <el-option
255 255
               v-for="(option, index) in blood_access_option"
256 256
               :key="index + 'i'"

+ 8 - 87
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

@@ -23,7 +23,6 @@
23 23
                     ref="dialysisPrescription"
24 24
                     :model="dialysisPrescription"
25 25
                     label-width="148px"
26
-
27 26
             >
28 27
                 <el-row :gutter="24">
29 28
                     <el-col :span="8" v-if="isShows('透析模式')">
@@ -43,7 +42,7 @@
43 42
                         </el-form-item>
44 43
                     </el-col>
45 44
                     <el-col :span="8" v-if="isShows('透析时长')">
46
-                        <el-form-item label="透析时长(h):" :prop="isName('透析时长')" :rules="isCheckmust('透析时长')">
45
+                        <el-form-item label="透析时长(h):" prop="dialysis_duration_hour" :rules="isCheckmust('透析时长')">
47 46
                             <el-input
48 47
                                     type="number"
49 48
                                     v-model="dialysisPrescription.dialysis_duration_hour"
@@ -626,7 +625,7 @@
626 625
                         </el-form-item>
627 626
                     </el-col>
628 627
 
629
-                    <el-col :span="8" v-if="isShows('钠')"><!--  :prop="isName('钠')"-->
628
+                    <el-col :span="8" v-if="isShows('钠')"><!--  :prop="isName('钠')" prop="sodium"-->
630 629
                         <el-form-item label="钠(mmol/L):" prop="sodium" :rules="isCheckmust('纳')">
631 630
                             <el-input
632 631
                                     type="number"
@@ -1681,86 +1680,6 @@
1681 1680
         zongliang:"",
1682 1681
         educationList:[],
1683 1682
         value:"",
1684
-
1685
-        // rules : {
1686
-        //   mode_id:[{required: true, message: '请选择透析模式', trigger: 'change'}],
1687
-        //   dialysis_duration_hour:[{required: true, message: '请输入透析时长', trigger: 'blur'}],
1688
-        //   dialysis_duration_minute:[{required: true, message: '请输入透析时长', trigger: 'blur'}],
1689
-        //   blood_flow_volume:[{required: true, message: '请输入血流量', trigger: 'blur'}],
1690
-        //   replacement_flow:[{required: true, message: '请输入置换流量', trigger: 'blur'}],
1691
-        //   pre_impulse:[{required: true, message: '请输入预冲量', trigger: 'blur'}],
1692
-        //   target_ultrafiltration:[{required: true, message: '请输入目标超滤量', trigger: 'blur'}],
1693
-        //   prescription_water:[{required: true, message: '请输入处方脱水量', trigger: 'blur'}],
1694
-        //   water_machine:[{required: true, message: '请选择带水上机', trigger: 'change'}],
1695
-        //   is_water:[{required: true, message: '请选择是否单超脱水', trigger: 'change'}],
1696
-        //   single_time:[{required: true, message: '请输入单超时长', trigger: 'blur'}],
1697
-        //   single_water:[{required: true, message: '请输入单超脱水', trigger: 'blur'}],
1698
-        //   drhy_water:[{required: true, message: '请输入曲线脱水', trigger: 'blur'}],
1699
-        //   dry_water_hour:[{required: true, message: '请输入曲线脱水时长', trigger: 'blur'}],
1700
-        //   dialysate_formulation:[{required: true, message: '请选择透析液配方', trigger: 'change'}],
1701
-        //   anticoagulant:[{required: true, message: '请选择抗凝剂', trigger: 'change'}],
1702
-        //   antioxidant_commodity_name:[{required: true, message: '请输入抗凝剂商品名称', trigger: 'blur'}],
1703
-        //   heparin_sodium:[{required: true, message: '请输入肝素钠', trigger: 'blur'}],
1704
-        //   nucleoprotamine:[{required: true, message: '请输入鱼精蛋白', trigger: 'blur'}],
1705
-        //   push_the_protamine:[{required: true, message: '请输入下机前推注鱼精蛋白', trigger: 'blur'}],
1706
-        //   add_amount:[{required: true, message: '请输入追加肝素量', trigger: 'blur'}],
1707
-        //   calculateAnticoagulantZL:[{required: true, message: '请输入减肝素量', trigger: 'blur'}],
1708
-        //   reduce_amount:[{required: true, message: '请输入减肝素量', trigger: 'blur'}],
1709
-        //   anticoagulant_shouji:[{required: true, message: '请输入首剂', trigger: 'blur'}],
1710
-        //   anticoagulant_weichi:[{required: true, message: '请输入维持', trigger: 'blur'}],
1711
-        //   anticoagulant_zongliang:[{required: true, message: '请输入总量', trigger: 'blur'}],
1712
-        //   prescribing_number:[{required: true, message: '请输入开药数量', trigger: 'blur'}],
1713
-        //   replacement_total:[{required: true, message: '请输入置换量', trigger: 'blur'}],
1714
-        //   displace_speed:[{required: true, message: '请输入置换速度', trigger: 'blur'}],
1715
-        //   anticoagulant_gaimingcheng:[{required: true, message: '请输入钙名称', trigger: 'blur'}],
1716
-        //   anticoagulant_gaijiliang:[{required: true, message: '请输入钙剂量', trigger: 'blur'}],
1717
-        //   kalium:[{required: true, message: '请输入钾', trigger: 'blur'}],
1718
-        //   sodium:[{required: true, message: '请输入钠', trigger: 'blur'}],
1719
-        //   calcium:[{required: true, message: '请输入钙', trigger: 'blur'}],
1720
-        //   bicarbonate:[{required: true, message: '请输入碳酸氢盐', trigger: 'blur'}],
1721
-        //   dialysate_flow:[{required: true, message: '请输入透析液流量', trigger: 'blur'}],
1722
-        //   dialysate_temperature:[{required: true, message: '请输入透析液温度', trigger: 'blur'}],
1723
-        //   conductivity:[{required: true, message: '请输入电导率', trigger: 'blur'}],
1724
-        //   dialyzer_perfusion_apparatus:[{required: true, message: '请输入透析器/灌流器', trigger: 'blur'}],
1725
-        //   dialysis_dialyszers:[{required: true, message: '请输入透析器', trigger: 'blur'}],
1726
-        //   dialysis_irrigation:[{required: true, message: '请输入灌流器', trigger: 'blur'}],
1727
-        //   dialysis_strainer:[{required: true, message: '请输入滤过器', trigger: 'blur'}],
1728
-        //   plasma_separator:[{required: true, message: '请输入血浆分离器', trigger: 'blur'}],
1729
-        //   bilirubin_adsorption_column:[{required: true, message: '请输入胆红素吸附柱', trigger: 'blur'}],
1730
-        //   body_fluid:[{required: true, message: '请选择体液过多症状', trigger: 'change'}],
1731
-        //   body_fluid_other:[{required: true, message: '请输入体液过多其他症状', trigger: 'blur'}],
1732
-        //   special_medicine:[{required: true, message: '请选择透析前使用特殊药物', trigger: 'change'}],
1733
-        //   special_medicine_other:[{required: true, message: '请输入透析前使用其他特殊药物', trigger: 'blur'}],
1734
-        //   value:[{required: true, message: '请选择透析备注', trigger: 'change'}],
1735
-        //   dialysis_remark:[{required: true, message: '请输入透析备注', trigger: 'blur'}],
1736
-        //   prescription_sodium:[{required: true, message: '请输入处方钠', trigger: 'blur'}],
1737
-        //   start_sodium:[{required: true, message: '请输入开始钠', trigger: 'blur'}],
1738
-        //   sodium_curve:[{required: true, message: '请输入钠曲线', trigger: 'blur'}],
1739
-        //   dialysis_fluid_flow:[{required: true, message: '请输入透析液流速', trigger: 'blur'}],
1740
-        //   sodium_bicarbonate_flow:[{required: true, message: '请输入碳酸氢钠流速', trigger: 'blur'}],
1741
-        //   treatment_remark:[{required: true, message: '请输入病情处理', trigger: 'blur'}],
1742
-        //   displace_liqui_part:[{required: true, message: '请选择置换液', trigger: 'change'}],
1743
-        //   displace_liqui_value:[{required: true, message: '请输入置换液总量', trigger: 'blur'}],
1744
-        //   target_ktv:[{required: true, message: '请输入目标KT/V', trigger: 'blur'}],
1745
-        //   blood_access:[{required: true, message: '请选择血管通路', trigger: 'change'}],
1746
-        //   anticoagulant_stop_time_hour:[{required: true, message: '请输入抗凝提前停止时间', trigger: 'blur'}],
1747
-        //   anticoagulant_stop_time_min:[{required: true, message: '请输入抗凝提前停止时间', trigger: 'blur'}],
1748
-        //   blood:[{required: true, message: '请输入抽血量', trigger: 'blur'}],
1749
-        //   illness:[{required: true, message: '请选择病情', trigger: 'change'}],
1750
-        //   amylaceum:[{required: true, message: '请输入葡萄糖', trigger: 'blur'}],
1751
-        //   oxygen_uptake:[{required: true, message: '请选择是否吸氧', trigger: 'change'}],
1752
-        //   oxygen_flow:[{required: true, message: '请输入吸氧流量', trigger: 'blur'}],
1753
-        //   oxygen_time:[{required: true, message: '请输入吸氧时长', trigger: 'blur'}],
1754
-        //   hemodialysis_pipelines_count:[{required: true, message: '请输入透析管路支数', trigger: 'blur'}],
1755
-        //   hemodialysis_pipelines:[{required: true, message: '请选择透析管路', trigger: 'change'}],
1756
-        //   puncture_needle:[{required: true, message: '请输入穿刺针', trigger: 'blur'}],
1757
-        //   puncture_needle_count:[{required: true, message: '请输入穿刺针支数', trigger: 'blur'}],
1758
-        //   epo:[{required: true, message: '请选择促红素', trigger: 'change'}],
1759
-        //   epo_count:[{required: true, message: '请输入促红素支数', trigger: 'blur'}],
1760
-        //   max_ultrafiltration_rate:[{required: true, message: '请输入最大超滤率', trigger: 'blur'}],
1761
-        //   admin_user_id:[{required: true, message: '处方医生', trigger: 'blur'}],
1762
-        //   // remark:[{required: true, message: '请输入备注', trigger: 'blur'}]
1763
-        // }
1764 1683
       }
1765 1684
 
1766 1685
     },
@@ -3811,10 +3730,8 @@ mu
3811 3730
         var filedList = store.getters.xt_user.fileds
3812 3731
         for (let i = 0; i < filedList.length; i++) {
3813 3732
           if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
3814
-
3815 3733
             return true
3816 3734
           }
3817
-
3818 3735
         }
3819 3736
         return false
3820 3737
       },
@@ -3829,8 +3746,8 @@ mu
3829 3746
           filedList[i].is_write == 1&&
3830 3747
           filedList[i].is_show == 1
3831 3748
         ) {
3832
-          console.log(filedList[i],'false')
3833
-          if (name == "透析模式" || name == "透析时长") {
3749
+          // console.log(filedList[i],'false')
3750
+          if (name == "透析模式" || name == "透析时长" ) {
3834 3751
           return [
3835 3752
             { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
3836 3753
             {
@@ -3840,6 +3757,9 @@ mu
3840 3757
               trigger: ['blur','change']
3841 3758
             },
3842 3759
           ];
3760
+        }
3761
+        if(name == '钠'){
3762
+          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3843 3763
         }
3844 3764
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3845 3765
 
@@ -4787,6 +4707,7 @@ mu
4787 4707
       }
4788 4708
     },
4789 4709
     created() {
4710
+      console.log('weretrertf',this.dialysisPrescription.sodium);
4790 4711
       console.log("schedual232323323232323232",this.adminRoles)
4791 4712
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4792 4713
 

+ 3 - 6
src/xt_pages/dialysis/details/dialog/finish_dialog.vue Ver arquivo

@@ -4,7 +4,7 @@
4 4
       <!-- <div class="txsj">
5 5
       </div> -->
6 6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
7
-      <el-form :model="form" label-width="100px"  :rules="drugdicRules"  ref="form">
7
+      <el-form :model="form" label-width="100px"    ref="form">
8 8
         <el-form-item label="下机护士" >
9 9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
10 10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
@@ -36,7 +36,6 @@
36 36
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
37 37
         </el-form-item>
38 38
 
39
-
40 39
         <el-form-item label="导管: " :prop="isName('导管')"
41 40
               :rules="isCheckmust('导管')" v-if="isShowFiled('导管')">
42 41
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
@@ -148,9 +147,6 @@
148 147
         },
149 148
         catheter: [],
150 149
         cruorOptions: [],
151
-        drugdicRules: {
152
-         internal_fistula: [{ required: true, message: "请选择内瘘" }]
153
-        },
154 150
         required:false,
155 151
         education:[],
156 152
        
@@ -222,7 +218,8 @@
222 218
           filedList[i].filed_name_cn == name &&
223 219
           filedList[i].is_write == 1
224 220
             ) {
225
-          return [{ required: true ,message:`请输入${name}` }];
221
+              
222
+              return [{ required: true ,message:`请输入${name}` }];
226 223
             }
227 224
           }
228 225
         },

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver arquivo

@@ -2611,7 +2611,7 @@ export default {
2611 2611
         "/dialysis/print?xtdate=" +
2612 2612
           xtdate +
2613 2613
           "&xtno=" +
2614
-          schedual.patient.dialysis_no
2614
+          schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
2615 2615
       );
2616 2616
       //   this.patient_id = schedual.patient_id;
2617 2617
       //   this.date = schedual.schedule_date;

+ 8 - 2
src/xt_pages/dialysis/signPrint.vue Ver arquivo

@@ -302,6 +302,8 @@ export default {
302 302
                    }
303 303
                   }
304 304
                   for(let i=0;i<schedules.length;i++){
305
+                    schedules[i].sort = 0
306
+                    schedules[i].sort = schedules[i].device_number.sort
305 307
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
306 308
                       schedules[i].parent_advice[j].childAdvice = []
307 309
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
@@ -312,7 +314,7 @@ export default {
312 314
                     }
313 315
                   }
314 316
                   console.log("scheduleMap999999999999",schedules)
315
-                  this.list = schedules
317
+                  this.list = schedules.sort(this.compare('sort'))
316 318
                 }
317 319
                
318 320
                  if(config.is_open == 1){
@@ -481,6 +483,8 @@ export default {
481 483
                   }
482 484
 
483 485
                   for(let i=0;i<schedules.length;i++){
486
+                    schedules[i].sort = 0
487
+                    schedules[i].sort = schedules[i].device_number.sort
484 488
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
485 489
                       schedules[i].parent_advice[j].childAdvice = []
486 490
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
@@ -490,7 +494,9 @@ export default {
490 494
                       }
491 495
                     }
492 496
                   }
493
-                   this.list = schedules
497
+                  console.log("哈哈哈",schedules)
498
+                   this.list = schedules.sort(this.compare('sort'))
499
+                 
494 500
                    this.scheduleMap = scheduleMap  
495 501
                  }
496 502
                 console.log("this.list",this.list)

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Ver arquivo

@@ -1153,7 +1153,8 @@ export default {
1153 1153
 
1154 1154
       queryParams: {
1155 1155
         xtdate: '',
1156
-        xtno: ''
1156
+        xtno: '',
1157
+        patient_id:0,
1157 1158
       },
1158 1159
       patientInfo: {
1159 1160
         birth: '',
@@ -1564,7 +1565,7 @@ export default {
1564 1565
     },
1565 1566
     getDialysisRecord() {
1566 1567
       this.loading = true
1567
-
1568
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1568 1569
       getDialysisRecord(this.queryParams).then(response => {
1569 1570
         if (response.data.state === 1) {
1570 1571
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue Ver arquivo

@@ -591,7 +591,8 @@ export default {
591 591
 
592 592
       queryParams: {
593 593
         xtdate: "",
594
-        xtno: ""
594
+        xtno: "",
595
+        patient_id:0,
595 596
       },
596 597
       patientInfo: {
597 598
         birth: "",
@@ -788,7 +789,7 @@ export default {
788 789
     },
789 790
     getDialysisRecord() {
790 791
       this.loading = true;
791
-
792
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
792 793
       getDialysisRecord(this.queryParams).then(response => {
793 794
         if (response.data.state === 1) {
794 795
           this.total = response.data.data.total;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue Ver arquivo

@@ -1112,7 +1112,8 @@ export default {
1112 1112
       totollength: 0,
1113 1113
       queryParams: {
1114 1114
         xtdate: "",
1115
-        xtno: ""
1115
+        xtno: "",
1116
+        patient_id:0,
1116 1117
       },
1117 1118
       patientInfo: {
1118 1119
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue Ver arquivo

@@ -505,7 +505,8 @@ export default {
505 505
 
506 506
       queryParams: {
507 507
         xtdate: "",
508
-        xtno: ""
508
+        xtno: "",
509
+        patient_id:0,
509 510
       },
510 511
       patientInfo: {
511 512
         birth: "",
@@ -718,7 +719,7 @@ export default {
718 719
     },
719 720
     getDialysisRecord() {
720 721
       this.loading = true;
721
-
722
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
722 723
       getDialysisRecord(this.queryParams).then(response => {
723 724
         if (response.data.state === 1) {
724 725
           this.total = response.data.data.total;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue Ver arquivo

@@ -2597,6 +2597,7 @@ export default {
2597 2597
       queryParams: {
2598 2598
         xtdate: "",
2599 2599
         xtno: "",
2600
+        patient_id:0,
2600 2601
       },
2601 2602
       patientInfo: {
2602 2603
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue Ver arquivo

@@ -2570,6 +2570,7 @@ export default {
2570 2570
       queryParams: {
2571 2571
         xtdate: "",
2572 2572
         xtno: "",
2573
+        patient_id:0,
2573 2574
       },
2574 2575
       patientInfo: {
2575 2576
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue Ver arquivo

@@ -1011,6 +1011,7 @@ export default {
1011 1011
       queryParams: {
1012 1012
         xtdate: "",
1013 1013
         xtno: "",
1014
+        patient_id:0,
1014 1015
       },
1015 1016
       patientInfo: {
1016 1017
         birth: "",
@@ -1166,7 +1167,7 @@ export default {
1166 1167
     },
1167 1168
     getDialysisRecord() {
1168 1169
       this.loading = true;
1169
-
1170
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1170 1171
       getDialysisRecord(this.queryParams).then((response) => {
1171 1172
         if (response.data.state == 1) {
1172 1173
           this.adminUser = response.data.data.users;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue Ver arquivo

@@ -2434,6 +2434,7 @@ export default {
2434 2434
       queryParams: {
2435 2435
         xtdate: "",
2436 2436
         xtno: "",
2437
+        patient_id:0,
2437 2438
       },
2438 2439
       patientInfo: {
2439 2440
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue Ver arquivo

@@ -2762,6 +2762,7 @@ export default {
2762 2762
       queryParams: {
2763 2763
         xtdate: "",
2764 2764
         xtno: "",
2765
+        patient_id:0,
2765 2766
       },
2766 2767
       patientInfo: {
2767 2768
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue Ver arquivo

@@ -1018,6 +1018,7 @@ export default {
1018 1018
       queryParams: {
1019 1019
         xtdate: "",
1020 1020
         xtno: "",
1021
+        patient_id:0,
1021 1022
       },
1022 1023
       patientInfo: {
1023 1024
         birth: "",
@@ -1173,7 +1174,7 @@ export default {
1173 1174
     },
1174 1175
     getDialysisRecord() {
1175 1176
       this.loading = true;
1176
-
1177
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1177 1178
       getDialysisRecord(this.queryParams).then((response) => {
1178 1179
         if (response.data.state == 1) {
1179 1180
           this.adminUser = response.data.data.users;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySix.vue Ver arquivo

@@ -2646,6 +2646,7 @@ export default {
2646 2646
       queryParams: {
2647 2647
         xtdate: "",
2648 2648
         xtno: "",
2649
+        patient_id:0,
2649 2650
       },
2650 2651
       patientInfo: {
2651 2652
         birth: "",

+ 10 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Ver arquivo

@@ -25,7 +25,7 @@
25 25
                       <div>
26 26
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
27 27
                       </div>
28
-                      <div>年龄:{{ getoldAge() }}</div>
28
+                      <div>年龄:{{ getAge(patientInfo) }}</div>
29 29
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
30 30
                     </div>
31 31
                   </td>
@@ -1567,6 +1567,7 @@ export default {
1567 1567
       queryParams: {
1568 1568
         xtdate: "",
1569 1569
         xtno: "",
1570
+        patient_id:0,
1570 1571
       },
1571 1572
       patientInfo: {
1572 1573
         birth: "",
@@ -1769,7 +1770,7 @@ export default {
1769 1770
     },
1770 1771
     getDialysisRecord() {
1771 1772
       this.loading = true;
1772
-
1773
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1773 1774
       getDialysisRecord(this.queryParams).then((response) => {
1774 1775
         if (response.data.state == 1) {
1775 1776
           this.adminUser = response.data.data.users;
@@ -2177,13 +2178,13 @@ export default {
2177 2178
       }
2178 2179
       return "";
2179 2180
     },
2180
-    getAge: function (val) {
2181
-      if (val.birthday != 0) {
2182
-        return jsGetAge(val.birth, "-");
2183
-      } else {
2184
-        return "";
2185
-      }
2186
-    },
2181
+    // getAge: function (val) {
2182
+    //   if (val.birthday != 0) {
2183
+    //     return jsGetAge(val.birth, "-");
2184
+    //   } else {
2185
+    //     return "";
2186
+    //   }
2187
+    // },
2187 2188
     newAdviceGroupObject: function () {
2188 2189
       return Object.assign(
2189 2190
         {},

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThreeAdvice.vue Ver arquivo

@@ -1219,6 +1219,7 @@ export default {
1219 1219
       queryParams: {
1220 1220
         xtdate: "",
1221 1221
         xtno: "",
1222
+        patient_id:0,
1222 1223
       },
1223 1224
       patientInfo: {
1224 1225
         birth: "",
@@ -1401,7 +1402,7 @@ export default {
1401 1402
     },
1402 1403
     getDialysisRecord() {
1403 1404
       this.loading = true;
1404
-
1405
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1405 1406
       getDialysisRecord(this.queryParams).then((response) => {
1406 1407
         if (response.data.state == 1) {
1407 1408
           this.adminUser = response.data.data.users;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyTwo.vue Ver arquivo

@@ -1214,7 +1214,8 @@ export default {
1214 1214
       totollength: 0,
1215 1215
       queryParams: {
1216 1216
         xtdate: '',
1217
-        xtno: ''
1217
+        xtno: '',
1218
+        patient_id:0,
1218 1219
       },
1219 1220
       patientInfo: {
1220 1221
         birth: '',

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyfive.vue Ver arquivo

@@ -2450,6 +2450,7 @@ export default {
2450 2450
       queryParams: {
2451 2451
         xtdate: "",
2452 2452
         xtno: "",
2453
+        patient_id:0,
2453 2454
       },
2454 2455
       patientInfo: {
2455 2456
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Ver arquivo

@@ -1809,7 +1809,8 @@ export default {
1809 1809
 
1810 1810
         queryParams: {
1811 1811
           xtdate: '',
1812
-          xtno: ''
1812
+          xtno: '',
1813
+          patient_id:0,
1813 1814
         },
1814 1815
         patientInfo: {
1815 1816
           birth: '',
@@ -2175,7 +2176,7 @@ export default {
2175 2176
       },
2176 2177
       getDialysisRecord() {
2177 2178
         this.loading = true
2178
-
2179
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2179 2180
         getDialysisRecord(this.queryParams).then(response => {
2180 2181
           if (response.data.state == 1) {
2181 2182
             this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue Ver arquivo

@@ -1422,6 +1422,7 @@ export default {
1422 1422
       queryParams: {
1423 1423
         xtdate: "",
1424 1424
         xtno: "",
1425
+        patient_id:0,
1425 1426
       },
1426 1427
       patientInfo: {
1427 1428
         birth: "",
@@ -1876,7 +1877,7 @@ export default {
1876 1877
     },
1877 1878
     getDialysisRecord() {
1878 1879
       this.loading = true;
1879
-
1880
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1880 1881
       getDialysisRecord(this.queryParams).then((response) => {
1881 1882
         if (response.data.state === 1) {
1882 1883
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue Ver arquivo

@@ -1119,7 +1119,8 @@ export default {
1119 1119
 
1120 1120
       queryParams: {
1121 1121
         xtdate: '',
1122
-        xtno: ''
1122
+        xtno: '',
1123
+        patient_id:0,
1123 1124
       },
1124 1125
       patientInfo: {
1125 1126
         birth: '',
@@ -1407,7 +1408,7 @@ export default {
1407 1408
     },
1408 1409
     getDialysisRecord() {
1409 1410
       this.loading = true
1410
-
1411
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1411 1412
       getDialysisRecord(this.queryParams).then(response => {
1412 1413
         if (response.data.state == 1) {
1413 1414
           this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue Ver arquivo

@@ -862,7 +862,8 @@ export default {
862 862
       totollength: 0,
863 863
       queryParams: {
864 864
         xtdate: '',
865
-        xtno: ''
865
+        xtno: '',
866
+        patient_id:0,
866 867
       },
867 868
       patientInfo: {
868 869
         birth: '',

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue Ver arquivo

@@ -1190,7 +1190,8 @@ export default {
1190 1190
       totollength: 0,
1191 1191
       queryParams: {
1192 1192
         xtdate: '',
1193
-        xtno: ''
1193
+        xtno: '',
1194
+        patient_id:0,
1194 1195
       },
1195 1196
       patientInfo: {
1196 1197
         birth: '',

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Ver arquivo

@@ -867,7 +867,8 @@ export default {
867 867
       totollength: 0,
868 868
       queryParams: {
869 869
         xtdate: '',
870
-        xtno: ''
870
+        xtno: '',
871
+        patient_id:0,
871 872
       },
872 873
       patientInfo: {
873 874
         birth: '',

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Ver arquivo

@@ -2644,6 +2644,7 @@ export default {
2644 2644
       queryParams: {
2645 2645
         xtdate: "",
2646 2646
         xtno: "",
2647
+        patient_id:0,
2647 2648
       },
2648 2649
       patientInfo: {
2649 2650
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue Ver arquivo

@@ -2098,6 +2098,7 @@ export default {
2098 2098
       queryParams: {
2099 2099
         xtdate: "",
2100 2100
         xtno: "",
2101
+        patient_id:0,
2101 2102
       },
2102 2103
       patientInfo: {
2103 2104
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue Ver arquivo

@@ -1900,6 +1900,7 @@ export default {
1900 1900
       queryParams: {
1901 1901
         xtdate: "",
1902 1902
         xtno: "",
1903
+        patient_id:0,
1903 1904
       },
1904 1905
       patientInfo: {
1905 1906
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue Ver arquivo

@@ -1677,6 +1677,7 @@ export default {
1677 1677
       queryParams: {
1678 1678
         xtdate: "",
1679 1679
         xtno: "",
1680
+        patient_id:0,
1680 1681
       },
1681 1682
       patientInfo: {
1682 1683
         birth: "",
@@ -2004,7 +2005,7 @@ export default {
2004 2005
     },
2005 2006
     getDialysisRecord() {
2006 2007
       this.loading = true;
2007
-
2008
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2008 2009
       getDialysisRecord(this.queryParams).then((response) => {
2009 2010
         if (response.data.state == 1) {
2010 2011
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue Ver arquivo

@@ -1143,7 +1143,8 @@
1143 1143
 
1144 1144
         queryParams: {
1145 1145
           xtdate: '',
1146
-          xtno: ''
1146
+          xtno: '',
1147
+          patient_id:0,
1147 1148
         },
1148 1149
         patientInfo: {
1149 1150
           birth: '',
@@ -1284,7 +1285,7 @@
1284 1285
       },
1285 1286
       getDialysisRecord() {
1286 1287
         this.loading = true
1287
-
1288
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1288 1289
         getDialysisRecord(this.queryParams).then(response => {
1289 1290
           if (response.data.state == 1) {
1290 1291
             this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue Ver arquivo

@@ -1117,7 +1117,8 @@ export default {
1117 1117
 
1118 1118
       queryParams: {
1119 1119
         xtdate: '',
1120
-        xtno: ''
1120
+        xtno: '',
1121
+        patient_id:0,
1121 1122
       },
1122 1123
       patientInfo: {
1123 1124
         birth: '',
@@ -1371,7 +1372,7 @@ export default {
1371 1372
     },
1372 1373
     getDialysisRecord() {
1373 1374
       this.loading = true
1374
-
1375
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1375 1376
       getDialysisRecord(this.queryParams).then(response => {
1376 1377
         if (response.data.state === 1) {
1377 1378
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Ver arquivo

@@ -1714,7 +1714,8 @@ export default {
1714 1714
 
1715 1715
         queryParams: {
1716 1716
           xtdate: '',
1717
-          xtno: ''
1717
+          xtno: '',
1718
+          patient_id:0,
1718 1719
         },
1719 1720
         patientInfo: {
1720 1721
           birth: '',
@@ -2021,7 +2022,7 @@ export default {
2021 2022
       },
2022 2023
       getDialysisRecord() {
2023 2024
         this.loading = true
2024
-
2025
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2025 2026
         getDialysisRecord(this.queryParams).then(response => {
2026 2027
           if (response.data.state == 1) {
2027 2028
             this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue Ver arquivo

@@ -1106,7 +1106,8 @@ export default {
1106 1106
       totollength: 0,
1107 1107
       queryParams: {
1108 1108
         xtdate: "",
1109
-        xtno: ""
1109
+        xtno: "",
1110
+        patient_id:0,
1110 1111
       },
1111 1112
       patientInfo: {
1112 1113
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Ver arquivo

@@ -1094,7 +1094,8 @@ export default {
1094 1094
 
1095 1095
       queryParams: {
1096 1096
         xtdate: '',
1097
-        xtno: ''
1097
+        xtno: '',
1098
+        patient_id:0,
1098 1099
       },
1099 1100
       patientInfo: {
1100 1101
         birth: '',
@@ -1374,7 +1375,7 @@ export default {
1374 1375
     },
1375 1376
     getDialysisRecord() {
1376 1377
       this.loading = true
1377
-
1378
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1378 1379
       getDialysisRecord(this.queryParams).then(response => {
1379 1380
         if (response.data.state == 1) {
1380 1381
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Ver arquivo

@@ -617,7 +617,8 @@ export default {
617 617
 
618 618
       queryParams: {
619 619
         xtdate: "",
620
-        xtno: ""
620
+        xtno: "",
621
+        patient_id:0,
621 622
       },
622 623
       patientInfo: {
623 624
         birth: "",
@@ -909,7 +910,7 @@ export default {
909 910
     },
910 911
     getDialysisRecord() {
911 912
       this.loading = true;
912
-
913
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
913 914
       getDialysisRecord(this.queryParams).then(response => {
914 915
         if (response.data.state === 1) {
915 916
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue Ver arquivo

@@ -1166,7 +1166,8 @@ export default {
1166 1166
 
1167 1167
       queryParams: {
1168 1168
         xtdate: '',
1169
-        xtno: ''
1169
+        xtno: '',
1170
+        patient_id:0,
1170 1171
       },
1171 1172
       patientInfo: {
1172 1173
         birth: '',
@@ -1563,7 +1564,7 @@ export default {
1563 1564
     },
1564 1565
     getDialysisRecord() {
1565 1566
       this.loading = true
1566
-
1567
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1567 1568
       getDialysisRecord(this.queryParams).then(response => {
1568 1569
         if (response.data.state === 1) {
1569 1570
           this.adminUser = response.data.data.users

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Ver arquivo

@@ -3053,7 +3053,7 @@ export default {
3053 3053
       queryParams: {
3054 3054
         xtdate: "",
3055 3055
         xtno: "",
3056
-        patient_id:""
3056
+        patient_id:0,
3057 3057
       },
3058 3058
       patientInfo: {
3059 3059
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue Ver arquivo

@@ -940,7 +940,8 @@ export default {
940 940
 
941 941
       queryParams: {
942 942
         xtdate: '',
943
-        xtno: ''
943
+        xtno: '',
944
+        patient_id:0,
944 945
       },
945 946
       patientInfo: {
946 947
         birth: '',
@@ -1135,7 +1136,7 @@ export default {
1135 1136
     },
1136 1137
     getDialysisRecord() {
1137 1138
       this.loading = true
1138
-
1139
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1139 1140
       getDialysisRecord(this.queryParams).then(response => {
1140 1141
         if (response.data.state == 1) {
1141 1142
           this.adminUser = response.data.data.users

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue Ver arquivo

@@ -2355,6 +2355,7 @@ export default {
2355 2355
       queryParams: {
2356 2356
         xtdate: "",
2357 2357
         xtno: "",
2358
+        patient_id:0,
2358 2359
       },
2359 2360
       patientInfo: {
2360 2361
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyOne.vue Ver arquivo

@@ -2695,6 +2695,7 @@ export default {
2695 2695
       queryParams: {
2696 2696
         xtdate: "",
2697 2697
         xtno: "",
2698
+        patient_id:0,
2698 2699
       },
2699 2700
       patientInfo: {
2700 2701
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyThree.vue Ver arquivo

@@ -2697,6 +2697,7 @@ export default {
2697 2697
       queryParams: {
2698 2698
         xtdate: "",
2699 2699
         xtno: "",
2700
+        patient_id:0,
2700 2701
       },
2701 2702
       patientInfo: {
2702 2703
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue Ver arquivo

@@ -1453,6 +1453,7 @@ export default {
1453 1453
       queryParams: {
1454 1454
         xtdate: "",
1455 1455
         xtno: "",
1456
+        patient_id:0,
1456 1457
       },
1457 1458
       patientInfo: {
1458 1459
         birth: "",
@@ -1906,7 +1907,7 @@ export default {
1906 1907
     },
1907 1908
     getDialysisRecord() {
1908 1909
       this.loading = true;
1909
-
1910
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1910 1911
       getDialysisRecord(this.queryParams).then((response) => {
1911 1912
         if (response.data.state === 1) {
1912 1913
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Ver arquivo

@@ -663,7 +663,8 @@ export default {
663 663
       },
664 664
       queryParams: {
665 665
         xtdate: "",
666
-        xtno: ""
666
+        xtno: "",
667
+        patient_id:0,
667 668
       },
668 669
       patientInfo_gender_1: false,
669 670
       patientInfo_gender_2: false,
@@ -716,7 +717,7 @@ export default {
716 717
   methods: {
717 718
     getDialysisRecord() {
718 719
       this.loading = true;
719
-
720
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
720 721
       getDialysisRecord(this.queryParams).then(response => {
721 722
         if (response.data.state == 1) {
722 723
           this.adminUser = response.data.data.users;

+ 13 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Ver arquivo

@@ -1016,8 +1016,17 @@
1016 1016
                       <div class="under_line" style="width: 80px">
1017 1017
                         <!-- <img style="height:20px;" src="https://images.shengws.com/FgnRnBcx1BgULJ1dn7VKzeBPEvtm" alt="" srcset="" /> -->
1018 1018
 
1019
-                        <span v-if="setAdminUserES(prescription.creater) == ''">{{ getAdminUser(prescription.creater) }}</span>
1020
-                        <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1019
+                        <!-- <span v-if="setAdminUserES(prescription.creater) == ''">{{ getAdminUser(prescription.creater) }}</span>
1020
+                        <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else /> -->
1021
+                    
1022
+                      
1023
+                       
1024
+                          <span v-if="setAdminUserES(doctor_advices&&doctor_advices[0].advice_doctor) == ''">
1025
+                            {{ getAdminUser(doctor_advices&&doctor_advices[0].advice_doctor) }}
1026
+                          </span>
1027
+                          <img style="height:20px;" :src="setAdminUserES(doctor_advices&&doctor_advices[0].advice_doctor)" alt srcset v-else />
1028
+                       
1029
+                     
1021 1030
                       </div>
1022 1031
                     </div>
1023 1032
                     <div class="inline_block" style="flex:1;">
@@ -1109,7 +1118,8 @@ export default {
1109 1118
       totollength: 0,
1110 1119
       queryParams: {
1111 1120
         xtdate: "",
1112
-        xtno: ""
1121
+        xtno: "",
1122
+        patient_id:0,
1113 1123
       },
1114 1124
       patientInfo: {
1115 1125
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue Ver arquivo

@@ -662,7 +662,8 @@ export default {
662 662
 
663 663
       queryParams: {
664 664
         xtdate: '',
665
-        xtno: ''
665
+        xtno: '',
666
+        patient_id:0,
666 667
       },
667 668
       patientInfo: {
668 669
         birth: '',
@@ -997,7 +998,7 @@ export default {
997 998
     },
998 999
     getDialysisRecords() {
999 1000
       this.loading = true
1000
-
1001
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1001 1002
       getDialysisRecord(this.queryParams).then(response => {
1002 1003
         if (response.data.state === 1) {
1003 1004
           this.total = response.data.data.total

+ 4 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue Ver arquivo

@@ -594,7 +594,9 @@ export default {
594 594
 
595 595
       queryParams: {
596 596
         xtdate: '',
597
-        xtno: ''
597
+        xtno: '',
598
+        patient_id:0,
599
+
598 600
       },
599 601
       patientInfo: {
600 602
         birth: '',
@@ -996,7 +998,7 @@ export default {
996 998
     },
997 999
     getDialysisRecord() {
998 1000
       this.loading = true
999
-
1001
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1000 1002
       getDialysisRecord(this.queryParams).then(response => {
1001 1003
         if (response.data.state === 1) {
1002 1004
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue Ver arquivo

@@ -504,7 +504,8 @@ export default {
504 504
 
505 505
       queryParams: {
506 506
         xtdate: "",
507
-        xtno: ""
507
+        xtno: "",
508
+        patient_id:0,
508 509
       },
509 510
       patientInfo: {
510 511
         birth: "",
@@ -905,7 +906,7 @@ export default {
905 906
     },
906 907
     getDialysisRecord() {
907 908
       this.loading = true;
908
-
909
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
909 910
       getDialysisRecord(this.queryParams).then(response => {
910 911
         if (response.data.state === 1) {
911 912
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue Ver arquivo

@@ -1177,7 +1177,8 @@ export default {
1177 1177
 
1178 1178
       queryParams: {
1179 1179
         xtdate: "",
1180
-        xtno: ""
1180
+        xtno: "",
1181
+        patient_id:0,
1181 1182
       },
1182 1183
       patientInfo: {
1183 1184
         birth: "",
@@ -1361,7 +1362,7 @@ export default {
1361 1362
     },
1362 1363
     getDialysisRecord() {
1363 1364
       this.loading = true;
1364
-
1365
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1365 1366
       getDialysisRecord(this.queryParams).then(response => {
1366 1367
         if (response.data.state === 1) {
1367 1368
           this.total = response.data.data.total;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue Ver arquivo

@@ -524,7 +524,8 @@ export default {
524 524
       totollength: 0,
525 525
       queryParams: {
526 526
         xtdate: '',
527
-        xtno: ''
527
+        xtno: '',
528
+        patient_id:0,
528 529
       },
529 530
       patientInfo: {
530 531
         birth: '',

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue Ver arquivo

@@ -481,7 +481,8 @@ export default {
481 481
 
482 482
       queryParams: {
483 483
         xtdate: "",
484
-        xtno: ""
484
+        xtno: "",
485
+        patient_id:0,
485 486
       },
486 487
       patientInfo: {
487 488
         birth: "",
@@ -793,7 +794,7 @@ export default {
793 794
     },
794 795
     getDialysisRecord() {
795 796
       this.loading = true;
796
-
797
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
797 798
       getDialysisRecord(this.queryParams).then(response => {
798 799
         if (response.data.state === 1) {
799 800
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue Ver arquivo

@@ -736,7 +736,8 @@ export default {
736 736
 
737 737
       queryParams: {
738 738
         xtdate: '',
739
-        xtno: ''
739
+        xtno: '',
740
+        patient_id:0,
740 741
       },
741 742
       patientInfo: {
742 743
         birth: '',
@@ -1072,7 +1073,7 @@ export default {
1072 1073
     },
1073 1074
     getDialysisRecords() {
1074 1075
       this.loading = true
1075
-
1076
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1076 1077
       getDialysisRecord(this.queryParams).then(response => {
1077 1078
         if (response.data.state === 1) {
1078 1079
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue Ver arquivo

@@ -505,7 +505,8 @@ export default {
505 505
 
506 506
       queryParams: {
507 507
         xtdate: '',
508
-        xtno: ''
508
+        xtno: '',
509
+        patient_id:0,
509 510
       },
510 511
       patientInfo: {
511 512
         birth: '',
@@ -871,7 +872,7 @@ export default {
871 872
     },
872 873
     getDialysisRecord() {
873 874
       this.loading = true
874
-
875
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
875 876
       getDialysisRecord(this.queryParams).then(response => {
876 877
         if (response.data.state === 1) {
877 878
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue Ver arquivo

@@ -1083,7 +1083,8 @@ export default {
1083 1083
 
1084 1084
       queryParams: {
1085 1085
         xtdate: '',
1086
-        xtno: ''
1086
+        xtno: '',
1087
+        patient_id:0,
1087 1088
       },
1088 1089
       patientInfo: {
1089 1090
         birth: '',
@@ -1270,7 +1271,7 @@ export default {
1270 1271
     },
1271 1272
     getDialysisRecord() {
1272 1273
       this.loading = true
1273
-
1274
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1274 1275
       getDialysisRecord(this.queryParams).then(response => {
1275 1276
         if (response.data.state == 1) {
1276 1277
           this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyThree.vue Ver arquivo

@@ -1264,7 +1264,8 @@ export default {
1264 1264
 
1265 1265
       queryParams: {
1266 1266
         xtdate: "",
1267
-        xtno: ""
1267
+        xtno: "",
1268
+        patient_id:0,
1268 1269
       },
1269 1270
       patientInfo: {
1270 1271
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue Ver arquivo

@@ -1083,7 +1083,8 @@ export default {
1083 1083
 
1084 1084
         queryParams: {
1085 1085
           xtdate: '',
1086
-          xtno: ''
1086
+          xtno: '',
1087
+          patient_id:0,
1087 1088
         },
1088 1089
         patientInfo: {
1089 1090
           birth: '',
@@ -1423,7 +1424,7 @@ export default {
1423 1424
       },
1424 1425
       getDialysisRecord() {
1425 1426
         this.loading = true
1426
-
1427
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1427 1428
         getDialysisRecord(this.queryParams).then(response => {
1428 1429
           if (response.data.state == 1) {
1429 1430
             this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue Ver arquivo

@@ -1102,7 +1102,8 @@ export default {
1102 1102
 
1103 1103
       queryParams: {
1104 1104
         xtdate: "",
1105
-        xtno: ""
1105
+        xtno: "",
1106
+        patient_id:0,
1106 1107
       },
1107 1108
       patientInfo: {
1108 1109
         birth: "",
@@ -1256,7 +1257,7 @@ export default {
1256 1257
     },
1257 1258
     getDialysisRecord() {
1258 1259
       this.loading = true;
1259
-
1260
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1260 1261
       getDialysisRecord(this.queryParams).then(response => {
1261 1262
         if (response.data.state == 1) {
1262 1263
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue Ver arquivo

@@ -1042,7 +1042,8 @@ export default {
1042 1042
 
1043 1043
       queryParams: {
1044 1044
         xtdate: '',
1045
-        xtno: ''
1045
+        xtno: '',
1046
+        patient_id:0,
1046 1047
       },
1047 1048
       patientInfo: {
1048 1049
         birth: '',
@@ -1452,7 +1453,7 @@ export default {
1452 1453
     },
1453 1454
     getDialysisRecord() {
1454 1455
       this.loading = true
1455
-
1456
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1456 1457
       getDialysisRecord(this.queryParams).then(response => {
1457 1458
         if (response.data.state == 1) {
1458 1459
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue Ver arquivo

@@ -1678,7 +1678,8 @@ export default {
1678 1678
 
1679 1679
         queryParams: {
1680 1680
           xtdate: '',
1681
-          xtno: ''
1681
+          xtno: '',
1682
+          patient_id:0,
1682 1683
         },
1683 1684
         patientInfo: {
1684 1685
           birth: '',
@@ -2013,7 +2014,7 @@ export default {
2013 2014
       },
2014 2015
       getDialysisRecord() {
2015 2016
         this.loading = true
2016
-
2017
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2017 2018
         getDialysisRecord(this.queryParams).then(response => {
2018 2019
           if (response.data.state == 1) {
2019 2020
             this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue Ver arquivo

@@ -1075,7 +1075,8 @@ export default {
1075 1075
 
1076 1076
         queryParams: {
1077 1077
           xtdate: '',
1078
-          xtno: ''
1078
+          xtno: '',
1079
+          patient_id:0,
1079 1080
         },
1080 1081
         patientInfo: {
1081 1082
           birth: '',
@@ -1417,7 +1418,7 @@ export default {
1417 1418
       },
1418 1419
       getDialysisRecord() {
1419 1420
         this.loading = true
1420
-
1421
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1421 1422
         getDialysisRecord(this.queryParams).then(response => {
1422 1423
           if (response.data.state == 1) {
1423 1424
             this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Ver arquivo

@@ -1636,7 +1636,8 @@ export default {
1636 1636
 
1637 1637
       queryParams: {
1638 1638
         xtdate: '',
1639
-        xtno: ''
1639
+        xtno: '',
1640
+        patient_id:0,
1640 1641
       },
1641 1642
       patientInfo: {
1642 1643
         birth: '',
@@ -2185,7 +2186,7 @@ export default {
2185 2186
     },
2186 2187
     getDialysisRecord() {
2187 2188
       this.loading = true
2188
-
2189
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2189 2190
       getDialysisRecord(this.queryParams).then(response => {
2190 2191
         if (response.data.state == 1) {
2191 2192
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyNine.vue Ver arquivo

@@ -656,7 +656,8 @@ export default {
656 656
 
657 657
       queryParams: {
658 658
         xtdate: '',
659
-        xtno: ''
659
+        xtno: '',
660
+        patient_id:0,
660 661
       },
661 662
       patientInfo: {
662 663
         birth: '',
@@ -1044,7 +1045,7 @@ export default {
1044 1045
     },
1045 1046
     getDialysisRecord() {
1046 1047
       this.loading = true
1047
-
1048
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1048 1049
       getDialysisRecord(this.queryParams).then(response => {
1049 1050
         if (response.data.state === 1) {
1050 1051
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue Ver arquivo

@@ -1141,7 +1141,8 @@ export default {
1141 1141
 
1142 1142
       queryParams: {
1143 1143
         xtdate: '',
1144
-        xtno: ''
1144
+        xtno: '',
1145
+        patient_id:0,
1145 1146
       },
1146 1147
       patientInfo: {
1147 1148
         birth: '',
@@ -1377,7 +1378,7 @@ export default {
1377 1378
     },
1378 1379
     getDialysisRecord() {
1379 1380
       this.loading = true
1380
-
1381
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1381 1382
       getDialysisRecord(this.queryParams).then(response => {
1382 1383
         if (response.data.state == 1) {
1383 1384
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Ver arquivo

@@ -1236,7 +1236,8 @@ export default {
1236 1236
 
1237 1237
       queryParams: {
1238 1238
         xtdate: '',
1239
-        xtno: ''
1239
+        xtno: '',
1240
+        patient_id:0,
1240 1241
       },
1241 1242
       patientInfo: {
1242 1243
         birth: '',
@@ -1654,7 +1655,7 @@ export default {
1654 1655
     },
1655 1656
     getDialysisRecord() {
1656 1657
       this.loading = true
1657
-
1658
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1658 1659
       getDialysisRecord(this.queryParams).then(response => {
1659 1660
         if (response.data.state === 1) {
1660 1661
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue Ver arquivo

@@ -1180,7 +1180,8 @@ export default {
1180 1180
 
1181 1181
       queryParams: {
1182 1182
         xtdate: "",
1183
-        xtno: ""
1183
+        xtno: "",
1184
+        patient_id:0,
1184 1185
       },
1185 1186
       patientInfo: {
1186 1187
         birth: "",
@@ -1510,7 +1511,7 @@ export default {
1510 1511
     },
1511 1512
     getDialysisRecord() {
1512 1513
       this.loading = true;
1513
-
1514
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1514 1515
       getDialysisRecord(this.queryParams).then(response => {
1515 1516
         if (response.data.state === 1) {
1516 1517
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyThree.vue Ver arquivo

@@ -1158,7 +1158,8 @@ export default {
1158 1158
 
1159 1159
       queryParams: {
1160 1160
         xtdate: '',
1161
-        xtno: ''
1161
+        xtno: '',
1162
+        patient_id:0,
1162 1163
       },
1163 1164
       patientInfo: {
1164 1165
         birth: '',
@@ -1404,7 +1405,7 @@ export default {
1404 1405
     },
1405 1406
     getDialysisRecord() {
1406 1407
       this.loading = true
1407
-
1408
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1408 1409
       getDialysisRecord(this.queryParams).then(response => {
1409 1410
         if (response.data.state == 1) {
1410 1411
           this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue Ver arquivo

@@ -1266,7 +1266,8 @@ export default {
1266 1266
 
1267 1267
       queryParams: {
1268 1268
         xtdate: "",
1269
-        xtno: ""
1269
+        xtno: "",
1270
+        patient_id:0,
1270 1271
       },
1271 1272
       patientInfo: {
1272 1273
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue Ver arquivo

@@ -1320,7 +1320,8 @@ export default {
1320 1320
 
1321 1321
       queryParams: {
1322 1322
         xtdate: "",
1323
-        xtno: ""
1323
+        xtno: "",
1324
+        patient_id:0,
1324 1325
       },
1325 1326
       patientInfo: {
1326 1327
         birth: "",

+ 8 - 29
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue Ver arquivo

@@ -1480,45 +1480,24 @@
1480 1480
                 style="display: inline-block; width: 100px; text-align: left"
1481 1481
               >
1482 1482
                 &nbsp;
1483
-                <span
1484
-                  v-if="
1485
-                    doctor_advices[0]
1486
-                      ? doctor_advices[0].execution_staff != check.modifier
1487
-                      : false
1488
-                  "
1489
-                >
1490
-                  <span
1491
-                    v-if="
1492
-                      setAdminUserES(check == null ? 0 : check.modifier) == ''
1493
-                    "
1494
-                  >
1495
-                    {{ getAdminUser(check == null ? 0 : check.modifier) }}
1496
-                  </span>
1497
-                  <img
1498
-                    style="height: 30px"
1499
-                    :src="setAdminUserES(check == null ? 0 : check.modifier)"
1500
-                    alt
1501
-                    srcset
1502
-                    v-else
1503
-                  />
1504
-                </span>
1505
-                <span v-else>
1483
+                <p v-if="doctor_advices.length > 0">
1506 1484
                   <span
1507 1485
                     v-if="
1508
-                      setAdminUserES(check == null ? 0 : check.creater) == ''
1486
+                      setAdminUserES(doctor_advices[0].checker) == ''
1509 1487
                     "
1510 1488
                   >
1511
-                    {{ getAdminUser(check == null ? 0 : check.creater) }}
1489
+                    {{ getAdminUser(doctor_advices[0].checker) }}
1512 1490
                   </span>
1513 1491
                   <img
1514
-                    style="height: 30px"
1515
-                    :src="setAdminUserES(check == null ? 0 : check.creater)"
1492
+                    class="es-img"
1493
+                    :src="setAdminUserES(doctor_advices[0].checker)"
1516 1494
                     alt
1517 1495
                     srcset
1518 1496
                     v-else
1519 1497
                   />
1520
-                </span>
1498
+                </p>
1521 1499
               </span>
1500
+            
1522 1501
               护士签名
1523 1502
               <span
1524 1503
                 style="display: inline-block; width: 100px; text-align: left"
@@ -1953,7 +1932,7 @@ export default {
1953 1932
     },
1954 1933
     getDialysisRecord() {
1955 1934
       this.loading = true;
1956
-
1935
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1957 1936
       getDialysisRecord(this.queryParams).then((response) => {
1958 1937
         if (response.data.state === 1) {
1959 1938
           this.total = response.data.data.total;

+ 2 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Ver arquivo

@@ -1274,7 +1274,8 @@ export default {
1274 1274
 
1275 1275
       queryParams: {
1276 1276
         xtdate: "",
1277
-        xtno: ""
1277
+        xtno: "",
1278
+        patient_id:0,
1278 1279
       },
1279 1280
       patientInfo: {
1280 1281
         birth: "",

+ 1 - 1
src/xt_pages/hospitalStation/checkTemplate/printOne.vue Ver arquivo

@@ -19,7 +19,7 @@
19 19
                     </div>
20 20
                     <div>年龄:{{advicePrint[0].patient.age?advicePrint[0].patient.age:""}}岁</div>
21 21
                 </div>
22
-                <div style="margin-bottom:20px;padding:10px 10px 0;">病史摘要:{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
22
+                <div style="margin-bottom:20px;padding:10px 10px 0;" v-if="org_id!=10138&&org_id!=10278 && org_id!=0">病史摘要:{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
23 23
                 <!-- <div style="margin-bottom:20px;padding:0 10px;">体格检查:
24 24
                     <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
25 25
                     <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>

+ 1 - 1
src/xt_pages/hospitalStation/components/dialysisIndex.vue Ver arquivo

@@ -808,7 +808,7 @@ export default {
808 808
     printOrder() {
809 809
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
810 810
       this.$router.push(
811
-        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
811
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no+"&patient_id="+this.patient.id
812 812
       )
813 813
     },
814 814
     processedDialysisSchedules: function(schedules, zone_options) {

+ 1 - 1
src/xt_pages/management/components/QualityForm.vue Ver arquivo

@@ -2541,7 +2541,7 @@ export default {
2541 2541
         { id: 1, name: "透析液入口" },
2542 2542
         { id: 2, name: "透析液取样口" },
2543 2543
         { id: 3, name: "置换液出口" },
2544
-        { id: 4, name: "透析机反渗水口" },
2544
+        { id: 4, name: "透析机反渗水口" },
2545 2545
         { id: 5, name: "反渗水末端取样口" }
2546 2546
       ],
2547 2547
       rules: {

+ 6 - 6
src/xt_pages/management/home.vue Ver arquivo

@@ -2017,7 +2017,7 @@
2017 2017
                              </el-row>
2018 2018
                               <el-row>
2019 2019
                                 <el-col :span="24">
2020
-                                 <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2020
+                                 <el-form-item label="检测结果:(ppm)" label-width="100px">
2021 2021
                                      <el-input
2022 2022
                                         type="textarea"
2023 2023
                                         :rows="2"
@@ -2102,7 +2102,7 @@
2102 2102
                                 <el-row>
2103 2103
                                   <el-col :span="8">
2104 2104
                                     <el-form-item label="取样者:" required prop="samplerb">
2105
-                                        <el-select style="width:150px"  v-model="qualityFormSix.samplerb">
2105
+                                        <el-select style="width:150px"  v-model="qualityFormSix.samplerb" filterable >
2106 2106
                                           <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2107 2107
                                         </el-select>
2108 2108
                                     </el-form-item>
@@ -2144,7 +2144,7 @@
2144 2144
                               </el-row>
2145 2145
                                 <el-row>
2146 2146
                                   <el-col :span="24">
2147
-                                  <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2147
+                                  <el-form-item label="检测结果:(Mg/L)" label-width="100px">
2148 2148
                                       <el-input
2149 2149
                                           type="textarea"
2150 2150
                                           :rows="2"
@@ -2228,7 +2228,7 @@
2228 2228
                               <el-row>
2229 2229
                                 <el-col :span="8">
2230 2230
                                    <el-form-item label="取样者:" required prop="samplerb">
2231
-                                      <el-select style="width:150px"  v-model="qualityFormSeven.samplerb">
2231
+                                      <el-select style="width:150px"  v-model="qualityFormSeven.samplerb" filterable >
2232 2232
                                         <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2233 2233
                                       </el-select>
2234 2234
                                    </el-form-item>
@@ -2270,7 +2270,7 @@
2270 2270
                              </el-row>
2271 2271
                               <el-row>
2272 2272
                                 <el-col :span="24">
2273
-                                 <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2273
+                                 <el-form-item label="检测结果:" label-width="100px">
2274 2274
                                      <el-input
2275 2275
                                         type="textarea"
2276 2276
                                         :rows="2"
@@ -3227,7 +3227,7 @@ export default {
3227 3227
           { id: 1, name: '透析液入口' },
3228 3228
           { id: 2, name: '透析液取样口' },
3229 3229
           { id: 3, name: '置换液出口' },
3230
-          { id: 4, name: '透析机反渗水口' },
3230
+          { id: 4, name: '透析机反渗水口' },
3231 3231
           { id: 5, name:'反渗水末端取样口'}
3232 3232
         ],
3233 3233
         breakDown: [

+ 1 - 1
src/xt_pages/outpatientCharges/print.vue Ver arquivo

@@ -794,7 +794,7 @@ export default {
794 794
               console.log(schedual)
795 795
               var xtdate = parseTime(schedual.schedule_date, '{y}-{m}-{d}')
796 796
               this.$router.push(
797
-                '/dialysis/print?xtdate=' + xtdate + '&xtno=' + schedual.patient.dialysis_no
797
+                '/dialysis/print?xtdate=' + xtdate + '&xtno=' + schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
798 798
               )
799 799
             //   this.patient_id = schedual.patient_id;
800 800
             //   this.date = schedual.schedule_date;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Ver arquivo

@@ -69,7 +69,7 @@
69 69
           <div>年龄:{{getAge(advicePrint[0].patient)?getAge(advicePrint[0].patient):""}}岁</div>
70 70
 
71 71
         </div>
72
-        <div style="margin-bottom: 20px; padding: 10px 10px 0">
72
+        <div style="margin-bottom: 20px; padding: 10px 10px 0" v-if="org_id!=10278 && org_id!=10138 && org_id!=0">
73 73
           病史摘要:{{
74 74
             history.history_of_present_illness
75 75
               ? history.history_of_present_illness

+ 16 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Ver arquivo

@@ -1893,7 +1893,7 @@
1893 1893
 
1894 1894
       },
1895 1895
       setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info,sick,diagnoses) {
1896
-
1896
+        console.log("诊断23333333333333",this.diagnose)
1897 1897
         this.sick = sick
1898 1898
         this.diagnoses = diagnoses
1899 1899
         this.department = department
@@ -2004,7 +2004,7 @@
2004 2004
 
2005 2005
 
2006 2006
         this.diagnose = []
2007
-
2007
+        console.log("处方----------------------------------------------",info.id)
2008 2008
         if (info.id == 0) {
2009 2009
           if (last_info.diagnosis.length == 0) {
2010 2010
             this.diagnose = []
@@ -2022,6 +2022,20 @@
2022 2022
             this.state2 = last_info.sick_history
2023 2023
           }
2024 2024
 
2025
+          if(this.org_id == 0 || this.org_id == 10138){
2026
+             this.diagnose = []
2027
+             this.diagnose.push(24)
2028
+             this.diagnose.push(85)
2029
+             this.diagnose.push(252)
2030
+          }
2031
+
2032
+          if(this.org_id == 10278){
2033
+             this.diagnose = []
2034
+             this.diagnose.push(203)
2035
+             this.diagnose.push(309)
2036
+             this.diagnose.push(202)
2037
+          }
2038
+
2025 2039
         } else {
2026 2040
           this.state2 = info.sick_history
2027 2041
           if (this.state2 == 0) {

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue Ver arquivo

@@ -819,7 +819,7 @@ export default {
819 819
     printOrder() {
820 820
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
821 821
       this.$router.push(
822
-        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
822
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no+"&patient_id="+this.patient.id
823 823
       )
824 824
     },
825 825
     processedDialysisSchedules: function(schedules, zone_options) {

+ 21 - 4
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Ver arquivo

@@ -656,16 +656,18 @@ export default {
656 656
       this.$refs.multipleTable3.toggleAllSelection()
657 657
     },
658 658
     printThisPage() {
659
-      if (this.org_id == 10138 || this.org_id == 10278) {
659
+      if (this.org_id == 10138 || this.org_id == 10278 ) {
660 660
         const style =
661 661
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 87%;}}}'
662
-        printJS({
662
+            
663
+          printJS({
663 664
           printable: 'printMain',
664 665
           type: 'html',
665 666
           style: style,
666 667
           scanStyles: false
667 668
         })
668
-      } else {
669
+      } 
670
+      else {
669 671
         const style =
670 672
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
671 673
         printJS({
@@ -1431,13 +1433,27 @@ export default {
1431 1433
 
1432 1434
           this.department = response.data.data.department
1433 1435
           this.sick = response.data.data.sick
1434
-          this.diagnoses = response.data.data.diagnose
1436
+          var diagnoses = response.data.data.diagnose
1437
+          console.log("hhhhhshshsh",diagnoses.sort(this.compare('sort')))
1438
+          if(diagnoses!=null && diagnoses.length > 0){
1439
+            this.diagnoses = diagnoses.sort(this.compare('sort'))
1440
+          }else{
1441
+            this.diagnoses = []
1442
+          }
1443
+         
1435 1444
           this.additions = response.data.data.additions
1436 1445
 
1437 1446
         }
1438 1447
       })
1439 1448
 
1440 1449
     },
1450
+    compare(p) { //这是比较函数
1451
+        return function (m, n) {
1452
+          var a = m[p];
1453
+          var b = n[p];
1454
+          return a - b; //升序
1455
+        }
1456
+      },
1441 1457
     getList() {
1442 1458
       let params = {
1443 1459
         'record_date': this.record_date,
@@ -2016,6 +2032,7 @@ export default {
2016 2032
                 // this.setMonthPrescription(month_prescriptions)
2017 2033
 
2018 2034
                 this.patientInfo = response.data.data.xt_info
2035
+                console.log("patientInfo++++++++++++++++",this.patientInfo)
2019 2036
                 this.hisPatientInfo = response.data.data.his_info
2020 2037
                 this.case_history = response.data.data.case_history
2021 2038
 

+ 35 - 3
src/xt_pages/outpatientDoctorStation/recordPrint.vue Ver arquivo

@@ -13,12 +13,12 @@
13 13
 
14 14
     <div class="dialysisPage" style="padding-top: 40px">
15 15
       <printOne
16
-        v-if="
16
+      v-if="
17 17
           org_id != 10217 && org_id != 10188 &&org_id != 10318&&
18 18
           org_id != 9675 &&
19 19
           org_id != 9671 &&
20 20
           org_id != 0 &&
21
-          org_id != 10164 
21
+          org_id != 10164
22 22
         "
23 23
         ref="printOne"
24 24
         v-bind:childResponse="childResponse"
@@ -27,6 +27,7 @@
27 27
         :history="history"
28 28
         :patientid="patientid"
29 29
       ></printOne>
30
+      <!--   -->
30 31
       <printTwo
31 32
         v-if="
32 33
           org_id == 10217 ||
@@ -43,6 +44,7 @@
43 44
         :history="history"
44 45
         :patientid="patientid"
45 46
       ></printTwo>
47
+      
46 48
       <printThree
47 49
         v-if="org_id == 10318 || org_id == 0"
48 50
         ref="printThree"
@@ -52,7 +54,18 @@
52 54
         :history="history"
53 55
         :patientid="patientid"
54 56
       >
57
+      <!--  -->
55 58
       </printThree>
59
+      <printFour
60
+        v-if="org_id == 10138 || org_id == 10278 || org_id == 0"
61
+        ref="printFour"
62
+        v-bind:childResponse="childResponse"
63
+        :patient="patient"
64
+        :hispatient="hispatient"
65
+        :history="history"
66
+        :patientid="patientid"
67
+      >
68
+      </printFour>
56 69
     </div>
57 70
   </div>
58 71
 </template>
@@ -68,6 +81,7 @@ import { getPatientCaseHistory } from "@/api/project/project";
68 81
 import printOne from "./recordTemplate/printOne";
69 82
 import printTwo from "./recordTemplate/printTwo";
70 83
 import printThree from "./recordTemplate/printThree";
84
+import printFour from "./recordTemplate/printFour";
71 85
 export default {
72 86
   name: "dialysisPrintOrder",
73 87
   components: {
@@ -75,6 +89,7 @@ export default {
75 89
     printOne,
76 90
     printTwo,
77 91
     printThree,
92
+    printFour
78 93
   },
79 94
   props: {
80 95
     patientid: Number,
@@ -137,7 +152,7 @@ export default {
137 152
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
138 153
 
139 154
       const style =
140
-        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}";
155
+        "@media print {.prescription-print{font-size: 14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.recordTitle div{width: 200px;}}";
141 156
       const style1 =
142 157
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: fit-content;min-height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
143 158
       const style2 =
@@ -170,6 +185,23 @@ export default {
170 185
           scanStyles: false,
171 186
         });
172 187
       }
188
+      else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
189
+        printJS({
190
+          printable: "prescription-print",
191
+          type: "html",
192
+          style: style,
193
+          scanStyles: false,
194
+        });
195
+      
196
+      }
197
+      // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
198
+      //   printJS({
199
+      //     printable: "prescription-print",
200
+      //     type: "html",
201
+      //     style: style,
202
+      //     scanStyles: false,
203
+      //   });
204
+      // }
173 205
     },
174 206
 
175 207
     //患者列表

+ 289 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue Ver arquivo

@@ -0,0 +1,289 @@
1
+<template>
2
+    <div id='prescription-print'>
3
+        <div class="prescription-print" style="box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;">
4
+            <div class="printTitle" style="border: none;">{{orgname}} &nbsp;&nbsp; 门诊病历</div>
5
+            <div class="infoTitle">
6
+                <div>姓名:{{patient.name?patient.name:''}}</div>
7
+                <div>性别:
8
+                    <span v-if="patient.gender == 1">男</span>
9
+                    <span v-if="patient.gender == 2">女</span>
10
+                </div>
11
+                <div>年龄:{{getAge(patient)?getAge(patient):""}}岁</div>
12
+            </div>
13
+            <div class="infoTitle">
14
+                <div>婚姻状况:
15
+                  <span v-if="patient.marital_status == 1">未婚</span>
16
+                  <span v-if="patient.marital_status == 2">已婚</span>
17
+                  <span v-if="patient.marital_status == 3">离异</span>
18
+                </div>
19
+                <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
+                <div>病历编号:{{patient.id?patient.id:''}}</div>
21
+            </div>
22
+            <div class="infoTitle">
23
+                <div >医保号:{{patient.health_care_no?patient.health_care_no:''}}</div>
24
+                <div>联系电话:{{patient.phone?patient.phone:''}}</div>
25
+                <!-- <div style="flex:1;">{{patient.health_care_no?patient.health_care_no:''}}</div> -->
26
+            </div>
27
+            <!-- <div class="otherInfo">
28
+                <div>联系电话:{{patient.phone?patient.phone:''}}</div>
29
+                <div style="flex:1;">{{patient.phone?patient.phone:''}}</div>
30
+            </div> -->
31
+            <div class="otherInfo">
32
+                <div>通讯地址:</div>
33
+                <div style="flex:1;">{{patient.home_address?patient.home_address:''}}</div>
34
+            </div>
35
+            <!-- <div class="otherInfo">
36
+                <div>药物过敏史:</div>
37
+                <div style="flex:1;">{{patient.past_history?patient.past_history:''}}</div>
38
+            </div> -->
39
+            <!-- <div class="otherInfo">
40
+                <div>病历编号:</div>
41
+                <div style="flex:1;">{{patient.id?patient.id:''}}</div>
42
+            </div> -->
43
+
44
+            <div class="printTitle" style="border: none;margin-top: 10px;">病历内容</div>
45
+            <div class=" recordTitle" style=" border-bottom: 2px solid black;">
46
+                <div style="width: 230px;">科别:{{getDeparment(hispatient.departments)?getDeparment(hispatient.departments):''}}</div>
47
+                <div style="">姓名:{{patient.name?patient.name:''}}</div> 
48
+                <div >性别:
49
+                    <span v-if="patient.gender == 1">男</span>
50
+                    <span v-if="patient.gender == 2">女</span>
51
+                </div>
52
+               <div >年龄:{{patient.age?patient.age:''}}岁</div> 
53
+            </div> 
54
+            <div class="otherInfo">
55
+                <div class="otherName">主诉:</div>
56
+                <div style="flex:1;">{{history.chief_conplaint?history.chief_conplaint:''}}</div>
57
+            </div>
58
+            <div class="otherInfo">
59
+                <div class="otherName">现病史:</div>
60
+                <div style="flex:1;">{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
61
+            </div>
62
+            <div class="otherInfo">
63
+                <div class="otherName">既往史:</div>
64
+                <div style="flex:1;">{{history.past_history?history.past_history:''}}</div>
65
+            </div>
66
+            <!-- <div class="otherInfo">
67
+                <div class="otherName">药物过敏史:</div>
68
+                <div style="flex:1;">{{history.allergic_history?history.allergic_history:''}}</div>
69
+            </div>
70
+            <div class="otherInfo">
71
+                <div class="otherName">个人史:</div>
72
+                <div style="flex:1;">{{history.personal_history?history.personal_history:''}}</div>
73
+            </div>
74
+            <div class="otherInfo">
75
+                <div class="otherName">家族史:</div>
76
+                <div style="flex:1;">{{history.family_history?history.family_history:''}}</div>
77
+            </div> -->
78
+            <div class="otherInfo">
79
+                <div class="otherName">体格检查:</div>
80
+                <div style="flex:1;">
81
+                    <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
82
+                    <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
83
+                    <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
84
+                    <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
85
+                </div>
86
+            </div>
87
+            <div class="otherInfo">
88
+                <div class="otherName">门诊诊断:</div>
89
+                <div style="flex:1;">{{history.diagnostic?history.diagnostic:''}}</div>
90
+            </div>
91
+            <div class="otherInfo">
92
+                <div class="otherName">门诊医嘱:</div>
93
+                <div style="flex:1;">{{history.doctor_advice?history.doctor_advice:''}}</div>
94
+            </div>
95
+            <div style="display:flex;justify-content: space-between;margin-bottom: 10px;">
96
+                <div style="margin-top:20px;">
97
+                    打印日期:{{ printDate }}
98
+                </div>
99
+                <div style="margin-top:20px;text-align:right;">
100
+                    医生签名:{{getDoctor(history.doctor)?getDoctor(history.doctor):''}}
101
+                </div>
102
+            </div>
103
+        </div>
104
+    
105
+        <!-- <div class="prescription-print">
106
+            
107
+        </div> -->
108
+    </div>
109
+    </template>
110
+    <script>
111
+      import { jsGetAge, uParseTime } from '@/utils/tools'
112
+    
113
+    import { getDataConfig } from "@/utils/data";
114
+    import { getAllDoctorList,getPatientCaseHistory } from "@/api/project/project"
115
+    export default {
116
+        props:{
117
+          patient:Object,
118
+          hispatient:Object,
119
+          patientid:Number
120
+        //   history:Object,
121
+        },
122
+        data(){
123
+            return{
124
+                educationOptions:[],
125
+                departmentList:[],
126
+                orgname:'',
127
+                history:{},
128
+                printDate:''
129
+            }
130
+        },
131
+        methods:{
132
+          getAge(patient){
133
+            var thisLen = patient.id_card_no.length
134
+            var birth = ''
135
+            if (thisLen == 15) {
136
+              birth = '19' + patient.id_card_no.substr(6, 6)
137
+            } else {
138
+              birth = patient.id_card_no.substr(6, 8)
139
+            }
140
+            var births =
141
+              birth.substr(0, 4) +
142
+              '-' +
143
+              birth.substr(4, 2) +
144
+              '-' +
145
+              birth.substr(6, 2)
146
+            return jsGetAge(births, '-')
147
+    
148
+          },
149
+          show(val){
150
+    
151
+            this.patientid = val
152
+            this.getAllDoctorList()
153
+            this.getPatientCaseHistory()
154
+          },
155
+          getProfession(id){
156
+            var name = ""
157
+            for(let i=0;i<this.educationOptions.length;i++){
158
+                if(id == this.educationOptions[i].id){
159
+                    name = this.educationOptions[i].name
160
+                }
161
+            }
162
+            return name
163
+          },
164
+          getAllDoctorList(){
165
+               getAllDoctorList().then(response=>{
166
+                 if(response.data.state == 1){
167
+                   var doctor =  response.data.data.doctor
168
+    
169
+                   this.doctorList = doctor
170
+                   var department = response.data.data.department
171
+                   console.log("department",department)
172
+                   this.departmentList = department
173
+                 }
174
+               })
175
+           },
176
+          getDoctor(id){
177
+            var name = ""
178
+            for(let i=0;i<this.doctorList.length;i++){
179
+              if(id == this.doctorList[i].admin_user_id){
180
+                  name = this.doctorList[i].user_name
181
+              }
182
+            }
183
+            return name
184
+          },
185
+          getPatientCaseHistory(){
186
+    
187
+            const params = {
188
+              patient_id:this.patientid
189
+            }
190
+          console.log("病历22222",params)
191
+          getPatientCaseHistory(params).then(response=>{
192
+             if(response.data.state == 1){
193
+               var patient = response.data.data.patient
194
+            //    console.log("patinet",patient)
195
+               this.patient = patient
196
+               var history = response.data.data.history
197
+               console.log("中国history222222",history)
198
+               this.history = history
199
+               var hispatient = response.data.data.hispatient
200
+            //    console.log("hispatient",hispatient)
201
+               this.hispatient = hispatient
202
+             }
203
+          })
204
+        },
205
+        getDeparment(id){
206
+    
207
+         var name = ''
208
+         for(let i=0;i<this.departmentList.length;i++){
209
+             if(id == this.departmentList[i].id){
210
+                name = this.departmentList[i].name
211
+             }
212
+          }
213
+          return name
214
+        },
215
+    
216
+    
217
+        },
218
+        created(){
219
+            this.educationOptions = getDataConfig("patient", "education_types");
220
+            this.getAllDoctorList()
221
+            this.getPatientCaseHistory()
222
+    
223
+            var xtuser = this.$store.getters.xt_user
224
+            this.orgname = xtuser.org.org_name
225
+            var data = new Date();
226
+            var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
227
+            var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
228
+            this.printDate = data.getFullYear() + "-" + month + "-" + date;
229
+        },
230
+        watch:{
231
+           'patientid':function(val){
232
+             console.log("val22332323",val)
233
+           }
234
+        }
235
+    }
236
+    </script>
237
+    
238
+    
239
+    <style lang="scss" scoped>
240
+    *{
241
+        margin: 0;
242
+        padding: 0;
243
+        border: 0;
244
+    }
245
+    .prescription-print{
246
+        // -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
247
+        // -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
248
+        // box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
249
+        margin-bottom: 20px;
250
+        padding:20px 10px;
251
+        font-size: 14px;
252
+    }
253
+    .printTitle{
254
+        font-size: 18px;
255
+        text-align: center;
256
+        font-weight: bold;
257
+        border: none;
258
+    }
259
+    .infoTitle{
260
+        display: flex;
261
+        // justify-content: space-around;
262
+        margin-top:10px;
263
+        line-height: 24px;
264
+        padding:0 10px;
265
+        border: none;
266
+    }
267
+    .infoTitle div{
268
+        width: 200px;
269
+    }
270
+    .otherInfo{
271
+        display: flex;
272
+        margin-top:10px;
273
+        line-height: 24px;
274
+        padding:0 10px;
275
+    }
276
+    .recordTitle{
277
+        display: flex;
278
+        justify-content: space-around;
279
+        margin-top:10px;
280
+        line-height: 24px;
281
+        padding:0 10px;
282
+        // border-bottom: 2px solid #000;
283
+    }
284
+    .recordTitle div {
285
+        // display: inline-block;
286
+        width: 200px ;
287
+    }
288
+</style>
289
+    

+ 7 - 5
src/xt_pages/user/components/PatientDetail.vue Ver arquivo

@@ -821,10 +821,10 @@
821 821
     <!-- 打印预览 -->
822 822
     <div style="display: none">
823 823
       <div id="print-info-box">
824
-        <div class="print_main_content">
824
+        <div class="print_main_content" >
825 825
           <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
826
-          <div>
827
-            <table>
826
+          <div >
827
+            <table >
828 828
               <thead>
829 829
                 <!-- 用 thead 规定好宽度 -->
830 830
                 <tr v-show="false">
@@ -924,12 +924,12 @@
924 924
                     ></div>
925 925
                   </td>
926 926
                 </tr>
927
-                <tr>
927
+                <tr >
928 928
                   <td>
929 929
                     <div class="td_proj_title">现<br />病<br />史</div>
930 930
                   </td>
931 931
                   <td colspan="7">
932
-                    <div
932
+                    <div 
933 933
                       class="td_proj_content td_align_left"
934 934
                       v-html="patientPrint.present_history"
935 935
                     ></div>
@@ -1033,6 +1033,7 @@
1033 1033
         </div>
1034 1034
       </div>
1035 1035
     </div>
1036
+    
1036 1037
     <div hidden="hidden">
1037 1038
       <div id="print-card-info">
1038 1039
         <div
@@ -2122,6 +2123,7 @@ export default {
2122 2123
   width: 960px;
2123 2124
   margin: 0 auto;
2124 2125
   padding: 0 0 20px 0;
2126
+  /* page-break-after: always; */
2125 2127
 }
2126 2128
 .print_main_content .order_title {
2127 2129
   text-align: center;

+ 1 - 1
src/xt_pages/user/coursePrint.vue Ver arquivo

@@ -55,7 +55,7 @@
55 55
               <div>{{item.title}}</div>
56 56
             </div>
57 57
 
58
-            <div class="inline_block" style="width:100%;">
58
+            <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
59 59
               <div v-html="item.content" class="printP">
60 60
 
61 61
               </div>

+ 6 - 8
src/xt_pages/user/hospitalSummary.vue Ver arquivo

@@ -98,22 +98,22 @@
98 98
                    {{hosDetail.pathology}}
99 99
                  </div>
100 100
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院诊断:
101
-                   <span v-html="hosDetail.admitting_diagnosis"></span> 
101
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.admitting_diagnosis"></span> 
102 102
                  </div>
103 103
                   <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院诊断:
104
-                   <span v-html="hosDetail.discharge_diagnosis"></span>
104
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.discharge_diagnosis"></span>
105 105
                  </div>
106 106
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院时病情:
107
-                   <span v-html="hosDetail.diagnosis_admission"></span>
107
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.diagnosis_admission"></span>
108 108
                  </div>
109 109
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">诊断经过:
110
-                   <span v-html="hosDetail.treatment"></span> 
110
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.treatment"></span> 
111 111
                  </div>
112 112
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院时病情:
113
-                   <span v-html="hosDetail.illness_discharge"></span> 
113
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.illness_discharge"></span> 
114 114
                  </div>
115 115
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院医嘱:
116
-                    <span v-html="hosDetail.discharge_advice"></span>
116
+                    <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.discharge_advice"></span>
117 117
                  </div>
118 118
                
119 119
               </div>
@@ -121,8 +121,6 @@
121 121
           </el-row>
122 122
         </div>
123 123
       </div>
124
-
125
-  
126 124
      
127 125
       <el-dialog title="新增出院小结" width="60%" top="5vh" :visible.sync="show_dialog">
128 126
         <div>

+ 14 - 15
src/xt_pages/user/hospitalSummaryPrint.vue Ver arquivo

@@ -4,7 +4,7 @@
4 4
     <el-button type="primary" size="small" @click="printThisPage">打印</el-button> 
5 5
   </div>
6 6
   <div id="dialysis-print-box">
7
-    <div class="dialysis-print-order">
7
+    <div class="dialysis-print-order" style="width: 960px;">
8 8
       <div class="order-yy-name"></div>
9 9
       <div class="order-title">{{ orgname }}出院小结</div>
10 10
       <div style="margin-float:right">病案号:{{hosDetail.sick_personnel}}</div>
@@ -82,7 +82,7 @@
82 82
             </td>   
83 83
             <td style="text-align:center;width:500px" colspan="14">
84 84
             
85
-              <span style="display:inline-block;margin-left:10px;">
85
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
86 86
                 {{patient.home_address}}
87 87
               </span>
88 88
             </td>   
@@ -132,7 +132,7 @@
132 132
               X线:
133 133
             </td>
134 134
             <td style="text-align:center;width:50px" colspan="3">
135
-              <span style="display:inline-block;margin-left:10px;">
135
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
136 136
                 {{hosDetail.xray}}
137 137
               </span>
138 138
             </td>
@@ -140,7 +140,7 @@
140 140
               CT:
141 141
             </td>
142 142
             <td style="text-align:center;width:50px" colspan="1">
143
-              <span style="display:inline-block;margin-left:10px;">
143
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
144 144
                 {{hosDetail.connecticut}}
145 145
               </span>
146 146
             </td>
@@ -148,7 +148,7 @@
148 148
               MRI:
149 149
             </td>
150 150
              <td style="text-align:center;width:50px" colspan="1">
151
-              <span style="display:inline-block;margin-left:10px;">
151
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
152 152
                 {{hosDetail.nuclear_magnetic_resonance}}
153 153
               </span>
154 154
             </td>
@@ -156,7 +156,7 @@
156 156
               超声:
157 157
             </td>
158 158
              <td style="text-align:center;width:100px" colspan="1">
159
-              <span style="display:inline-block;margin-left:10px;">
159
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
160 160
                 {{hosDetail.ultrasound}}
161 161
               </span>
162 162
             </td>
@@ -164,7 +164,7 @@
164 164
               病理:
165 165
             </td>
166 166
              <td style="text-align:center;width:50px" colspan="1">
167
-              <span style="display:inline-block;margin-left:10px;">
167
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
168 168
                 {{hosDetail.pathology}}
169 169
               </span>
170 170
             </td>
@@ -177,7 +177,7 @@
177 177
               </span>
178 178
             </td>   
179 179
             <td style="text-align:center;" colspan="14">
180
-              <span style="display:block;margin-left:10px;text-align:left;">
180
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
181 181
                 <span v-html="hosDetail.admitting_diagnosis"></span>
182 182
               </span>
183 183
             </td>   
@@ -188,7 +188,7 @@
188 188
             </td>
189 189
              <td style="text-align:center;" colspan="14">
190 190
              
191
-              <span style="display:block;margin-left:10px;text-align:left;">
191
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
192 192
                <span v-html="hosDetail.discharge_diagnosis"></span>  
193 193
               </span>
194 194
             </td>
@@ -200,7 +200,7 @@
200 200
             </td>
201 201
            <td colspan="14">
202 202
             
203
-              <span style="display:block;margin-left:10px;text-align:left;">
203
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
204 204
                  <span v-html="hosDetail.diagnosis_admission"></span>
205 205
               </span>
206 206
             </td>
@@ -213,7 +213,7 @@
213 213
            
214 214
             </td>
215 215
             <td colspan="14">
216
-              <span style="display:block;margin-left:10px;text-align:left;">
216
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word ">
217 217
                <span v-html="hosDetail.treatment"></span> 
218 218
               </span>
219 219
             </td>
@@ -224,9 +224,8 @@
224 224
               出院时病情:
225 225
             </td>
226 226
             <td colspan="14">
227
-            
228
-              <span style="display:block;margin-left:10px;text-align:left;">
229
-               <span v-html="hosDetail.illness_discharge"></span> 
227
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word">
228
+               <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.illness_discharge"></span> 
230 229
               </span>
231 230
             </td>
232 231
           
@@ -237,7 +236,7 @@
237 236
               出院医嘱:
238 237
             </td>
239 238
             <td colspan="14">
240
-              <span style="display:block;margin-left:10px;text-align:left;">
239
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word">
241 240
                 <span v-html="hosDetail.discharge_advice"></span> 
242 241
               </span>
243 242
             </td>

+ 2 - 2
src/xt_pages/user/ktv.vue Ver arquivo

@@ -175,8 +175,8 @@
175 175
                   :disabled="item.item_name == 'URR(%)' || item.item_name == 'KT/V'"
176 176
                   @input='changeInput(item)'
177 177
                 >
178
-                  <template slot="append" v-if="item.item_name == 'URR(%)'"><el-button type="primary" @click="calURR(form.formItem,item.value)">点击计算URR</el-button></template>
179
-                  <template slot="append" v-if="item.item_name == 'KT/V'"><el-button type="primary" @click="calKTV(form.formItem,item.value)">点击计算KT/V</el-button></template>
178
+                  <template slot="append" v-if="item.item_name == 'URR(%)'"><el-button style="background-color: #409eff; color: #000;" type="primary" @click="calURR(form.formItem,item.value)">点击计算URR</el-button></template>
179
+                  <template slot="append" v-if="item.item_name == 'KT/V'"><el-button style="background-color: #409eff; color: #000;" type="primary" @click="calKTV(form.formItem,item.value)">点击计算KT/V</el-button></template>
180 180
                   <template slot="append" v-else>{{ item.unit }}</template>
181 181
 
182 182
                 </el-input>

+ 1 - 1
src/xt_pages/user/physiqueprinting.vue Ver arquivo

@@ -68,7 +68,7 @@
68 68
 
69 69
           </div>
70 70
           <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
71
-          <div>
71
+          <div style="word-break: break-all; word-wrap: break-word;">
72 72
             <div v-html="item.content"></div>
73 73
           </div>
74 74
           <h3 v-if="item.XtPatientPhysiqueCheck.id > 0" style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>

+ 0 - 0
src/xt_pages/user/sickHistory.vue Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff