| | |
| | | width="130px" |
| | | /> |
| | | |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="体检时间" |
| | | align="center" |
| | | prop="tjTime" |
| | | :show-overflow-tooltip="true" |
| | | width="110px" |
| | | /> --> |
| | | <el-table-column |
| | | label="审核时间" |
| | | align="center" |
| | | prop="shsj" |
| | | :show-overflow-tooltip="true" |
| | | width="180px" |
| | | /> |
| | | <el-table-column |
| | | label="完成时间" |
| | |
| | | align="center" |
| | | prop="tjStatus" |
| | | :show-overflow-tooltip="true" |
| | | width="50px" |
| | | width="120px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.tjStatus == "1" ? "已检" : "未检" }}</span> |
| | | <span>{{ scope.row.tjStatus == "1" ? "已审核" : "未审核" }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | > |
| | | </div> |
| | | <div class="btn1" v-if="msgjianqian == 'y' || msgjianqian == 'Y'"> |
| | | <el-button @click="jianqian()" type="primary"><span class="vertical-text">检前问诊</span></el-button> |
| | | <el-button @click="jianqian()" type="primary" |
| | | ><span class="vertical-text">检前问诊</span></el-button |
| | | > |
| | | </div> |
| | | |
| | | <div class="btn1"> |
| | |
| | | class="left" |
| | | style=" |
| | | font-size: 14px; |
| | | height: calc(100% - 11%); |
| | | width: 1100px; |
| | | margin-left: 10px; |
| | | padding: 0 0 50px; |
| | | " |
| | | > |
| | | <div v-for="(item, index) in changedate" :key="index"> |
| | |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div |
| | | v-if="props.row.advices && props.row.advices.length > 0" |
| | | v-if=" |
| | | props.row.advices && props.row.advices.length > 0 |
| | | " |
| | | > |
| | | <div |
| | | v-for="(jianyi, index1) in props.row.advices" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column align="center" label="检测项目" width="335"> |
| | | <el-table-column |
| | | align="center" |
| | | label="检测项目" |
| | | width="353" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.proName }}</div> |
| | | </template> |
| | |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div |
| | | v-if="props.row.advices && props.row.advices.length > 0" |
| | | v-if=" |
| | | props.row.advices && props.row.advices.length > 0 |
| | | " |
| | | > |
| | | <div |
| | | v-for="(jianyi, index1) in props.row.advices" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column align="center" label="检测项目" width="250"> |
| | | <el-table-column |
| | | align="center" |
| | | label="检测项目" |
| | | width="232" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.proName }}</div> |
| | | </template> |
| | |
| | | align="center" |
| | | prop="proResult" |
| | | label="检测结果" |
| | | width="366" |
| | | width="403" |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-table-column |
| | | align="center" |
| | | label="部门" |
| | | width="185" |
| | | width="144" |
| | | prop="deptName" |
| | | > |
| | | </el-table-column> |
| | |
| | | align="center" |
| | | prop="type" |
| | | :show-overflow-tooltip="true" |
| | | width="60" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.type == '0'">未检</span> |
| | | <span v-if="scope.row.type == '1'">已检</span> |
| | | <span v-if="scope.row.type == '0'">未审核</span> |
| | | <span v-if="scope.row.type == '1'">已审核</span> |
| | | <span v-if="scope.row.type == '2'">弃检</span> |
| | | <span v-if="scope.row.type == '3'">延期</span> |
| | | </template> |
| | |
| | | cusobj: {}, |
| | | xiaojie: "", |
| | | isdisabled: false, |
| | | dialogVisible: false, |
| | | src: "", |
| | | url: "", |
| | | userId: "", |
| | |
| | | this.drawer = false; |
| | | } |
| | | } else { |
| | | this.drawer = true; |
| | | this.yichangjieguo(); |
| | | getInfo().then((response) => { |
| | | this.userId = response.user.userId; |
| | | |
| | | if (this.userId) { |
| | | let data = { |
| | | userId: this.userId, |
| | | tjNumber: this.tjNumber, |
| | | state: 0, |
| | | }; |
| | | getforceIn(data).then((res) => { |
| | | this.MsgId = res.msg; |
| | | this.drawer = true; |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | | this.changedate = response.data; |
| | | if (this.changedate) { |
| | | for (let i = 0; i < this.changedate.length; i++) { |
| | | this.remark = this.changedate[i].remark; |
| | | } |
| | | this.initialState = JSON.parse( |
| | | JSON.stringify(this.changedate) |
| | | ); |
| | | |
| | | this.changedate.forEach((item) => { |
| | | this.textarea1 = item.checkAdvice || ""; |
| | | |
| | | // this.remark = item.remark; |
| | | // item.sons.forEach((item3) => { |
| | | // if (item3.standard.tjStandardGtValue === null) { |
| | | // item3.standard.tjStandardGtValue = ""; |
| | | // } |
| | | // if (item3.standard.tjStandardLtValue === null) { |
| | | // item3.standard.tjStandardLtValue = ""; |
| | | // } |
| | | // }); |
| | | // item.remark = ""; |
| | | }); |
| | | |
| | | // 保存总检建议 |
| | | this.totalCheckAdvice = this.changedate.map( |
| | | (item) => item.totalCheckAdvice |
| | | ); |
| | | } else { |
| | | this.$message({ |
| | | type: "warning", |
| | | message: "请稍后重试", |
| | | message: "该客户没有体检项目数据", |
| | | }); |
| | | } |
| | | |
| | | }); |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | // 获取小结 |
| | |
| | | .mainbox { |
| | | position: relative; |
| | | } |
| | | .tanchu { |
| | | background-color: red; |
| | | } |
| | | .btn { |
| | | margin: 20px 0px; |
| | | } |
| | |
| | | .vertical-text { |
| | | writing-mode: vertical-rl; |
| | | text-orientation: upright; |
| | | |
| | | } |
| | | |
| | | /* 设置动画效果 */ |
| | |
| | | } |
| | | |
| | | .main { |
| | | height: 700px; |
| | | height: 800px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | |
| | | border-radius: 2em; |
| | | } |
| | | ::v-deep .el-dialog { |
| | | width: 1200px; |
| | | height: 800px; |
| | | width: 1700px; |
| | | height: 900px; |
| | | } |
| | | ::v-deep .el-dialog__header{ |
| | | padding: 8px; |
| | | } |
| | | ::v-deep .el-dialog__body{ |
| | | padding: 0; |
| | | } |
| | | ::v-deep .el-button--medium { |
| | | padding: 10px; |
| | | } |
| | | ::v-deep .el-dialog__headerbtn{ |
| | | // position: relative; |
| | | top: 13px; |
| | | } |
| | | /* .el-dialog { |
| | | width: 1264px; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | padding: 0px 20px; |
| | | z-index: 1000; /* 确保按钮层级在其他内容上方 */ |
| | | width: 300px; |
| | | background-color: white; /* 可根据需要调整背景颜色 */ |
| | |
| | | } |
| | | .box { |
| | | display: flex; |
| | | position: sticky; |
| | | top: 0px; |
| | | height: 85vh; |
| | | overflow: auto; // 确保父容器可以滚动 |
| | | |
| | | height: 100vh; |
| | | } |
| | | |
| | | .rightbox { |
| | | margin-left: 60px; |
| | | overflow-y: scroll; |
| | | position: sticky; |
| | | top: 0px; |
| | | position: fixed; |
| | | top: 107px; |
| | | right: 56px; |
| | | width: 684px; |
| | | |
| | | .right { |
| | | position: sticky; |
| | | top: 0px; |
| | | background-color: #fff; |
| | | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| | | // box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| | | z-index: 10; |
| | | max-height: calc(100vh - 100px); /* 假设你想为顶部和底部留出一些空间 */ |
| | | overflow-y: auto; /* 允许垂直滚动 */ |
| | | padding: 0 0 50px; /* 可选:添加一些内边距以避免内容紧贴边缘 */ |
| | | } |
| | | } |
| | | |
| | |
| | | ::v-deep .el-table--medium .el-table__cell { |
| | | padding: 5px 0; |
| | | } |
| | | ::-webkit-scrollbar { |
| | | display: none; |
| | | } |
| | | ::v-deep .el-drawer { |
| | | padding: 0 0 50px; |
| | | } |
| | | </style> |
| | | |
| | | |