From 08881d6b6412822d5035f63a0775ca1f213c8668 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 10:17:22 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/indexls.vue | 388 +++++++++++-------------------------------------------
1 files changed, 81 insertions(+), 307 deletions(-)
diff --git a/src/views/patient/patient/indexls.vue b/src/views/patient/patient/indexls.vue
index 7cb0e40..01ed808 100644
--- a/src/views/patient/patient/indexls.vue
+++ b/src/views/patient/patient/indexls.vue
@@ -1,26 +1,15 @@
<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,query360PatInfo } 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",
dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"],
components: { Treeselect },
data() {
@@ -37,6 +26,7 @@
showSearch: true,
// 鎬绘潯鏁�
total: 0,
+ linkUrl:'https://www.google.com/blank.html',
// 鐢ㄦ埛琛ㄦ牸鏁版嵁
userList: null,
// 寮瑰嚭灞傛爣棰�
@@ -86,58 +76,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();
@@ -182,6 +121,7 @@
pageSize: 10,
serviceType: 4,
searchscope: 2,
+ sendstate:2,
},
propss: { multiple: true },
options: [],
@@ -222,6 +162,40 @@
label: "姝e父",
},
],
+ url: "http://9.208.2.190:8090/smartor/serviceExternal/query360PatInfo",
+ postData: {
+ XiaoXiTou: {
+ FaSongFCSJC: "ZJHES",
+ FaSongJGID: localStorage.getItem("orgid"),
+ FaSongJGMC: localStorage.getItem("orgname"),
+ FaSongSJ: "2025-01-09聽17:29:36",
+ FaSongXTJC: "SUIFANGXT",
+ FaSongXTMC: "闅忚绯荤粺",
+ XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171",
+ XiaoXiLX: "SC_LC_360STCX",
+ XiaoXiMC: "360聽瑙嗗浘鏌ヨ",
+ ZuHuID: localStorage.getItem("ZuHuID"),
+ ZuHuMC: localStorage.getItem("orgname"),
+ },
+ YeWuXX: {
+ BingRenXX: {
+ ZhengJianHM: '',
+ ZhengJianLXDM: "01",
+ ZhengJianLXMC: "灞呮皯韬唤璇�",
+ ZuZhiJGID: localStorage.getItem("orgid"),
+ ZuZhiJGMC: localStorage.getItem("orgname"),
+ },
+ YongHuXX: {
+ XiTongID: "SUIFANGXT",
+ XiTongMC: "闅忚绯荤粺",
+ YongHuID: localStorage.getItem("YongHuID"),
+ YongHuXM: localStorage.getItem("YongHuXM"),
+ ZuZhiJGID: localStorage.getItem("orgid"),
+ ZuZhiJGMC: localStorage.getItem("orgname"),
+ idp: "lyra",
+ },
+ },
+ },
serviceState: [],
// 琛ㄥ崟鏍¢獙
rules: {},
@@ -229,259 +203,49 @@
},
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}` };
- });
+ this.gettoken();
},
+ 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);
- })
- .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();
- });
- } else {
- addUser(this.form).then((response) => {
- this.$modal.msgSuccess("鏂板鎴愬姛");
- this.open = false;
- this.getList();
- });
- }
+ gettoken() {
+ query360PatInfo(this.postData).then((res) => {
+ if (res.data.url) {
+ this.linkUrl = res.data.url;
+ }else{
+ this.linkUrl='https://www.google.com/blank.html';
}
});
- },
-
- // 鍏ㄩ儴鍋滄
- 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`
- );
+ // axios
+ // .post(this.url, this.postData)
+ // .then((response) => {
+ // // 璇锋眰鎴愬姛
+ // this.linkUrl = response.data.data.url;
+ // })
+ // .catch((error) => {
+ // // 璇锋眰澶辫触
+ // this.linkUrl='https://www.google.com/blank.html';
+ // 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 {
+ // // 鍦ㄨ缃姹傛椂鍙戠敓浜嗕竴浜涗簨鎯咃紝瑙﹀彂浜嗕竴涓敊璇�
+ // console.error("Error Message:", error.message);
+ // }
+ // });
},
},
};
</script>
<style lang="scss" scoped>
-
-
.el-tag + .el-tag {
margin-left: 10px;
}
@@ -493,7 +257,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