|
@@ -216,8 +216,7 @@ import {
|
216
|
216
|
createNewSickHistoryRecord,
|
217
|
217
|
deleteSickHistoryRecords,
|
218
|
218
|
getNewSickHistory,
|
219
|
|
- ModifySickHistoryRecord,
|
220
|
|
- getSickHistoryByPatient
|
|
219
|
+ ModifySickHistoryRecord
|
221
|
220
|
} from '@/api/patient'
|
222
|
221
|
import { parseTime } from '@/utils'
|
223
|
222
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
@@ -260,7 +259,7 @@ export default {
|
260
|
259
|
uploading_new_record: false,
|
261
|
260
|
templates: this.$store.getters.configlist.sick_history,
|
262
|
261
|
select_template:"",
|
263
|
|
- new_content: '',
|
|
262
|
+ new_content: "",
|
264
|
263
|
edit_new_content: '',
|
265
|
264
|
edit_sick_history_time: '',
|
266
|
265
|
selectingRows: [],
|
|
@@ -602,14 +601,23 @@ export default {
|
602
|
601
|
return uParseTime(time, '{y}-{m}-{d}')
|
603
|
602
|
},
|
604
|
603
|
getCurrentChange(val){
|
605
|
|
- console.log("VAL---------------",val)
|
|
604
|
+
|
|
605
|
+ console.log("new_content2222222222222222222---------------",val.content)
|
|
606
|
+ this.new_content = ""
|
|
607
|
+ this.new_content = val.content
|
|
608
|
+ // var ue = UE.getEditor('editor')
|
|
609
|
+ // ue.setContent(val.content)
|
|
610
|
+
|
606
|
611
|
this.record_time = this.getTime(val.record_time)
|
607
|
612
|
this.id = val.id
|
608
|
|
- this.content = val.content
|
609
|
613
|
this.guominyaowu_desc = val.hypersusceptibility_desc
|
610
|
|
-
|
611
|
|
- this.is_fumotouxishi = val.is_fumo_dialysis_history
|
612
|
|
- this.is_hypersusceptibility = val.is_shenyizhi_history
|
|
614
|
+ this.shen_fumo = val.is_fumo_dialysis_history
|
|
615
|
+ this.shen_yizhi = val.is_shenyizhi_history
|
|
616
|
+ this.shen_guomi = val.is_hypersusceptibility
|
|
617
|
+ this.patient_id = val.patient_id
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
613
|
621
|
}
|
614
|
622
|
}
|
615
|
623
|
}
|