| | |
| | | style="width: 160px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="单位名称" prop="company"> |
| | | <el-form-item label="单位名称" prop="companyId"> |
| | | <el-select |
| | | :remote-method="getRemoteData" |
| | | v-model="formIn.company" |
| | | v-model="formIn.companyId" |
| | | remote |
| | | default-first-option |
| | | allow-create |
| | |
| | | cusSex: null, |
| | | cusBrithday: null, |
| | | cusAddr: null, |
| | | cusPhone: null, |
| | | phone: null, |
| | | yykssj: "", // 预约开始时间 |
| | | yyjssj: "", // 预约结束时间 |
| | | cusPostcode: null, |
| | |
| | | // cusAddr: [ |
| | | // { required: true, message: "现居住地址不能为空", trigger: "blur" }, |
| | | // ], |
| | | cusPhone: [ |
| | | phone: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "blur" }, |
| | | ], |
| | | reservationTime: [ |
| | |
| | | cusSex: null, |
| | | cusBrithday: null, |
| | | cusAddr: null, |
| | | cusPhone: null, |
| | | phone: null, |
| | | yykssj: "", // 预约开始时间 |
| | | yyjssj: "", // 预约结束时间 |
| | | cusPostcode: null, |
| | |
| | | name: this.formIn.name, |
| | | nation: this.formIn.nation, |
| | | pacId, |
| | | phoe: this.formIn.cusPhone, |
| | | phoe: this.formIn.phoe, |
| | | reservationTime: this.formIn.reservationTime, |
| | | sex: this.formIn.sex, |
| | | timeRegion: this.formIn.timeRegion, |
| | |
| | | }; |
| | | } |
| | | tjReappoint(data).then((res) => { |
| | | console.log("接口响应", res); |
| | | if (res.code === 200) { |
| | | this.$modal.msgSuccess("预约成功"); |
| | | Object.assign(this.formIn, data); |
| | | this.getList(); |
| | | this.$tab.refreshPage(); |
| | | _this.drawer = false; |