WXL (wul)
4 天以前 bc9538a9e071259ca8bbb6de52c60c9d7a55a03b
src/views/patient/patient/AwaitingAdmission.vue
@@ -54,6 +54,17 @@
              <el-option label="未安排" :value="2"> </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="床号排序" prop="bedSort">
            <el-select
              v-model="queryParams.bedSort"
              placeholder="不按床号排序"
              style="width: 160px"
            >
              <el-option label="不按床号排序" :value="null"></el-option>
              <el-option label="按床号正序" :value="1"></el-option>
              <el-option label="按床号倒序" :value="2"></el-option>
            </el-select>
          </el-form-item>
          <el-row>
            <el-form-item>
              <el-button
@@ -93,7 +104,7 @@
              size="medium"
              :disabled="single"
              @click="handleUpdate"
              v-hasPermi="['system:user:edit']"
              >修改</el-button
            >
          </el-col> -->
@@ -218,7 +229,8 @@
                  gettoken360(
                    scope.row.idcardno,
                    scope.row.drcode,
                    scope.row.drname
                    scope.row.drname,
                    scope.row.patid
                  )
                "
                ><span class="button-textsc">{{
@@ -311,7 +323,7 @@
                    query: { id: scope.row.patid },
                  })
                "
                v-hasPermi="['system:user:edit']"
                ><span class="button-textsc"
                  ><i class="el-icon-zoom-in"></i>查看</span
                ></el-button
@@ -545,7 +557,12 @@
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import { query360PatInfo, getTasklist, addSubtask } from "@/api/AiCentre/index";
import {
  query360PatInfo,
  query360PatInfonh,
  getTasklist,
  addSubtask,
} from "@/api/AiCentre/index";
import store from "@/store";
import { type } from "jquery";
@@ -697,7 +714,8 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        inhospstate: "3",
        bedSort: null,
      },
      // 表单校验
      rules: {
@@ -780,7 +798,8 @@
        this.queryParams.beginTime = "";
        this.queryParams.endTime = "";
      }
        this.loading = false;
      this.queryParams.inhospstate = "3";
      this.loading = false;
      listPatMedInhosp(this.queryParams).then((response) => {
        this.userList = response.rows;
@@ -813,8 +832,25 @@
      });
    },
    //患者360跳转
    gettoken360(sfzh, drcode, drname) {
      // this.$modal.msgWarning('360功能暂未开通');
    gettoken360(sfzh, drcode, drname, id) {
      const orgname = localStorage.getItem("orgname");
      if (orgname == "南华大学附属第一医院") {
        query360PatInfonh(id).then((res) => {
          if (res.data) {
            window.open(res.data, "_blank");
          } else {
            this.$modal.msgWarning("360查询无结果");
          }
        });
        return;
      } else if (
        orgname == "第一人民医院湖滨院区" ||
        orgname == "第一人民医院吴山院区"
      ) {
        let url = `http://192.200.81.189:9100/blj/view?BINGRENID=${id}&YONGHUID=DBA`;
        window.open(url, "_blank");
        return;
      }
      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
@@ -869,6 +905,7 @@
      this.queryParams = {
        pageNum: 1,
        pageSize: 10,
        bedSort: null,
        // leavehospitaldistrictcodes: [],
      };