11
WXL
2024-03-12 21ead72243112d675806161b5125d185d5c4f443
11
已修改3个文件
110 ■■■■■ 文件已修改
src/views/project/donatebaseinfo/index.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donationdetails/index.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donorcharge/donorchargedetail/index.vue 58 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donatebaseinfo/index.vue
@@ -566,7 +566,7 @@
                  <el-radio
                    v-for="dict in dict.type.sys_bloodtype_rhd"
                    :key="dict.value"
                    :label="dict.value"
                    :label="dict.label"
                    >{{ dict.label }}</el-radio
                  >
                </el-radio-group>
@@ -1014,7 +1014,9 @@
        // reporttime: null,
      },
      // 表单参数
      form: {},
      form: {
        rhyin:'0'
      },
      //ads
      reporters: [],
      users: [],
@@ -1573,9 +1575,9 @@
      this.showSaveBtn = true;
      //this.$refs.annex.getAnnexList();
      this.open = true;
      this.$nextTick(function() {
        this.$refs.annex.getAnnexList();
      });
      // this.$nextTick(function() {
      //   this.$refs.annex.getAnnexList();
      // });
      this.title = "人体器官潜在捐献者登记表";
    },
@@ -1644,9 +1646,9 @@
        this.open = true;
        this.title = "人体器官潜在捐献者登记表";
        this.form.recordstate = 99;
        this.$nextTick(function() {
          this.$refs.annex.getAnnexList();
        });
        // this.$nextTick(function() {
        //   this.$refs.annex.getAnnexList();
        // });
      });
    },
    /** 提交按钮 */
src/views/project/donationdetails/index.vue
@@ -2807,12 +2807,12 @@
      getDonatebaseinfoflow(this.infoid).then(res => {
        if (res.code==200) {
          this.Processdata = res.data;
          this.donatebaseinfo=this.Processdata.donatecompletioninfo;
          this.medicalevaluation=this.Processdata.donatecompletioninfo;
          this.relativesconfirmation=this.Processdata.donatecompletioninfo;
          this.donateflowcharts=this.Processdata.donatecompletioninfo;
          this.donateorgansService=this.Processdata.donatecompletioninfo;
          this.donationwitness=this.Processdata.donatecompletioninfo;
          this.donatebaseinfo=this.Processdata.donatebaseinfo;
          this.medicalevaluation=this.Processdata.medicalevaluation;
          this.relativesconfirmation=this.Processdata.relativesconfirmation;
          this.donateflowcharts=this.Processdata.donateflowcharts;
          this.donateorgansService=this.Processdata.donateorgansService;
          this.donationwitness=this.Processdata.donationwitness;
          this.donatecompletioninfo=this.Processdata.donatecompletioninfo;
        }else{
          this.$message.error('侧边栏信息获取失败');
@@ -2946,7 +2946,7 @@
              this.procureddata = res.rows;
              this.procureddata.infoid = this.infoid;
            } else {
              this.procureddata = this.allocateddata;
              this.procureddata = this.allocateddata.filter(obj => obj.organname !== '左肝' && obj.organname !== '右肝');;
              this.procureddata.infoid = this.infoid;
            }
            this.organList.organprocured = [];
@@ -3292,15 +3292,15 @@
              addDonatecompletioninfo(this.accomplishform).then(response => {
                this.$modal.msgSuccess("完成登记成功");
                this.$modal.closeLoading();
                this.$modal
                  .confirm("案例已完成是否跳转案例费用页面进行费用单保存?")
                  .then(() => {
                    this.$router.push({
                      path: "/finance/donorchargedetail/",
                      query: { id: 0, operation: "add", data: this.form }
                    });
                  })
                  .catch(() => {});
                // this.$modal
                //   .confirm("案例已完成是否跳转案例费用页面进行费用单保存?")
                //   .then(() => {
                //     this.$router.push({
                //       path: "/finance/donorchargedetail/",
                //       query: { gxinzt: true, operation: "add", data: this.form, }
                //     });
                //   })
                //   .catch(() => {});
              });
            }
@@ -3560,7 +3560,7 @@
        this.submitForm();
        Modifydonationattachment(this.donatelist).then(res => {});
        this.listDonateannex();
        this.GetAttacheddata();
        // this.GetAttacheddata();
      } else {
        this.submitForm();
        // this.$modal.msgWarning("请先完成前部步骤");
src/views/project/donorcharge/donorchargedetail/index.vue
@@ -388,7 +388,7 @@
          { required: true, message: "请输入所属业务组", trigger: "blur" }
        ]
      },
      gxinzt: false,
      baselist: [],
      donorList: [],
      organchargelist: [],
@@ -531,6 +531,8 @@
      this.operationType = this.$route.query.operation;
      this.curId = this.$route.query.id;
      this.curCase = this.$route.query.data;
      this.gxinzt = this.$route.query.gxinzt;
      console.log(this.curCase);
      console.log("this.$route.query", this.$route.query);
      if (this.operationType == "add") {
@@ -583,46 +585,13 @@
        this.form.age = this.curCase.age;
        this.form.donationcategory = this.curCase.donationcategory;
        //获取完成登记的器官表
        if (this.curCase.id > 0) {
        } else {
          this.curCase.id = 0;
        }
        let searchParam = {
          infoid: this.curCase.id
        };
        listDonatecomporgan(searchParam).then(res => {
          if (res.code == 200) {
            // 查询器官费用表
            let tempParam = {
              organcode: null,
              organname: null,
              charge: null
            };
            listOrgancharge(tempParam).then(res1 => {
              if (res1.code == 200) {
                this.organchargelist = res1.rows;
              }
              //插入器官表
              res.rows.forEach(item => {
                //获取费用金额
                this.organchargelist.map(rescharge => {
                  if (rescharge.organcode == item.organno) {
                    this.donorchargeorgans.push({
                      organno: item.organno,
                      organname: item.organname,
                      organcharge: rescharge.charge,
                      infoid: item.infoid,
                      hospitalname: item.transplanthospitalname,
                      hospitalno: item.transplanthospitalno,
                      organtime: item.transplanttime,
                      chargestate: "0"
                    });
                  }
                });
              });
            });
        this.organParams.infoid = this.curCase.id;
        listDonorchargeorgan(this.organParams).then(res => {
          console.log("listDonorchargeorgan", res);
          this.donorchargeorgans = res.rows;
          if (this.donorchargeorgans.length > 0) {
          } else {
            this.addRow(0);
          }
        });
      }
@@ -638,7 +607,7 @@
        this.form = response.data;
        console.log("getDonorcharge", response);
        //器官费用信息
        this.organParams.donorchargeid = this.curId;
        this.organParams.infoid = this.form.infoid;
        console.log("this.organParams", this.organParams);
        listDonorchargeorgan(this.organParams).then(res => {
          console.log("listDonorchargeorgan", res);
@@ -647,6 +616,9 @@
          if (this.donorchargeorgans.length > 0) {
          } else {
            this.addRow(0);
          }
          if ((this.gxinzt = true)) {
            this.submitForm();
          }
        });
      });
@@ -663,7 +635,7 @@
        this.title = "查看捐献案例器官费用表";
        //器官费用信息
        this.organParams.donorchargeid = this.curId;
        this.organParams.infoid = this.form.infoid;
        listDonorchargeorgan(this.organParams).then(res => {
          this.donorchargeorgans = res.rows;
          if (this.donorchargeorgans.length > 0) {