From 6de02b3641b3f0a876513d8f367ed44337423920 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 23 一月 2025 10:58:12 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/indexls.vue |  380 ++++++++++-------------------------------------------
 1 files changed, 73 insertions(+), 307 deletions(-)

diff --git a/src/views/patient/patient/indexls.vue b/src/views/patient/patient/indexls.vue
index 7cb0e40..d3e7306 100644
--- a/src/views/patient/patient/indexls.vue
+++ b/src/views/patient/patient/indexls.vue
@@ -1,23 +1,13 @@
 <template>
-  <div class="app-container">
-  鎮h��360宓屽叆浣嶇疆
-  </div>
+  <div class="iframe-container"><iframe :src="linkUrl" frameborder="0"></iframe></div>
 </template>
 
 <script>
-import {
-  listUser,
-  getUser,
-  delUser,
-  addUser,
-  updateUser,
-  resetUserPwd,
-  changeUserStatus,
-} from "@/api/system/user";
-import { getTaskservelist } from "@/api/AiCentre/index";
+import { gitzerotoken } from "@/api/AiCentre/index";
 import Treeselect from "@riophae/vue-treeselect";
 import store from "@/store";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+import axios from "axios";
 
 export default {
   name: "Discharge",
@@ -37,6 +27,7 @@
       showSearch: true,
       // 鎬绘潯鏁�
       total: 0,
+      linkUrl:'https://blog.csdn.net/weixin_46622350/article/details/119245415',
       // 鐢ㄦ埛琛ㄦ牸鏁版嵁
       userList: null,
       // 寮瑰嚭灞傛爣棰�
@@ -86,58 +77,7 @@
         },
       ],
       loading: false,
-      states: [
-        "Alabama",
-        "Alaska",
-        "Arizona",
-        "Arkansas",
-        "California",
-        "Colorado",
-        "Connecticut",
-        "Delaware",
-        "Florida",
-        "Georgia",
-        "Hawaii",
-        "Idaho",
-        "Illinois",
-        "Indiana",
-        "Iowa",
-        "Kansas",
-        "Kentucky",
-        "Louisiana",
-        "Maine",
-        "Maryland",
-        "Massachusetts",
-        "Michigan",
-        "Minnesota",
-        "Mississippi",
-        "Missouri",
-        "Montana",
-        "Nebraska",
-        "Nevada",
-        "New Hampshire",
-        "New Jersey",
-        "New Mexico",
-        "New York",
-        "North Carolina",
-        "North Dakota",
-        "Ohio",
-        "Oklahoma",
-        "Oregon",
-        "Pennsylvania",
-        "Rhode Island",
-        "South Carolina",
-        "South Dakota",
-        "Tennessee",
-        "Texas",
-        "Utah",
-        "Vermont",
-        "Virginia",
-        "Washington",
-        "West Virginia",
-        "Wisconsin",
-        "Wyoming",
-      ],
+
       pickerOptions: {
         disabledDate(time) {
           return time.getTime() > Date.now();
@@ -222,6 +162,40 @@
           label: "姝e父",
         },
       ],
+      url: "http://9.208.2.190:8095/smartor/serviceExternal/query360PatInfo",
+      postData: {
+        XiaoXiTou: {
+          FaSongFCSJC: "ZJHES",
+          FaSongJGID: "47255004333112711A1001",
+          FaSongJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+          FaSongSJ: "2025-01-09聽17:29:36",
+          FaSongXTJC: "SUIFANGXT",
+          FaSongXTMC: "闅忚绯荤粺",
+          XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171",
+          XiaoXiLX: "SC_LC_360STCX",
+          XiaoXiMC: "360聽瑙嗗浘鏌ヨ",
+          ZuHuID: "1400361376454545408",
+          ZuHuMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+        },
+        YeWuXX: {
+          BingRenXX: {
+            ZhengJianHM: "110101199701018034",
+            ZhengJianLXDM: "01",
+            ZhengJianLXMC: "灞呮皯韬唤璇�",
+            ZuZhiJGID: "47255004333112711A1001",
+            ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+          },
+          YongHuXX: {
+            XiTongID: "SUIFANGXT",
+            XiTongMC: "闅忚绯荤粺",
+            YongHuID: "1400466972205912064",
+            YongHuXM: "JNRMYY",
+            ZuZhiJGID: "47255004333112711A1001",
+            ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+            idp: "lyra",
+          },
+        },
+      },
       serviceState: [],
       // 琛ㄥ崟鏍¢獙
       rules: {},
@@ -229,259 +203,41 @@
   },
   watch: {},
   created() {
-    this.serviceState = store.getters.serviceState;
-    this.getList();
-    this.getConfigKey("sys.user.initPassword").then((response) => {
-      this.initPassword = response.msg;
-    });
+    this.gettoken();
   },
-  activated() {
-    this.getList();
-  },
-  // 鎼滅储
-  mounted() {
-    this.list = this.states.map((item) => {
-      return { value: `value:${item}`, label: `label:${item}` };
-    });
-  },
+  activated() {},
+
   methods: {
-    /** 鏌ヨ闂ㄨ瘖瀹f暀鏈嶅姟鍒楄〃 */
-    getList() {
-      if (this.topqueryParams.searchscope == 1) {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes = null;
-      } else if (this.topqueryParams.searchscope == 2) {
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-        this.topqueryParams.leaveldeptcodes = null;
-      } else {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-      }
-      this.loading = true;
-      getTaskservelist(this.topqueryParams).then((response) => {
-        this.userList = response.rows[0].serviceSubtaskList;
-        this.userList.forEach((item) => {
-          if (item.endtime) {
-            item.endDay = this.daysBetween(item.endtime);
-          }
-        });
-        this.total = response.total;
-        this.loading = false;
-      });
-    },
-    // 鏌ョ湅闂ㄨ瘖瀹f暀璇︽儏
-    Referencequestion(row) {
-      this.previewVisible = true;
-    },
-    // 娣诲姞寮规鎼滅储
-    remoteMethod(query) {
-      if (query !== "") {
-        this.loading = true;
-        setTimeout(() => {
-          this.loading = false;
-          this.options = this.list.filter((item) => {
-            return item.label.toLowerCase().indexOf(query.toLowerCase()) > -1;
-          });
-        }, 200);
-      } else {
-        this.options = [];
-      }
-    },
-    // 闂ㄨ瘖瀹f暀鐘舵�佷慨鏀�
-    handleStatusChange(row) {
-      let text = row.status === "0" ? "鍚敤" : "鍋滅敤";
-      this.$modal
-        .confirm('纭瑕�"' + text + '""' + row.userName + '"鐢ㄦ埛鍚楋紵')
-        .then(function () {
-          return changeUserStatus(row.userId, row.status);
+    gettoken() {
+      axios
+        .post(this.url, this.postData)
+        .then((response) => {
+          // 璇锋眰鎴愬姛
+          console.log("Response:", response);
+          console.log("Response:", response.data.data.url);
+          this.linkUrl = response.data.data.url;
         })
-        .then(() => {
-          this.$modal.msgSuccess(text + "鎴愬姛");
-        })
-        .catch(function () {
-          row.status = row.status === "0" ? "1" : "0";
-        });
-    },
-    // 鍙栨秷鎸夐挳
-    cancel() {
-      this.addalteropen = false;
-      this.reset();
-    },
-    // 琛ㄥ崟閲嶇疆
-    reset() {
-      this.form = {
-        userId: undefined,
-        deptId: undefined,
-        userName: undefined,
-        nickName: undefined,
-        password: undefined,
-        phonenumber: undefined,
-        email: undefined,
-        sex: undefined,
-        status: "0",
-        remark: undefined,
-        postIds: [],
-        roleIds: [],
-      };
-      this.resetForm("form");
-    },
-    /** 鎼滅储鎸夐挳鎿嶄綔 */
-    handleQuery() {
-      if (this.topqueryParams.searchscope == 1) {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes = null;
-      } else if (this.topqueryParams.searchscope == 2) {
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-        this.topqueryParams.leaveldeptcodes = null;
-      } else {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-      }
-      this.topqueryParams.pageNum = 1;
-      this.topqueryParams.startOutHospTime = this.dateRange[0];
-      this.topqueryParams.endOutHospTime = this.dateRange[1];
-
-      this.getList();
-    },
-    /** 閲嶇疆鎸夐挳鎿嶄綔 */
-    resetQuery() {
-      this.dateRange = [];
-      this.topqueryParams = {
-        pageNum: 1,
-        pageSize: 10,
-        serviceType: 4,
-      };
-      this.handleQuery();
-    },
-    // 澶氶�夋閫変腑鏁版嵁
-    handleSelectionChange(selection) {
-      this.ids = selection.map((item) => item.userId);
-      this.single = selection.length != 1;
-      this.multiple = !selection.length;
-    },
-    //鍒犻櫎閫夐」
-    handleClose(tag) {
-      this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
-    },
-    //瑙﹀彂鏂板杈撳叆
-    showInput() {
-      this.inputVisible = true;
-      this.$nextTick((_) => {
-        this.$refs.saveTagInput.$refs.input.focus();
-      });
-    },
-    //鑾峰彇澶卞幓鐒︾偣瑙﹀彂
-    handleInputConfirm() {
-      let inputValue = this.inputValue;
-      if (inputValue) {
-        this.dynamicTags.push(inputValue);
-      }
-      this.inputVisible = false;
-      this.inputValue = "";
-    },
-    /** 鏂板鎸夐挳鎿嶄綔 */
-    handleAdd() {
-      this.$router.push({
-        path: "/followvisit/Missioncreation",
-        query: {
-          type: 3,
-          serviceType: 4,
-        },
-      });
-    },
-
-    /** 鎻愪氦鎸夐挳 */
-    submitForm: function () {
-      this.$refs["form"].validate((valid) => {
-        if (valid) {
-          if (this.form.userId != undefined) {
-            updateUser(this.form).then((response) => {
-              this.$modal.msgSuccess("淇敼鎴愬姛");
-              this.open = false;
-              this.getList();
-            });
+        .catch((error) => {
+          // 璇锋眰澶辫触
+          console.error("Error:", error);
+          if (error.response) {
+            // 鏈嶅姟鍣ㄨ繑鍥炰簡閿欒鍝嶅簲
+            console.error("Status Code:", error.response.status);
+            console.error("Response Data:", error.response.data);
+          } else if (error.request) {
+            // 璇锋眰宸插彂鍑猴紝浣嗘湭鏀跺埌鍝嶅簲
+            console.error("No response received");
           } else {
-            addUser(this.form).then((response) => {
-              this.$modal.msgSuccess("鏂板鎴愬姛");
-              this.open = false;
-              this.getList();
-            });
+            // 鍦ㄨ缃姹傛椂鍙戠敓浜嗕竴浜涗簨鎯咃紝瑙﹀彂浜嗕竴涓敊璇�
+            console.error("Error Message:", error.message);
           }
-        }
-      });
-    },
-
-    // 鍏ㄩ儴鍋滄
-    AllStop() {
-      this.$modal
-        .confirm("鏄惁鍋滄鍏ㄩ儴浠诲姟锛�")
-        .then(function () {
-          return console.log("鍋滄鎴愬姛");
-        })
-        .then(() => {
-          this.getList();
-          this.$modal.msgWarning("鍋滄鎴愬姛");
-        })
-        .catch(() => {});
-    },
-    // 鍏ㄩ儴寮�濮�
-    AllStarted() {
-      this.$modal
-        .confirm("鏄惁寮�鍚叏閮ㄤ换鍔★紵")
-        .then(function () {
-          return console.log("寮�鍚垚鍔�");
-        })
-        .then(() => {
-          this.getList();
-          this.$modal.msgSuccess("寮�鍚垚鍔�");
-        })
-        .catch(() => {});
-    },
-
-    // 璁剧疆鍙戦�佹椂闂�
-    Sendtimesetting() {
-      this.modificationVisible = true;
-    },
-
-    // 渚挎嵎鎸夐挳
-    toleadExport(too) {
-      if (too == 1) {
-        this.topqueryParams.sendstate = 4;
-        this.topqueryParams.excep = null;
-      } else if (too == 2) {
-        this.topqueryParams.excep = 1;
-      }
-      this.handleQuery();
-    },
-    /** 瀵煎嚭鎸夐挳鎿嶄綔 */
-    handleExport() {
-      this.download(
-        "system/user/export",
-        {
-          ...this.topqueryParams,
-        },
-        `user_${new Date().getTime()}.xlsx`
-      );
+        });
     },
   },
 };
 </script>
 
 <style lang="scss" scoped>
-
-
 .el-tag + .el-tag {
   margin-left: 10px;
 }
@@ -493,7 +249,17 @@
   padding-top: 0;
   padding-bottom: 0;
 }
+.iframe-container {
+  width: 100vw; /* 瑙嗗彛瀹藉害 */
+  height: 100vh; /* 瑙嗗彛楂樺害 */
+  overflow: hidden; /* 闅愯棌瓒呭嚭閮ㄥ垎 */
+}
 
+iframe {
+  width: 100%;
+  height: 100%;
+  border: none; /* 绉婚櫎杈规 */
+}
 .input-new-tag {
   width: 90px;
   margin-left: 10px;

--
Gitblit v1.9.3