WXL
3 天以前 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774
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"
@@ -185,7 +197,6 @@
            type="text"
            icon="el-icon-view"
            @click="handleShow(scope.row)"
            v-hasPermi="['project:donatebaseinfo:edit']"
            >查看</el-button
          >
          <el-button
@@ -197,7 +208,6 @@
            size="mini"
            type="text"
            icon="el-icon-refrigerator"
            v-hasPermi="['project:donatebaseinfo:edit']"
            @click="getReview(scope.row)"
            >审核</el-button
          >
@@ -207,7 +217,6 @@
            type="text"
            icon="el-icon-thumb"
            @click="reject(scope.row)"
            v-hasPermi="['project:donatebaseinfo:edit']"
            >审核拒绝</el-button
          > -->
          <!-- 撤销申请 -->
@@ -254,8 +263,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 +626,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 +766,7 @@
            <!-- :annexno="annexno" -->
            <annex-upload
              :infoid="form.id"
              :donorno="form.donorno"
              :caseNo="form.caseNo"
              :flowname="flowname"
            />
          </el-form-item>
@@ -922,7 +931,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        donorno: null,
        caseNo: null,
        recordstate: null,
        // treatmenthospitalno: null,
        treatmenthospitalname: null,
@@ -1130,7 +1139,7 @@
      this.form = {
        id: null,
        name: null,
        donorno: null,
        caseNo: null,
        // diagnosisname:null,
        sex: null,
        idcardtype: null,
@@ -1175,7 +1184,7 @@
        bloodtype: "0",
        inpatientno: null,
        rhyin: 0,
        donorno: null,
        caseNo: null,
        donationcategory: null,
        illnessoverview: null,
        diseasetype: [],
@@ -1230,7 +1239,7 @@
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        caseNo: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
@@ -1500,7 +1509,7 @@
      this.reviewForm = {
        id: null,
        infoid: null,
        donorno: null,
        caseNo: null,
        delFlag: null,
        createBy: null,
        createTime: null,
@@ -1519,7 +1528,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 +1590,7 @@
      this.reset();
      let searchParam = {
        infoid: row.id,
        donorno: row.donorno,
        caseNo: row.caseNo,
        flowname: this.flowname,
      };
      listDonateflowchart(searchParam).then((response) => {
@@ -1609,14 +1618,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;