| | |
| | | </div> |
| | | |
| | | <template> |
| | | <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" |
| | | border=""> |
| | | <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" border |
| | | :cell-class-name="myclass"> |
| | | <!-- <template slot="empty">数据正在加载中</template> --> |
| | | <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="90px" /> |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1"> |
| | | <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button> |
| | | <div> |
| | | <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1"> |
| | | <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button> |
| | | </div> |
| | | <div style="margin: 10px 10px;" > |
| | | <el-button type="primary" size="mini" @click="historicalreport()">历史报告</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <template> |
| | | <div style="margin-left: 10px"> |
| | |
| | | getParentList, |
| | | getParentId, |
| | | getDeptAdvice, |
| | | reportHistory |
| | | } from "@/api/doctor/check"; |
| | | import { |
| | | addBigPositive |
| | |
| | | // } |
| | | // }) |
| | | }, |
| | | |
| | | myclass(row, column, rowIndex, columnIndex) { |
| | | if (row.row.isPositive == 1) { |
| | | return "setclass" |
| | | } |
| | | }, |
| | | // 小结获取备注 |
| | | sel(val) { |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | |
| | | }, |
| | | |
| | | getList() { |
| | | this.loading = true; |
| | | this.queryParams.type = this.tjStatus; |
| | | getProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | this.loading = false; |
| | | if (response.data.date) { |
| | | this.tableList = response.data.date; |
| | | } else { |
| | |
| | | // 单选按钮 |
| | | radioChange(val) { |
| | | this.queryParams.type = val; |
| | | this.loading = true; |
| | | getProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | this.loading = false; |
| | | this.tableList = response.data.date; |
| | | this.total = response.data.total; |
| | | } else { |
| | |
| | | } else { |
| | | this.formIn.flag = "0" |
| | | addBigPositive(this.formIn).then(res => { |
| | | this.$modal.msgSuccess("删除成功"); |
| | | this.getParentIdsss() |
| | | }) |
| | | this.$modal.msgSuccess("删除成功"); |
| | | this.getParentIdsss() |
| | | }) |
| | | } |
| | | }, |
| | | submitcheckval() { |
| | |
| | | Changeapply() { |
| | | this.foropen = true |
| | | this.Hzlog(this.tableAll.tjNumber) |
| | | }, |
| | | historicalreport() { |
| | | let data = { |
| | | cusId:this.tableAll.cusId |
| | | } |
| | | reportHistory(data).then(res =>{ |
| | | |
| | | }) |
| | | }, |
| | | submitFormreply() { |
| | | let data = { |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | <style > |
| | | .el-table .cell { |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | |
| | | padding-right: 10px; |
| | | } |
| | | |
| | | .setclass { |
| | | background-color: #f86b35; |
| | | color: black; |
| | | } |
| | | |
| | | |
| | | .blue-button { |
| | | width: 10px; |
| | | background-color: #e2e3e4; |