瀏覽代碼

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

陈少旭 1 年之前
父節點
當前提交
b9a03a5282

+ 8 - 0
src/store/modules/globalConfig.js 查看文件

@@ -179,6 +179,14 @@ const global_config = {
179 179
       {
180 180
         id: 10,
181 181
         name: '无业'
182
+      },
183
+      {
184
+        id: 11,
185
+        name: '灵活就业人员'
186
+      },
187
+      {
188
+        id: 12,
189
+        name: '退休人员'
182 190
       }
183 191
     ],
184 192
     induction_options: [ // 诱导期

+ 1 - 1
src/xt_pages/data/components/editInspection.vue 查看文件

@@ -337,7 +337,7 @@
337 337
                 this.$message.success('保存成功')
338 338
                 this.visible = false
339 339
                 this.projectList = []
340
-                // this.$parent.getlist()
340
+                this.$parent.getlist()
341 341
               }
342 342
             })
343 343
           }

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisGood.vue 查看文件

@@ -685,6 +685,7 @@
685 685
                    }
686 686
 
687 687
                  }
688
+                 console.log("list--------------------",list)
688 689
                  this.list = list
689 690
                }
690 691
              }

+ 11 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue 查看文件

@@ -239,6 +239,12 @@
239 239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
240 240
                       </div>
241 241
                     </div>
242
+                    <div class="inline_block" style="flex:4;" v-if="org_id == 10081">
243
+                      穿刺点:
244
+                      <div class="under_line" style="min-width: 120px;text-align: center">
245
+                        {{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
246
+                      </div>
247
+                    </div>
242 248
                   </div>
243 249
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
244 250
                     <div class="inline_block" style="flex:1;">
@@ -911,6 +917,8 @@
911 917
                         {{ afterdialysis.catheter ? afterdialysis.catheter : "/" }}
912 918
                       </div>
913 919
                     </div>
920
+
921
+                    
914 922
                   </div>
915 923
 
916 924
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
@@ -1177,7 +1185,8 @@ export default {
1177 1185
         zongliang_unit: "mg",
1178 1186
         gaimingcheng_unit: "",
1179 1187
         gaijiliang_unit: ""
1180
-      }
1188
+      },
1189
+      org_id:0,
1181 1190
     };
1182 1191
   },
1183 1192
   methods: {
@@ -1964,6 +1973,7 @@ export default {
1964 1973
     }
1965 1974
   },
1966 1975
   created() {
1976
+    this.org_id = this.$store.getters.xt_user.org.id;
1967 1977
     this.way_arr = getDataConfig("hemodialysis", "way");
1968 1978
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1969 1979
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");

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

@@ -3493,12 +3493,19 @@ export default {
3493 3493
         if (response.data.state == 1) {
3494 3494
           var team = response.data.data.team
3495 3495
           this.tabPrjectTeam = team
3496
-          this.allTabPrjectTeam = team
3496
+          this.allTabPrjectTeam = team.sort(this.compare("sort"))
3497 3497
 
3498 3498
           this.projectList = team
3499 3499
         }
3500 3500
       })
3501 3501
     },
3502
+    compare (property) {
3503
+        return function (a, b) {
3504
+            var value1 = a[property]
3505
+            var value2 = b[property]
3506
+            return value1 - value2
3507
+        }
3508
+     },
3502 3509
     selectTeam(row) {
3503 3510
       console.log(row)
3504 3511
       // var arr = []

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

@@ -3514,13 +3514,21 @@
3514 3514
         getAllProjectTeam().then(response => {
3515 3515
           if (response.data.state == 1) {
3516 3516
             var team = response.data.data.team
3517
-            this.tabPrjectTeam = team
3517
+            
3518
+            this.tabPrjectTeam = team.sort(this.compare("sort"))
3518 3519
             this.allTabPrjectTeam = team
3519 3520
 
3520 3521
             this.projectList = team
3521 3522
           }
3522 3523
         })
3523 3524
       },
3525
+      compare (property) {
3526
+        return function (a, b) {
3527
+            var value1 = a[property]
3528
+            var value2 = b[property]
3529
+            return value1 - value2
3530
+        }
3531
+      },
3524 3532
       selectTeam(row) {
3525 3533
         console.log(row)
3526 3534
         // var arr = []

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

@@ -1801,11 +1801,18 @@
1801 1801
           if (response.data.state == 1) {
1802 1802
             var team = response.data.data.team
1803 1803
             console.log('team2222', team)
1804
-            this.tabPrjectTeam = team
1804
+            this.tabPrjectTeam = team.sort(this.compare("sort"))
1805 1805
             this.projectList = team
1806 1806
           }
1807 1807
         })
1808 1808
       },
1809
+      compare (property) {
1810
+        return function (a, b) {
1811
+            var value1 = a[property]
1812
+            var value2 = b[property]
1813
+            return value1 - value2
1814
+        }
1815
+      },
1809 1816
       changevalue(val) {
1810 1817
 
1811 1818
         this.$forceUpdate()

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

@@ -18,7 +18,9 @@
18 18
           org_id != 9675 &&
19 19
           org_id != 9671 &&
20 20
           org_id != 0 &&
21
-          org_id != 10164
21
+          org_id != 10164 && org_id != 10341 && 
22
+          org_id != 10342 && org_id != 10138 &&
23
+          org_id != 10278
22 24
         "
23 25
         ref="printOne"
24 26
         v-bind:childResponse="childResponse"
@@ -46,7 +48,7 @@
46 48
       ></printTwo>
47 49
       
48 50
       <printThree
49
-        v-if="org_id == 10318 || org_id == 0"
51
+        v-if="org_id == 10318 || org_id == 0 "
50 52
         ref="printThree"
51 53
         v-bind:childResponse="childResponse"
52 54
         :patient="patient"
@@ -54,10 +56,10 @@
54 56
         :history="history"
55 57
         :patientid="patientid"
56 58
       >
57
-      <!--  -->
59
+      <!-- || org_id == 0-->
58 60
       </printThree>
59 61
       <printFour
60
-        v-if="org_id == 10138 || org_id == 10278 || org_id == 0"
62
+        v-if="org_id == 10138 || org_id == 10278 || org_id == 10341 || org_id == 10342 || org_id == 0"
61 63
         ref="printFour"
62 64
         v-bind:childResponse="childResponse"
63 65
         :patient="patient"
@@ -117,7 +119,11 @@ export default {
117 119
       this.org_id = id;
118 120
       if (id == 10217 || id == 9675 || id == 9671|| id == 10188 ) {
119 121
         this.$refs.printTwo.show(val);
120
-      } else if (id == 10318|| id == 0) {
122
+      } else if (id == 10138 || id == 10278 || id == 10341 || id == 10342 || id == 0) {
123
+        this.$refs.printFour.show(val);
124
+      }
125
+      else if (id == 10318 || id == 0) {
126
+        // || id == 0
121 127
         this.$refs.printThree.show(val);
122 128
       } else {
123 129
         this.$refs.printOne.show(val);
@@ -158,7 +164,11 @@ export default {
158 164
       const style2 =
159 165
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;padding-bottom: 10px;border-bottom: 1px solid;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot {width: 300px;display: flex;}.name_slot span {display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .name_slot_2 {width: 250px;display: flex;} .name_slot_2 .name_slot_1{  display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .full_slot {width: 100%;}.infoTitle .full_slot .id_card{border: 1px solid;display: inline-block;width: 18px;height: 18px;text-align: center;margin-right: 6px;} .address_slot_1 span {display: inline-block;min-width: 60px;border-bottom: 1px solid;} .otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: fit-content;min-height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
160 166
 
161
-      if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675 && this.org_id != 10318 &&this.org_id != 10188) {
167
+      if (this.org_id != 10217 && this.org_id != 0 && 
168
+          this.org_id != 9675 && this.org_id != 10318 && 
169
+          this.org_id != 10188 && this.org_id != 10138 && 
170
+          this.org_id != 10278 && this.org_id != 10341 && 
171
+          this.org_id != 10342) {
162 172
         printJS({
163 173
           printable: "prescription-print",
164 174
           type: "html",
@@ -176,7 +186,8 @@ export default {
176 186
           style: style1,
177 187
           scanStyles: false,
178 188
         });
179
-      }else if(this.org_id == 10318||this.org_id == 0 )
189
+      }else if(this.org_id == 10318 ||this.org_id == 0 )
190
+      // 
180 191
       {
181 192
         printJS({
182 193
           printable: "prescription-print",
@@ -185,7 +196,7 @@ export default {
185 196
           scanStyles: false,
186 197
         });
187 198
       }
188
-      else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
199
+      else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 10341 || this.org_id == 10342 || this.org_id == 0){
189 200
         printJS({
190 201
           printable: "prescription-print",
191 202
           type: "html",
@@ -194,7 +205,36 @@ export default {
194 205
         });
195 206
       
196 207
       }
197
-      // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
208
+
209
+      // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 10341 || this.org_id == 10342 || this.org_id == 0){
210
+      //   printJS({
211
+      //     printable: "prescription-print",
212
+      //     type: "html",
213
+      //     style: style,
214
+      //     scanStyles: false,
215
+      //   });
216
+      // }else if (
217
+      //   this.org_id == 10217 ||
218
+      //   this.org_id == 9675 ||
219
+      //   this.org_id == 10188
220
+      // ) {
221
+      //   printJS({
222
+      //     printable: "prescription-print",
223
+      //     type: "html",
224
+      //     style: style1,
225
+      //     scanStyles: false,
226
+      //   });
227
+      // }else if(this.org_id == 10318 ||this.org_id == 0 )
228
+      // // ||this.org_id == 0
229
+      // {
230
+      //   printJS({
231
+      //     printable: "prescription-print",
232
+      //     type: "html",
233
+      //     style: style2,
234
+      //     scanStyles: false,
235
+      //   });
236
+      // }
237
+      // else{
198 238
       //   printJS({
199 239
       //     printable: "prescription-print",
200 240
       //     type: "html",

+ 4 - 4
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue 查看文件

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div id='prescription-print'>
3
-        <div class="prescription-print" style="box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;">
3
+        <div class="prescription-print" style=" padding: 10px;">
4 4
             <div class="printTitle" style="border: none;">{{orgname}} &nbsp;&nbsp; 门诊病历</div>
5 5
             <div class="infoTitle">
6 6
                 <div>姓名:{{patient.name?patient.name:''}}</div>
@@ -243,9 +243,9 @@
243 243
         border: 0;
244 244
     }
245 245
     .prescription-print{
246
-        // -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
247
-        // -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
248
-        // box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
246
+        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
247
+        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
248
+        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
249 249
         margin-bottom: 20px;
250 250
         padding:20px 10px;
251 251
         font-size: 14px;

+ 98 - 97
src/xt_pages/user/components/PatientDetail.vue 查看文件

@@ -206,6 +206,102 @@
206 206
                 ></el-input>
207 207
               </el-form-item>
208 208
             </el-col>
209
+            
210
+        
211
+            <el-col :span="6">
212
+              <el-form-item
213
+                label="本院首次透析 : "
214
+                prop="is_hospital_first_dialysis"
215
+              >
216
+                <el-radio-group v-model="form.is_hospital_first_dialysis">
217
+                  <el-radio
218
+                    v-for="item in isHospitalFirstDialysisOptions"
219
+                    :key="item.value"
220
+                    :label="item.value"
221
+                    :value="item.value"
222
+                    disabled
223
+                    >{{ item.label }}</el-radio
224
+                  >
225
+                </el-radio-group>
226
+              </el-form-item>
227
+            </el-col>
228
+            <el-col :span="6">
229
+              <el-form-item
230
+                label="系统前透析次数 : "
231
+                prop="first_dialysis_hospital"
232
+              >
233
+                <el-input v-model="form.user_sys_before_count" disabled></el-input>
234
+              </el-form-item>
235
+            </el-col>
236
+            <el-col :span="6">
237
+              <el-form-item label="首次诊治日期 : ">
238
+                <el-date-picker
239
+                  v-model="form.first_treatment_date"
240
+                  type="date"
241
+                  disabled
242
+                  format="yyyy-MM-dd"
243
+                  value-format="yyyy-MM-dd"
244
+                ></el-date-picker>
245
+              </el-form-item>
246
+            </el-col>
247
+            <el-col :span="6">
248
+              <el-form-item label="上家透析医院 : " prop="first_dialysis_hospital">
249
+                <el-input
250
+                  v-model="form.first_dialysis_hospital"
251
+                  disabled
252
+                ></el-input>
253
+              </el-form-item>
254
+            </el-col>
255
+            <el-col :span="24">
256
+              <el-form-item label="透析之前情况 : " prop="predialysis_condition">
257
+                <el-checkbox-group v-model="form.predialysis_condition">
258
+                  <el-checkbox
259
+                    v-for="item in predialysisConditionOptions"
260
+                    :label="item.label"
261
+                    :key="item.value"
262
+                    :value="item.label"
263
+                    disabled
264
+                    >{{ item.label }}</el-checkbox
265
+                  >
266
+                </el-checkbox-group>
267
+              </el-form-item> </el-col
268
+            ><el-col :span="6">
269
+              <el-form-item
270
+                label="本院前透析频率 : "
271
+                prop="pre_hospital_dialysis_frequency"
272
+              >
273
+                <el-input
274
+                  v-model="form.pre_hospital_dialysis_frequency"
275
+                  disabled
276
+                ></el-input>
277
+              </el-form-item>
278
+            </el-col>
279
+            <el-col :span="6">
280
+              <el-form-item
281
+                label="本院前透析次数 : "
282
+                prop="pre_hospital_dialysis_times"
283
+              >
284
+                <el-input
285
+                  v-model="form.pre_hospital_dialysis_times"
286
+                  disabled
287
+                ></el-input>
288
+              </el-form-item>
289
+            </el-col>
290
+            <el-col :span="6">
291
+              <el-form-item
292
+                label="本院首次透析 : "
293
+                prop="hospital_first_dialysis_date"
294
+              >
295
+                <el-date-picker
296
+                  v-model="form.hospital_first_dialysis_date"
297
+                  type="date"
298
+                  format="yyyy-MM-dd"
299
+                  value-format="yyyy-MM-dd"
300
+                  disabled
301
+                ></el-date-picker>
302
+              </el-form-item>
303
+            </el-col>
304
+   
209 305
             <el-col :span="8" style="height: 59px">
210 306
               <el-form-item
211 307
                 label="患者来源 : "
@@ -678,7 +774,7 @@
678 774
           </el-form-item>
679 775
         </el-col>
680 776
 
681
-        <el-col :span="24">
777
+        <!-- <el-col :span="24">
682 778
           <el-form-item label="慢性病 : " prop="diseases">
683 779
             <el-checkbox-group v-model="form.diseases">
684 780
               <el-checkbox
@@ -691,104 +787,9 @@
691 787
               >
692 788
             </el-checkbox-group>
693 789
           </el-form-item>
694
-        </el-col>
790
+        </el-col> -->
695 791
       </el-row>
696 792
 
697
-      <div v-show="!treat_info_fold">
698
-        <el-col :span="6">
699
-          <el-form-item
700
-            label="本院首次透析 : "
701
-            prop="is_hospital_first_dialysis"
702
-          >
703
-            <el-radio-group v-model="form.is_hospital_first_dialysis">
704
-              <el-radio
705
-                v-for="item in isHospitalFirstDialysisOptions"
706
-                :key="item.value"
707
-                :label="item.value"
708
-                :value="item.value"
709
-                disabled
710
-                >{{ item.label }}</el-radio
711
-              >
712
-            </el-radio-group>
713
-          </el-form-item>
714
-        </el-col>
715
-        <el-col :span="6">
716
-          <el-form-item
717
-            label="系统前透析次数 : "
718
-            prop="first_dialysis_hospital"
719
-          >
720
-            <el-input v-model="form.user_sys_before_count" disabled></el-input>
721
-          </el-form-item>
722
-        </el-col>
723
-        <el-col :span="6">
724
-          <el-form-item label="首次诊治日期 : ">
725
-            <el-date-picker
726
-              v-model="form.first_treatment_date"
727
-              type="date"
728
-              disabled
729
-              format="yyyy-MM-dd"
730
-              value-format="yyyy-MM-dd"
731
-            ></el-date-picker>
732
-          </el-form-item>
733
-        </el-col>
734
-        <el-col :span="6">
735
-          <el-form-item label="首次透析医院 : " prop="first_dialysis_hospital">
736
-            <el-input
737
-              v-model="form.first_dialysis_hospital"
738
-              disabled
739
-            ></el-input>
740
-          </el-form-item>
741
-        </el-col>
742
-        <el-col :span="24">
743
-          <el-form-item label="透析之前情况 : " prop="predialysis_condition">
744
-            <el-checkbox-group v-model="form.predialysis_condition">
745
-              <el-checkbox
746
-                v-for="item in predialysisConditionOptions"
747
-                :label="item.label"
748
-                :key="item.value"
749
-                :value="item.label"
750
-                disabled
751
-                >{{ item.label }}</el-checkbox
752
-              >
753
-            </el-checkbox-group>
754
-          </el-form-item> </el-col
755
-        ><el-col :span="6">
756
-          <el-form-item
757
-            label="本院前透析频率 : "
758
-            prop="pre_hospital_dialysis_frequency"
759
-          >
760
-            <el-input
761
-              v-model="form.pre_hospital_dialysis_frequency"
762
-              disabled
763
-            ></el-input>
764
-          </el-form-item>
765
-        </el-col>
766
-        <el-col :span="6">
767
-          <el-form-item
768
-            label="本院前透析次数 : "
769
-            prop="pre_hospital_dialysis_times"
770
-          >
771
-            <el-input
772
-              v-model="form.pre_hospital_dialysis_times"
773
-              disabled
774
-            ></el-input>
775
-          </el-form-item>
776
-        </el-col>
777
-        <el-col :span="6">
778
-          <el-form-item
779
-            label="本院首次透析 : "
780
-            prop="hospital_first_dialysis_date"
781
-          >
782
-            <el-date-picker
783
-              v-model="form.hospital_first_dialysis_date"
784
-              type="date"
785
-              format="yyyy-MM-dd"
786
-              value-format="yyyy-MM-dd"
787
-              disabled
788
-            ></el-date-picker>
789
-          </el-form-item>
790
-        </el-col>
791
-      </div>
792 793
       <el-col :span="24">
793 794
         <el-form-item>
794 795
           <el-button type="text" @click="treat_info_fold = !treat_info_fold"

+ 127 - 107
src/xt_pages/user/components/PatientForm.vue 查看文件

@@ -217,7 +217,7 @@
217 217
                 </el-form-item>
218 218
               </el-col>
219 219
 
220
-              <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
220
+              <el-col :span="6" :style="isEdit ? 'width:380px' : ''" v-if="org_id!=0 && org_id!=10138 && org_id!=10278">
221 221
                 <el-form-item
222 222
                   label="首次肾脏治疗时间:"
223 223
                   prop="firstDialysisDate"
@@ -231,6 +231,21 @@
231 231
                   ></el-date-picker>
232 232
                 </el-form-item>
233 233
               </el-col>
234
+
235
+              <el-col :span="6" :style="isEdit ? 'width:380px' : ''" v-if="org_id==0||org_id == 10138 || org_id == 10278">
236
+                <el-form-item
237
+                  label="首次进入本院时间:"
238
+                  prop="firstDialysisDate"
239
+                  label-width="150px"
240
+                >
241
+                  <el-date-picker
242
+                    v-model="form.firstDialysisDate"
243
+                    type="date"
244
+                    format="yyyy-MM-dd"
245
+                    value-format="yyyy-MM-dd"
246
+                  ></el-date-picker>
247
+                </el-form-item>
248
+              </el-col>
234 249
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
235 250
                 <el-form-item
236 251
                   label="本人电话 : "
@@ -257,6 +272,100 @@
257 272
                 </el-form-item>
258 273
               </el-col>
259 274
 
275
+             
276
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
277
+              <el-form-item
278
+                label="本院首次透析 : "
279
+                prop="is_hospital_first_dialysis"
280
+              >
281
+                <el-radio-group v-model="form.is_hospital_first_dialysis">
282
+                  <el-radio
283
+                    v-for="item in isHospitalFirstDialysisOptions"
284
+                    :key="item.value"
285
+                    :label="item.value"
286
+                    :value="item.value"
287
+                    >{{ item.label }}</el-radio
288
+                  >
289
+                </el-radio-group>
290
+              </el-form-item>
291
+            </el-col>
292
+
293
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
294
+              <el-form-item
295
+                label="系统前透析次数 : "
296
+                prop="user_sys_before_count"
297
+              >
298
+                <el-input v-model="form.user_sys_before_count"></el-input>
299
+              </el-form-item>
300
+            </el-col>
301
+
302
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
303
+              <el-form-item label="首次透析时间 : ">
304
+                <el-date-picker
305
+                  v-model="form.first_treatment_date"
306
+                  type="date"
307
+                  format="yyyy-MM-dd"
308
+                  value-format="yyyy-MM-dd"
309
+                ></el-date-picker>
310
+              </el-form-item>
311
+            </el-col>
312
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
313
+              <el-form-item
314
+                label="上家透析医院 : "
315
+                prop="first_dialysis_hospital"
316
+              >
317
+                <el-input v-model="form.first_dialysis_hospital"></el-input>
318
+              </el-form-item>
319
+            </el-col>
320
+            <el-col :span="24">
321
+              <el-form-item
322
+                label="透析之前情况 : "
323
+                prop="predialysis_condition"
324
+              >
325
+                <el-checkbox-group v-model="form.predialysis_condition">
326
+                  <el-checkbox
327
+                    v-for="item in predialysisConditionOptions"
328
+                    :label="item.label"
329
+                    :key="item.value"
330
+                    :value="item.label"
331
+                    >{{ item.label }}</el-checkbox
332
+                  >
333
+                </el-checkbox-group>
334
+              </el-form-item>
335
+            </el-col>
336
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
337
+              <el-form-item
338
+                label="本院前透析频率 : "
339
+                prop="pre_hospital_dialysis_frequency"
340
+              >
341
+                <el-input
342
+                  v-model="form.pre_hospital_dialysis_frequency"
343
+                ></el-input>
344
+              </el-form-item>
345
+            </el-col>
346
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
347
+              <el-form-item
348
+                label="本院前透析次数 : "
349
+                prop="pre_hospital_dialysis_times"
350
+              >
351
+                <el-input v-model="form.pre_hospital_dialysis_times"></el-input>
352
+              </el-form-item>
353
+            </el-col>
354
+            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
355
+              <el-form-item
356
+                label="本院首次透析 : "
357
+                prop="hospital_first_dialysis_date"
358
+              >
359
+                <el-date-picker
360
+                  v-model="form.hospital_first_dialysis_date"
361
+                  type="date"
362
+                  format="yyyy-MM-dd"
363
+                  value-format="yyyy-MM-dd"
364
+                ></el-date-picker>
365
+              </el-form-item>
366
+            </el-col>
367
+         
368
+
260 369
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
261 370
                 <el-form-item
262 371
                   label="患者来源 : "
@@ -778,7 +887,7 @@
778 887
           <!--</el-checkbox-group>-->
779 888
           <!--</el-form-item>-->
780 889
           <!--</el-col>-->
781
-          <el-col :span="24">
890
+          <!-- <el-col :span="24">
782 891
             <el-form-item label="慢性病 : " prop="diseases">
783 892
               <el-checkbox-group v-model="form.diseases">
784 893
                 <el-checkbox
@@ -790,102 +899,10 @@
790 899
                 >
791 900
               </el-checkbox-group>
792 901
             </el-form-item>
793
-          </el-col>
794
-
795
-          <div v-show="!treat_info_fold">
796
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
797
-              <el-form-item
798
-                label="本院首次透析 : "
799
-                prop="is_hospital_first_dialysis"
800
-              >
801
-                <el-radio-group v-model="form.is_hospital_first_dialysis">
802
-                  <el-radio
803
-                    v-for="item in isHospitalFirstDialysisOptions"
804
-                    :key="item.value"
805
-                    :label="item.value"
806
-                    :value="item.value"
807
-                    >{{ item.label }}</el-radio
808
-                  >
809
-                </el-radio-group>
810
-              </el-form-item>
811
-            </el-col>
902
+          </el-col> -->
812 903
 
813
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
814
-              <el-form-item
815
-                label="系统前透析次数 : "
816
-                prop="user_sys_before_count"
817
-              >
818
-                <el-input v-model="form.user_sys_before_count"></el-input>
819
-              </el-form-item>
820
-            </el-col>
821
-
822
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
823
-              <el-form-item label="首次透析时间 : ">
824
-                <el-date-picker
825
-                  v-model="form.first_treatment_date"
826
-                  type="date"
827
-                  format="yyyy-MM-dd"
828
-                  value-format="yyyy-MM-dd"
829
-                ></el-date-picker>
830
-              </el-form-item>
831
-            </el-col>
832
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
833
-              <el-form-item
834
-                label="首次透析医院 : "
835
-                prop="first_dialysis_hospital"
836
-              >
837
-                <el-input v-model="form.first_dialysis_hospital"></el-input>
838
-              </el-form-item>
839
-            </el-col>
840
-            <el-col :span="24">
841
-              <el-form-item
842
-                label="透析之前情况 : "
843
-                prop="predialysis_condition"
844
-              >
845
-                <el-checkbox-group v-model="form.predialysis_condition">
846
-                  <el-checkbox
847
-                    v-for="item in predialysisConditionOptions"
848
-                    :label="item.label"
849
-                    :key="item.value"
850
-                    :value="item.label"
851
-                    >{{ item.label }}</el-checkbox
852
-                  >
853
-                </el-checkbox-group>
854
-              </el-form-item>
855
-            </el-col>
856
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
857
-              <el-form-item
858
-                label="本院前透析频率 : "
859
-                prop="pre_hospital_dialysis_frequency"
860
-              >
861
-                <el-input
862
-                  v-model="form.pre_hospital_dialysis_frequency"
863
-                ></el-input>
864
-              </el-form-item>
865
-            </el-col>
866
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
867
-              <el-form-item
868
-                label="本院前透析次数 : "
869
-                prop="pre_hospital_dialysis_times"
870
-              >
871
-                <el-input v-model="form.pre_hospital_dialysis_times"></el-input>
872
-              </el-form-item>
873
-            </el-col>
874
-            <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
875
-              <el-form-item
876
-                label="本院首次透析 : "
877
-                prop="hospital_first_dialysis_date"
878
-              >
879
-                <el-date-picker
880
-                  v-model="form.hospital_first_dialysis_date"
881
-                  type="date"
882
-                  format="yyyy-MM-dd"
883
-                  value-format="yyyy-MM-dd"
884
-                ></el-date-picker>
885
-              </el-form-item>
886
-            </el-col>
887
-          </div>
888
-          <el-col :span="24">
904
+       
905
+          <!-- <el-col :span="24">
889 906
             <el-form-item>
890 907
               <el-button
891 908
                 type="text"
@@ -895,7 +912,7 @@
895 912
                 <i class="el-icon--right" :class="treat_fold_icon"></i>
896 913
               </el-button>
897 914
             </el-form-item>
898
-          </el-col>
915
+          </el-col> -->
899 916
 
900 917
           <el-col :span="24">
901 918
             <el-form-item label="登记人员 : ">
@@ -1364,6 +1381,7 @@ export default {
1364 1381
         homeAddress: [{ required: true, message: "请填写住址", trigger: "blur" }],
1365 1382
       },
1366 1383
       adminUserOptions:[],
1384
+      org_id:0,
1367 1385
     };
1368 1386
   },
1369 1387
   components: {
@@ -1406,7 +1424,7 @@ export default {
1406 1424
     var xtuser = this.$store.getters.xt_user;
1407 1425
     this.orgname = xtuser.org.org_name;
1408 1426
     this.adminusername = xtuser.user.user_name;
1409
-
1427
+    this.org_id =this.$store.getters.xt_user.org.id
1410 1428
 
1411 1429
     if (this.isEdit) {
1412 1430
       this.submitMsg = "修改患者信息成功";
@@ -1429,13 +1447,13 @@ export default {
1429 1447
 
1430 1448
   },
1431 1449
   watch: {
1432
-    "form.record_date": function(val) {
1433
-      console.log(val);
1434
-      if (val == null || val == "") {
1435
-        console.log("111111");
1436
-        this.form.remind_cycle = "";
1437
-      }
1438
-    }
1450
+    // "form.record_date": function(val) {
1451
+    //   console.log(val);
1452
+    //   if (val == null || val == "") {
1453
+    //     console.log("111111");
1454
+    //     this.form.remind_cycle = "";
1455
+    //   }
1456
+    // }
1439 1457
   },
1440 1458
   methods: {
1441 1459
     fetchAllAdminUsers() {
@@ -1737,6 +1755,7 @@ export default {
1737 1755
             this.form.homeTelephone = patietInfo.home_telephone;
1738 1756
             this.form.relative_phone = patietInfo.relative_phone;
1739 1757
             this.form.relative_relations = patietInfo.relative_relations;
1758
+            this.form.remind_cycle = patietInfo.remind_cycle;
1740 1759
             this.form.homeAddress = patietInfo.home_address;
1741 1760
             this.form.work = patietInfo.work_unit;
1742 1761
             this.form.unit_address = patietInfo.unit_address;
@@ -1801,8 +1820,9 @@ export default {
1801 1820
             this.form.dbp = patietInfo.dbp;
1802 1821
 
1803 1822
             this.form.response_result = patietInfo.response_result;
1804
-            this.form.remind_cycle = patietInfo.remind_cycle;
1823
+           
1805 1824
             this.form.is_infectious = patietInfo.is_infectious;
1825
+            console.log("哈哈哈哈",patietInfo.is_infectious)
1806 1826
             if(this.form.is_infectious == 1){
1807 1827
               this.form.remind_cycle = 0
1808 1828
             }