| | |
| | | getDicts(dictType).then(res => { |
| | | if (res.code == 200) { |
| | | res.data.forEach(item => { |
| | | if (this.tableAll.ageUnit == item.dictValue) { |
| | | this.tableAll.ageUnit = item.dictLabel |
| | | if (this.tableAll.age_unit == item.dictValue) { |
| | | this.tableAll.age_unit = item.dictLabel |
| | | } |
| | | }) |
| | | let dictTypes = "sys_user_sex" |
| | |
| | | patname: this.tableAll.cusName, |
| | | sex: this.tableAll.cusSex, |
| | | patage: this.tableAll.age, |
| | | patagename: this.tableAll.ageUnit, |
| | | patagename: this.tableAll.age_unit, |
| | | patbirth: this.tableAll.cusBrithday |
| | | } |
| | | // let data = { |