WXL
2024-11-27 a520895c5b01934a7210917d52cbe98455cba33b
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
@@ -2756,6 +2756,7 @@
  created() {
    this.Getnetworkheader();
    this.getdataList();
    this.infoid = this.$route.query.id;
  },
  mounted() {
@@ -2795,6 +2796,7 @@
        }
      });
      // 表单数据
      getDonatebaseinfo(this.infoid).then(response => {
        this.form = response.data;
@@ -2803,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(",");
@@ -2814,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;
@@ -2822,6 +2830,8 @@
        this.residenceAddresss.shi = response.data.residencecityname;
        this.residenceAddresss.qu = response.data.residencetownname;
        this.registerAddresss.qu = response.data.registertownname;
        // 获取二级表
        this.GetAttacheddata();
      });
@@ -2957,6 +2967,7 @@
        if (this.transplantdata[0] && !this.istb) {
          return;
        }
        console.log("完成登记");
        listDonatecomporgan(searchParam).then(res => {
          if (res.code == 200) {
@@ -3361,6 +3372,10 @@
      }
      // }
    },
    // 获取部门数据缓存
    getdataList() {
      this.$store.dispatch("getdataList").then(() => {});
    },
    // 器官分配栏目控制
    changeorganState(value) {
      let selectedIndex = this.organList.organallocated.findIndex(