qinxianzhangyao
2023-12-20 30565c28ef92fbafc0247424d1d741e5d4df8c00
src/views/system/tijian/index.vue
@@ -50,8 +50,7 @@
              </el-form-item>
            </el-col>
            <el-col :span="7">
              <el-form-item label="性别" prop="cusSex"
              :rules="[
              <el-form-item label="性别" prop="cusSex" :rules="[
                {
                  required: true, validator: (rule, value, callback) => {
                    if (!form.cusSex && showHidden.has_sex === 'Y') {
@@ -72,8 +71,7 @@
            </el-col>
            <el-col :span="9">
              <el-form-item label="证件号" prop="cusIdcard"
                :rules="[
              <el-form-item label="证件号" prop="cusIdcard" :rules="[
                {
                  required: true, validator: (rule, value, callback) => {
                    if (!form.cusIdcard && showHidden.has_idcard === 'Y') {
@@ -85,8 +83,7 @@
                    }
                  }, trigger: 'blur'
                }]"
                style="display: flex">
                }]" style="display: flex">
                <span slot="label" style="display:inline-block;border-bottom: 2px solid blue;" @click="handleQuery">
                  证件号
                </span>
@@ -1619,9 +1616,12 @@
      // this.tableData.forEach((item) => {
      //   this.fData = item.tjProjectList;
      // });
      console.log(this.treedataList)
      console.log(selection)
      if (selection[0]) {
        this.DataList = [];
        // this.data = JSON.parse(JSON.stringify(this.dXData));
        if (selection[0].tjProjectList) {
        selection[0].tjProjectList.forEach((selectionitem) => {
          this.treedataList.forEach((item) => {
            if (selectionitem.proName == item.proName) {
@@ -1646,6 +1646,7 @@
            }
          });
        });
        }
      } else {
        this.treedataList = JSON.parse(JSON.stringify(this.dXData));
        return;
@@ -1659,7 +1660,10 @@
      //全部套餐
      deptTreeSelect(cusSex).then((response) => {
        this.newpacName = response.rows;
        console.log(this.newpacName)
        console.log(this.tableData1)
        try {
          if (this.tableData1.length >= 1) {
          this.newpacName.forEach((item3) => {
            this.tableData1.forEach((item4) => {
              item4.list.forEach((item6) => {
@@ -1672,6 +1676,8 @@
              });
            });
          });
          }
        } catch (error) { }
        this.loading = false;
      });
@@ -1869,6 +1875,16 @@
        getfindTj(data).then((response) => {
          if (response.data) {
            this.feeitems = response.data;
            if (this.feeitems.length != 0) {
              this.$nextTick(() => {
                this.$refs.multipleTable.toggleRowSelection(
                  this.feeitems[0],
                  true
                );
              });
            } else {
              this.$refs.multipleTable.clearSelection();
            }
            this.loading = false;
          } else {
            this.feeitems = [];