qx
qx
昨天 c4bfdb678eca915dbebfc3484a912e6e9d509b21
qx
2个文件已修改
119 ■■■■■ 已修改文件
public/yuanqu.ini 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue 117 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/yuanqu.ini
@@ -1,6 +1,6 @@
[development]
8094=pbkwyy
81=xatlgcyy
81=bjfhyy
82=sqyy
8095=jdczgzyy
8096=sqyy
src/views/doctor/check/index.vue
@@ -198,13 +198,8 @@
    <!-- 点击右边弹出层 -->
    <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%;
@@ -419,7 +414,7 @@
                  </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>
@@ -573,7 +568,7 @@
                  </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>
@@ -849,6 +844,7 @@
      dataText: [],
      propform: {},
      cusobj: {},
      minedis: false,
      baogaoqian: true,
      baogaohou: false,
      flags: false,
@@ -1010,7 +1006,7 @@
    // 实时更新 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 === '身高'
@@ -1201,7 +1197,6 @@
    },
    handleFocus(row) {
      console.log(11111)
      this.autorule = [];
      if (!row.resultType || row.resultType == 2) {
        return;
@@ -1797,7 +1792,6 @@
          this.$modal.msgError("该科室下无项目!");
        }
      })  .catch((error) => {
          console.error("请求失败:", error);
          this.$modal.msgError("数据加载失败");
        })
        .finally(() => {
@@ -1847,21 +1841,48 @@
                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,
@@ -1877,7 +1898,9 @@
          this.proId = tab.name;
          this.getParentIdsss();
          this.getbzlist();
          }
        })
        .catch((action) => {
          if (action === "cancel") this.$message({ type: "warning", message: "放弃保存并离开" });
          this.proName = this.Parentcheck.proName;
@@ -1900,21 +1923,37 @@
            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,
@@ -1930,6 +1969,8 @@
        this.drawer = false;
      });
      this.handleClose();
      }
    },
  },
};