11
WXL
2024-08-14 0ac2d43fce4d74f6eea5a51a2e16af4e6a536c7c
src/views/project/relativesconfirmation/index.vue
@@ -85,7 +85,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 +118,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"
@@ -162,7 +172,7 @@
              :value="scope.row.workflow"
            />
          </div>
          <div v-else>任务中止</div>
          <div v-else>任务终止</div>
        </template>
      </el-table-column>
@@ -186,7 +196,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
@@ -1112,6 +1122,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 +1445,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 +1598,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 = "家属确认登记";