| | |
| | | |
| | | <!-- 点击右边弹出层 --> |
| | | <el-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose"> |
| | | <div |
| | | v-loading="isLoading" |
| | | element-loading-text="正在加载数据,请稍候..." |
| | | element-loading-spinner="el-icon-loading" |
| | | element-loading-background="rgba(255, 255, 255, 0.8)" |
| | | style="height: 100%; padding: 20px; position: relative" |
| | | > |
| | | <div v-loading="isLoading" element-loading-text="正在加载数据,请稍候..." element-loading-spinner="el-icon-loading" |
| | | element-loading-background="rgba(255, 255, 255, 0.8)" style="height: 100%; padding: 20px; position: relative"> |
| | | <div style="font-size: 14px"> |
| | | <table style=" |
| | | width: 96%; |
| | |
| | | </table> |
| | | |
| | | <div slot="footer" class="dialog-footers1"> |
| | | <el-button type="primary" @click="determine">提 交</el-button> |
| | | <el-button :disabled="minedis" type="primary" @click="determine">提 交</el-button> |
| | | </div> |
| | | </div> |
| | | </el-tab-pane> |
| | |
| | | </table> |
| | | |
| | | <div slot="footer" class="dialog-footers"> |
| | | <el-button type="primary" @click="determine">提 交</el-button> |
| | | <el-button :disabled="minedis" type="primary" @click="determine">提 交</el-button> |
| | | </div> |
| | | </div> |
| | | </el-tab-pane> |
| | |
| | | dataText: [], |
| | | propform: {}, |
| | | cusobj: {}, |
| | | minedis: false, |
| | | baogaoqian: true, |
| | | baogaohou: false, |
| | | flags: false, |
| | |
| | | |
| | | // 实时更新 BMI |
| | | vale(value, row) { |
| | | console.log(3333) |
| | | this.minedis = false |
| | | if (row.project.proName === '身高' || row.project.proName === '体重') { |
| | | const heightRow = this.proParentList.sons.find( |
| | | item => item.project.proName === '身高' |
| | |
| | | }, |
| | | |
| | | handleFocus(row) { |
| | | console.log(11111) |
| | | this.autorule = []; |
| | | if (!row.resultType || row.resultType == 2) { |
| | | return; |
| | |
| | | this.$modal.msgError("该科室下无项目!"); |
| | | } |
| | | }) .catch((error) => { |
| | | console.error("请求失败:", error); |
| | | this.$modal.msgError("数据加载失败"); |
| | | }) |
| | | .finally(() => { |
| | |
| | | if (item1 === item) item = item1; |
| | | }); |
| | | } |
| | | // this.tjOrderDetail.push({ |
| | | // proAdvice: item.proAdvice, |
| | | // proName: item.project.proName, |
| | | // proId: item.project.proId, |
| | | // orderDetailId: item.orderDetailId, |
| | | // flowingWaterId: item.flowingWaterId, |
| | | // proResult: item.proResult, |
| | | // tjStatus: 1, |
| | | // isReturn: item.isReturn === true ? 1 : 0, |
| | | // exceptionDesc: item.exceptionDesc === true ? 1 : 0, |
| | | // conclusion: item.conclusion, |
| | | // rulesList: item.rulesList, |
| | | // }); |
| | | }); |
| | | for (var i = 0; i < this.proParentList.sons.length; i++) { |
| | | //判断新数组是否有这个元素值,没有的话,就把arr[i]给push到新数组newArr中 |
| | | if (this.proParentList.sons[i].proResult == "" || this.proParentList.sons[i].proResult == null) { |
| | | this.$modal.msgError("请填写资料"); |
| | | this.minedis = true |
| | | return |
| | | } else if (this.proParentList.sons[i].proResult.includes(" ")) { |
| | | this.$modal.msgError("请查看是否有空格"); |
| | | this.minedis = true |
| | | return |
| | | } else { |
| | | this.minedis = false |
| | | this.tjOrderDetail.push({ |
| | | proAdvice: item.proAdvice, |
| | | proName: item.project.proName, |
| | | proId: item.project.proId, |
| | | orderDetailId: item.orderDetailId, |
| | | flowingWaterId: item.flowingWaterId, |
| | | proResult: item.proResult, |
| | | proAdvice: this.proParentList.sons[i].proAdvice, |
| | | proName: this.proParentList.sons[i].project.proName, |
| | | proId: this.proParentList.sons[i].project.proId, |
| | | orderDetailId: this.proParentList.sons[i].orderDetailId, |
| | | flowingWaterId: this.proParentList.sons[i].flowingWaterId, |
| | | proResult: this.proParentList.sons[i].proResult, |
| | | tjStatus: 1, |
| | | isReturn: item.isReturn === true ? 1 : 0, |
| | | exceptionDesc: item.exceptionDesc === true ? 1 : 0, |
| | | conclusion: item.conclusion, |
| | | rulesList: item.rulesList, |
| | | isReturn: this.proParentList.sons[i].isReturn === true ? 1 : 0, |
| | | exceptionDesc: this.proParentList.sons[i].exceptionDesc === true ? 1 : 0, |
| | | conclusion: this.proParentList.sons[i].conclusion, |
| | | rulesList: this.proParentList.sons[i].rulesList, |
| | | }); |
| | | }); |
| | | |
| | | } |
| | | } |
| | | if (this.minedis == false) { |
| | | var data = [{ |
| | | tjNumber, |
| | | proId: this.proId, |
| | |
| | | this.proId = tab.name; |
| | | this.getParentIdsss(); |
| | | this.getbzlist(); |
| | | } |
| | | }) |
| | | |
| | | .catch((action) => { |
| | | if (action === "cancel") this.$message({ type: "warning", message: "放弃保存并离开" }); |
| | | this.proName = this.Parentcheck.proName; |
| | |
| | | if (item1 === item) item = item1; |
| | | }); |
| | | } |
| | | this.tjOrderDetail.push({ |
| | | proAdvice: item.proAdvice, |
| | | proName: item.project.proName, |
| | | proId: item.project.proId, |
| | | orderDetailId: item.orderDetailId, |
| | | flowingWaterId: item.flowingWaterId, |
| | | proResult: item.proResult, |
| | | tjStatus: 1, |
| | | isReturn: item.isReturn === true ? 1 : 0, |
| | | exceptionDesc: item.exceptionDesc === true ? 1 : 0, |
| | | conclusion: item.conclusion, |
| | | rulesList: item.rulesList, |
| | | }); |
| | | }); |
| | | |
| | | }) |
| | | for (var i = 0; i < this.proParentList.sons.length; i++) { |
| | | //判断新数组是否有这个元素值,没有的话,就把arr[i]给push到新数组newArr中 |
| | | if (this.proParentList.sons[i].proResult == "" || this.proParentList.sons[i].proResult == null) { |
| | | this.$modal.msgError("请填写资料"); |
| | | this.minedis = true |
| | | return |
| | | } else if (this.proParentList.sons[i].proResult.includes(" ")) { |
| | | this.$modal.msgError("请查看是否有空格"); |
| | | this.minedis = true |
| | | return |
| | | } else { |
| | | this.minedis = false |
| | | this.tjOrderDetail.push({ |
| | | proAdvice: this.proParentList.sons[i].proAdvice, |
| | | proName: this.proParentList.sons[i].project.proName, |
| | | proId: this.proParentList.sons[i].project.proId, |
| | | orderDetailId: this.proParentList.sons[i].orderDetailId, |
| | | flowingWaterId: this.proParentList.sons[i].flowingWaterId, |
| | | proResult: this.proParentList.sons[i].proResult, |
| | | tjStatus: 1, |
| | | isReturn: this.proParentList.sons[i].isReturn === true ? 1 : 0, |
| | | exceptionDesc: this.proParentList.sons[i].exceptionDesc === true ? 1 : 0, |
| | | conclusion: this.proParentList.sons[i].conclusion, |
| | | rulesList: this.proParentList.sons[i].rulesList, |
| | | }); |
| | | } |
| | | } |
| | | |
| | | if (this.minedis == false) { |
| | | let data = [{ |
| | | tjNumber, |
| | | proId: this.proId, |
| | |
| | | this.drawer = false; |
| | | }); |
| | | this.handleClose(); |
| | | } |
| | | |
| | | }, |
| | | }, |
| | | }; |