WXL
昨天 c8e9849cb5f24848df0174c13bfbbff37bb08a5a
src/views/project/donatefinish/index.vue
@@ -56,7 +56,7 @@
              size="small"
            >
              <el-option
                v-for="dict in dict.type.sys_donornode"
                v-for="dict in dict.type.sys_caseNode"
                :key="dict.value"
                :label="dict.label"
                :value="dict.value"
@@ -202,7 +202,7 @@
        <template slot-scope="scope">
          <div v-if="!scope.row.terminationCase">
            <dict-tag
              :options="dict.type.sys_donornode"
              :options="dict.type.sys_caseNode"
              :value="scope.row.workflow"
            />
          </div>
@@ -222,7 +222,7 @@
            size="mini"
            type="text"
            icon="el-icon-refrigerator"
            @click="updatedonorno(scope.row)"
            @click="updatecaseNo(scope.row)"
            >更新编号</el-button
          > -->
          <el-button
@@ -284,10 +284,10 @@
      <el-form ref="form" :model="form" :rules="rules" label-width="120px">
        <el-row>
          <el-col :span="8">
            <el-form-item label="捐献编号" prop="donorno">
            <el-form-item label="捐献编号" prop="caseNo">
              <el-input
                disabled
                v-model="curCase.donorno"
                v-model="curCase.caseNo"
                placeholder="请输入捐献者编号"
              />
            </el-form-item>
@@ -503,7 +503,7 @@
            <annex-upload
              ref="finishannex"
              :infoid="curCase.id"
              :donorno="curCase.donorno"
              :caseNo="curCase.caseNo"
              :flowname="flowname"
              :annexno="annexno"
            />
@@ -583,7 +583,7 @@
    "sys_Infectious",
    "sys_InfoSources",
    "sys_OtherCases",
    "sys_donornode",
    "sys_caseNode",
    "sys_DiseaseType",
    "sys_SelfWill",
    "sys_FamilyRelation",
@@ -679,7 +679,7 @@
        recordstate: null,
        treatmenthospitalname: null,
        treatmenthospitalno: null,
        donorno: null,
        caseNo: null,
        reportername: null,
        reporttime: null,
        city: null
@@ -702,7 +702,7 @@
        ]
      },
      curCase: {
        donorno: "",
        caseNo: "",
        name: "",
        registerAddresss: "",
        infoid: ""
@@ -728,7 +728,7 @@
    this.selecttime = "";
    this.reportervalue = "";
    this.reportlist = [];
    this.queryParams.donorno = "";
    this.queryParams.caseNo = "";
    this.queryParams.recordstate = "";
    this.queryParams.name = "";
    this.queryParams.treatmenthospitalno = "";
@@ -856,7 +856,7 @@
      console.log(this.starttime);
      console.log(this.endtime);
    },
    updatedonorno(row) {
    updatecaseNo(row) {
      console.log("row", row);
      updatedonatorno(row.infoid).then(res => {
        console.log("1221212", res);
@@ -1011,7 +1011,7 @@
      this.form = {
        id: null,
        infoid: null,
        donorno: null,
        caseNo: null,
        delFlag: null,
        createBy: null,
        createTime: null,
@@ -1049,7 +1049,7 @@
        // "2"
        recordstate: null,
        treatmenthospitalname: null,
        donorno: null,
        caseNo: null,
        acquisitiontissueno: null,
        reportername: null,
        reporttime: null,
@@ -1092,7 +1092,7 @@
      // this.curCase = {
      //   id: row.id,
      //   recordstate: null,
      //   donorno: row.donorno,
      //   caseNo: row.caseNo,
      // };
      // this.form.coordinateduserido = row.coordinateduserido;
      // this.form.coordinateduseridt = row.coordinateduseridt;
@@ -1151,7 +1151,7 @@
      this.loading = true;
      this.reset();
      this.curCase.registerAddresss = row.registeraddresss;
      this.curCase.donorno = row.donorno;
      this.curCase.caseNo = row.caseNo;
      this.curCase.name = row.name;
      this.curCase.infoid = row.infoid;
      this.open = true;
@@ -1166,7 +1166,7 @@
      let oraganqueryParam = {
        infoid: row.id
        // donorname: this.curCase.name,
        // donorno: this.curCase.donorno,
        // caseNo: this.curCase.caseNo,
        // registeraddress: this.curCase.registeraddresss,
      };
      listDonateorgan(oraganqueryParam).then(response => {
@@ -1202,7 +1202,7 @@
      this.loading = true;
      this.$refs["form"].validate(valid => {
        if (valid) {
          this.form.donorno = this.curCase.donorno;
          this.form.caseNo = this.curCase.caseNo;
          this.form.infoid = this.curCase.id;
          this.form.donateorgan = JSON.stringify(this.form.donateorganList);
          // let forms = delete this.form.donateorganList;