WXL
昨天 f64155f6ad27c50451bb7d4a15f553bc72ead7de
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>
@@ -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"