Commit ddfbec1d authored by v_liuhuaizhi's avatar v_liuhuaizhi

整体修改

parent 348c8847
...@@ -723,6 +723,17 @@ export default { ...@@ -723,6 +723,17 @@ export default {
// 挂号信息赋值 // 挂号信息赋值
this.regiterForm = { ...this.detailInfo } this.regiterForm = { ...this.detailInfo }
console.log('这是我进入处方需要的信息:', this.regiterForm) console.log('这是我进入处方需要的信息:', this.regiterForm)
// 主键
this.scheduleKey.checkSchedule = this.regiterForm.checkSchedule
// 挂号时间
this.scheduleKey.registrationTime = this.regiterForm.registrationTime
// 录入时间
this.scheduleKey.diagnosisTime = this.regiterForm.diagnosisTime
// 病历时间
this.scheduleKey.reportTime = this.regiterForm.reportTime
// 开具处方时间
this.scheduleKey.recipelTime = this.regiterForm.recipelTime
console.log('这是我要传的checkSchedule的值:值 挂号时间 录入时间 病历时间 开具处方时间', this.scheduleKey.registrationTime, this.scheduleKey.diagnosisTime, this.scheduleKey.reportTime, this.scheduleKey.recipelTime)
}) })
} else { } else {
inputDiagnosis(id).then(response => { inputDiagnosis(id).then(response => {
...@@ -731,14 +742,6 @@ export default { ...@@ -731,14 +742,6 @@ export default {
// 挂号信息赋值 // 挂号信息赋值
this.regiterForm = { ...this.detailInfo } this.regiterForm = { ...this.detailInfo }
console.log('这是我进入处方需要的信息:', this.regiterForm) console.log('这是我进入处方需要的信息:', this.regiterForm)
})
}
getRegister(id).then(response => {
console.log('录入诊断需要的信息', response)
this.detailInfo = { ...response.data }
// 挂号信息赋值
this.regiterForm = { ...this.detailInfo }
console.log('这是我进入处方需要的信息:', this.regiterForm)
// 主键 // 主键
this.scheduleKey.checkSchedule = this.regiterForm.checkSchedule this.scheduleKey.checkSchedule = this.regiterForm.checkSchedule
// 挂号时间 // 挂号时间
...@@ -753,6 +756,7 @@ export default { ...@@ -753,6 +756,7 @@ export default {
}) })
} }
} }
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment