Browse Source

修改报错

master
396316021 1 year ago
parent
commit
08a693eea7
  1. 54
      pages/toExamine/pages/finalJudgment/finalJudgment.js

54
pages/toExamine/pages/finalJudgment/finalJudgment.js

@ -1137,43 +1137,43 @@ Page({
let url = 'api/form-value-write';
// console.log(this.data.information.t_bank_card.img_arr)
let detail = {
spouse_name: this.data.information?.spouse_name.text_center ? this.data.information?.spouse_name.text_center : '',
spouse_id_card: this.data.information?.spouse_id_card.text_center ? this.data.information?.spouse_id_card.text_center : '',
spouse_phone: this.data.information?.spouse_phone.text_center ? this.data.information?.spouse_phone.text_center : '',
spouse_address: this.data.information?.spouse_address.text_center ? this.data.information?.spouse_address.text_center : '',
spouse_work: this.data.information?.spouse_work.text_center ? this.data.information?.spouse_work.text_center : '',
spouse_work_address: this.data.information?.spouse_work_address.text_center ? this.data.information?.spouse_work_address.text_center : '',
spouse_monthly_income: this.data.information?.spouse_monthly_income.text_center ? this.data.information?.spouse_monthly_income.text_center : '',
spouse_work_age: this.data.information?.spouse_work_age.text_center ? this.data.information?.spouse_work_age.text_center : '',
lessee_name: this.data.information?.lessee_name.text_center ? this.data.information?.lessee_name.text_center : '',
spouse_name: this.data.information?.spouse_name?.text_center ? this.data.information?.spouse_name?.text_center : '',
spouse_id_card: this.data.information?.spouse_id_card?.text_center ? this.data.information?.spouse_id_card?.text_center : '',
spouse_phone: this.data.information?.spouse_phone?.text_center ? this.data.information?.spouse_phone?.text_center : '',
spouse_address: this.data.information?.spouse_address?.text_center ? this.data.information?.spouse_address?.text_center : '',
spouse_work: this.data.information?.spouse_work?.text_center ? this.data.information?.spouse_work?.text_center : '',
spouse_work_address: this.data.information?.spouse_work_address?.text_center ? this.data.information?.spouse_work_address?.text_center : '',
spouse_monthly_income: this.data.information?.spouse_monthly_income?.text_center ? this.data.information?.spouse_monthly_income?.text_center : '',
spouse_work_age: this.data.information?.spouse_work_age?.text_center ? this.data.information?.spouse_work_age?.text_center : '',
lessee_name: this.data.information?.lessee_name?.text_center ? this.data.information?.lessee_name?.text_center : '',
address: this.data.information?.address.option ? this.data.information?.address.option.join(',') : '',
address_detail: this.data.information?.address_detail.text_center ? this.data.information?.address_detail.text_center : '',
household_address: this.data.information?.household_address.text_center ? this.data.information?.household_address.text_center : '',
address_detail: this.data.information?.address_detail?.text_center ? this.data.information?.address_detail?.text_center : '',
household_address: this.data.information?.household_address?.text_center ? this.data.information?.household_address?.text_center : '',
house_situation: this.data.information?.house_situation.option || this.data.information?.house_situation.option === 0 ? this.data.housing[this.data.information?.house_situation.option].name : '',
work_unit: this.data.information?.work_unit.text_center ? this.data.information?.work_unit.text_center : '',
work_unit: this.data.information?.work_unit?.text_center ? this.data.information?.work_unit?.text_center : '',
work_address: this.data.information?.work_address.option ? this.data.information?.work_address.option.join(',') : '',
work_address_detail: this.data.information?.work_address_detail.text_center ? this.data.information?.work_address_detail.text_center : '',
work_age: this.data.information?.work_age.text_center ? this.data.information?.work_age.text_center : '',
monthly_income: this.data.information?.monthly_income.text_center ? this.data.information?.monthly_income.text_center : '',
work_address_detail: this.data.information?.work_address_detail?.text_center ? this.data.information?.work_address_detail?.text_center : '',
work_age: this.data.information?.work_age?.text_center ? this.data.information?.work_age?.text_center : '',
monthly_income: this.data.information?.monthly_income?.text_center ? this.data.information?.monthly_income?.text_center : '',
r_bank_photo: this.data.information?.r_bank_photo.img_arr.length > 0 ? this.data.information?.r_bank_photo.up_img_arr.join(',') : '',
r_bank_one: this.data.information?.r_bank_one.img_arr.length > 0 ? this.data.information?.r_bank_one.up_img_arr.join(',') : '',
r_bank_number: this.data.information?.r_bank_number.text_center ? this.data.information?.r_bank_number.text_center : '',
r_bank: this.data.information?.r_bank.text_center ? this.data.information?.r_bank.text_center : '',
r_bank_number: this.data.information?.r_bank_number?.text_center ? this.data.information?.r_bank_number?.text_center : '',
r_bank: this.data.information?.r_bank?.text_center ? this.data.information?.r_bank?.text_center : '',
t_bank_type: this.data.information?.t_bank_type.option || this.data.information?.t_bank_type.option === 0 ? this.data.bankcardtype[this.data.information?.t_bank_type.option].name : '',
t_bank_card: this.data.information?.t_bank_type.option === '0' ? this.data.information?.t_bank_card.up_img_arr.join(',') : this.data.information?.t_bank_card_s.up_img_arr.join(','),
t_bank_account: this.data.information?.t_bank_account.text_center ? this.data.information?.t_bank_account.text_center : '',
t_bank: this.data.information?.t_bank.text_center ? this.data.information?.t_bank.text_center : '',
t_bank_account: this.data.information?.t_bank_account?.text_center ? this.data.information?.t_bank_account?.text_center : '',
t_bank: this.data.information?.t_bank?.text_center ? this.data.information?.t_bank?.text_center : '',
urgent_relation_one: this.data.information?.urgent_relation_one.option || this.data.information?.urgent_relation_one.option === 0 ? this.data.relationship1[this.data.information?.urgent_relation_one.option].name : '',
urgent_name_one: this.data.information?.urgent_name_one.text_center ? this.data.information?.urgent_name_one.text_center : '',
urgent_phone_one: this.data.information?.urgent_phone_one.text_center ? this.data.information?.urgent_phone_one.text_center : '',
urgent_name_one: this.data.information?.urgent_name_one?.text_center ? this.data.information?.urgent_name_one?.text_center : '',
urgent_phone_one: this.data.information?.urgent_phone_one?.text_center ? this.data.information?.urgent_phone_one?.text_center : '',
urgent_relation_two: this.data.information?.urgent_relation_two.option || this.data.information?.urgent_relation_two.option === 0 ? this.data.relationship2[this.data.information?.urgent_relation_two.option].name : '',
urgent_name_two: this.data.information?.urgent_name_two.text_center ? this.data.information?.urgent_name_two.text_center : '',
urgent_phone_two: this.data.information?.urgent_phone_two.text_center ? this.data.information?.urgent_phone_two.text_center : '',
urgent_name_two: this.data.information?.urgent_name_two?.text_center ? this.data.information?.urgent_name_two?.text_center : '',
urgent_phone_two: this.data.information?.urgent_phone_two?.text_center ? this.data.information?.urgent_phone_two?.text_center : '',
urgent_relation_three: this.data.information?.urgent_relation_three.option || this.data.information?.urgent_relation_three.option === 0 ? this.data.relationship3[this.data.information?.urgent_relation_three.option].name : '',
urgent_name_three: this.data.information?.urgent_name_three.text_center ? this.data.information?.urgent_name_three.text_center : '',
urgent_phone_three: this.data.information?.urgent_phone_three.text_center ? this.data.information?.urgent_phone_three.text_center : '',
remark: this.data.information?.remark.text_center ? this.data.information?.remark.text_center : '',
urgent_name_three: this.data.information?.urgent_name_three?.text_center ? this.data.information?.urgent_name_three?.text_center : '',
urgent_phone_three: this.data.information?.urgent_phone_three?.text_center ? this.data.information?.urgent_phone_three?.text_center : '',
remark: this.data.information?.remark?.text_center ? this.data.information?.remark?.text_center : '',
other: this.data.information?.other.img_arr.length > 0 ? this.data.information?.other.up_img_arr.join(',') : '',
// 影像资料form_image
car_register_cert: this.data.form_image.car_register_cert.img_arr.length > 0 ? this.data.form_image.car_register_cert.up_img_arr.join(',') : '',
@ -1186,7 +1186,7 @@ Page({
registered_residence_book: this.data.form_image.registered_residence_book.img_arr.length > 0 ? this.data.form_image.registered_residence_book.up_img_arr.join(',') : '',
running_account: this.data.form_image.running_account.img_arr.length > 0 ? this.data.form_image.running_account.up_img_arr.join(',') : '',
house_property: this.data.form_image.house_property.img_arr.length > 0 ? this.data.form_image.house_property.up_img_arr.join(',') : '',
r_remark: this.data.form_image.remark.text_center ? this.data.form_image.remark.text_center : '',
r_remark: this.data.form_image.remark?.text_center ? this.data.form_image.remark?.text_center : '',
r_other: this.data.form_image.other.img_arr.length > 0 ? this.data.form_image.other.up_img_arr.join(',') : '',
}
let data = {

Loading…
Cancel
Save