WXL (wul)
6 天以前 a5cba9ab040f6f97558046885dce3017f9bab7e9
src/views/patient/patient/AwaitingAdmission.vue
@@ -218,7 +218,8 @@
                  gettoken360(
                    scope.row.idcardno,
                    scope.row.drcode,
                    scope.row.drname
                    scope.row.drname,
                    scope.row.patid
                  )
                "
                ><span class="button-textsc">{{
@@ -545,7 +546,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 +703,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        inhospstate: "3",
      },
      // 表单校验
      rules: {
@@ -780,7 +786,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 +820,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;