陈少旭 пре 1 недеља
родитељ
комит
ef101428f8

+ 17 - 0
src/store/modules/globalConfig.js Прегледај датотеку

47890
         "status":"0",
47890
         "status":"0",
47891
         "create_name":null
47891
         "create_name":null
47892
       },
47892
       },
47893
+      {
47894
+        "create_time":"2021-09-01T11:04:17",
47895
+        "area_code":"440118_new",
47896
+        "label":"增城区",
47897
+        "sort":null,
47898
+        "type":"admdvs",
47899
+        "version":null,
47900
+        "valiFlag":null,
47901
+        "create_id":null,
47902
+        "createUser":null,
47903
+        "id":10000,
47904
+        "parentValue":null,
47905
+        "value":"440118",
47906
+        "createDate":null,
47907
+        "status":"0",
47908
+        "create_name":null
47909
+      },
47893
       {
47910
       {
47894
         "create_time":"2021-09-01T11:04:22",
47911
         "create_time":"2021-09-01T11:04:22",
47895
         "area_code":"340200_new",
47912
         "area_code":"340200_new",

+ 13 - 3
src/xt_pages/user/components/PatientDetail.vue Прегледај датотеку

724
                   <el-input v-model="form.healthCareNo" disabled></el-input>
724
                   <el-input v-model="form.healthCareNo" disabled></el-input>
725
                 </el-form-item>
725
                 </el-form-item>
726
               </el-col>
726
               </el-col>
727
+              <el-col :span="8">
728
+                <el-form-item label="参保区划代码: " prop="insuplc_admdvs">
729
+                  <el-input v-model="form.insuplc_admdvs" disabled></el-input>
730
+                </el-form-item>
731
+              </el-col>
727
               <el-col :span="8">
732
               <el-col :span="8">
728
                 <el-form-item label="教育程度 : " prop="educationOptions">
733
                 <el-form-item label="教育程度 : " prop="educationOptions">
729
                   <el-select v-model="form.education" disabled>
734
                   <el-select v-model="form.education" disabled>
1035
             <el-form-item label="病历图册:" prop="gallery">
1040
             <el-form-item label="病历图册:" prop="gallery">
1036
              <div style="display: flex;">
1041
              <div style="display: flex;">
1037
               <div v-for="item in fileList" style="margin-left: 10px;">
1042
               <div v-for="item in fileList" style="margin-left: 10px;">
1038
-                <el-image 
1043
+                <el-image
1039
                   style="width: 100px; height: 100px"
1044
                   style="width: 100px; height: 100px"
1040
-                  :src="item" 
1045
+                  :src="item"
1041
                   :preview-src-list="fileList">
1046
                   :preview-src-list="fileList">
1042
                </el-image>
1047
                </el-image>
1043
               </div>
1048
               </div>
1629
   age: "",
1634
   age: "",
1630
   reimbursementWayID: "",
1635
   reimbursementWayID: "",
1631
   healthCareNo: "",
1636
   healthCareNo: "",
1637
+  insuplc_admdvs:"",
1632
   healthCareDueDate: "",
1638
   healthCareDueDate: "",
1633
   height: "",
1639
   height: "",
1634
   blood: "",
1640
   blood: "",
1936
         }
1942
         }
1937
       });
1943
       });
1938
     },
1944
     },
1939
-   
1945
+
1940
     fetchPatient(id) {
1946
     fetchPatient(id) {
1941
       fetchPatient(id)
1947
       fetchPatient(id)
1942
         .then((response) => {
1948
         .then((response) => {
2008
               this.form.reimbursementWayID = patietInfo.reimbursement_way_id;
2014
               this.form.reimbursementWayID = patietInfo.reimbursement_way_id;
2009
             }
2015
             }
2010
             this.form.healthCareNo = patietInfo.health_care_no;
2016
             this.form.healthCareNo = patietInfo.health_care_no;
2017
+            this.form.insuplc_admdvs = patietInfo.insuplc_admdvs;
2018
+
2011
             this.form.phone = patietInfo.phone;
2019
             this.form.phone = patietInfo.phone;
2012
             this.form.homeTelephone = patietInfo.home_telephone;
2020
             this.form.homeTelephone = patietInfo.home_telephone;
2013
             this.form.relative_phone = patietInfo.relative_phone;
2021
             this.form.relative_phone = patietInfo.relative_phone;
2560
       var dialysisNo = this.patientPrint.dialysis_no;
2568
       var dialysisNo = this.patientPrint.dialysis_no;
2561
       var phone = this.patientPrint.phone;
2569
       var phone = this.patientPrint.phone;
2562
       var healthCareNo = this.patientPrint.health_care_no;
2570
       var healthCareNo = this.patientPrint.health_care_no;
2571
+      // var insuplc_admdvs = this.patientPrint.insuplc_admdvs;
2572
+
2563
 
2573
 
2564
       // Base64加密
2574
       // Base64加密
2565
       var epatientID = this.Base64.encode(patientID);
2575
       var epatientID = this.Base64.encode(patientID);

+ 44 - 34
src/xt_pages/user/components/PatientForm.vue Прегледај датотеку

269
                 </el-form-item>
269
                 </el-form-item>
270
               </el-col>
270
               </el-col>
271
 
271
 
272
-             
272
+
273
             <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
273
             <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
274
               <el-form-item
274
               <el-form-item
275
                 label="本院首次透析 : "
275
                 label="本院首次透析 : "
363
                 </el-form-item>
363
                 </el-form-item>
364
             </el-col>
364
             </el-col>
365
 
365
 
366
-            
366
+
367
             <el-col :span="24">
367
             <el-col :span="24">
368
               <el-form-item label="病历号 : " prop="record_number">
368
               <el-form-item label="病历号 : " prop="record_number">
369
                 <el-input
369
                 <el-input
373
               </el-form-item>
373
               </el-form-item>
374
              </el-col>
374
              </el-col>
375
 
375
 
376
-            
376
+
377
              <el-col :span="24">
377
              <el-col :span="24">
378
               <el-form-item label="主管护士 : " prop="record_number">
378
               <el-form-item label="主管护士 : " prop="record_number">
379
                 <el-select v-model="form.nurse" style="width:200px">
379
                 <el-select v-model="form.nurse" style="width:200px">
418
                 ></el-date-picker>
418
                 ></el-date-picker>
419
               </el-form-item>
419
               </el-form-item>
420
             </el-col>
420
             </el-col>
421
-         
421
+
422
 
422
 
423
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
423
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
424
                 <el-form-item
424
                 <el-form-item
456
                 </el-form-item>
456
                 </el-form-item>
457
               </el-col>
457
               </el-col>
458
 
458
 
459
-              
460
-      
459
+
460
+
461
               <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
461
               <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
462
                 <el-form-item
462
                 <el-form-item
463
                   label="患者去向 : "
463
                   label="患者去向 : "
473
                   </el-radio-group>
473
                   </el-radio-group>
474
                 </el-form-item>
474
                 </el-form-item>
475
               </el-col> -->
475
               </el-col> -->
476
-           
477
 
476
 
478
-            
477
+
478
+
479
               <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
479
               <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
480
                 <el-form-item
480
                 <el-form-item
481
                   label="流转地: "
481
                   label="流转地: "
490
                  </el-select>
490
                  </el-select>
491
                 </el-form-item>
491
                 </el-form-item>
492
               </el-col> -->
492
               </el-col> -->
493
-           
494
- 
495
-             
493
+
494
+
495
+
496
                 <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
496
                 <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
497
                 <el-form-item
497
                 <el-form-item
498
                   label="流转开始时间 : "
498
                   label="流转开始时间 : "
532
                  ></el-date-picker>
532
                  ></el-date-picker>
533
                 </el-form-item>
533
                 </el-form-item>
534
               </el-col>  -->
534
               </el-col>  -->
535
-           
536
-             
535
+
536
+
537
 
537
 
538
               <!-- <el-col :span="8" style="margin-bottom: 20px;" :style="isEdit ? 'width:360px' : ''">
538
               <!-- <el-col :span="8" style="margin-bottom: 20px;" :style="isEdit ? 'width:360px' : ''">
539
                 <el-form-item
539
                 <el-form-item
700
                 </el-form-item>
700
                 </el-form-item>
701
               </el-col>
701
               </el-col>
702
 
702
 
703
-            
703
+
704
 
704
 
705
               <div v-show="!generic_info_fold">
705
               <div v-show="!generic_info_fold">
706
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
706
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
743
                   <!-- <el-form-item label=" " style="float:left;" label-width="30px">
743
                   <!-- <el-form-item label=" " style="float:left;" label-width="30px">
744
                   </el-form-item>-->
744
                   </el-form-item>-->
745
                 </el-col>
745
                 </el-col>
746
-               
746
+
747
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
747
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
748
                   <el-form-item label="医保类型 : " prop="reimbursementWayID">
748
                   <el-form-item label="医保类型 : " prop="reimbursementWayID">
749
                     <el-select v-model="form.reimbursementWayID">
749
                     <el-select v-model="form.reimbursementWayID">
761
                     <el-input v-model="form.healthCareNo"></el-input>
761
                     <el-input v-model="form.healthCareNo"></el-input>
762
                   </el-form-item>
762
                   </el-form-item>
763
                 </el-col>
763
                 </el-col>
764
+                <el-col :span="8">
765
+                  <el-form-item label="参保区划代码: " prop="insuplc_admdvs">
766
+                    <el-input v-model="form.insuplc_admdvs"></el-input>
767
+                  </el-form-item>
768
+                </el-col>
764
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
769
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
765
                   <el-form-item label="教育程度 : " prop="educationOptions">
770
                   <el-form-item label="教育程度 : " prop="educationOptions">
766
                     <el-select v-model="form.education">
771
                     <el-select v-model="form.education">
834
                     </el-select>
839
                     </el-select>
835
                   </el-form-item>
840
                   </el-form-item>
836
                 </el-col>
841
                 </el-col>
837
-                
842
+
838
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
843
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
839
                   <el-form-item label="单位地址 : " prop="unit_address">
844
                   <el-form-item label="单位地址 : " prop="unit_address">
840
                     <el-input v-model="form.unit_address"></el-input>
845
                     <el-input v-model="form.unit_address"></el-input>
1036
           </el-col>
1041
           </el-col>
1037
         </el-row>
1042
         </el-row>
1038
 
1043
 
1039
-          
1044
+
1040
 
1045
 
1041
           <el-row>
1046
           <el-row>
1042
             <el-col :span="24" style="height:100%;">
1047
             <el-col :span="24" style="height:100%;">
1052
               </el-form-item>
1057
               </el-form-item>
1053
          </el-col>
1058
          </el-col>
1054
         </el-row>
1059
         </el-row>
1055
-      
1060
+
1056
         <el-row>
1061
         <el-row>
1057
           <el-col :span="24">
1062
           <el-col :span="24">
1058
             <el-form-item label="登记人员 : ">
1063
             <el-form-item label="登记人员 : ">
1091
                     :before-upload="beforeGalleryUpload">
1096
                     :before-upload="beforeGalleryUpload">
1092
                     <i class="el-icon-plus"></i>
1097
                     <i class="el-icon-plus"></i>
1093
                 </el-upload>
1098
                 </el-upload>
1094
-                
1099
+
1095
             </el-form-item>
1100
             </el-form-item>
1096
         </el-col>
1101
         </el-col>
1097
       </el-row>
1102
       </el-row>
1098
-      
1103
+
1099
        <el-row>
1104
        <el-row>
1100
           <el-col :span="24" align="right" class="newCol">
1105
           <el-col :span="24" align="right" class="newCol">
1101
             <el-form-item>
1106
             <el-form-item>
1133
             </el-form-item>
1138
             </el-form-item>
1134
           </el-col>
1139
           </el-col>
1135
         </el-row>
1140
         </el-row>
1136
-        
1141
+
1137
       </el-form>
1142
       </el-form>
1138
     </div>
1143
     </div>
1139
   </div>
1144
   </div>
1176
   admissionNumber: "",
1181
   admissionNumber: "",
1177
   reimbursementWayID: "",
1182
   reimbursementWayID: "",
1178
   healthCareNo: "",
1183
   healthCareNo: "",
1184
+  insuplc_admdvs:"",
1179
   phone: "",
1185
   phone: "",
1180
   homeTelephone: "",
1186
   homeTelephone: "",
1181
   relative_phone: "",
1187
   relative_phone: "",
1375
   dbp: "",
1381
   dbp: "",
1376
   showOne:true,
1382
   showOne:true,
1377
   treatment_plan:"",
1383
   treatment_plan:"",
1378
-  
1384
+
1379
 };
1385
 };
1380
 
1386
 
1381
 export default {
1387
 export default {
1585
     this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1591
     this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1586
     console.log("liuAddresslist",this.liuAddresslist)
1592
     console.log("liuAddresslist",this.liuAddresslist)
1587
    this.fetchAllAdminUsers();
1593
    this.fetchAllAdminUsers();
1588
- 
1594
+
1589
 
1595
 
1590
     if(this.isEdit == true){
1596
     if(this.isEdit == true){
1591
        this.showLapseto = false
1597
        this.showLapseto = false
1605
     this.professionOptions.push(obj)
1611
     this.professionOptions.push(obj)
1606
     this.professionOptions.push(objOne)
1612
     this.professionOptions.push(objOne)
1607
 
1613
 
1608
-  
1614
+
1609
     // this.inductionOptions = this.$store.getters.induction_options;
1615
     // this.inductionOptions = this.$store.getters.induction_options;
1610
     this.contagionList = this.$store.getters.contagions;
1616
     this.contagionList = this.$store.getters.contagions;
1611
     this.checkDisease = this.$store.getters.disease;
1617
     this.checkDisease = this.$store.getters.disease;
1762
       }
1768
       }
1763
       this.form.org_logo = ""
1769
       this.form.org_logo = ""
1764
       this.form.org_logo = log_str
1770
       this.form.org_logo = log_str
1765
-    
1771
+
1766
     },
1772
     },
1767
     fetchAllAdminUsers() {
1773
     fetchAllAdminUsers() {
1768
       fetchAllAdminUsers().then((response) => {
1774
       fetchAllAdminUsers().then((response) => {
1769
         if (response.data.state === 1) {
1775
         if (response.data.state === 1) {
1770
           this.form.doctor = this.$store.getters.xt_user.user.id
1776
           this.form.doctor = this.$store.getters.xt_user.user.id
1771
           this.adminUserOptions = response.data.data.users;
1777
           this.adminUserOptions = response.data.data.users;
1772
-          
1778
+
1773
 
1779
 
1774
         }
1780
         }
1775
       });
1781
       });
1850
             if(this.form.patient_source == "NaN"){
1856
             if(this.form.patient_source == "NaN"){
1851
               this.form.patient_source = 1
1857
               this.form.patient_source = 1
1852
             }
1858
             }
1853
-            
1854
-          
1855
-            
1859
+
1860
+
1861
+
1856
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1862
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1857
                this.form.avatar = this.form.avatar
1863
                this.form.avatar = this.form.avatar
1858
             }else{
1864
             }else{
1864
                this.form.patient_type = parseInt(this.form.patient_type)
1870
                this.form.patient_type = parseInt(this.form.patient_type)
1865
             }
1871
             }
1866
             console.log("form===============",this.form)
1872
             console.log("form===============",this.form)
1867
-            
1873
+
1868
             editPatient(this.patientID, this.form).then(response => {
1874
             editPatient(this.patientID, this.form).then(response => {
1869
                 if (response.data.state == 0) {
1875
                 if (response.data.state == 0) {
1870
                   this.$message.error(response.data.msg);
1876
                   this.$message.error(response.data.msg);
2090
               this.form.gender = patietInfo.gender;
2096
               this.form.gender = patietInfo.gender;
2091
             }
2097
             }
2092
             this.form.birth = uParseTime(patietInfo.birthday, "{y}-{m}-{d}");
2098
             this.form.birth = uParseTime(patietInfo.birthday, "{y}-{m}-{d}");
2093
-           
2099
+
2094
             this.form.nation = patietInfo.nation;
2100
             this.form.nation = patietInfo.nation;
2095
             this.form.native_place = patietInfo.native_place;
2101
             this.form.native_place = patietInfo.native_place;
2096
             this.form.height = patietInfo.height + "";
2102
             this.form.height = patietInfo.height + "";
2104
               this.form.reimbursementWayID = patietInfo.reimbursement_way_id;
2110
               this.form.reimbursementWayID = patietInfo.reimbursement_way_id;
2105
             }
2111
             }
2106
             this.form.healthCareNo = patietInfo.health_care_no;
2112
             this.form.healthCareNo = patietInfo.health_care_no;
2113
+
2114
+            this.form.insuplc_admdvs = patietInfo.insuplc_admdvs;
2115
+
2116
+
2107
             this.form.phone = patietInfo.phone;
2117
             this.form.phone = patietInfo.phone;
2108
             this.form.homeTelephone = patietInfo.home_telephone;
2118
             this.form.homeTelephone = patietInfo.home_telephone;
2109
             this.form.relative_phone = patietInfo.relative_phone;
2119
             this.form.relative_phone = patietInfo.relative_phone;
2173
             this.form.dbp = patietInfo.dbp;
2183
             this.form.dbp = patietInfo.dbp;
2174
 
2184
 
2175
             this.form.response_result = patietInfo.response_result;
2185
             this.form.response_result = patietInfo.response_result;
2176
-           
2186
+
2177
             this.form.is_infectious = patietInfo.is_infectious;
2187
             this.form.is_infectious = patietInfo.is_infectious;
2178
             console.log("哈哈哈哈",patietInfo.is_infectious)
2188
             console.log("哈哈哈哈",patietInfo.is_infectious)
2179
             // if(this.form.is_infectious == 1){
2189
             // if(this.form.is_infectious == 1){
2264
               this.form.doctor = ""
2274
               this.form.doctor = ""
2265
             }
2275
             }
2266
 
2276
 
2267
-         
2277
+
2268
             this.form.patient_source = patietInfo.patient_source
2278
             this.form.patient_source = patietInfo.patient_source
2269
-          
2279
+
2270
             if (patietInfo.patient_start_time != 0) {
2280
             if (patietInfo.patient_start_time != 0) {
2271
               this.form.patient_start_time = uParseTime(
2281
               this.form.patient_start_time = uParseTime(
2272
                 patietInfo.patient_start_time,
2282
                 patietInfo.patient_start_time,