WXL
2025-04-27 400d13ddc80a7560860939f65b318b2fa78f9004
src/views/patient/patient/hospital.vue
@@ -46,7 +46,6 @@
            />
          </el-form-item>
          <el-form-item label="患者范围" prop="status">
          <el-cascader
            v-model="queryParams.scopetype"
@@ -178,15 +177,26 @@
                  <el-button
                    size="medium"
                    type="text"
                    @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)"
                    ><span class="button-textsc"
                      >{{scope.row.patname}}</span
                    ></el-button
                @click="
                  gettoken360(
                    scope.row.idcardno,
                    scope.row.drcode,
                    scope.row.drname
                  )
                "
                ><span class="button-textsc">{{
                  scope.row.patname
                }}</span></el-button
                  >
                </template>
              </el-table-column>
          <el-table-column label="性别"width="100" align="center" key="sex" prop="sex">
          <el-table-column
            label="性别"
            width="100"
            align="center"
            key="sex"
            prop="sex"
          >
            <template slot-scope="scope">
              <span>{{ scope.row.sex == 1 ? "男" : "女" }}</span>
            </template>
@@ -280,7 +290,6 @@
                    query: { id: scope.row.patid },
                  })
                "
                ><span class="button-textsc"
                  ><i class="el-icon-zoom-in"></i>查看</span
                ></el-button
@@ -348,9 +357,10 @@
      <div class="uploading" v-else-if="dractive == 2">
        <el-table :data="uploadingData" style="width: 100%">
          <el-table-column prop="serial" label="序号"> </el-table-column>
          <el-table-column prop="name" label="姓名"
          width="100"> </el-table-column>
          <el-table-column prop="sex" label="性别"width="100"> </el-table-column>
          <el-table-column prop="name" label="姓名" width="100">
          </el-table-column>
          <el-table-column prop="sex" label="性别" width="100">
          </el-table-column>
          <el-table-column prop="certificate" label="证件类型">
          </el-table-column>
          <el-table-column prop="certificatenum" label="证件号码">
@@ -394,10 +404,7 @@
<script>
import { delUser } from "@/api/system/user";
import {
  listpatient,
} from "@/api/patient/record";
import { listpatient } from "@/api/patient/record";
import {
  messagelistpatient,
  alterpatient,
@@ -578,9 +585,7 @@
        leavehospitaldistrictcodes: [],
      },
      // 表单校验
      rules: {
      },
      rules: {},
    };
  },
  watch: {
@@ -633,9 +638,9 @@
    //患者360跳转
    gettoken360(sfzh,drcode,drname) {
      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
      if (this.postData.XiaoXiTou.ZuHuMC=='丽水市中医院') {
        this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
        this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
      if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") {
        this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728";
        this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY";
      }
      query360PatInfo(this.postData).then((res) => {
        if (res.data.url) {
@@ -721,8 +726,13 @@
    },
    /** 搜索按钮操作 */
    handleQuery() {
      if (this.dateRange) {
      this.queryParams.startOutHospTime = this.dateRange[0];
      this.queryParams.endOutHospTime = this.dateRange[1];
      } else {
        this.queryParams.startOutHospTime = "";
        this.queryParams.endOutHospTime = "";
      }
      this.queryParams.pageNum = 1;
      this.getList();
    },
@@ -734,8 +744,11 @@
        pageNum: 1,
        pageSize: 10,
        cry: 1,
        searchscope:2,
      },
        searchscope: 3,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      };
      this.handleQuery();
    },
    // 多选框选中数据