11
WXL
2024-03-01 946e2122ab3756b668f76f93f2181293ed089adf
11
已修改1个文件
41 ■■■■ 文件已修改
src/views/project/donationdetails/index.vue 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donationdetails/index.vue
@@ -719,13 +719,13 @@
        </el-form>
        <div class="dialog-footer">
          <el-button
            v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="submitForm"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -943,13 +943,13 @@
        </el-form>
        <div class="dialog-footer">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -1177,13 +1177,13 @@
        </el-form>
        <div class="dialog-footer">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -1249,13 +1249,13 @@
        </el-form>
        <div class="dialog-footer" style="min-height: 500px; margin: 20px 0; ">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -1417,13 +1417,13 @@
        </el-form>
        <div class="dialog-footer" v-show="actives == 4">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -1928,13 +1928,13 @@
        <div class="dialog-footer">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -2199,13 +2199,13 @@
        </el-form>
        <div class="dialog-footer">
          <el-button
          v-show="!showTerminationBtn&&workflow != 9"
            v-show="!showTerminationBtn && workflow != 9"
            type="primary"
            @click="Savethedetails"
            >保存</el-button
          >
          <el-button
          v-if="workflow != 9"
            v-if="workflow != 9"
            :type="showTerminationBtn == 0 ? 'warning' : 'success'"
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button
@@ -2868,6 +2868,10 @@
            if (res.rows[0]) {
              this.procureddata = res.rows;
              this.procureddata.infoid = this.infoid;
            } else {
              this.procureddata = this.allocateddata;
              this.procureddata.infoid = this.infoid;
            }
            this.organList.organprocured = [];
            for (let i = 0; i < this.procureddata.length; i++) {
@@ -2898,15 +2902,15 @@
        if (this.accomplishform.infoid) {
          return;
        }
        // 不存在时获取器官
        // let accpre = {
        //   id: searchParam.infoid
        // };
        if (!this.organList.organtransplant[0]) {
          listDonatecomporgan(searchParam).then(res => {
            if (res.code == 200) {
              if (res.rows[0]) {
                this.transplantdata = res.rows;
                this.transplantdata.infoid = this.infoid;
              } else {
                this.transplantdata = this.allocateddata;
                this.transplantdata.infoid = this.infoid;
              }
              for (let i = 0; i < this.transplantdata.length; i++) {
@@ -2922,7 +2926,6 @@
          });
        }
        // 获取完成登记信息
        // listnewDonatecompletioninfo(accpre).then(response => {
        listDonatecompletioninfo(searchParam).then(response => {
          if (response.code == 200 && response.rows.length) {
            this.accomplishform = response.rows[0];