|
@@ -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
|
}
|