陈少旭 4 days ago
parent
commit
ef101428f8

+ 17 - 0
src/store/modules/globalConfig.js View File

@@ -47890,6 +47890,23 @@ const global_config = {
47890 47890
         "status":"0",
47891 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 47911
         "create_time":"2021-09-01T11:04:22",
47895 47912
         "area_code":"340200_new",

+ 13 - 3
src/xt_pages/user/components/PatientDetail.vue View File

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

+ 44 - 34
src/xt_pages/user/components/PatientForm.vue View File

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