From ca7bc6bdaa9a3cff3321654f265be7a5107be7ad Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Wed, 14 May 2025 09:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B2=E9=83=A8=E5=80=BC=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.development | 4 +- src/api/pages/duty/index.ts | 9 ++++ src/pages.json | 9 ++++ src/pages/integrated/duty/index.vue | 73 +++++++++++++++++++++++++++++ src/types/uni-pages.d.ts | 1 + 5 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 src/api/pages/duty/index.ts create mode 100644 src/pages/integrated/duty/index.vue diff --git a/env/.env.development b/env/.env.development index 4cde61d..5137213 100644 --- a/env/.env.development +++ b/env/.env.development @@ -5,5 +5,5 @@ VITE_DELETE_CONSOLE = false # 是否开启sourcemap VITE_SHOW_SOURCEMAP = true -VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' -#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' \ No newline at end of file +#VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' \ No newline at end of file diff --git a/src/api/pages/duty/index.ts b/src/api/pages/duty/index.ts new file mode 100644 index 0000000..9c97820 --- /dev/null +++ b/src/api/pages/duty/index.ts @@ -0,0 +1,9 @@ +import { http } from '@/utils/http'; + +export function getListApi(config) { // 值班按月查看 + return http({ + url: '/zhgl_zbgl/zhglZbglZbb/list', + method: 'GET', + data: config + }) +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 7281fa6..1d6a3a2 100644 --- a/src/pages.json +++ b/src/pages.json @@ -191,6 +191,15 @@ "navigationStyle": "custom" } }, + { + "path": "pages/integrated/duty/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "干部值班" + } + }, { "path": "pages/operate/file/detail", "type": "page", diff --git a/src/pages/integrated/duty/index.vue b/src/pages/integrated/duty/index.vue new file mode 100644 index 0000000..f80d866 --- /dev/null +++ b/src/pages/integrated/duty/index.vue @@ -0,0 +1,73 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '干部值班', + }, + } + + + + + + \ No newline at end of file diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 8bb3c87..2b8df41 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -20,6 +20,7 @@ interface NavigateToOptions { "/pages/onlinePreview/onlinePreviewH5" | "/pages/user/people" | "/pages/workHome/index" | + "/pages/integrated/duty/index" | "/pages/operate/file/detail" | "/pages/operate/file/index" | "/pages/operate/sc/index" |