瀏覽代碼

518合并代码

XMLWAN 3 年之前
父節點
當前提交
1ec2d85ba7

+ 33 - 7
src/xt_pages/dialysis/details/NavIgation.vue 查看文件

138
       :dialysis_order="dialysis_order"
138
       :dialysis_order="dialysis_order"
139
       :his_is_open="his_is_open"
139
       :his_is_open="his_is_open"
140
       :predialysis="predialysis_evaluation"
140
       :predialysis="predialysis_evaluation"
141
+      :is_advice_open="is_advice_open"
141
     ></doctor-advice-dialog>
142
     ></doctor-advice-dialog>
142
 
143
 
143
     <computer-dialog
144
     <computer-dialog
306
         return [];
307
         return [];
307
       }
308
       }
308
     },
309
     },
310
+    his_doctor_advices:{
311
+     // 临时医嘱
312
+      type: Array,
313
+      default: () => {
314
+        return [];
315
+      }
316
+    },
309
     double_check: {
317
     double_check: {
310
       // 双人核对
318
       // 双人核对
311
       type: Object,
319
       type: Object,
537
       default: () => {
545
       default: () => {
538
         return { id: 0 };
546
         return { id: 0 };
539
       }
547
       }
540
-    }
548
+    },
549
+    is_advice_open:{
550
+      type: Number,
551
+      default: () => {
552
+        return 0;
553
+      }
554
+    },
541
   },
555
   },
542
   methods: {
556
   methods: {
543
     getUnReadNum: function() {
557
     getUnReadNum: function() {
558
+      console.log("医嘱中国23322222222222222222222222222",this.doctor_advices)
544
       let doctorAdvice = [];
559
       let doctorAdvice = [];
545
       for (let y = 0; y < this.doctor_advices.length; y++) {
560
       for (let y = 0; y < this.doctor_advices.length; y++) {
546
         if (this.doctor_advices[y].execution_state == 2) {
561
         if (this.doctor_advices[y].execution_state == 2) {
550
       const sorted = this.groupBy(doctorAdvice, function(item) {
565
       const sorted = this.groupBy(doctorAdvice, function(item) {
551
         return [item.groupno];
566
         return [item.groupno];
552
       });
567
       });
553
-      console.log(doctorAdvice);
554
-      console.log(sorted.length);
555
-
556
-      return sorted.length;
568
+     
569
+    
570
+      // var strLength = 0
571
+      // var arr = []
572
+      // if(this.his_doctor_advices!=undefined && this.his_doctor_advices.length > 0){
573
+      //   for(let i=0;i<this.his_doctor_advices.length;i++){
574
+      //     if (this.his_doctor_advices[i].execution_state == 2) {
575
+      //      arr.push(this.his_doctor_advices[i]);
576
+      //    } 
577
+      //   }
578
+      //   strLength = arr.length
579
+      // }
580
+      // console.log("232332323232323223",arrOne.length + strLength);
581
+      return sorted.length
582
+      
557
     },
583
     },
558
     groupBy(array, f) {
584
     groupBy(array, f) {
559
       const groups = {};
585
       const groups = {};
614
       this.$refs.assessment_after_dislysis.show(this.assessment_after_dislysis,this.last_assessment_after_dislysis);
640
       this.$refs.assessment_after_dislysis.show(this.assessment_after_dislysis,this.last_assessment_after_dislysis);
615
     },
641
     },
616
     showDoctorAdviceDialog: function() {
642
     showDoctorAdviceDialog: function() {
617
-      this.$refs.doctor_advice.show(this.his_is_open);
643
+      this.$refs.doctor_advice.show(this.his_is_open,this.is_advice_open);
618
     },
644
     },
619
     showComputerDialog: function() {
645
     showComputerDialog: function() {
620
       this.$refs.computer_dialog.show(this.dialysis_order);
646
       this.$refs.computer_dialog.show(this.dialysis_order);
623
       this.$refs.finish_dialog.show(this.dialysis_order);
649
       this.$refs.finish_dialog.show(this.dialysis_order);
624
     },
650
     },
625
     showPrescription: function() {
651
     showPrescription: function() {
626
-      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open);
652
+      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open,this.is_advice_open);
627
     },
653
     },
628
     showAccepts: function() {
654
     showAccepts: function() {
629
       this.$refs.accepts.show(this.receiver_treatment_access);
655
       this.$refs.accepts.show(this.receiver_treatment_access);

+ 62 - 54
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 查看文件

136
       <div class="txsj">
136
       <div class="txsj">
137
         <el-button
137
         <el-button
138
           round
138
           round
139
-          v-if="his_is_open != 1"
139
+          v-if="his_is_open != 1 || is_advice_open == 1"
140
           @click="openLast(1)"
140
           @click="openLast(1)"
141
         >上一方
141
         >上一方
142
         </el-button>
142
         </el-button>
143
 
143
 
144
         <el-button
144
         <el-button
145
           round
145
           round
146
-          v-if="his_is_open != 1"
146
+          v-if="his_is_open != 1 || is_advice_open == 1"
147
           @click="openNext(2)"
147
           @click="openNext(2)"
148
         >下一方
148
         >下一方
149
         </el-button>
149
         </el-button>
154
           round
154
           round
155
           @click="openGroupFrom"
155
           @click="openGroupFrom"
156
           :loading="deleLoading"
156
           :loading="deleLoading"
157
-          v-if="his_is_open != 1"
157
+          v-if="his_is_open != 1 || is_advice_open == 1"
158
           :disabled="!is_has_create"
158
           :disabled="!is_has_create"
159
         >新增医嘱
159
         >新增医嘱
160
         </el-button>
160
         </el-button>
189
           :loading="deleLoading"
189
           :loading="deleLoading"
190
         >修改医嘱
190
         >修改医嘱
191
         </el-button>
191
         </el-button>
192
+
192
         <el-button v-else disabled round @click="openEditGroupAdvice" :loading="deleLoading">修改医嘱</el-button>
193
         <el-button v-else disabled round @click="openEditGroupAdvice" :loading="deleLoading">修改医嘱</el-button>
193
 
194
 
194
         <el-button
195
         <el-button
207
       <!--   @row-click="cellMouseEnter" -->
208
       <!--   @row-click="cellMouseEnter" -->
208
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
209
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
209
       <el-table
210
       <el-table
210
-        v-if="his_is_open == 0"
211
+        v-if="his_is_open !=1"
211
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
212
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
212
         :data="doctor_advices"
213
         :data="doctor_advices"
213
         border
214
         border
242
               </span>
243
               </span>
243
               <el-dropdown-menu slot="dropdown">
244
               <el-dropdown-menu slot="dropdown">
244
                 <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
245
                 <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
245
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
246
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
246
+                <el-dropdown-item v-if=" his_is_open != 1 " @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
247
+                <el-dropdown-item v-if=" his_is_open != 1 " @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
247
               </el-dropdown-menu>
248
               </el-dropdown-menu>
248
             </el-dropdown>
249
             </el-dropdown>
249
 
250
 
300
 
301
 
301
 
302
 
302
       <el-table
303
       <el-table
303
-        v-else
304
+        v-if="his_is_open  == 1 || is_advice_open == 1"
304
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
305
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
305
         :data="doctor_advices"
306
         :data="doctor_advices"
306
         border
307
         border
325
             </span>
326
             </span>
326
           </template>
327
           </template>
327
         </el-table-column>
328
         </el-table-column>
328
-        <el-table-column prop="advice_name" min-width="50px" label="医嘱内容" align="center">
329
+        <el-table-column prop="advice_name" min-width="50px" label="医嘱内容32323" align="center">
329
           <template slot-scope="scope">
330
           <template slot-scope="scope">
330
             <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
331
             <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
331
               <span class="el-dropdown-link">
332
               <span class="el-dropdown-link">
333
                 <i class="el-icon-arrow-down el-icon--right"></i>
334
                 <i class="el-icon-arrow-down el-icon--right"></i>
334
               </span>
335
               </span>
335
               <el-dropdown-menu slot="dropdown">
336
               <el-dropdown-menu slot="dropdown">
336
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
337
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
338
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
337
+                <el-dropdown-item v-if=" his_is_open == 1  && scope.row.origin == 1 " @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
338
+                <el-dropdown-item v-if=" his_is_open == 1  && scope.row.origin == 1" @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
339
+                <el-dropdown-item v-if=" his_is_open == 1  && scope.row.origin == 1" @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
339
               </el-dropdown-menu>
340
               </el-dropdown-menu>
340
             </el-dropdown>
341
             </el-dropdown>
341
 
342
 
345
                 <i class="el-icon-arrow-down el-icon--right"></i>
346
                 <i class="el-icon-arrow-down el-icon--right"></i>
346
               </span>
347
               </span>
347
               <el-dropdown-menu slot="dropdown">
348
               <el-dropdown-menu slot="dropdown">
348
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改子药</el-dropdown-item>
349
-                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除子药</el-dropdown-item>
349
+                <el-dropdown-item v-if=" his_is_open == 1  && scope.row.origin == 1" @click.native="openEdit(scope.$index, scope.row)">修改子药</el-dropdown-item>
350
+                <el-dropdown-item v-if=" his_is_open == 1  && scope.row.origin == 1" @click.native="openDelete(scope.$index, scope.row)">删除子药</el-dropdown-item>
350
               </el-dropdown-menu>
351
               </el-dropdown-menu>
351
             </el-dropdown>
352
             </el-dropdown>
352
           </template>
353
           </template>
763
         title: '临时医嘱',
764
         title: '临时医嘱',
764
         add_title: '新增医嘱',
765
         add_title: '新增医嘱',
765
         his_is_open:0,
766
         his_is_open:0,
767
+        is_advice_open:0,
766
         showAdviceForm: false,
768
         showAdviceForm: false,
767
         showAdvicePanel: true,
769
         showAdvicePanel: true,
768
         showNameForm: false,
770
         showNameForm: false,
926
               adviceNames: this.other_doctor_advices,
928
               adviceNames: this.other_doctor_advices,
927
               remark: ''
929
               remark: ''
928
             }
930
             }
929
-            console.log("2223333",submitForm)
930
-
931
+           
931
             let mode = '1'
932
             let mode = '1'
932
             CreateGroupAdvice(this.patientid, 0, submitForm, mode).then(
933
             CreateGroupAdvice(this.patientid, 0, submitForm, mode).then(
933
               response => {
934
               response => {
980
           this.$message.error('没有选择患者')
981
           this.$message.error('没有选择患者')
981
           return false
982
           return false
982
         }
983
         }
983
-        // console.log(this.form)
984
+        
984
         let mode = '2'
985
         let mode = '2'
985
         if (this.form.advice_doctor != this.$store.getters.xt_user.user.id) {
986
         if (this.form.advice_doctor != this.$store.getters.xt_user.user.id) {
986
           mode = '3'
987
           mode = '3'
1160
       }
1161
       }
1161
       ,
1162
       ,
1162
       openDeleteGroupAdvice(val) {
1163
       openDeleteGroupAdvice(val) {
1163
-        console.log("val2323233232",this.groupSelectRow)
1164
         if (this.groupSelectRow === null) {
1164
         if (this.groupSelectRow === null) {
1165
           this.$message.error('未选择要删除的医嘱内容')
1165
           this.$message.error('未选择要删除的医嘱内容')
1166
           return
1166
           return
1167
         }
1167
         }
1168
+        if(this.groupSelectRow!=null){
1169
+           if(this.groupSelectRow.origin == 2){
1170
+              this.$message.error('处方医嘱不能删除')
1171
+              return
1172
+           }
1173
+        }
1168
         if(this.groupSelectRow.execution_state == 1){
1174
         if(this.groupSelectRow.execution_state == 1){
1169
            this.$message.error("已执行的医嘱无法删除!")
1175
            this.$message.error("已执行的医嘱无法删除!")
1170
            return
1176
            return
1203
             isEdit: 1,
1209
             isEdit: 1,
1204
             index: this.groupSelectRow.index
1210
             index: this.groupSelectRow.index
1205
           }
1211
           }
1206
-          console.log("88888888",this.nameForm)
1212
+         
1207
         } else {
1213
         } else {
1208
           this.nameForm = {
1214
           this.nameForm = {
1209
             advice_name: '',
1215
             advice_name: '',
1261
       }
1267
       }
1262
       ,
1268
       ,
1263
       submitExce() {
1269
       submitExce() {
1264
-        console.log(this.currentRow.origin)
1270
+        
1265
         if (this.currentRow == null) {
1271
         if (this.currentRow == null) {
1266
           this.$message.error('请先选择要执行的医嘱!')
1272
           this.$message.error('请先选择要执行的医嘱!')
1267
           return false
1273
           return false
1368
           this.form.advice_name = arr[0]
1374
           this.form.advice_name = arr[0]
1369
        }
1375
        }
1370
 
1376
 
1371
-        console.log("新增医嘱子药",this.form)
1372
-
1377
+        
1373
         CreateDoctorAdvice(this.patient.id, this.form, mode)
1378
         CreateDoctorAdvice(this.patient.id, this.form, mode)
1374
           .then(response => {
1379
           .then(response => {
1375
             this.loading = false
1380
             this.loading = false
1412
                     var swapData = this.doctor_advices.splice(spliceIndex)
1417
                     var swapData = this.doctor_advices.splice(spliceIndex)
1413
                     this.doctor_advices.push(response.data.data.advice)
1418
                     this.doctor_advices.push(response.data.data.advice)
1414
                     for (var index in swapData) {
1419
                     for (var index in swapData) {
1415
-                      this.doctor_advices.push(swapData[index]) // = this.doctor_advices.concat(swapData);
1420
+                      this.doctor_advices.push(swapData[index]) 
1416
                     }
1421
                     }
1417
                   }
1422
                   }
1418
                 }
1423
                 }
1419
               } else {
1424
               } else {
1420
                 this.doctor_advices.unshift(response.data.data.advice)
1425
                 this.doctor_advices.unshift(response.data.data.advice)
1421
               }
1426
               }
1422
-              // this.$emit("new_create", response.data.data.advice);
1427
+              
1423
               return false
1428
               return false
1424
             }
1429
             }
1425
           })
1430
           })
1552
       ,
1557
       ,
1553
 
1558
 
1554
       openEditGroupAdvice() {
1559
       openEditGroupAdvice() {
1555
-        console.log("医嘱泪奔23332233223",this.groupSelectRow)
1556
         if (this.groupSelectRow === null) {
1560
         if (this.groupSelectRow === null) {
1557
           this.$message.error('未选择要修改的医嘱内容')
1561
           this.$message.error('未选择要修改的医嘱内容')
1558
           return
1562
           return
1559
         }
1563
         }
1560
-        console.log("22222",this.groupSelectRow.groupno)
1564
+        if(this.groupSelectRow!=null){
1565
+          if(this.groupSelectRow.origin == 2){
1566
+            this.$message.error("处方医嘱不能修改")
1567
+            return
1568
+          }
1569
+        }
1561
         this.$refs.editGroupForm.open(this.groupSelectRow.groupno)
1570
         this.$refs.editGroupForm.open(this.groupSelectRow.groupno)
1562
       }
1571
       }
1563
       ,
1572
       ,
1564
 
1573
 
1565
       openGroupFrom() {
1574
       openGroupFrom() {
1575
+        
1566
         this.$refs.addGroupForm.open()
1576
         this.$refs.addGroupForm.open()
1567
 
1577
 
1568
         // this.title="新增医嘱";
1578
         // this.title="新增医嘱";
1596
       }
1606
       }
1597
       ,
1607
       ,
1598
       checkAdvice() {
1608
       checkAdvice() {
1599
-        console.log(this.currentRow)
1600
-        // console.log(this.$store.getters.xt_user)
1601
         if (this.currentRow == null) {
1609
         if (this.currentRow == null) {
1602
           this.$message.error('请先选择要核对的医嘱!')
1610
           this.$message.error('请先选择要核对的医嘱!')
1603
           return false
1611
           return false
1788
           confirmButtonText: '确定',
1796
           confirmButtonText: '确定',
1789
           cancelButtonText: '取消',
1797
           cancelButtonText: '取消',
1790
           type: 'warning'
1798
           type: 'warning'
1791
-        })
1792
-          .then(() => {
1793
-            console.log(this.currentRow)
1799
+        }).then(() => {
1800
+           
1794
             let mode = '4'
1801
             let mode = '4'
1795
             if (
1802
             if (
1796
               this.currentRow.advice_doctor != this.$store.getters.xt_user.user.id
1803
               this.currentRow.advice_doctor != this.$store.getters.xt_user.user.id
2030
         this.$refs.addGroupForm.open()
2037
         this.$refs.addGroupForm.open()
2031
       }
2038
       }
2032
       ,
2039
       ,
2033
-      show(his_is_open) {
2040
+      show(his_is_open,is_advice_open) {
2041
+       
2034
         this.his_is_open = his_is_open
2042
         this.his_is_open = his_is_open
2035
-        console.log(this.his_is_open)
2043
+        this.is_advice_open = is_advice_open
2036
         this.isVisibility = true
2044
         this.isVisibility = true
2037
         this.getPermission()
2045
         this.getPermission()
2038
       }
2046
       }
2136
         }
2144
         }
2137
       },
2145
       },
2138
       cellMouseEnter: function(row, column, event) {
2146
       cellMouseEnter: function(row, column, event) {
2139
-        console.log("数据是",row)
2140
         this.currentRow = row
2147
         this.currentRow = row
2141
         this.groupSelectRow = row
2148
         this.groupSelectRow = row
2142
         // this.sameRowArr.forEach((arr, i) => {
2149
         // this.sameRowArr.forEach((arr, i) => {
2238
               check_url: '/api/patients/advice/check?mode=7',
2245
               check_url: '/api/patients/advice/check?mode=7',
2239
               module: 4
2246
               module: 4
2240
             }
2247
             }
2241
-          })
2242
-          .then(res => {
2243
-            console.log(res)
2248
+          }).then(res => {
2244
             if (res.data.state == 0) {
2249
             if (res.data.state == 0) {
2245
               this.hasPermission = false
2250
               this.hasPermission = false
2246
             } else if (res.data.state == 1) {
2251
             } else if (res.data.state == 1) {
2312
           if (response.data.state == 1) {
2317
           if (response.data.state == 1) {
2313
 
2318
 
2314
             var doctor_advices = response.data.data.advices
2319
             var doctor_advices = response.data.data.advices
2315
-            console.log("doctor_advices",doctor_advices)
2316
-
2320
+           
2317
             this.other_doctor_advices = doctor_advices
2321
             this.other_doctor_advices = doctor_advices
2318
             this.request_record_date = uParseTime(this.other_doctor_advices[0].record_date, '{y}-{m}-{d}')
2322
             this.request_record_date = uParseTime(this.other_doctor_advices[0].record_date, '{y}-{m}-{d}')
2319
             this.sch = response.data.data.schedule
2323
             this.sch = response.data.data.schedule
2325
 
2329
 
2326
       },
2330
       },
2327
       getDialysisScheduleDetail() {
2331
       getDialysisScheduleDetail() {
2328
-        console.log("触发伏组件")
2329
         if(this.$route.query.showView && this.$route.query.showView == true){
2332
         if(this.$route.query.showView && this.$route.query.showView == true){
2330
           return
2333
           return
2331
         }
2334
         }
2332
         getDialysisScheduleDetail(this.patientid, this.record_date).then(response => {
2335
         getDialysisScheduleDetail(this.patientid, this.record_date).then(response => {
2333
           if (response.data.state == 1) {
2336
           if (response.data.state == 1) {
2337
+           this.doctor_advices = []
2334
             var doctor_advices = response.data.data.doctor_advices
2338
             var doctor_advices = response.data.data.doctor_advices
2335
             this.doctorAdvices = doctor_advices
2339
             this.doctorAdvices = doctor_advices
2336
-            this.doctor_advices = doctor_advices
2340
+            if(doctor_advices !=undefined && doctor_advices.length > 0){
2341
+              for(let i=0;i<doctor_advices.length;i++){
2342
+                doctor_advices[i]['origin'] = 1
2343
+                this.doctor_advices.push(doctor_advices[i])
2344
+              }
2345
+            }
2346
+           var his_advices = response.data.data.his_advices
2347
+            if(his_advices!=undefined && his_advices.length > 0){
2348
+              for(let i=0;i<his_advices.length;i++){
2349
+                 his_advices[i]['origin'] = 2
2350
+                 this.doctor_advices.push(his_advices[i])
2351
+              }
2352
+            }
2337
           }
2353
           }
2338
         })
2354
         })
2339
       }
2355
       }
2433
                 obj.type = 2
2449
                 obj.type = 2
2434
                 obj.custom_id = this.rand(10000000, 99999999)
2450
                 obj.custom_id = this.rand(10000000, 99999999)
2435
                 obj.drug_specs = medicalList[i].drug_specs
2451
                 obj.drug_specs = medicalList[i].drug_specs
2436
-                // console.log("222",this.all_drug)
2437
                 this.all_drug.push(obj)
2452
                 this.all_drug.push(obj)
2438
               }
2453
               }
2439
             }
2454
             }
2470
                 obj.custom_id = this.rand(10000000, 99999999)
2485
                 obj.custom_id = this.rand(10000000, 99999999)
2471
                 obj.drug_specs = base_drug_list[i].drug_specs
2486
                 obj.drug_specs = base_drug_list[i].drug_specs
2472
                 this.all_drug.push(obj)
2487
                 this.all_drug.push(obj)
2473
-                // console.log("2222",this.all_drug)
2474
               }
2488
               }
2475
             }
2489
             }
2476
         })
2490
         })
2518
       },
2532
       },
2519
 
2533
 
2520
      querySearch(queryString, cb) {
2534
      querySearch(queryString, cb) {
2521
-        console.log('queryString',queryString)
2535
+      
2522
         var restaurants = this.all_drug;
2536
         var restaurants = this.all_drug;
2523
         restaurants.map(item => {
2537
         restaurants.map(item => {
2524
           item.value = item.drug_name
2538
           item.value = item.drug_name
2525
         })
2539
         })
2526
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2540
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2527
         // 调用 callback 返回建议列表的数据
2541
         // 调用 callback 返回建议列表的数据
2528
-        console.log('results',results)
2542
+     
2529
         cb(results);
2543
         cb(results);
2530
      },
2544
      },
2531
 
2545
 
2536
      },
2550
      },
2537
 
2551
 
2538
      querySearch1(queryString, cb) {
2552
      querySearch1(queryString, cb) {
2539
-        console.log('queryString',queryString)
2553
+       
2540
         var restaurants = this.drugSpec;
2554
         var restaurants = this.drugSpec;
2541
-         console.log(restaurants)
2555
+        
2542
         restaurants.map(item => {
2556
         restaurants.map(item => {
2543
           item.value = item.drug_spec
2557
           item.value = item.drug_spec
2544
         })
2558
         })
2545
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2559
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2546
         // 调用 callback 返回建议列表的数据
2560
         // 调用 callback 返回建议列表的数据
2547
-        console.log('results',results)
2548
         cb(results);
2561
         cb(results);
2549
       },
2562
       },
2550
      handleSelect(){
2563
      handleSelect(){
2561
       this.org_id = this.$store.getters.xt_user.org.id
2574
       this.org_id = this.$store.getters.xt_user.org.id
2562
       this.patientid = this.$route.query.patient_id
2575
       this.patientid = this.$route.query.patient_id
2563
       this.request_record_date = this.record_date
2576
       this.request_record_date = this.record_date
2564
-
2577
+      
2578
+    
2565
       // this.getDialysisScheduleDetail()
2579
       // this.getDialysisScheduleDetail()
2566
        //获取自备药
2580
        //获取自备药
2567
       this.getSelfMedicalList()
2581
       this.getSelfMedicalList()
2568
-    },mounted(){
2569
-      console.log("~~~~~")
2570
-      console.log(this.his_is_open)
2571
-      console.log("~~~~~")
2572
-
2573
-
2574
     },
2582
     },
2575
     components: {
2583
     components: {
2576
       AddGroupAdvice,
2584
       AddGroupAdvice,

+ 5 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

1937
       getTime(val) {
1937
       getTime(val) {
1938
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1938
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1939
       },
1939
       },
1940
-      show(pre, schedual, last, his_is_open) {
1940
+      show(pre, schedual, last, his_is_open,is_advice_open) {
1941
         
1941
         
1942
         if (pre != undefined) {
1942
         if (pre != undefined) {
1943
           if (pre.oxygen_uptake == 1) {
1943
           if (pre.oxygen_uptake == 1) {
1952
         if (his_is_open == 1) {
1952
         if (his_is_open == 1) {
1953
           this.is_open = 0
1953
           this.is_open = 0
1954
         }
1954
         }
1955
+        if(is_advice_open == 1){
1956
+          this.is_open = 1
1957
+        }
1955
 
1958
 
1956
         if(this.$store.getters.xt_user.org.id == 10101){
1959
         if(this.$store.getters.xt_user.org.id == 10101){
1957
           if (this.predialysis.id > 0 && this.predialysis.created_time > 0) {
1960
           if (this.predialysis.id > 0 && this.predialysis.created_time > 0) {
3558
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
3561
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
3559
           this.dialysisPrescription.anticoagulant_zongliang = ''
3562
           this.dialysisPrescription.anticoagulant_zongliang = ''
3560
         }
3563
         }
3561
-        console.log('首季9999', this.dialysisPrescription.anticoagulant_zongliang)
3562
-        console.log("收集",this.dialysisPrescription.anticoagulant_shouji)
3563
-        console.log("weichi",this.dialysisPrescription.anticoagulant_weichi)
3564
+       
3564
         if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
3565
         if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
3565
          this.dialysisPrescription.anticoagulant_zongliang = ""
3566
          this.dialysisPrescription.anticoagulant_zongliang = ""
3566
          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
3567
          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)

+ 14 - 8
src/xt_pages/dialysis/details/index.vue 查看文件

266
         @assessmentAfterDislysis="assessmentAfterDislysisFunc"
266
         @assessmentAfterDislysis="assessmentAfterDislysisFunc"
267
         :system_prescribe="system_prescribe"
267
         :system_prescribe="system_prescribe"
268
         :his_is_open="his_is_open"
268
         :his_is_open="his_is_open"
269
+        :is_advice_open="is_advice_open"
269
         :lastAssessment="lastAssessment"
270
         :lastAssessment="lastAssessment"
270
         :stockType="stockType"
271
         :stockType="stockType"
272
+        :his_doctor_advices="his_doctor_advices"
271
       >
273
       >
272
       </nav-igation>
274
       </nav-igation>
273
 
275
 
631
       config: {},
633
       config: {},
632
 
634
 
633
       his_is_open:0,
635
       his_is_open:0,
634
-
636
+      is_advice_open:0,
635
       lastPredialysisEvaluation: { id: 0 },
637
       lastPredialysisEvaluation: { id: 0 },
636
       lastMonitorRecord: { id: 0 },
638
       lastMonitorRecord: { id: 0 },
637
       lastAssessmentAfterDislysis: { id: 0 },
639
       lastAssessmentAfterDislysis: { id: 0 },
684
 
686
 
685
       queueConfig:{},
687
       queueConfig:{},
686
       stockType:[],
688
       stockType:[],
687
-      preparestock:[]
689
+      preparestock:[],
690
+      his_doctor_advices:[],
688
     }
691
     }
689
   },
692
   },
690
   created() {
693
   created() {
941
               if(this.his_is_open == 1){
944
               if(this.his_is_open == 1){
942
                 this.is_open = 0
945
                 this.is_open = 0
943
               }
946
               }
947
+              if(this.is_advice_open == 1){
948
+                this.is_open = 1
949
+              } 
944
               this.longAdvices = totalAdvice
950
               this.longAdvices = totalAdvice
945
               this.waitUploadAdvices = waitUploadAdvices
951
               this.waitUploadAdvices = waitUploadAdvices
946
               break
952
               break
1143
           this.device_numbers = resp.data.device_numbers
1149
           this.device_numbers = resp.data.device_numbers
1144
 
1150
 
1145
           var his_doctor_advices = resp.data.his_advices
1151
           var his_doctor_advices = resp.data.his_advices
1146
-
1152
+          console.log("his_doctor_advices 2323232233232332323323232",this.his_doctor_advices)
1153
+          this.his_doctor_advices = his_doctor_advices
1147
           this.his_is_open = resp.data.is_open_config.is_open
1154
           this.his_is_open = resp.data.is_open_config.is_open
1148
-          console.log(this.his_is_open)
1149
-
1150
-
1151
-
1155
+          
1156
+          this.is_advice_open = resp.data.is_advice_open.is_advice_open
1157
+          console.log("is_advice_open 2323232233232332323323232",this.is_advice_open)
1152
           var stockType =  resp.data.stockType
1158
           var stockType =  resp.data.stockType
1153
           this.stockType = stockType
1159
           this.stockType = stockType
1154
-          console.log("stockTYPW",stockType)
1160
+         
1155
 
1161
 
1156
           var prepare = resp.data.prepare
1162
           var prepare = resp.data.prepare
1157
           if(prepare!=null){
1163
           if(prepare!=null){

+ 4 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue 查看文件

287
                     <el-table-column label="库存" width="60">
287
                     <el-table-column label="库存" width="60">
288
                       <template slot-scope="scope">
288
                       <template slot-scope="scope">
289
                                           <span
289
                                           <span
290
-                                              v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10188 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191 || org_id == 10278 || org_id == 10217">
290
+                                              v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10188 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191 || org_id == 10278 || org_id == 10217 || org_id ==10210 || org_id ==10318 || org_id ==10340">
291
                                               <span
291
                                               <span
292
                                                   v-if="scope.row.count/scope.row.min_number>0">{{ Math.floor(scope.row.count / scope.row.min_number) }}{{ scope.row.max_unit }}</span>
292
                                                   v-if="scope.row.count/scope.row.min_number>0">{{ Math.floor(scope.row.count / scope.row.min_number) }}{{ scope.row.max_unit }}</span>
293
                                               <span
293
                                               <span
386
                     <el-table-column label="库存" width="40">
386
                     <el-table-column label="库存" width="40">
387
                       <template slot-scope="scope">
387
                       <template slot-scope="scope">
388
                                                 <span
388
                                                 <span
389
-                                                    v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191 || org_id == 10278 || org_id == 10217">
389
+                                                    v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191 || org_id == 10278 || org_id == 10217 || org_id ==10210 || org_id ==10318 || org_id ==10340">
390
                                                     {{ scope.row.stock_count }}
390
                                                     {{ scope.row.stock_count }}
391
                                                 </span>
391
                                                 </span>
392
                         <span v-else> {{ scope.row.total }}</span>
392
                         <span v-else> {{ scope.row.total }}</span>
2737
       this.$refs.additionalCharges.show()
2737
       this.$refs.additionalCharges.show()
2738
     },
2738
     },
2739
     selectDrugs(selection, row) {
2739
     selectDrugs(selection, row) {
2740
-      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217) {
2740
+      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340) {
2741
         if (row.count <= 0) {
2741
         if (row.count <= 0) {
2742
           if (selection) {
2742
           if (selection) {
2743
             selection.forEach(row => {
2743
             selection.forEach(row => {
3024
     },
3024
     },
3025
     selectChange(selection, row) {
3025
     selectChange(selection, row) {
3026
       console.log('row', row)
3026
       console.log('row', row)
3027
-      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 10188  || this.org_id == 9956 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217) {
3027
+      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 10188  || this.org_id == 9956 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340) {
3028
         if (row.stock_count <= 0) {
3028
         if (row.stock_count <= 0) {
3029
           if (row.type == 3) {
3029
           if (row.type == 3) {
3030
             if (selection) {
3030
             if (selection) {

+ 4 - 3
src/xt_pages/hospitalStation/components/deskRecord.vue 查看文件

54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
55
       </el-form-item>
55
       </el-form-item>
56
 
56
 
57
-  <el-form-item label="初始透析日期: " prop="name">
57
+  <!-- <el-form-item label="初始透析日期: " prop="name">
58
          <el-date-picker
58
          <el-date-picker
59
           :disabled="true"
59
           :disabled="true"
60
           style="width:100%;"
60
           style="width:100%;"
97
 
97
 
98
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
98
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
99
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
99
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
100
-      </el-form-item>
100
+      </el-form-item> -->
101
 
101
 
102
     </el-form>
102
     </el-form>
103
     <div class="mainTitle">体格信息:</div>
103
     <div class="mainTitle">体格信息:</div>
610
        this.getlist();
610
        this.getlist();
611
        this.getInitData();
611
        this.getInitData();
612
        this.wayOptions = getDataConfig("patient", "reimbursement_ways");
612
        this.wayOptions = getDataConfig("patient", "reimbursement_ways");
613
-       console.log("232322323",this.case_history);
614
        if(this.patientInfo.gender = 1){
613
        if(this.patientInfo.gender = 1){
615
          this.patientInfo.gender = '男'
614
          this.patientInfo.gender = '男'
616
        }else if(this.patientInfo.gender = 2){
615
        }else if(this.patientInfo.gender = 2){
617
           this.patientInfo.gender = '女'
616
           this.patientInfo.gender = '女'
618
         }
617
         }
618
+
619
+      this.first_dialysis_date = this.getTime(this.patientInfo.first_dialysis_date)
619
       this.primary_disease = this.case_history.primary_disease
620
       this.primary_disease = this.case_history.primary_disease
620
       this.confirm_failure_date = this.case_history.confirm_failure_date
621
       this.confirm_failure_date = this.case_history.confirm_failure_date
621
       this.drug_allergy_history = this.case_history.drug_allergy_history
622
       this.drug_allergy_history = this.case_history.drug_allergy_history

+ 1 - 0
src/xt_pages/hospitalStation/doctorDesk.vue 查看文件

3879
       },
3879
       },
3880
 
3880
 
3881
       opentwo(index) {
3881
       opentwo(index) {
3882
+        
3882
         if (index == 1) {
3883
         if (index == 1) {
3883
           if (this.patientInfo.id == undefined) {
3884
           if (this.patientInfo.id == undefined) {
3884
             this.$message.error('请先选择病人')
3885
             this.$message.error('请先选择病人')

+ 1 - 1
src/xt_pages/hospitalStation/recordPrint.vue 查看文件

22
         :patientid="patientid"
22
         :patientid="patientid"
23
       ></printOne>
23
       ></printOne>
24
       <printTwo
24
       <printTwo
25
-        v-if="org_id == 10217 || org_id == 0"
25
+        v-if=" org_id == 0 || org_id == 9671 || org_id == 9675"
26
         ref="printTwo"
26
         ref="printTwo"
27
         v-bind:childResponse="childResponse"
27
         v-bind:childResponse="childResponse"
28
         :patient="patient"
28
         :patient="patient"

+ 58 - 30
src/xt_pages/hospitalStation/recordTemplate/printTwo.vue 查看文件

23
           <span v-if="patient.gender == 1">男</span>
23
           <span v-if="patient.gender == 1">男</span>
24
           <span v-if="patient.gender == 2">女</span>
24
           <span v-if="patient.gender == 2">女</span>
25
         </div>
25
         </div>
26
-        <div>工作单位:</div>
26
+        <div>工作单位:{{patient.work_unit}}</div>
27
        
27
        
28
       </div>
28
       </div>
29
       <div class="infoTitle">
29
       <div class="infoTitle">
30
-        <div>出生日期:</div>
31
-        <div>身份证号:</div>
30
+        <div>出生日期:{{patient.id_card_no.slice(6,10)}}年{{ patient.id_card_no.slice(10,12) }}月{{patient.id_card_no.slice(12,14) }}日</div> 
31
+        <div>身份证号:{{patient.id_card_no}}</div>
32
       </div>
32
       </div>
33
       <div class="infoTitle">
33
       <div class="infoTitle">
34
-        <div>联系人:</div>
34
+        <div>联系人:{{patient.contact_name}}</div>
35
         <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
35
         <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
36
       </div>
36
       </div>
37
       <div class="otherInfo" style="border-bottom: 1px solid">
37
       <div class="otherInfo" style="border-bottom: 1px solid">
38
-        <div>进入透析时间:</div>
38
+        <div>进入透析时间:{{getTime(patient.first_dialysis_date)}}</div>
39
         <div style="flex: 1"></div>
39
         <div style="flex: 1"></div>
40
       </div>
40
       </div>
41
       <div class="infoTitle">
41
       <div class="infoTitle">
42
-        <div style="width: 300px">原发病:</div>
43
-        <div>确诊肾衰日期:</div>
42
+        <div style="width: 300px">原发病:{{history.primary_disease}}</div>
43
+        <div>确诊肾衰日期:{{getTime(patient.first_dialysis_date)}}</div>
44
       </div>
44
       </div>
45
       <div class="otherInfo">
45
       <div class="otherInfo">
46
         <div>
46
         <div>
47
-          药物过敏史:{{ patient.past_history ? patient.past_history : "" }}
47
+          药物过敏史:{{ history.allergic_history ? history.allergic_history : "" }}
48
         </div>
48
         </div>
49
       </div>
49
       </div>
50
       <div class="otherInfo">
50
       <div class="otherInfo">
51
-        <div>初始透析日期:</div>
51
+        <div>初始透析日期:{{getTime(patient.first_dialysis_date)}}</div>
52
         <div style="flex: 1"></div>
52
         <div style="flex: 1"></div>
53
       </div>
53
       </div>
54
       <div class="otherInfo" style="border-bottom: 1px solid">
54
       <div class="otherInfo" style="border-bottom: 1px solid">
55
-        <div>血管通路:</div>
55
+        <div>血管通路:{{getAccess(accessList.access_project)}}</div>
56
         <div style="flex: 1"></div>
56
         <div style="flex: 1"></div>
57
       </div>
57
       </div>
58
 
58
 
103
       <div class="recordTitle">
103
       <div class="recordTitle">
104
         <div>体格检查</div>
104
         <div>体格检查</div>
105
         <div class="recordContent" style="height:250px;">
105
         <div class="recordContent" style="height:250px;">
106
-            <div>
106
+          <div>
107
           <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
107
           <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
108
           <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
108
           <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
109
           <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
109
           <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
110
           <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
110
           <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
111
-            </div>
112
-          
111
+          </div>
112
+
113
         </div>
113
         </div>
114
         <div></div>
114
         <div></div>
115
       </div>
115
       </div>
116
       <div class="recordTitle">
116
       <div class="recordTitle">
117
         <div>专科检查</div>
117
         <div>专科检查</div>
118
-        <div class="recordContent"></div>
118
+        <div class="recordContent">{{history.special_inspection}}</div>
119
       </div>
119
       </div>
120
       <div class="recordTitle" style="border-bottom: 1px solid">
120
       <div class="recordTitle" style="border-bottom: 1px solid">
121
         <div>实验室及器械检查</div>
121
         <div>实验室及器械检查</div>
122
-        <div class="recordContent" style="height:250px;"></div>
122
+        <div class="recordContent" style="height:250px;">{{history.lab_apparatus}}</div>
123
       </div>
123
       </div>
124
       <div style="display: flex; justify-content: end">
124
       <div style="display: flex; justify-content: end">
125
         <div class="endInfo">
125
         <div class="endInfo">
127
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
127
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
128
           </div>
128
           </div>
129
           <div style="display: flex">
129
           <div style="display: flex">
130
-            <div>医师:</div>
130
+            <div>医师:{{getDoctor(history.doctor) ? getDoctor(history.doctor) : ""}}</div>
131
             <div>
131
             <div>
132
-              手签:{{
133
-                getDoctor(history.doctor) ? getDoctor(history.doctor) : ""
134
-              }}
132
+              手签:
135
             </div>
133
             </div>
136
           </div>
134
           </div>
137
-          <div style="text-align: center; letter-spacing: 3px">2000 年 2 月 4 日</div>
135
+          <div style="text-align: center; letter-spacing: 3px">{{getTime(history.record_date)}}</div>
138
         </div>
136
         </div>
139
       </div>
137
       </div>
140
     </div>
138
     </div>
145
 
143
 
146
 import { getDataConfig } from "@/utils/data";
144
 import { getDataConfig } from "@/utils/data";
147
 import { getAllDoctorList, getPatientCaseHistory } from "@/api/project/project";
145
 import { getAllDoctorList, getPatientCaseHistory } from "@/api/project/project";
146
+import {getAccessList} from "@/api/patient"
148
 export default {
147
 export default {
149
   props: {
148
   props: {
150
     patient: Object,
149
     patient: Object,
159
       orgname: "",
158
       orgname: "",
160
       history: {},
159
       history: {},
161
       printDate: "",
160
       printDate: "",
161
+      accessList:{},
162
+      blood_access_part_opera:[],
162
     };
163
     };
163
   },
164
   },
164
   methods: {
165
   methods: {
178
         birth.substr(6, 2);
179
         birth.substr(6, 2);
179
       return jsGetAge(births, "-");
180
       return jsGetAge(births, "-");
180
     },
181
     },
181
-    // show(val) {
182
-    //   this.patientid = val;
183
-    //   this.getAllDoctorList();
184
-    //   this.getPatientCaseHistory();
185
-    // },
182
+    show(val) {
183
+      this.patientid = val;
184
+      this.getAllDoctorList();
185
+      this.getPatientCaseHistory();
186
+    },
186
     getProfession(id) {
187
     getProfession(id) {
187
       var name = "";
188
       var name = "";
188
       for (let i = 0; i < this.educationOptions.length; i++) {
189
       for (let i = 0; i < this.educationOptions.length; i++) {
217
       const params = {
218
       const params = {
218
         patient_id: this.patientid,
219
         patient_id: this.patientid,
219
       };
220
       };
220
-      console.log("病历22222", params);
221
       getPatientCaseHistory(params).then((response) => {
221
       getPatientCaseHistory(params).then((response) => {
222
         if (response.data.state == 1) {
222
         if (response.data.state == 1) {
223
           var patient = response.data.data.patient;
223
           var patient = response.data.data.patient;
224
-          //    console.log("patinet",patient)
225
           this.patient = patient;
224
           this.patient = patient;
226
           var history = response.data.data.history;
225
           var history = response.data.data.history;
227
-          console.log("中国history222222", history);
228
           this.history = history;
226
           this.history = history;
229
           var hispatient = response.data.data.hispatient;
227
           var hispatient = response.data.data.hispatient;
230
-          //    console.log("hispatient",hispatient)
231
           this.hispatient = hispatient;
228
           this.hispatient = hispatient;
229
+          var accessList = response.data.data.accessList
230
+          console.log("accesslist2332323232",accessList)
231
+          this.accessList = accessList
232
         }
232
         }
233
       });
233
       });
234
     },
234
     },
241
       }
241
       }
242
       return name;
242
       return name;
243
     },
243
     },
244
+    getTime(val) {
245
+      if(val < 0){
246
+        return ""
247
+      }
248
+      if(val == ""){
249
+      return ""
250
+      }else {
251
+      return uParseTime(val, '{y}-{m}-{d}')
252
+      }
253
+    },
254
+    getAccessList(){
255
+      getAccessList().then(response=>{
256
+        if(response.data.state == 1){
257
+          var blood_access_part_opera = response.data.data.blood_access_part_opera
258
+          this.blood_access_part_opera = blood_access_part_opera
259
+        }
260
+     })
261
+    },
262
+    getAccess(id){
263
+      var name = ""
264
+      for(let i=0;i<this.blood_access_part_opera.length;i++){
265
+         if(id == this.blood_access_part_opera[i].value){
266
+             name = this.blood_access_part_opera[i].name
267
+         }
268
+      }
269
+      return name
270
+    }
244
   },
271
   },
245
   created() {
272
   created() {
246
     this.educationOptions = getDataConfig("patient", "education_types");
273
     this.educationOptions = getDataConfig("patient", "education_types");
247
     this.getAllDoctorList();
274
     this.getAllDoctorList();
248
     this.getPatientCaseHistory();
275
     this.getPatientCaseHistory();
249
-
276
+    this.getAccessList()
250
     var xtuser = this.$store.getters.xt_user;
277
     var xtuser = this.$store.getters.xt_user;
251
     this.orgname = xtuser.org.org_name;
278
     this.orgname = xtuser.org.org_name;
252
     var data = new Date();
279
     var data = new Date();
254
       data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
281
       data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
255
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
282
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
256
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
283
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
284
+
257
   },
285
   },
258
   watch: {
286
   watch: {
259
     patientid: function (val) {
287
     patientid: function (val) {

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

285
                                         </el-table-column>
285
                                         </el-table-column>
286
                                         <el-table-column label="库存" width="60">
286
                                         <el-table-column label="库存" width="60">
287
                                             <template slot-scope="scope">
287
                                             <template slot-scope="scope">
288
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id ==9956 || org_id == 10188 || org_id == 10191 || org_id == 10278 || org_id == 10217">
288
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id ==9956 || org_id == 10188 || org_id == 10191 || org_id == 10278 || org_id == 10217 || org_id ==10210 || org_id ==10318 ||org_id ==10340">
289
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
289
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
290
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
290
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
291
                                               </span>
291
                                               </span>
382
                                         </el-table-column>
382
                                         </el-table-column>
383
                                         <el-table-column label="库存" width="40">
383
                                         <el-table-column label="库存" width="40">
384
                                             <template slot-scope="scope">
384
                                             <template slot-scope="scope">
385
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10188 || org_id == 10191 || org_id == 10278 || org_id == 10217">
385
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10188 || org_id == 10191 || org_id == 10278 || org_id == 10217 || org_id ==10210 || org_id ==10318 || org_id ==10340">
386
                                                    {{scope.row.stock_count}}
386
                                                    {{scope.row.stock_count}}
387
                                               </span>
387
                                               </span>
388
                                               <span v-else> {{ scope.row.total }}</span>
388
                                               <span v-else> {{ scope.row.total }}</span>
2737
       selectDrugs(selection, row) {
2737
       selectDrugs(selection, row) {
2738
         console.log('selection', selection)
2738
         console.log('selection', selection)
2739
         console.log('row', row)
2739
         console.log('row', row)
2740
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217){
2740
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340){
2741
             if (row.count <= 0) {
2741
             if (row.count <= 0) {
2742
               if (selection) {
2742
               if (selection) {
2743
                 selection.forEach(row => {
2743
                 selection.forEach(row => {
3015
       },
3015
       },
3016
       selectChange(selection, row) {
3016
       selectChange(selection, row) {
3017
         console.log('row', row)
3017
         console.log('row', row)
3018
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217){
3018
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340){
3019
            if (row.stock_count <= 0) {
3019
            if (row.stock_count <= 0) {
3020
             if (row.type == 3) {
3020
             if (row.type == 3) {
3021
               if (selection) {
3021
               if (selection) {

+ 8 - 8
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue 查看文件

54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
55
       </el-form-item>
55
       </el-form-item>
56
      
56
      
57
-      <el-form-item label="初始透析日期: " prop="name">
57
+      <!-- <el-form-item label="初始透析日期: " prop="name">
58
          <el-date-picker
58
          <el-date-picker
59
           :disabled="true"
59
           :disabled="true"
60
           style="width:100%;"
60
           style="width:100%;"
94
 
94
 
95
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
95
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
96
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
96
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
97
-      </el-form-item>
97
+      </el-form-item> -->
98
 
98
 
99
     </el-form>
99
     </el-form>
100
     <div class="mainTitle">体格信息:</div>
100
     <div class="mainTitle">体格信息:</div>
628
       
628
       
629
       this.first_dialysis_date = this.getTime(this.patientInfo.first_dialysis_date)
629
       this.first_dialysis_date = this.getTime(this.patientInfo.first_dialysis_date)
630
       
630
       
631
-      this.primary_disease = this.case_history.primary_disease
632
-      this.confirm_failure_date = this.case_history.confirm_failure_date
633
-      this.drug_allergy_history = this.case_history.drug_allergy_history
634
-      this.physical_examination = this.case_history.physical_examination
635
-      this.special_inspection = this.case_history.special_inspection
636
-      this.lab_apparatus = this.case_history.lab_apparatus
631
+      // this.primary_disease = this.case_history.primary_disease
632
+      // this.confirm_failure_date = this.case_history.confirm_failure_date
633
+      // this.drug_allergy_history = this.case_history.drug_allergy_history
634
+      // this.physical_examination = this.case_history.physical_examination
635
+      // this.special_inspection = this.case_history.special_inspection
636
+      // this.lab_apparatus = this.case_history.lab_apparatus
637
     },
637
     },
638
     watch:{
638
     watch:{
639
       detalid:function(val){
639
       detalid:function(val){

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordPrint.vue 查看文件

22
         :patientid="patientid"
22
         :patientid="patientid"
23
       ></printOne>
23
       ></printOne>
24
       <printTwo
24
       <printTwo
25
-        v-if="org_id == 10217 || org_id == 0 || org_id == 9671 || org_id == 9675 || org_id == 10217"
25
+        v-if=" org_id == 0 || org_id == 9671 || org_id == 9675"
26
         ref="printTwo"
26
         ref="printTwo"
27
         v-bind:childResponse="childResponse"
27
         v-bind:childResponse="childResponse"
28
         :patient="patient"
28
         :patient="patient"

+ 50 - 22
src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue 查看文件

23
           <span v-if="patient.gender == 1">男</span>
23
           <span v-if="patient.gender == 1">男</span>
24
           <span v-if="patient.gender == 2">女</span>
24
           <span v-if="patient.gender == 2">女</span>
25
         </div>
25
         </div>
26
-        <div>工作单位:</div>
26
+        <div>工作单位:{{patient.work_unit}}</div>
27
        
27
        
28
       </div>
28
       </div>
29
       <div class="infoTitle">
29
       <div class="infoTitle">
30
-        <div>出生日期:</div>
31
-        <div>身份证号:</div>
30
+        <div>出生日期:{{patient.id_card_no.slice(6,10)}}年{{ patient.id_card_no.slice(10,12) }}月{{patient.id_card_no.slice(12,14) }}日</div> 
31
+        <div>身份证号:{{patient.id_card_no}}</div>
32
       </div>
32
       </div>
33
       <div class="infoTitle">
33
       <div class="infoTitle">
34
-        <div>联系人:</div>
34
+        <div>联系人:{{patient.contact_name}}</div>
35
         <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
35
         <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
36
       </div>
36
       </div>
37
       <div class="otherInfo" style="border-bottom: 1px solid">
37
       <div class="otherInfo" style="border-bottom: 1px solid">
38
-        <div>进入透析时间:</div>
38
+        <div>进入透析时间:{{getTime(patient.first_dialysis_date)}}</div>
39
         <div style="flex: 1"></div>
39
         <div style="flex: 1"></div>
40
       </div>
40
       </div>
41
       <div class="infoTitle">
41
       <div class="infoTitle">
42
-        <div style="width: 300px">原发病:</div>
43
-        <div>确诊肾衰日期:</div>
42
+        <div style="width: 300px">原发病:{{history.primary_disease}}</div>
43
+        <div>确诊肾衰日期:{{getTime(patient.first_dialysis_date)}}</div>
44
       </div>
44
       </div>
45
       <div class="otherInfo">
45
       <div class="otherInfo">
46
         <div>
46
         <div>
47
-          药物过敏史:{{ patient.past_history ? patient.past_history : "" }}
47
+          药物过敏史:{{ history.allergic_history ? history.allergic_history : "" }}
48
         </div>
48
         </div>
49
       </div>
49
       </div>
50
       <div class="otherInfo">
50
       <div class="otherInfo">
51
-        <div>初始透析日期:</div>
51
+        <div>初始透析日期:{{getTime(patient.first_dialysis_date)}}</div>
52
         <div style="flex: 1"></div>
52
         <div style="flex: 1"></div>
53
       </div>
53
       </div>
54
       <div class="otherInfo" style="border-bottom: 1px solid">
54
       <div class="otherInfo" style="border-bottom: 1px solid">
55
-        <div>血管通路:</div>
55
+        <div>血管通路:{{getAccess(accessList.access_project)}}</div>
56
         <div style="flex: 1"></div>
56
         <div style="flex: 1"></div>
57
       </div>
57
       </div>
58
 
58
 
115
       </div>
115
       </div>
116
       <div class="recordTitle">
116
       <div class="recordTitle">
117
         <div>专科检查</div>
117
         <div>专科检查</div>
118
-        <div class="recordContent"></div>
118
+        <div class="recordContent">{{history.special_inspection}}</div>
119
       </div>
119
       </div>
120
       <div class="recordTitle" style="border-bottom: 1px solid">
120
       <div class="recordTitle" style="border-bottom: 1px solid">
121
         <div>实验室及器械检查</div>
121
         <div>实验室及器械检查</div>
122
-        <div class="recordContent" style="height:250px;"></div>
122
+        <div class="recordContent" style="height:250px;">{{history.lab_apparatus}}</div>
123
       </div>
123
       </div>
124
       <div style="display: flex; justify-content: end">
124
       <div style="display: flex; justify-content: end">
125
         <div class="endInfo">
125
         <div class="endInfo">
127
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
127
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
128
           </div>
128
           </div>
129
           <div style="display: flex">
129
           <div style="display: flex">
130
-            <div>医师:</div>
130
+            <div>医师:{{getDoctor(history.doctor) ? getDoctor(history.doctor) : ""}}</div>
131
             <div>
131
             <div>
132
-              手签:{{
133
-                getDoctor(history.doctor) ? getDoctor(history.doctor) : ""
134
-              }}
132
+              手签:
135
             </div>
133
             </div>
136
           </div>
134
           </div>
137
-          <div style="text-align: center; letter-spacing: 3px">2000 年 2 月 4 日</div>
135
+          <div style="text-align: center; letter-spacing: 3px">{{getTime(history.record_date)}}</div>
138
         </div>
136
         </div>
139
       </div>
137
       </div>
140
     </div>
138
     </div>
145
 
143
 
146
 import { getDataConfig } from "@/utils/data";
144
 import { getDataConfig } from "@/utils/data";
147
 import { getAllDoctorList, getPatientCaseHistory } from "@/api/project/project";
145
 import { getAllDoctorList, getPatientCaseHistory } from "@/api/project/project";
146
+import {getAccessList} from "@/api/patient"
148
 export default {
147
 export default {
149
   props: {
148
   props: {
150
     patient: Object,
149
     patient: Object,
159
       orgname: "",
158
       orgname: "",
160
       history: {},
159
       history: {},
161
       printDate: "",
160
       printDate: "",
161
+      accessList:{},
162
+      blood_access_part_opera:[],
162
     };
163
     };
163
   },
164
   },
164
   methods: {
165
   methods: {
217
       const params = {
218
       const params = {
218
         patient_id: this.patientid,
219
         patient_id: this.patientid,
219
       };
220
       };
220
-      console.log("病历22222", params);
221
       getPatientCaseHistory(params).then((response) => {
221
       getPatientCaseHistory(params).then((response) => {
222
         if (response.data.state == 1) {
222
         if (response.data.state == 1) {
223
           var patient = response.data.data.patient;
223
           var patient = response.data.data.patient;
224
-          //    console.log("patinet",patient)
225
           this.patient = patient;
224
           this.patient = patient;
226
           var history = response.data.data.history;
225
           var history = response.data.data.history;
227
-          console.log("中国history222222", history);
228
           this.history = history;
226
           this.history = history;
229
           var hispatient = response.data.data.hispatient;
227
           var hispatient = response.data.data.hispatient;
230
-          //    console.log("hispatient",hispatient)
231
           this.hispatient = hispatient;
228
           this.hispatient = hispatient;
229
+          var accessList = response.data.data.accessList
230
+          console.log("accesslist2332323232",accessList)
231
+          this.accessList = accessList
232
         }
232
         }
233
       });
233
       });
234
     },
234
     },
241
       }
241
       }
242
       return name;
242
       return name;
243
     },
243
     },
244
+    getTime(val) {
245
+      if(val < 0){
246
+        return ""
247
+      }
248
+      if(val == ""){
249
+      return ""
250
+      }else {
251
+      return uParseTime(val, '{y}-{m}-{d}')
252
+      }
253
+    },
254
+    getAccessList(){
255
+      getAccessList().then(response=>{
256
+        if(response.data.state == 1){
257
+          var blood_access_part_opera = response.data.data.blood_access_part_opera
258
+          this.blood_access_part_opera = blood_access_part_opera
259
+        }
260
+     })
261
+    },
262
+    getAccess(id){
263
+      var name = ""
264
+      for(let i=0;i<this.blood_access_part_opera.length;i++){
265
+         if(id == this.blood_access_part_opera[i].value){
266
+             name = this.blood_access_part_opera[i].name
267
+         }
268
+      }
269
+      return name
270
+    }
244
   },
271
   },
245
   created() {
272
   created() {
246
     this.educationOptions = getDataConfig("patient", "education_types");
273
     this.educationOptions = getDataConfig("patient", "education_types");
247
     this.getAllDoctorList();
274
     this.getAllDoctorList();
248
     this.getPatientCaseHistory();
275
     this.getPatientCaseHistory();
249
-
276
+    this.getAccessList()
250
     var xtuser = this.$store.getters.xt_user;
277
     var xtuser = this.$store.getters.xt_user;
251
     this.orgname = xtuser.org.org_name;
278
     this.orgname = xtuser.org.org_name;
252
     var data = new Date();
279
     var data = new Date();
254
       data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
281
       data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
255
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
282
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
256
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
283
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
284
+
257
   },
285
   },
258
   watch: {
286
   watch: {
259
     patientid: function (val) {
287
     patientid: function (val) {

+ 2 - 6
src/xt_pages/user/patients.vue 查看文件

507
               >
507
               >
508
             </el-radio-group>
508
             </el-radio-group>
509
           </el-form-item>
509
           </el-form-item>
510
-          <!-- <el-form-item label="治疗状态(转归):" prop="lapseto_type" required>
511
-              <el-radio v-model="lapsetoForm.lapseto_type" :label="lapsetoForm.lapseto_type">转出</el-radio>
512
-              <el-radio v-model="lapsetoForm.lapseto_type" :label="lapsetoForm.lapseto_type">死亡</el-radio>
513
-
514
-          </el-form-item> -->
510
+         
515
           <el-form-item label="转归(死亡)时间 :" prop="lapseto_time" required>
511
           <el-form-item label="转归(死亡)时间 :" prop="lapseto_time" required>
516
             <el-date-picker
512
             <el-date-picker
517
               v-model="lapsetoForm.lapseto_time"
513
               v-model="lapsetoForm.lapseto_time"
864
           var isHasDryWeight = header.includes('干体重(kg)')
860
           var isHasDryWeight = header.includes('干体重(kg)')
865
           var isHasHeight = header.includes('身高(cm)')
861
           var isHasHeight = header.includes('身高(cm)')
866
           var isHasHomeAddress = header.includes('家庭住址')
862
           var isHasHomeAddress = header.includes('家庭住址')
867
-
863
+         
868
           if (!(isHasName && isHasGender && isHasPhone && isHasIdCard && isHasDate && isHasSource && isHasLapseto && isHasInfectious && isHasDiagnose && isHasDialysisNo && isHasDryWeight && isHasHeight && isHasHomeAddress)) {
864
           if (!(isHasName && isHasGender && isHasPhone && isHasIdCard && isHasDate && isHasSource && isHasLapseto && isHasInfectious && isHasDiagnose && isHasDialysisNo && isHasDryWeight && isHasHeight && isHasHomeAddress)) {
869
             this.dialogVisible = true
865
             this.dialogVisible = true
870
             return
866
             return