|
@@ -284,16 +284,12 @@
|
284
|
284
|
<el-col :span="8">
|
285
|
285
|
<el-form-item label="失衡综合症症状: ">
|
286
|
286
|
|
287
|
|
- <!--<el-select v-model="form.disequilibrium_syndrome_option">-->
|
288
|
|
- <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
|
289
|
|
-
|
290
|
|
- <!--<el-option v-for="item in this.$store.getters.disequilibrium_syndrome_option" :label="item.name" :value="item.id"-->
|
291
|
|
- <!--:key="item.id"></el-option>-->
|
292
|
|
- <!--</el-select>-->
|
293
|
|
-
|
294
|
|
- <el-input v-model="form.disequilibrium_syndrome_option" readonly @focus="showDialog('8')"></el-input>
|
295
|
|
-
|
|
287
|
+ <el-select v-model="form.disequilibrium_syndrome_option">
|
|
288
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
296
|
289
|
|
|
290
|
+ <el-option v-for="item in this.$store.getters.disequilibrium_syndrome_option" :label="item.name" :value="item.id"
|
|
291
|
+ :key="item.id"></el-option>
|
|
292
|
+ </el-select>
|
297
|
293
|
</el-form-item>
|
298
|
294
|
</el-col>
|
299
|
295
|
|
|
@@ -539,6 +535,11 @@
|
539
|
535
|
this.loading = false
|
540
|
536
|
return false
|
541
|
537
|
}
|
|
538
|
+ if (this.record_date.length != 10) {
|
|
539
|
+ this.$message.error('无效的日期')
|
|
540
|
+ this.loading = false
|
|
541
|
+ return false
|
|
542
|
+ }
|
542
|
543
|
|
543
|
544
|
ParamsQuery['patient'] = this.patient.id
|
544
|
545
|
ParamsQuery['record_date'] = this.record_date
|
|
@@ -665,13 +666,6 @@
|
665
|
666
|
this.InnerDialogProps.selected = this.form.in_advance_reason
|
666
|
667
|
this.InnerDialogProps.isShowTextArea = false
|
667
|
668
|
break
|
668
|
|
- case '8':
|
669
|
|
- this.InnerDialogProps.values = this.$store.getters.disequilibrium_syndrome_option
|
670
|
|
- this.InnerDialogProps.titles = '失衡综合症症状'
|
671
|
|
- this.InnerDialogProps.type = 'disequilibrium_syndrome_option'
|
672
|
|
- this.InnerDialogProps.selected = this.form.disequilibrium_syndrome_option
|
673
|
|
- this.InnerDialogProps.isShowTextArea = false
|
674
|
|
- break
|
675
|
669
|
}
|
676
|
670
|
},
|
677
|
671
|
selectActualTreatmentHour(val) {
|
|
@@ -703,9 +697,7 @@
|
703
|
697
|
case 'in_advance_reason':
|
704
|
698
|
this.form.in_advance_reason = val.value.join(',')
|
705
|
699
|
break
|
706
|
|
- case 'disequilibrium_syndrome_option':
|
707
|
|
- this.form.disequilibrium_syndrome_option = val.value.join(',')
|
708
|
|
- break
|
|
700
|
+
|
709
|
701
|
default:
|
710
|
702
|
break
|
711
|
703
|
}
|
|
@@ -723,11 +715,7 @@
|
723
|
715
|
this.isVisibility = false
|
724
|
716
|
}
|
725
|
717
|
},
|
726
|
|
-
|
727
|
718
|
created() {
|
728
|
|
- var date = this.$route.query && this.$route.query.date
|
729
|
|
- console.log(date)
|
730
|
|
- this.record_date = uParseTime(date, '{y}-{m}-{d}')
|
731
|
719
|
this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
|
732
|
720
|
this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
|
733
|
721
|
this.internalFistulaOptions = getDataConfig('hemodialysis', 'internal_fistula')
|
|
@@ -739,8 +727,10 @@
|
739
|
727
|
this.patientGoseOptions = this.$store.getters.patient_gose
|
740
|
728
|
this.observationContentOptions = this.$store.getters.observation_content
|
741
|
729
|
|
|
730
|
+ console.log(this.patient)
|
742
|
731
|
|
743
|
|
-
|
|
732
|
+ var date = this.$route.query && this.$route.query.date
|
|
733
|
+ this.record_date = uParseTime(date, '{y}-{m}-{d}')
|
744
|
734
|
},
|
745
|
735
|
components: {
|
746
|
736
|
MultiSelectBox
|