| | |
| | | <el-table-column label="操作" align="center" width="150px"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" @click="hadleedit(scope.row)" v-if="scope.row.hzReplyLogsList.length == 0 && |
| | | scope.row.hzDoctorId == info.userId |
| | | ">修改</el-button> |
| | | scope.row.hzDoctorId == info.userId |
| | | ">修改</el-button> |
| | | <el-button type="primary" size="mini" v-if="scope.row.hzReplyLogsList.length == 0 && |
| | | scope.row.hzDoctorId == info.userId |
| | | " @click="handledele(scope.row)">删除</el-button> |
| | | scope.row.hzDoctorId == info.userId |
| | | " @click="handledele(scope.row)">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | " cellspacing="4"> |
| | | <caption style="background-color: #f8f8f9; font-size: 18px"> |
| | | 填写{{ |
| | | tableAll.cusName |
| | | }}的体检资料 |
| | | tableAll.cusName |
| | | }}的体检资料 |
| | | </caption> |
| | | <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right"> |
| | |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | {{ |
| | | tableAll.cusSex == 0 |
| | | ? "男" |
| | | : tableAll.cusSex == 1 |
| | | ? "女" |
| | | : "未知" |
| | | }} |
| | | tableAll.cusSex == 0 |
| | | ? "男" |
| | | : tableAll.cusSex == 1 |
| | | ? "女" |
| | | : "未知" |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | |
| | | <el-table-column prop="proResult" label="检测结果" width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" |
| | | placeholder="请输入检测结果" @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" @input="vale"></el-input> |
| | | placeholder="请输入检测结果" @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" |
| | | @input="vale"></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="规则" width="70"> |
| | |
| | | return |
| | | } else { |
| | | this.curindex = row |
| | | this.$refs.bbb.open = true; |
| | | |
| | | this.$refs.bbb.title = "选择检测结果"; |
| | | this.$refs.bbb.proId = row.proId; |
| | | this.$refs.bbb.getList(); |
| | |
| | | |
| | | }, |
| | | handleChangesZt(params) { |
| | | this.curindex.proResult = params[0].ruleStr |
| | | this.curindex.proResult = params.map(item => item.ruleStr).join(','); |
| | | }, |
| | | tableRowClassName({ row }) { |
| | | if (row.exceptionDesc) { |
| | |
| | | console.log("输入内容:", value); |
| | | }, |
| | | handleInputConfirm(datas) { |
| | | this.focusrow = datas; |
| | | this.proResult = datas; |
| | | var pattern3 = new RegExp("[0-9]+"); |
| | | if (pattern3.test(this.proResult)) { |
| | | let data = { |
| | | proId: this.focusrow.proId, |
| | | cusId: this.tableAll.cusId, |
| | | tjNum: this.tableAll.tjNumber, |
| | | keyNum: this.proResult.proResult, |
| | | }; |
| | | AutoGetRule(data).then((res) => { |
| | | this.focusrow.conclusion = ""; |
| | | if (res.data) { |
| | | this.autorule = res.data; |
| | | this.focusrow.rulesList = res.data; |
| | | if (res.data.length > 0) { |
| | | const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; |
| | | this.focusrow.exceptionDesc = !conditions.some((condition) => |
| | | this.autorule[0].bz.includes(condition) |
| | | ); |
| | | } else { |
| | | this.focusrow.exceptionDesc = false; |
| | | } |
| | | this.focusrow.proAdvice = this.autorule[0].nr; |
| | | this.autorule.forEach((item) => { |
| | | if (this.focusrow.conclusion) { |
| | | this.focusrow.conclusion += item.bz; |
| | | if (datas.proResult){ |
| | | this.focusrow = datas; |
| | | this.proResult = datas; |
| | | var pattern3 = new RegExp("[0-9]+"); |
| | | if (pattern3.test(this.proResult)) { |
| | | let data = { |
| | | proId: this.focusrow.proId, |
| | | cusId: this.tableAll.cusId, |
| | | tjNum: this.tableAll.tjNumber, |
| | | keyNum: this.proResult.proResult, |
| | | }; |
| | | AutoGetRule(data).then((res) => { |
| | | this.focusrow.conclusion = ""; |
| | | if (res.data) { |
| | | this.autorule = res.data; |
| | | this.focusrow.rulesList = res.data; |
| | | if (res.data.length > 0) { |
| | | const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; |
| | | this.focusrow.exceptionDesc = !conditions.some((condition) => |
| | | this.autorule[0].bz.includes(condition) |
| | | ); |
| | | } else { |
| | | this.focusrow.conclusion += item.bz; |
| | | this.focusrow.exceptionDesc = false; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | let data = { |
| | | proId: this.focusrow.proId, |
| | | cusId: this.tableAll.cusId, |
| | | keyWord: this.proResult, |
| | | tjNum: this.tableAll.tjNumber, |
| | | keyNum: this.proResult.proResult, |
| | | }; |
| | | AutoGetRule(data).then((res) => { |
| | | this.focusrow.conclusion = ""; |
| | | if (res.data) { |
| | | this.autorule = res.data; |
| | | this.focusrow.rulesList = res.data; |
| | | if (res.data.length > 0) { |
| | | const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; |
| | | this.focusrow.exceptionDesc = !conditions.some((condition) => |
| | | this.autorule[0].bz.includes(condition) |
| | | ); |
| | | } else { |
| | | this.focusrow.exceptionDesc = false; |
| | | this.focusrow.proAdvice = this.autorule[0].nr; |
| | | this.autorule.forEach((item) => { |
| | | if (this.focusrow.conclusion) { |
| | | this.focusrow.conclusion += item.bz; |
| | | } else { |
| | | this.focusrow.conclusion += item.bz; |
| | | } |
| | | }); |
| | | } |
| | | this.focusrow.proAdvice = this.autorule[0].nr; |
| | | this.autorule.forEach((item) => { |
| | | if (this.focusrow.conclusion) { |
| | | this.focusrow.conclusion += item.bz; |
| | | }); |
| | | } |
| | | else { |
| | | let data = { |
| | | proId: this.focusrow.proId, |
| | | cusId: this.tableAll.cusId, |
| | | keyWord: this.proResult, |
| | | tjNum: this.tableAll.tjNumber, |
| | | keyNum: this.proResult.proResult, |
| | | }; |
| | | AutoGetRule(data).then((res) => { |
| | | this.focusrow.conclusion = ""; |
| | | if (res.data) { |
| | | this.autorule = res.data; |
| | | this.focusrow.rulesList = res.data; |
| | | if (res.data.length > 0) { |
| | | const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; |
| | | this.focusrow.exceptionDesc = !conditions.some((condition) => |
| | | this.autorule[0].bz.includes(condition) |
| | | ); |
| | | } else { |
| | | this.focusrow.conclusion += item.bz; |
| | | this.focusrow.exceptionDesc = false; |
| | | } |
| | | }); |
| | | // this.rows.push(this.focusrow); |
| | | } |
| | | }); |
| | | } |
| | | this.focusrow.proAdvice = this.autorule[0].nr; |
| | | this.autorule.forEach((item) => { |
| | | if (this.focusrow.conclusion) { |
| | | this.focusrow.conclusion += item.bz; |
| | | } else { |
| | | this.focusrow.conclusion += item.bz; |
| | | } |
| | | }); |
| | | // this.rows.push(this.focusrow); |
| | | } |
| | | }); |
| | | } |
| | | this.rows.push(datas); |
| | | |
| | | } |
| | | |
| | | |
| | | this.rows.push(datas); |
| | | }, |
| | | |
| | | handleguize(row) { |
| | |
| | | |
| | | let data = [ |
| | | { |
| | | proAdvice: item.proAdvice, |
| | | |
| | | tjNumber, |
| | | proId: this.proId, |
| | | remark: this.proParentList.remark, // 备注 |
| | |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .a{ |
| | | .a { |
| | | position: relative; |
| | | } |
| | | |
| | | .el-table .cell { |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | |
| | | background-color: #66cc66; |
| | | border-color: #66cc66; |
| | | } |
| | | |
| | | .dialog-footers1 { |
| | | position: fixed; |
| | | bottom: 0; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | z-index: 1000; /* 确保按钮层级在其他内容上方 */ |
| | | z-index: 1000; |
| | | /* 确保按钮层级在其他内容上方 */ |
| | | width: 300px; |
| | | background-color: white; /* 可根据需要调整背景颜色 */ |
| | | background-color: white; |
| | | /* 可根据需要调整背景颜色 */ |
| | | } |
| | | |
| | | /* 确保按钮之间有合适的间距 */ |