You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
export default {
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
methods: {
|
|
// 青光眼的数据获取不在crf/getFlowForm下的firstVisit中,需要单独调取此接口获取
|
|
getQgyCRFData() {
|
|
this.$http.get('/view/out/patient/getVisitOutPatientForHis', {
|
|
params: {
|
|
patientIdNumber: this.patientIdNumber,
|
|
patientId: this.patientId ? this.patientId : '',
|
|
visitDate: this.realVisitTime ? this.realVisitTime : '',
|
|
realVisitType: this.realVisitType ? this.realVisitType : ''
|
|
}
|
|
})
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
if (res.data) {
|
|
setTimeout(() => {
|
|
if (this.$refs.crfComponent) {
|
|
const ifr = this.$refs.crfComponent.$el
|
|
const ifrWin = ifr.contentWindow
|
|
console.log(ifr.contentWindow)
|
|
ifrWin.dataFill(res.data)
|
|
}
|
|
}, 800)
|
|
}
|
|
}).catch(() => { })
|
|
}
|
|
}
|
|
}
|
|
|