| | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" plain icon="el-icon-plus" size="mini" |
| | | v-hasPermi="['hosp:detail:add']">恢复</el-button> |
| | | <el-button type="primary" plain size="mini" v-hasPermi="['hosp:detail:add']" |
| | | @click="handlerestore">恢复</el-button> |
| | | </el-col> |
| | | |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="inspectionList" border> |
| | | <el-table v-loading="loading" :data="inspectionList" border @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" align="center" prop="newID" width="55px" /> |
| | | <el-table-column label="体检号" align="center" prop="tjNum" :show-overflow-tooltip="true" /> |
| | |
| | | |
| | | <script> |
| | | import { |
| | | listInspection |
| | | listInspection, recall |
| | | } from "@/api/hosp/inspection"; |
| | | |
| | | export default { |
| | |
| | | showSearch: true, |
| | | // 总条数 |
| | | total: 0, |
| | | allList: [], |
| | | // 弃检表格数据 |
| | | inspectionList: [], |
| | | |
| | |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |
| | | |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.allList = selection |
| | | console.log(this.allList ) |
| | | }, |
| | | handlerestore() { |
| | | recall(this.allList).then(res => { |
| | | if(res.code == 200){ |
| | | this.$modal.msgSuccess("已撤回成功"); |
| | | this.getList(); |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }; |
| | | </script> |