| | |
| | | <el-input v-model="queryParams.idCard" placeholder="请输入身份证号" clearable @keyup.enter.native="handleQuery" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="单位名称" prop="company"> |
| | | <el-form-item label="单位名称" prop="dwId"> |
| | | <el-select :remote-method="getRemoteData" v-model="queryParams.company" remote default-first-option |
| | | allow-create filterable style="width: 200px" placeholder="请选择单位名称" clearable @change="idFn1"> |
| | | <el-option v-for="dict in CompanyList" :key="dict.cnName" :label="dict.cnName" |
| | |
| | | |
| | | <div class="pag"> |
| | | <div class="pag1"> |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParams.page" |
| | | :limit.sync="queryParams.pageSize" @pagination="getList" /> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { addComp } from "@/api/system/comp"; |
| | | import { addComp,gettuantijiesuanrenyuan } from "@/api/system/comp"; |
| | | import { |
| | | listReservation, |
| | | } from "@/api/reservation/reservation"; |
| | |
| | | value: 1, |
| | | sendFlag: 0, |
| | | sector: 0, |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | }, |
| | | |
| | | fmobj: {}, |
| | | // 表单校验 |
| | | form1: {}, |
| | |
| | | title: "", |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | | page: 1, |
| | | pageSize: 10, |
| | | orderByColumn: "reservationTime", |
| | | isAsc: "desc", |
| | | name: null, |
| | | reservationTime: null, |
| | | idCard: null, |
| | | phoe: null, |
| | | email: null, |
| | | tjType: null, |
| | | company: null, |
| | | reservationTime: null, |
| | | isExpire: null, |
| | | dwId: null, |
| | | djkssj: null, |
| | | djjssj: null, |
| | | jskssj: null, |
| | | jsjssj: null, |
| | | tjh: null, |
| | | jsrid: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | /** 查询体检预约列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | listReservation(this.queryParams).then((response) => { |
| | | this.reservationList = response.rows; |
| | | gettuantijiesuanrenyuan(this.queryParams).then((response) => { |
| | | this.reservationList = response.customers; |
| | | // response.rows.forEach((item, index) => |
| | | // {item.newID =(this.queryParams.pageNum - 1) * this.queryParams.pageSize +index +1; |
| | | // }); |