|
@ -307,19 +307,29 @@
|
|
|
},
|
|
|
methods: {
|
|
|
getDictData() {
|
|
|
var vm = this
|
|
|
httpRequest.post('doctor/patient_label_info/patient', { data: { patient: this.screeningResidents } }).then(function (res) {
|
|
|
// vm.patientInfo = res.data
|
|
|
var data = res.data
|
|
|
vm.answer = {
|
|
|
belongCommunity: docInfo.hospitalName,
|
|
|
doctorName: docInfo.name,
|
|
|
doctorPhoneNo: docInfo.mobile,
|
|
|
userName: data.name,
|
|
|
idNoType: '身份证',
|
|
|
idNo: data.idcard,
|
|
|
phoneNo: data.mobile,
|
|
|
age: data.age,
|
|
|
sex: data.sex + '',
|
|
|
hujiAddress: data.address,
|
|
|
hujiAddressJiedao: data.address,
|
|
|
juzhuAddress: data.address,
|
|
|
juzhuAddressJiedao: data.address,
|
|
|
ksDrugName1: [],
|
|
|
createDate: new Date().format('yyyy-MM-dd hh:mm:ss')
|
|
|
}
|
|
|
})
|
|
|
this.questionList = questionList
|
|
|
this.answer = {
|
|
|
belongCommunity: docInfo.hospitalName,
|
|
|
doctorName: docInfo.name,
|
|
|
doctorPhoneNo: docInfo.mobile,
|
|
|
userName: this.screeningResidentsName,
|
|
|
idNoType: '身份证',
|
|
|
idNo: this.idCard,
|
|
|
phoneNo: this.mobile,
|
|
|
age: this.age,
|
|
|
sex: this.sex,
|
|
|
ksDrugName1: []
|
|
|
}
|
|
|
var vm = this
|
|
|
this.dictData.forEach(function (item) {
|
|
|
jbscAPI.getDictDataByName(item.name).then(function (res) {
|