| | |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-row :gutter="10" style="margin: 10px 15px;"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-delete" size="mini" :disabled="multiple" @click="batch" |
| | | v-hasPermi="['reservation:reservation:remove']">撤销预约</el-button> |
| | |
| | | </el-row> |
| | | |
| | | <el-table border v-loading="loading" :data="reservationList" @selection-change="handleSelectionChange" |
| | | :default-sort="{ prop: 'reservationTime', order: 'descending' }" highlight-current-row> |
| | | :default-sort="{ prop: 'reservationTime', order: 'descending' }" highlight-current-row style="margin-left: 15px;"> |
| | | <el-table-column type="selection" width="40px" align="center" fixed="left" :selectable="selectHandle" /> |
| | | <el-table-column label="姓名" align="center" prop="name" width="90px" :show-overflow-tooltip="true" fixed="left" /> |
| | | <el-table-column label="性别" align="center" prop="sex" width="60px" :show-overflow-tooltip="true"> |
| | |
| | | <el-form-item label="卡号" prop="indexCard"> |
| | | <el-input v-model="formIn.indexCard" placeholder="请输入卡号" style="width: 190px" /> |
| | | </el-form-item> |
| | | <el-button type="primary" @click="Package" size="mini">选择套餐</el-button> |
| | | <!-- <el-button type="primary" @click="Package" size="mini">选择套餐</el-button> --> |
| | | </el-form> |
| | | </div> |
| | | |
| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" @click="submitPrice" :disabled="confirm" size="mini">签到登记</el-button> |
| | | <el-button type="primary" @click="submitPrice" :disabled="confirm" size="mini">预约修改</el-button> |
| | | </el-form-item> |
| | | <!-- </el-form> --> |
| | | <!-- </div> --> |
| | |
| | | let cusSex = this.formIn.sex; |
| | | deptTreeSelect(cusSex).then((response) => { |
| | | this.newpacName = response.rows; |
| | | this.newpacName.forEach((item3) => { |
| | | this.tableData1.forEach((item4) => { |
| | | item4.list.forEach((item6) => { |
| | | if (item6.pacName === item3.pacName) { |
| | | this.$refs.tb.toggleRowSelection(item3, true); |
| | | throw Error(); |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | // this.newpacName.forEach((item3) => { |
| | | // this.tableData1.forEach((item4) => { |
| | | // item4.list.forEach((item6) => { |
| | | // if (item6.pacName === item3.pacName) { |
| | | // this.$refs.tb.toggleRowSelection(item3, true); |
| | | // throw Error(); |
| | | // } |
| | | // }); |
| | | // }); |
| | | // }); |
| | | this.loading = false; |
| | | }); |
| | | } else { |
| | | deptTreeSelect().then((response) => { |
| | | this.newpacName = response.rows; |
| | | this.newpacName.forEach((item3) => { |
| | | this.tableData1.forEach((item4) => { |
| | | item4.list.forEach((item6) => { |
| | | if (item6.pacName === item3.pacName) { |
| | | this.$nextTick(() => { |
| | | this.$refs.tb.toggleRowSelection(item3, true); |
| | | }); |
| | | throw Error(); |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | // this.newpacName.forEach((item3) => { |
| | | // this.tableData1.forEach((item4) => { |
| | | // item4.list.forEach((item6) => { |
| | | // if (item6.pacName === item3.pacName) { |
| | | // this.$nextTick(() => { |
| | | // this.$refs.tb.toggleRowSelection(item3, true); |
| | | // }); |
| | | // throw Error(); |
| | | // } |
| | | // }); |
| | | // }); |
| | | // }); |
| | | this.loading = false; |
| | | }); |
| | | } |
| | |
| | | } |
| | | }); |
| | | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.treedataList = response.data.list; |
| | | this.dXData = response.data.list; |
| | | return; |
| | | }); |
| | | // /** 查询部门下拉树结构 */ |
| | | // projectGetList().then((response) => { |
| | | // this.treedataList = response.data.list; |
| | | // this.dXData = response.data.list; |
| | | // return; |
| | | // }); |
| | | } else { |
| | | this.$message.warning("已过期请重新预约"); |
| | | } |
| | |
| | | // 最后提交按钮 |
| | | submitPrice() { |
| | | let _this = this; |
| | | if (_this.tableData1.length > 0) { |
| | | // if (_this.tableData1.length > 0) { |
| | | if (this.tableData[0]) { |
| | | var pacId = this.tableData[0].pacId; |
| | | } |
| | |
| | | }); |
| | | this.getList(); |
| | | this.$tab.refreshPage(); |
| | | } else { |
| | | this.$message.warning("请选择您要体检的内容"); |
| | | } |
| | | // } else { |
| | | // this.$message.warning("请选择您要体检的内容"); |
| | | // } |
| | | }, |
| | | // 最后提交按钮 |
| | | submitPrice1() { |