WXL
2 天以前 c8e9849cb5f24848df0174c13bfbbff37bb08a5a
src/views/project/donatereview/index.vue
@@ -122,7 +122,7 @@
    >
      <!-- <el-table-column label="报告时间" align="center" prop="id" /> -->
      <!-- <el-table-column type="selection" width="55" align="center" /> -->
     <el-table-column
        label="报告时间"
        align="center"
@@ -144,7 +144,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="现所在地市"
        align="center"
@@ -254,8 +266,8 @@
            </el-form-item>
          </el-col> -->
          <el-col :span="8">
            <el-form-item label="捐献编号" prop="donorno">
              <el-input v-model="form.donorno" placeholder="请输入捐献者编号" />
            <el-form-item label="捐献编号" prop="caseNo">
              <el-input v-model="form.caseNo" placeholder="请输入捐献者编号" />
            </el-form-item>
          </el-col>
          <el-col :span="8">
@@ -617,10 +629,10 @@
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="与捐赠者关系" prop="familyrelations">
            <el-form-item label="与捐献者关系" prop="familyrelations">
              <el-select
                v-model="form.familyrelations"
                placeholder="请选择与捐赠者关系"
                placeholder="请选择与捐献者关系"
              >
                <el-option
                  v-for="dict in dict.type.sys_FamilyRelation"
@@ -757,7 +769,7 @@
            <!-- :annexno="annexno" -->
            <annex-upload
              :infoid="form.id"
              :donorno="form.donorno"
              :caseNo="form.caseNo"
              :flowname="flowname"
            />
          </el-form-item>
@@ -922,7 +934,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        donorno: null,
        caseNo: null,
        recordstate: null,
        // treatmenthospitalno: null,
        treatmenthospitalname: null,
@@ -1130,7 +1142,7 @@
      this.form = {
        id: null,
        name: null,
        donorno: null,
        caseNo: null,
        // diagnosisname:null,
        sex: null,
        idcardtype: null,
@@ -1175,7 +1187,7 @@
        bloodtype: "0",
        inpatientno: null,
        rhyin: 0,
        donorno: null,
        caseNo: null,
        donationcategory: null,
        illnessoverview: null,
        diseasetype: [],
@@ -1230,7 +1242,7 @@
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        caseNo: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
@@ -1500,7 +1512,7 @@
      this.reviewForm = {
        id: null,
        infoid: null,
        donorno: null,
        caseNo: null,
        delFlag: null,
        createBy: null,
        createTime: null,
@@ -1519,7 +1531,7 @@
      // console.log(JSON.stringify(this.curCase));
      this.resetReviewForm();
      this.reviewForm.infoid = row.id;
      this.reviewForm.donorno = row.donorno;
      this.reviewForm.caseNo = row.caseNo;
      this.reviewForm.flowname = this.flowname;
      this.isShowReviewDialog = true;
    },
@@ -1581,7 +1593,7 @@
      this.reset();
      let searchParam = {
        infoid: row.id,
        donorno: row.donorno,
        caseNo: row.caseNo,
        flowname: this.flowname,
      };
      listDonateflowchart(searchParam).then((response) => {
@@ -1609,14 +1621,14 @@
          if (response.rows.length == 0) {
            this.resetReviewForm();
            this.reviewForm.infoid = row.id;
            this.reviewForm.donorno = row.donorno;
            this.reviewForm.caseNo = row.caseNo;
            this.reviewForm.flowname = this.flowname;
            this.isShowReviewDialog = true;
            this.open = true;
          } else if (response.rows.length == 1) {
            this.reviewForm = response.rows[0];
            this.reviewForm.infoid = row.id;
            this.reviewForm.donorno = row.donorno;
            this.reviewForm.caseNo = row.caseNo;
            this.reviewForm.flowname = this.flowname;
            this.isShowReviewDialog = true;
            this.open = true;