yxh
yxh
10 天以前 8022f7036945b75f82f2dfc43055623f81ed98f6
src/views/project/donationdetails/index.vue
@@ -2024,7 +2024,7 @@
                    align="center"
                    width="220"
                    prop="hospitalno"
                    v-if="actives == 6"
                  >
                    <template slot-scope="scope">
                      <org-selecter
@@ -2796,6 +2796,7 @@
        }
      });
      // 表单数据
      getDonatebaseinfo(this.infoid).then(response => {
        this.form = response.data;
@@ -2804,10 +2805,14 @@
        } else {
          this.showTerminationBtn = 0;
        }
        this.actives = response.data.workflow;
        this.workflow = response.data.workflow;
        response.data.sex = parseInt(response.data.sex);
        this.form.id = response.data.id;
        this.form.diseasetype = this.form.diseasetype.split(",");
        this.form.infectious = this.form.infectious.split(",");
        this.form.selfwill = this.form.selfwill.split(",");
@@ -2815,6 +2820,8 @@
        this.form.infosources = this.form.infosources.split(",");
        this.form.kinship = this.form.kinship.split(",");
        this.form.patientstate = this.form.patientstate.split(",");
        this.open = true;
        this.title = "人体器官潜在捐献者登记表";
        this.registerAddresss.sheng = response.data.registerprovincename;
@@ -2823,6 +2830,8 @@
        this.residenceAddresss.shi = response.data.residencecityname;
        this.residenceAddresss.qu = response.data.residencetownname;
        this.registerAddresss.qu = response.data.registertownname;
        // 获取二级表
        this.GetAttacheddata();
      });
@@ -2958,9 +2967,12 @@
        if (this.transplantdata[0] && !this.istb) {
          return;
        }
        console.log("完成登记加载数据...");
        listDonatecomporgan(searchParam).then(res => {
          if (res.code == 200) {
          if (res.code == 200) {
            console.log("listDonatecomporgan 数据:", res.rows);
            if (res.rows[0]) {
              this.transplantdata = res.rows;
              // this.transplantdata.infoid = this.infoid;
@@ -2993,7 +3005,9 @@
        // 获取完成登记信息
        listDonatecompletioninfo(searchParam).then(response => {
          if (response.code == 200 && response.rows.length) {
          if (response.code == 200 && response.rows.length) {
            console.log("listDonatecompletioninfo 数据:", response.rows[0]);
            this.accomplishform = response.rows[0];
            this.accomplishform.infoid = this.infoid;
          } else {
@@ -3006,9 +3020,9 @@
      if (!this.allocateddata[0]) {
        listDonateorgan(searchParam).then(res => {
          if (res.code == 200) {
            console.log("listDonateorgan 数据:", res.rows);
            if (res.rows[0]) {
              this.allocateddata = res.rows;
              console.log("this.allocateddata", this.allocateddata);
              this.allocateddataform.allocateddata = this.allocateddata;
            }
            this.organList.organallocated = [];