| | |
| | | |
| | | <template> |
| | | <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" |
| | | border=""> |
| | | 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" /> |
| | |
| | | title="会诊申请" v-if="tjStatus == '1'"></el-button> |
| | | <el-button type="primary" icon="el-icon-share" size="mini" @click="handleClick(scope.row)" |
| | | title="详情"></el-button> |
| | | <el-button type="primary" icon="el-icon-picture" size="mini" @click="handlepicture(scope.row)" |
| | | title="报告"></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | getParentId, |
| | | getDeptAdvice, |
| | | } from "@/api/doctor/check"; |
| | | import { getConfigKey } from "@/api/system/config"; |
| | | import { |
| | | addBigPositive |
| | | } from "@/api/doctor/bigPositive"; |
| | |
| | | // this.doctorName = item.nickName |
| | | // } |
| | | // }) |
| | | }, |
| | | |
| | | myclass(row, column, rowIndex, columnIndex) { |
| | | if (row.row.isPositive == 1) { |
| | | return "setclass" |
| | | } |
| | | }, |
| | | // 小结获取备注 |
| | | sel(val) { |
| | |
| | | } |
| | | this.allList = selection |
| | | } |
| | | }, |
| | | |
| | | handlepicture(row){ |
| | | let configKey = "pacsUrl" |
| | | getConfigKey(configKey).then(res => { |
| | | window.open(res.msg, '_blank'); |
| | | }) |
| | | }, |
| | | |
| | | // 点击详情 |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | <style > |
| | | .el-table .cell { |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | |
| | | padding-left: 10px; |
| | | padding-right: 10px; |
| | | } |
| | | .setclass { |
| | | background-color: #f86b35; |
| | | color: black; |
| | | } |
| | | |
| | | .blue-button { |
| | | width: 10px; |