| | |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleRevoke" |
| | | :disabled="single" |
| | | >撤销签到</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | |
| | | >补录项目</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <div class="grid-content bg-purple"> |
| | | <div style="text-align: center; margin-bottom: 10px"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top: 10px"> |
| | | 已选项目列表 |
| | | </div> |
| | | <el-table |
| | | :data="DataList" |
| | | border |
| | | style="width: 100%" |
| | | height="250" |
| | | height="400" :span-method="objectSpanMethod" |
| | | > |
| | | <el-table-column prop="propinName" label="检查项目" > |
| | | </el-table-column> |
| | |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <div class="grid-content bg-purple"> |
| | | <div style="text-align: center; margin-bottom: 10px"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top: 10px"> |
| | | 已选项目列表 |
| | | </div> |
| | | |
| | |
| | | :data="DataList" |
| | | border |
| | | style="width: 100%" |
| | | height="250" |
| | | height="400" :span-method="objectSpanMethod" |
| | | > |
| | | <el-table-column prop="propinName" label="检查项目" > |
| | | </el-table-column> |
| | |
| | | <el-collapse v-model="activeName" accordion v-if="list1"> |
| | | <div> |
| | | <el-collapse-item title="请选择项目"> |
| | | <el-table :data="DataList" border style="width: 100%"> |
| | | <el-table :data="DataList" border style="width: 100%" height="400" :span-method="objectSpanMethod"> |
| | | <el-table-column prop="proName" label="项目" width="180"> |
| | | </el-table-column> |
| | | <el-table-column prop="ordPrice" label="原价"> |
| | |
| | | hasReport, |
| | | getPdf, |
| | | getOrderList, |
| | | getNewDateList, |
| | | getNewDateList,revokeTjOrderByTjNum, |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import { getwater } from "@/api/hosp/customer"; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | handleRevoke(){ |
| | | revokeTjOrderByTjNum(this.tjnumbers).then(res => { |
| | | this.$modal.msgSuccess("撤销成功") |
| | | this.getList(); |
| | | }) |
| | | }, |
| | | /** 点击显示体检报告报表*/ |
| | | // viewReport(row) { |
| | | // const tjNumber = row.tjNumber; |
| | |
| | | this.Projectopen1 = true; |
| | | this.title = "补录项目"; |
| | | }, |
| | | |
| | | // 点击获取每个树节点 |
| | | handleCurrentChecked(data, checked, checkedNodes) { |
| | | this.dataObj = data |
| | |
| | | }); |
| | | }, |
| | | |
| | | // // 默认接受四个值 { 当前行的值, 当前列的值, 行的下标, 列的下标 } |
| | | objectSpanMethod({ row, column, rowIndex, columnIndex }) { |
| | | console.log(row, column, rowIndex, columnIndex) |
| | | let fields = ["propinName"]; |
| | | let cellValue = row[column.property]; |
| | | if (cellValue && fields.includes(column.property)) { |
| | | let prevRow = this.DataList[rowIndex - 1]; |
| | | let nextRow = this.DataList[rowIndex + 1]; |
| | | if (prevRow && prevRow[column.property] === cellValue) { |
| | | return { rowspan: 0, colspan: 0 }; |
| | | } else { |
| | | let countRowspan = 1; |
| | | while (nextRow && nextRow[column.property] === cellValue) { |
| | | nextRow = this.DataList[++countRowspan + rowIndex]; |
| | | } |
| | | if (countRowspan > 1) { |
| | | return { rowspan: countRowspan, colspan: 1 }; |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | // 收费按钮 |
| | | submitPrice() { |
| | | this.proIds = []; |