1
lkk
2 天以前 18657144f04cb12efe4b1d23bf925bdedd739c9d
1
2个文件已修改
61 ■■■■ 已修改文件
src/components/proposal/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/proposal/index.vue
@@ -205,8 +205,8 @@
  methods: {
    clearSearchFields() {
      this.searchAdv = ''
      this.searchCyjy = ''
      this.searchAdv = "";
      this.searchCyjy = "";
    },
    setTjProposal(mode) {
      if (this.tjproposal !== mode) {
@@ -218,8 +218,6 @@
      this.loading = true;
      this.openone = true;
      getTjHyBgList(this.queryParams).then((res) => {
        console.log(res, 6666);
        this.dataList = res.data.records;
        this.loading = false;
      });
@@ -280,8 +278,8 @@
    },
    radiotjproposalChange() {
      if (this.tjproposal == "0") {
        this.searchAdv = "";
        this.searchCyjy = "";
        // this.searchAdv = "";
        // this.searchCyjy = "";
        this.queryParams1.isZj = this.fList.isZj;
        this.queryParams1.userId = null;
        this.getList();
@@ -310,7 +308,7 @@
    },
    radiotjproposalChange1() {
      if (this.tjproposal == "0") {
        this.searchCyjy = "";
        // this.searchCyjy = "";
        this.queryParams.isZj = this.fList.isZj;
        this.queryParams.userId = null;
        this.getList();
@@ -319,7 +317,6 @@
        getInfo().then((res) => {
          this.queryParams.userId = res.user.userId;
          this.queryParams.isZj = null;
          console.log(this.queryParams, 22222);
          getCyTjAdviceKjbqBySex(this.queryParams).then((res) => {
            if (res.data) {
              this.dataList = res.data.records;
src/views/doctor/checkAll/index.vue
@@ -2601,10 +2601,12 @@
          }
        })
        .catch((error) => {
          this.isLoading = false;
          console.error("获取异常结果失败:", error);
          this.$message.error("获取异常结果失败");
        })
        .finally(() => {
          this.isLoading = false;
          this.loading = false;
        });
    },
@@ -3165,7 +3167,7 @@
                  this.isLoading = true;
                  this.drawer = true;
                  getupdateCheckType(this.tjNumber).then((response) => {
                    this.isLoading = false;
                    // this.isLoading = false;
                    this.changedate = response.data;
                    if (this.changedate) {
                      this.changedate.forEach((item) => {
@@ -3220,7 +3222,7 @@
                      this.isLoading = true;
                      this.drawer = true;
                      getupdateCheckType(this.tjNumber).then((response) => {
                        this.isLoading = false;
                        // this.isLoading = false;
                        this.changedate = response.data;
                        if (this.changedate) {
                          for (let i = 0; i < this.changedate.length; i++) {
@@ -3347,7 +3349,45 @@
              id: this.MsgId,
            };
            addOrder(dataList)
             gettoPdf(tjNumber)
              .then((res) => {
                this.$modal.msgSuccess("已生成报告!请前往报告核收页面确认!");
              })
              .catch(() => {
                this.$modal.msgError(
                  "打印报告失败,请前往报告打印页面补打报告!"
                );
              });
            const statePromise = getfiedState(reportData).then(() => {
              this.drawer = false;
            });
            const updatePromises = this.changedate.map((item) => {
              this.proIds = item.parentId;
              let remarks = item.remark;
              let updateOrderRemarkVos = [
                {
                  tjNumber,
                  proId: this.proIds.toString(),
                  remarks,
                },
              ];
              return getModified(updateOrderRemarkVos);
            });
            Promise.all([statePromise, ...updatePromises])
              .then(() => {
                this.loading = false;
                this.queryParams.page = 1;
                this.queryParams.pageSize = 10;
                this.submitForm();
                this.$forceUpdate();
              })
              .catch((error) => {
                this.loading = false;
                console.error("发生错误:", error);
              });
            /* addOrder(dataList)
              .then((res) => {
                if (res.code == 200) {
                  // gettoPdf(tjNumber)
@@ -3394,7 +3434,7 @@
              .catch((error) => {
                this.loading = false;
                console.error("addOrderPromise 失败:", error);
              });
              }); */
          } else {
            this.loading = false;
            this.$modal.msgError("提交失败");