| | |
| | | // 查询体检项目列表(树形结构) |
| | | export function ProjectTree(data) { |
| | | return request({ |
| | | url: '/hosp/project/getlist', |
| | | url: '/hosp/project/getDxList', |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | |
| | | // 全部套餐 |
| | | export function getAllPackageList() { |
| | | return request({ |
| | | url: '/hosp/project/getlist', |
| | | url: '/hosp/project/getDxList', |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | // 每个项目 |
| | | export function projectGetList() { |
| | | return request({ |
| | | url: '/hosp/project/getlist', |
| | | url: '/hosp/project/getDxList', |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top:10px">项目列表</div> |
| | | <div class="tab3"> |
| | | <div class="outside1"> |
| | | <el-tree :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | <el-tree v-loading="loading" :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked"> |
| | | </el-tree> |
| | | </div> |
| | |
| | | <!-- 添加补录项目 --> |
| | | <el-dialog :title="title" :visible.sync="Projectopen1" width="980px" style="height: 860px" append-to-body> |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="6"> |
| | | <el-col :span="8"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top:10px">项目列表</div> |
| | | <div class="tab3"> |
| | | <div class="outside1"> |
| | | <el-tree :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | <el-tree v-loading="loading" :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked"> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="18"> |
| | | <el-col :span="15"> |
| | | <div class="grid-content bg-purple"> |
| | | <template> |
| | | <el-form :model="form"> |
| | |
| | | |
| | | // 补录项目 |
| | | handleProject(row) { |
| | | this.loading = true; |
| | | this.orderId = row.orderId; |
| | | this.cusId = row.tjCusIdCard; |
| | | this.userId = row.userId; |
| | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data.list; |
| | | this.loading = false; |
| | | }); |
| | | this.Projectopen = true; |
| | | this.title = "补录项目"; |
| | | }, |
| | | // 补录项目 |
| | | handleProject1(row) { |
| | | this.loading = true; |
| | | this.orderId = this.ids; |
| | | this.cusId = this.cusIds; |
| | | this.userId = this.userIds; |
| | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data.list; |
| | | this.loading = false; |
| | | }); |
| | | this.Projectopen1 = true; |
| | | this.title = "补录项目"; |
| | |
| | | display: flex; |
| | | margin-top: 8px; |
| | | } |
| | | |
| | | .tab3{ |
| | | max-height: 500px; |
| | | overflow-y:auto; |
| | | } |
| | | .outside1 { |
| | | width: 700px; |
| | | display: flex; |
| | |
| | | |
| | | <!-- 底部 --> |
| | | <div class="el-login-footer"> |
| | | <span>Copyright © 2022-2023路泰科技 All Rights Reserved.</span> |
| | | <span>Copyright © 2023-2024路泰科技 All Rights Reserved.</span> |
| | | <!-- <span>Copyright © 2022-2023龙美网络 All Rights Reserved.</span> --> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | }, |
| | | |
| | | listgetOrder(data) { |
| | | getOrder(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.dialogVisibles = true; |
| | | // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url |
| | | //调接口显示导检单 |
| | | const tjNumber = res.msg; |
| | | const viewNum = "792931586196398080"; |
| | | const params = { viewNum, tjNumber }; |
| | | this.$tab.openPage("导诊单", "/report/breDailyReport", params); |
| | | _this.confirm = true; |
| | | }); |
| | | this.$tab.refreshPage(); |
| | | }, |
| | | |
| | | // 最后提交按钮 |
| | | submitPrice() { |
| | | let _this = this; |
| | |
| | | this.tjFlowingWater = { copeWith, paidIn, discount }; |
| | | |
| | | let data; |
| | | if (pacId) { |
| | | if (pacId || this.tjOrderList.length > 0) { |
| | | data = { |
| | | photo: this.srcUrl, |
| | | pacId, |
| | |
| | | tjType, |
| | | tjCategory:this.tjCategory |
| | | }; |
| | | } else { |
| | | this.listgetOrder(data) |
| | | } else if (pacId || this.tjOrderList.length > 0) { |
| | | data = { |
| | | photo: this.srcUrl, |
| | | tjOrderList: this.tjOrderList, |
| | |
| | | tjType, |
| | | tjCategory:this.tjCategory |
| | | }; |
| | | } |
| | | getOrder(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.dialogVisibles = true; |
| | | // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url |
| | | //调接口显示导检单 |
| | | const tjNumber = res.msg; |
| | | const viewNum = "792931586196398080"; |
| | | const params = { viewNum, tjNumber }; |
| | | this.$tab.openPage("导诊单", "/report/breDailyReport", params); |
| | | _this.confirm = true; |
| | | this.listgetOrder(data) |
| | | } else { |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "请选择套餐!", |
| | | }); |
| | | this.$tab.refreshPage(); |
| | | } |
| | | |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | .el-form-item__error { |
| | | display: none; |
| | | } |
| | | |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | |
| | | <el-table |
| | | border |
| | | :data="tableData1" |
| | | max-height="500" |
| | | style="width: 100%; margin-right: 10px" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-table border :data="tableData2" style="width: 100%"> |
| | | <el-table border :data="tableData2" max-height="500" style="width: 100%"> |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column prop="bingzhong" label="已选病种名称" align="center"> |
| | | </el-table-column> |
| | |
| | | // } |
| | | .outside1 { |
| | | width: 500px; |
| | | max-height: 500px; |
| | | overflow-y:auto; |
| | | display: flex; |
| | | margin-top: 8px; |
| | | flex-direction: column; |