qinxianzhangyao
2024-02-18 1e60adac102dc1665eaab39ae0f81bff7ccb351d
src/views/system/tijian/index.vue
@@ -2073,6 +2073,21 @@
      }
    },
    listgetOrder(data) {
      getOrder(data).then((res) => {
        this.$modal.msgSuccess("提交成功");
        // this.dialogVisibles = true;
        // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url
        //调接口显示导检单
        const tjNumber = res.msg;
        const viewNum = "792931586196398080";
        const params = { viewNum, tjNumber };
        this.$tab.openPage("导诊单", "/report/breDailyReport", params);
        _this.confirm = true;
      });
      this.$tab.refreshPage();
    },
    // 最后提交按钮
    submitPrice() {
      let _this = this;
@@ -2119,7 +2134,7 @@
      this.tjFlowingWater = { copeWith, paidIn, discount };
      let data;
      if (pacId) {
      if (pacId || this.tjOrderList.length > 0) {
        data = {
          photo: this.srcUrl,
          pacId,
@@ -2129,7 +2144,8 @@
          tjType,
          tjCategory:this.tjCategory
        };
      } else {
        this.listgetOrder(data)
      } else if (pacId || this.tjOrderList.length > 0) {
        data = {
          photo: this.srcUrl,
          tjOrderList: this.tjOrderList,
@@ -2138,19 +2154,14 @@
          tjType,
          tjCategory:this.tjCategory
        };
      }
      getOrder(data).then((res) => {
        this.$modal.msgSuccess("提交成功");
        // this.dialogVisibles = true;
        // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url
        //调接口显示导检单
        const tjNumber = res.msg;
        const viewNum = "792931586196398080";
        const params = { viewNum, tjNumber };
        this.$tab.openPage("导诊单", "/report/breDailyReport", params);
        _this.confirm = true;
        this.listgetOrder(data)
      } else {
        this.$message({
          type: "warning ",
          message: "请选择套餐!",
      });
      this.$tab.refreshPage();
      }
    },
  },
};
@@ -2161,6 +2172,7 @@
.el-form-item__error {
       display: none;
   }
.el-table__header-wrapper .el-checkbox {
  display: none;
}