| | |
| | | size="mini" |
| | | @click="handleBlacklist" |
| | | :disabled="single" |
| | | :loading="blackloading" |
| | | v-hasPermi="['hosp:order:export']" |
| | | >加入黑名单</el-button |
| | | > |
| | |
| | | @click="handleExport" |
| | | v-hasPermi="['hosp:customer:export']" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleReInfor" |
| | | :disabled="single" |
| | | :loading="blackloading" |
| | | >注册his信息</el-button |
| | | > |
| | | </el-col> |
| | | <right-toolbar |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="职业" |
| | | align="center" |
| | | prop="career" |
| | | width="90px" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="工龄" |
| | | align="center" |
| | | prop="gl" |
| | | width="90px" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="文化程度" |
| | | align="center" |
| | | prop="wenHua" |
| | | width="90px" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="介绍人" |
| | |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="职业" prop="career"> |
| | | <el-input |
| | | v-model="form.career" |
| | | placeholder="请输入职业" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="工龄" prop="gl"> |
| | | <el-input |
| | | v-model="form.gl" |
| | | placeholder="请输入工龄" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="文化程度" prop="wenHua"> |
| | | <el-input |
| | | v-model="form.wenHua" |
| | | placeholder="请输入文化程度" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="介绍人" prop="cusIntroduce"> |
| | |
| | | delCustomer, |
| | | addCustomer, |
| | | updateCustomer, |
| | | getHistryTjOrderByCusIdCard, |
| | | getHistryTjOrderByCusIdCard,getUserinfo |
| | | } from "@/api/hosp/customer"; |
| | | import { getPdf, addCustomerBlack } from "@/api/hosp/order"; |
| | | import { |
| | |
| | | |
| | | // 遮罩层 |
| | | loading: true, |
| | | blackloading:false, |
| | | isAdding:false, |
| | | |
| | | // 选中数组 |
| | | ids: [], |
| | | // 非单个禁用 |
| | |
| | | cusMarryStatus: null, |
| | | cusIdcard: null, |
| | | cusIntroduce: null, |
| | | career:null, |
| | | gl:null, |
| | | wenHua: null, |
| | | cusNumber: null, |
| | | cusIsvip: null, |
| | | }, |
| | |
| | | cusMarryStatus: null, |
| | | cusIdcard: null, |
| | | cusIntroduce: null, |
| | | wenHua: null, |
| | | career:null, |
| | | gl:null, |
| | | cusNumber: null, |
| | | cusIsvip: null, |
| | | createBy: null, |
| | |
| | | }, |
| | | |
| | | handleBlacklist() { |
| | | this.blackloading = true; |
| | | let data = { |
| | | cusId: this.ids[0], |
| | | }; |
| | | addCustomerBlack(data).then((res) => { |
| | | this.$modal.msgSuccess("已加入黑名单"); |
| | | this.blackloading = false; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | |
| | | handleReInfor() { |
| | | let data = { |
| | | cusId: this.ids[0], |
| | | }; |
| | | getUserinfo(data).then((res) => { |
| | | this.$modal.msgSuccess("注册成功"); |
| | | this.getList(); |
| | | }); |
| | | }, |