11
WXL
2024-03-01 1a13d814850a606890849cd2464116de6c27b2bc
src/views/project/donationdetails/index.vue
@@ -345,7 +345,7 @@
        </el-steps>
      </div>
      <!-- 凭证文件 -->
      <div class="Ticket-button" v-show="actives != 5 && actives != 4">
      <div class="Ticket-button" >
        <el-button @click.native.prevent="Filepopup" type="success"
          >凭证文件</el-button
        >
@@ -2248,6 +2248,7 @@
          <el-tabs
            tab-position="right"
            style="height: 600px;"
            v-model="annextype"
            @tab-click="selecttab"
          >
            <el-tab-pane
@@ -2384,7 +2385,8 @@
  getDonatebaseinfo,
  addDonatebaseinfo,
  updateDonatebaseinfo,
  getDonatebaseinfoflow
  getDonatebaseinfoflow,
  fileCase
} from "@/api/project/donatebaseinfo";
import {
  listMedicalevaluation,
@@ -2670,7 +2672,7 @@
      //报告人列表
      reporters: [],
      //附件列表
      annextype: 1, //附件type
      annextype: '1', //附件type
      annexfilesList: [], //附件展示列
      potentiallist: [], //潜在附件
      medicinelist: [], //医学附件
@@ -2888,9 +2890,9 @@
          return;
        }
        // 不存在时获取器官
        let accpre = {
          id: searchParam.infoid
        };
        // let accpre = {
        //   id: searchParam.infoid
        // };
        if (!this.organList.organtransplant[0]) {
          listDonatecomporgan(searchParam).then(res => {
            if (res.code == 200) {
@@ -2912,7 +2914,7 @@
        }
        // 获取完成登记信息
        // listnewDonatecompletioninfo(accpre).then(response => {
        listDonatecompletioninfo(accpre).then(response => {
        listDonatecompletioninfo(searchParam).then(response => {
          if (response.code == 200 && response.rows.length) {
            this.accomplishform = response.rows[0];
            this.accomplishform.infoid = this.infoid;
@@ -3155,7 +3157,7 @@
                this.$modal.msgSuccess("捐献器官获取信息保存成功!");
              }
            });
console.log(this.accomplishform.id,'完成id');
            // 保存确认信息
            if (this.accomplishform.id) {
              updateDonatecompletioninfo(this.accomplishform).then(response => {
@@ -3339,7 +3341,7 @@
        if (organIndex != -1) {
          if (this.transplantdata[organIndex].id > 0) {
            this.$confirm(
              "删除器官数据后将不法恢复,您确认删除该条记录吗?",
              "删除器官数据后将无法恢复,您确认删除该条记录吗?",
              "提示",
              {
                confirmButtonText: "确定",
@@ -3423,8 +3425,12 @@
        return;
      }
    },
    // 上报审核
    Reportforreview() {},
    // 提交归档
    Reportforreview() {
      fileCase({infoId:this.infoid}).then(res=>{
        console.log(res);
      })
    },
    // 终止案例
    Terminationcase() {
      this.form.terminationCase == 1