| | |
| | | reservationTime: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "blur" }, |
| | | ], |
| | | dwDeptName: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "change" }, |
| | | ], |
| | | // dwDeptName: [ |
| | | // { required: true, validator: checkPhoneNum, trigger: "change" }, |
| | | // ], |
| | | signingPic: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "blur" }, |
| | | ], |
| | |
| | | |
| | | /** 导入按钮操作 */ |
| | | handleImport() { |
| | | if (this.objs.drugManufacturerId && this.objs.reservationTime &&this.objs.dwDeptName) { |
| | | if (this.objs.drugManufacturerId && this.objs.reservationTime) { |
| | | this.upload.title = "用户导入"; |
| | | this.upload.open = true; |
| | | } else { |
| | | this.$modal.msgError("请选择单位或部门"); |
| | | this.$modal.msgError("请选择单位或预约时间"); |
| | | } |
| | | }, |
| | | /** 下载模板操作 */ |
| | |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.tjCustomerSex == '0'">男</span> |
| | | <span v-if="scope.row.tjCustomerSex == '1'">女</span> |
| | | <span v-if="scope.row.tjCustomerSex == '2'">未知</span> |
| | | <dict-tag |
| | | :options="dict.type.sys_user_sex" |
| | | :value="scope.row.tjCustomerSex" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 添加或修改体检记录对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="660px" :close-on-click-modal="false"> |
| | | <el-dialog |
| | | :title="title" |
| | | :visible.sync="open" |
| | | width="660px" |
| | | :close-on-click-modal="false" |
| | | > |
| | | <el-form |
| | | :model="formIn" |
| | | ref="queryForm" |
| | |
| | | style="width: 116px" |
| | | ref="inputName" |
| | | v-model="formIn.tjCustomerSex" |
| | | /> |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="年龄" prop="tjCustomerAge"> |
| | | <el-input |
| | |
| | | components: { |
| | | ViewPdf, |
| | | }, |
| | | dicts: ["dict_pay_type"], |
| | | dicts: ["dict_pay_type","sys_user_sex"], |
| | | name: "Order", |
| | | data() { |
| | | return { |
| | |
| | | this.tcShow = false; |
| | | return; |
| | | } else { |
| | | |
| | | return; |
| | | } |
| | | } |
| | |
| | | handleDelete() { |
| | | this.title = "签离登记"; |
| | | this.numberList = []; |
| | | this.List.forEach((item) => { |
| | | let list = JSON.parse(JSON.stringify(this.List)) |
| | | list.forEach((item) => { |
| | | this.formIn = item; |
| | | if (this.formIn.tjCustomerSex === 0) { |
| | | this.formIn.tjCustomerSex = "男"; |