From 992459f4f24cf9350298ee6df82003b177492327 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Thu, 16 Oct 2025 14:23:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 +++ pages/memorial/adminMemorial.vue | 4 +- pages/personalCenter/personalCenter.vue | 6 +++ pages/personalCenter/set.vue | 61 +++++++++++++++++++++++++ utils/request.js | 4 +- 5 files changed, 77 insertions(+), 4 deletions(-) create mode 100644 pages/personalCenter/set.vue diff --git a/pages.json b/pages.json index a105f7b..05eaff6 100644 --- a/pages.json +++ b/pages.json @@ -243,6 +243,12 @@ "style": { "navigationStyle": "custom" } + }, + { + "path" : "pages/personalCenter/set", + "style": { + "navigationStyle": "custom" + } } ], "subPackages": [ diff --git a/pages/memorial/adminMemorial.vue b/pages/memorial/adminMemorial.vue index 1766ba8..62582f0 100644 --- a/pages/memorial/adminMemorial.vue +++ b/pages/memorial/adminMemorial.vue @@ -303,10 +303,10 @@ export default { async handleSearchMemorial() { if (!this.ensureUnitSelected()) return; try { - const { type } = await this.promptSearchParams(); + // const { type } = await this.promptSearchParams(); const payload = { memorialId: String(this.selectedUnitId), - type, + type: "3", timeout: "11", }; await this.performPut( diff --git a/pages/personalCenter/personalCenter.vue b/pages/personalCenter/personalCenter.vue index 844b647..e2e7883 100644 --- a/pages/personalCenter/personalCenter.vue +++ b/pages/personalCenter/personalCenter.vue @@ -93,6 +93,12 @@ export default { // 无图标,仅管理员可见 path: "/pages/memorial/adminMemorial", }, + { + title: "设置", + icon: "https://api.ccttiot.com/7ee81e0f35cde641f80887485f287e0c-1760513960519.png", + // 无图标,仅管理员可见 + path: "/pages/personalCenter/set", + }, { title: "退出登录", icon: "https://api.ccttiot.com/0f4e09531ddffda3aff94a5fd2b5d7d4-1760514133937.png", diff --git a/pages/personalCenter/set.vue b/pages/personalCenter/set.vue new file mode 100644 index 0000000..a13cec7 --- /dev/null +++ b/pages/personalCenter/set.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/utils/request.js b/utils/request.js index a25a210..01a8bb1 100644 --- a/utils/request.js +++ b/utils/request.js @@ -6,9 +6,9 @@ import debounce from "uview-ui/libs/function/debounce"; const ENV_CONFIG = { release: { // 正式版 - // baseUrl: "http://192.168.2.158:4501", + baseUrl: "http://192.168.1.3:4501", + // baseUrl: "https://tech-ape.top/prod-api", // baseUrl: "https://tech-ape.top/prod-api", - baseUrl: "https://tech-ape.top/prod-api", appId: 1, }, };