| | |
| | | } |
| | | |
| | | |
| | | // 获取职业单位信息集合 |
| | | export function getZybCompList() { |
| | | return request({ |
| | | url: '/system/comp/getZybCompList', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | |
| | | //职业团体预约确认接口 (新版本) |
| | | export function newReservationConfirmxbb(data) { |
| | | return request({ |
| | | url: '/zhiye/order/newReservationConfirmxbb' , |
| | | method: 'post', |
| | | data:data |
| | | }) |
| | | } |
| | | |
| | |
| | | exaList: [], |
| | | // 表单参数 |
| | | xianshi: "", |
| | | rowProId: '', |
| | | name: "", |
| | | form: {}, |
| | | clearTimeSet: null, |
| | |
| | | if (this.form.isZybUnit == 0) { |
| | | const tjNUm = this.selectedTjNumber; |
| | | const proId = this.rowProId; |
| | | |
| | | qijian(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | this.open = false |
| | |
| | | qijian(row) { |
| | | const tjNUm = this.selectedTjNumber; |
| | | const proId = row.proId; |
| | | this.rowProId = row.proId; |
| | | row.isLoading = true; |
| | | if (row.type == "2") { |
| | | huifu(tjNUm, proId).then((res) => { |
| | |
| | | // 不要直接赋值整个 response.data,而是逐个属性赋值 |
| | | Object.assign(this.form, response.data); |
| | | this.form.isZybUnit = response.data.isZybUnit === true ? 1 : 0; |
| | | this.form.dwlx= Number(response.data.dwlx) |
| | | console.log("修改时的 isZybUnit 值:", this.form.isZybUnit); |
| | | this.open = true; |
| | | this.title = "修改体检单位信息维护"; |