| | |
| | | :componentData="componentData" :key="upIndex" /> |
| | | </el-drawer> |
| | | <el-dialog title="检验复核" :visible.sync="reviewDia" width="400px"> |
| | | <div class="body" style="display: flex;align-items: center;" v-if="reviewDia"> |
| | | <div class="body" style="display: flex;" v-if="reviewDia"> |
| | | <div class="search_label" style="width: 120px;"><span class="required-span">* </span>不通过原因:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" clearable v-model="noReason" type="textarea" :autosize="{ minRows: 3, maxRows: 5}"></el-input> |
| | |
| | | id(val) { |
| | | this.loading = true |
| | | this.$axios.post(this.$api.insOrderPlan.doInsOrder, { |
| | | id: val |
| | | id: val, |
| | | laboratory: this.sonLaboratory |
| | | }).then(res => { |
| | | this.insOrder = res.data.insOrder; |
| | | this.urgentList.forEach(m => { |
| | |
| | | type:1, |
| | | laboratory:this.sonLaboratory, |
| | | tell:null |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.reviewLoading = false; |
| | | this.$message.success("复核通过") |
| | | this.$message.success("操作成功") |
| | | this.$emit('goback') |
| | | } |
| | | this.reviewLoading = false; |
| | | }).catch(error => { |
| | | console.error(error) |
| | | this.reviewLoading = false; |
| | |
| | | type:0, |
| | | laboratory:this.sonLaboratory, |
| | | tell:this.noReason |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.reviewLoading = false; |
| | | this.$message.success("复核不通过") |
| | | this.$message.success("操作成功") |
| | | this.$emit('goback') |
| | | } |
| | | this.reviewLoading = false; |
| | | }).catch(error => { |
| | | console.error(error) |
| | | this.reviewLoading = false; |