yxh
23 小时以前 a79d67f8a9a9fa02f9d25f987b9611af965c484f
src/views/project/relativesconfirmation/index.vue
@@ -1,6 +1,7 @@
<template>
  <div class="app-container">
    <el-form
      class="opo-query-form"
      :model="queryParams"
      ref="queryForm"
      :inline="true"
@@ -85,7 +86,7 @@
        </el-col>
        <el-col :span="12">
          <el-form-item label="报告日期">
          <el-form-item label="确认时间">
            <el-date-picker
              style="width: 100%"
              v-model="selecttime"
@@ -118,7 +119,17 @@
    </el-form>
    <el-table v-loading="loading" border :data="listnewRelativesconfirm">
      <el-table-column
        label="报告时间"
        label="案例时间"
        align="center"
        prop="donatetime"
        width="120"
      >
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.donatetime, "{y}-{m}-{d}") }}</span>
        </template>
      </el-table-column>
      <el-table-column
        label="确认时间"
        align="center"
        prop="reporttime"
        width="120"
@@ -138,7 +149,19 @@
          />
        </template>
      </el-table-column>
      <el-table-column label="年龄" align="center" prop="age" width="100" />
      <el-table-column label="年龄" align="center" prop="age" width="100">
        <template slot-scope="scope">
           {{
            `${
              scope.row.age && scope.row.age !== 0 ? `${scope.row.age}${scope.row.ageunit?scope.row.ageunit:''}` : ""
            } ${
              scope.row.age2 && scope.row.age2 !== 0
                ? `${scope.row.age2}${scope.row.ageunit2}`
                : ""
            }`.trim()
          }}
        </template>
      </el-table-column>
      <el-table-column
        label="医疗机构"
@@ -186,7 +209,7 @@
            type="text"
            icon="el-icon-refrigerator"
            @click="handledownload(scope.row)"
            v-if="scope.row.recordstate == '6'"
            v-if="scope.row.workflow == '6'"
            >下载</el-button
          >
          <!-- <el-button
@@ -566,8 +589,8 @@
                  clearable
                  size="small"
                  v-model="form.signdate"
                  type="date"
                  value-format="yyyy-MM-dd hh:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  placeholder="选择签字日期"
                >
                </el-date-picker>
@@ -723,8 +746,8 @@
                size="small"
                style="width: 310px"
                v-model="evaluationForm.hospitalassesstime"
                type="date"
                value-format="yyyy-MM-dd hh:mm:ss"
                type="date" format="yyyy-MM-dd"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="选择院级评估时间"
              >
              </el-date-picker>
@@ -770,8 +793,8 @@
                size="small"
                style="width: 310px"
                v-model="evaluationForm.provincialassesstime"
                type="date"
                value-format="yyyy-MM-dd hh:mm:ss"
                type="date" format="yyyy-MM-dd"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="选择省级评估时间"
              >
              </el-date-picker>
@@ -818,8 +841,8 @@
                size="small"
                style="width: 310px"
                v-model="evaluationForm.coreteamassesstime"
                type="date"
                value-format="yyyy-MM-dd hh:mm:ss"
                type="date" format="yyyy-MM-dd"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="评估时间"
              >
              </el-date-picker>
@@ -1112,6 +1135,12 @@
    // this.getDicts('country').then(res=>{
    //   this.nationality =res.data
    // })
    if (sessionStorage.getItem("relativesconfirmation")) {
      this.queryParams = JSON.parse(
        sessionStorage.getItem("relativesconfirmation")
      );
      console.log(this.queryParams, "queryParams");
    }
    this.getuserlist();
    this.getLeaderList();
    this.getCoordinatorList1();
@@ -1429,7 +1458,11 @@
    /** 查询捐献基础列表 */
    getList(e) {
      this.loading = true;
      sessionStorage.removeItem("relativesconfirmation");
      sessionStorage.setItem(
        "relativesconfirmation",
        JSON.stringify(this.queryParams)
      );
      if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
        this.queryParams.params[
          "beginReporttime"
@@ -1578,14 +1611,14 @@
    },
    /** 家属确认操作 */
    handleAdd(row) {
      // this.$router.push({
      //   path: "/organ/donationdetails/",
      //   query: {
      //     id: row.id,
      //     organType: "edit",
      //   }
      // });
      // return ;
      this.$router.push({
        path: "/organ/donationdetails/",
        query: {
          id: row.id,
          organType: "edit"
        }
      });
      return;
      console.log("ppppppp", row);
      this.showSaveBtn = false;
      this.flowname = "家属确认登记";