|
|
|
@ -17,7 +17,7 @@ |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<span class="spanClass">检索关键字</span> |
|
|
|
<el-input placeholder="姓名、电话、身份证号" v-model="query.keyWord" size="small" clearable style="width: 240px" /> |
|
|
|
<el-input placeholder="姓名、电话、身份证号" v-model="query.keyWord" size="small" clearable style="width: 200px" /> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<span class="spanClass">状态</span> |
|
|
|
@ -27,25 +27,31 @@ |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="margin-top: -38px;width: 80px;"> |
|
|
|
<div style="margin-top: -38px;width: 160px;"> |
|
|
|
<div> |
|
|
|
<el-button @click="peopleIcCard" class="commonbutton" style="width:80px;font-size: 14px;">读身份证</el-button> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="btnQuery" style="margin-top: 6px; width:80px;">查询</el-button> |
|
|
|
<el-button @click="peopleIcCard" size="small" class="commonbutton" style="width:160px;font-size: 14px;">读身份证</el-button> |
|
|
|
</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<el-button size="small" class="commonbutton" @click="btnQuery" style="margin-top: 6px; width:60px;">查询</el-button> |
|
|
|
|
|
|
|
<el-button @click="handleExport" size="small" class="commonbutton" style="margin-top: 6px; width:100px;" |
|
|
|
>导出excel</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-table :data="tableData" border style="width: 100%" row-key="id" height="430" highlight-current-row |
|
|
|
size="small" @row-click="rowClick" ref="webBooking"> |
|
|
|
size="small" @row-click="rowClick" ref="webBooking" id="webBookingMzak"> |
|
|
|
<el-table-column label="部门名称" width="150" prop="departmentName" align="center" /> |
|
|
|
<el-table-column label="子部门" width="150" prop="childCompanyName" align="center" /> |
|
|
|
<el-table-column label="姓名" width="80" prop="patientName" align="center" /> |
|
|
|
<el-table-column label="身份证号" width="150" prop="idNo" align="center" /> |
|
|
|
<el-table-column label="预约时间" width="150" prop="bookingDate" align="center" /> |
|
|
|
<el-table-column label="手机号" width="130" prop="phone" align="center" /> |
|
|
|
<el-table-column label="性别" width="40" prop="sexId" align="center" /> |
|
|
|
<el-table-column label="年龄" width="40" prop="age" align="center" /> |
|
|
|
<el-table-column label="单位" width="150" prop="customerOrgId" align="center" /> |
|
|
|
<el-table-column label="单位" width="150" prop="customerOrgId" align="center" /> |
|
|
|
<el-table-column label="单位体检次数" width="150" prop="customerOrgRegisterId" align="center" /> |
|
|
|
<el-table-column label="分组/套餐" width="120" prop="customerOrgGroupId" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -81,7 +87,7 @@ import { mapState } from "vuex"; |
|
|
|
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
|
import { dddw, deepCopy } from "../../utlis/proFunc"; |
|
|
|
import moment from "moment"; |
|
|
|
|
|
|
|
import { exportToExcel } from "../../utlis/Export2Excel"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
@ -213,6 +219,10 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
handleExport() { |
|
|
|
exportToExcel("#webBookingMzak", "网上预约--人寿", false); |
|
|
|
}, |
|
|
|
|
|
|
|
// 查询 |
|
|
|
btnQuery() { |
|
|
|
// if (!(this.query.appointStartDate && this.query.appointStopDate)) { |
|
|
|
|