From 94478a4ef3d47a6ea099c2027e6c5ec0cda67ee8 Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Tue, 21 Feb 2023 17:57:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E4=BD=93=E6=A3=80=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=8F=82=E6=95=B0=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/HomeView.vue | 2 +- src/views/examProject.vue | 597 ++++++++++++++++++++------------------ vue.config.js | 3 +- 3 files changed, 316 insertions(+), 286 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index f0e5fbb..e3f0154 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -81,7 +81,7 @@ export default { vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqyylb", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => { this.$toast.clear(); let retData = JSON.parse(value); - if (retData.code == 200) { + if (retData.success && retData.code == 200) { this.hospitalList = retData.data; } }, err => { diff --git a/src/views/examProject.vue b/src/views/examProject.vue index ebc5018..acbdd39 100644 --- a/src/views/examProject.vue +++ b/src/views/examProject.vue @@ -1,340 +1,369 @@ diff --git a/vue.config.js b/vue.config.js index 86977b4..1c5f77f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -8,7 +8,8 @@ module.exports = defineConfig({ proxy: { "/api": { //本地服务接口地址 - target: "http://192.168.1.3:8088", + // target: "http://192.168.1.3:8088", + target: "http://192.168.1.106", //远程演示服务地址,可用于直接启动项目 // target: 'https://saber.bladex.vip/api', ws: true,