yxh
2026-10-12 0e10e10157b90002b99996914eaf1e5574924ddf
src/views/project/donatefinish/index.vue
@@ -126,7 +126,7 @@
          </el-form-item>
        </el-col>
      </el-row> -->
    </el-form>
@@ -155,7 +155,21 @@
          />
        </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.age2 && scope.row.age2 !== 0
                ? `${scope.row.age2}${scope.row.ageunit2}`
                : ""
            }`.trim()
          }}
        </template>
      </el-table-column>
      <el-table-column
        label="医疗机构"
        align="center"
@@ -192,7 +206,7 @@
              :value="scope.row.workflow"
            />
          </div>
          <div v-else>任务中止</div>
          <div v-else>任务终止</div>
        </template>
      </el-table-column>
@@ -294,8 +308,8 @@
                clearable
                size="small"
                v-model="form.completetime"
                type="date"
                value-format="yyyy-MM-dd hh:mm:ss"
                type="date" format="yyyy-MM-dd"
                value-format="yyyy-MM-dd"
                placeholder="选择完成时间"
              >
              </el-date-picker>
@@ -364,8 +378,8 @@
                    size="small"
                    style="width: 90%"
                    v-model="scope.row.transplanttime"
                    type="date"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="date" format="yyyy-MM-dd"
                    value-format="yyyy-MM-dd"
                    placeholder="选择器官移植时间"
                  >
                  </el-date-picker>
@@ -705,9 +719,10 @@
    };
  },
  created() {
    // this.getDicts('country').then(res=>{
    //   this.nationality =res.data
    // })
    if (sessionStorage.getItem("donatefinish")) {
      this.queryParams = JSON.parse(sessionStorage.getItem("donatefinish"));
      console.log(this.queryParams, "queryParams");
    }
  },
  activated() {
    this.selecttime = "";
@@ -720,8 +735,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 != "") {
@@ -957,6 +971,8 @@
    getList() {
      this.loading = true;
      this.queryParams.params = {};
      sessionStorage.removeItem("donatefinish");
      sessionStorage.setItem("donatefinish", JSON.stringify(this.queryParams));
      if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
        this.queryParams.params[
          "beginReporttime"