| | |
| | | <template> |
| | | <div v-loading="isLoading" element-loading-text="正在提交,请稍候..." element-loading-spinner="el-icon-loading" |
| | | element-loading-background="rgba(255, 255, 255, 0.8)" style="height: 100%; padding: 20px; position: relative;"> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="姓名" prop="name"> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList" style="margin-right: 107px"> |
| | | <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | | style="width: 300px" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:00']" |
| | | format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1"> |
| | | style="width: 300px" start-placeholder="开始日期" end-placeholder="结束日期" |
| | | :default-time="['00:00:00', '23:59:00']" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" |
| | | @change="dateChangebirthday1"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="登记时间" prop="createTime"> |
| | |
| | | v-hasPermi="['hosp:order:export']">导出</el-button> |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" size="mini" @click="handleRevoke" :loading="isLoading" |
| | | :disabled="single">撤销签到</el-button> |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" size="mini" @click="handleProject1" :disabled="single" |
| | | v-hasPermi="['hosp:order:export']">补录项目</el-button> |
| | |
| | | v-hasPermi="['hosp:order:export']">打印补录单</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" size="mini" @click="ForceChexiao" :disabled="single" |
| | | <el-button style="background-color:#E6A23C;color:#fff" |
| | | size="mini" @click="handleRevoke" :disabled="single">撤销签到</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button style="background-color:#E6A23C;color:#fff" size="mini" @click="ForceChexiao" :disabled="single" |
| | | v-hasPermi="['qzcx']">强制撤销</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" size="mini" @click="ResumeAppointment" :disabled="multiple">恢复预约</el-button> |
| | | <el-button style="background-color:#E6A23C;color:#fff" size="mini" @click="ResumeAppointment" :disabled="multiple">恢复预约</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="电话" align="center" prop="tjCustomerPhone" :show-overflow-tooltip="true" width="110px" /> |
| | | <el-table-column label="电话" align="center" prop="tjCustomerPhone" :show-overflow-tooltip="true" |
| | | width="110px" /> |
| | | <el-table-column label="体检类型" align="center" prop="tjType" width="80px" :show-overflow-tooltip="true"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.dict_team" :value="scope.row.tjType" /> |
| | |
| | | <el-table-column label="单位名称" align="center" prop="dictCompName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="状态" align="center" prop="zt" :show-overflow-tooltip="true" /> |
| | | <!-- <el-table-column label="流水号" align="center" prop="tjSerialNumber" /> --> |
| | | <el-table-column label="所选套餐" align="center" prop="pacName" :formatter="driver" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="所选套餐" align="center" prop="pacName" :formatter="driver" |
| | | :show-overflow-tooltip="true" /> |
| | | <el-table-column label="导诊打印次数" align="center" prop="dycs" width="110px" :formatter="driver" |
| | | :show-overflow-tooltip="true"> |
| | | <template slot-scope="scope"> |
| | |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | |
| | | // 强制撤销按钮 |
| | | ForceChexiao() { |
| | | |
| | | const tjNum = this.tjnumbers; |
| | | this.isLoading = true |
| | | this.$confirm( |
| | | "您是否需要强制撤销?撤销后该人员本次体检记录不可恢复!", |
| | | "确认信息", |
| | |
| | | ) |
| | | |
| | | .then(() => { |
| | | |
| | | getForceChexiao(tjNum).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("撤销成功"); |
| | | this.isLoading = false |
| | | this.getList(); |
| | | } |
| | | |
| | | }).catch(() => { |
| | | console.log("加载失败") |
| | | this.isLoading = false; |
| | | }).finally(() => { |
| | | console.log("加载失败") |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | this.isLoading = false |
| | | if (action === "cancel") { |
| | | this.$message({ |
| | | type: "warning", |
| | |
| | | }) |
| | | .then(() => { |
| | | huifuyuyuejilu(this.tjNUms).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("恢复成功"); |
| | | // this.isLoading = false; |
| | | this.isLoading = false |
| | | this.getList(); |
| | | } |
| | | }).catch(() => { |
| | | console.log("加载失败") |
| | | this.isLoading = false; |
| | | }).finally(() => { |
| | | console.log("加载失败") |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | if (action === "cancel") { |
| | | this.isLoading = false; |
| | | this.$message({ |
| | | type: "warning", |
| | | message: "已取消", |
| | |
| | | }) |
| | | .finally(() => { |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | }) |
| | | .then(() => { |
| | | revokeTjOrderByTjNum(this.tjnumbers).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("撤销成功"); |
| | | // this.isLoading = false; |
| | | this.isLoading = false |
| | | this.getList(); |
| | | } |
| | | }).catch(() => { |
| | | console.log("加载失败") |
| | | this.isLoading = false; |
| | | }).finally(() => { |
| | | console.log("加载失败") |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | if (action === "cancel") { |
| | | this.isLoading = false; |
| | | this.$message({ |
| | | type: "warning", |
| | | message: "已取消", |
| | |
| | | }) |
| | | .finally(() => { |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | // this.isLoading = false; |
| | | }); |
| | | }, |
| | | /** 点击显示体检报告报表*/ |