11
WXL
2024-03-19 a40c5148ad225760859297b7c55b664da4c4aa28
src/views/project/donationwitness/index.vue
@@ -202,7 +202,7 @@
              :value="scope.row.workflow"
            />
          </div>
          <div v-else>任务中止</div>
          <div v-else>任务终止</div>
        </template>
      </el-table-column>
@@ -847,7 +847,6 @@
import { updatedonatorno } from "@/api/project/relativesconfirmation";
import { getToken } from "@/utils/auth";
export default {
  components: {
    Li_area_select,
@@ -1036,9 +1035,7 @@
    this.getCoordinatorList1();
    this.getCoordinatorList2();
  },
  activated() {
  },
  activated() {},
  mounted(e) {
    this.selecttime = "";
    this.reportervalue = "";
@@ -1050,8 +1047,7 @@
    if (this.$route.params.starttime != null && this.$route.params.endtime) {
      this.selecttime = [
        this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"),
        this.$moment(this.$route.params.endtime)
          .format("YYYY-MM-DD")
        this.$moment(this.$route.params.endtime).format("YYYY-MM-DD")
      ];
    }
    if (this.$route.params.reporterno != "") {
@@ -1359,7 +1355,7 @@
        path: "/organ/donationdetails/",
        query: {
          id: row.id,
          organType: "edit",
          organType: "edit"
        }
      });
      // this.reset();
@@ -1613,7 +1609,7 @@
            console.log(url);
            const link = document.createElement("a");
            link.href = url;
            const name=fileUrl["downloadName"]
            const name = fileUrl["downloadName"];
            link.setAttribute("download", name); // 替换file.pdf为实际的文件名
            document.body.appendChild(link);
            link.click();