From af2901a3191245f382d738aa91a8317e007238f9 Mon Sep 17 00:00:00 2001 From: weiwei Date: Thu, 26 Jun 2025 14:20:45 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tabbar/my.vue | 4 ++-- src/pages/thirdApp/thirdAppList.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index bc3a7cd..8513ae5 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -85,8 +85,6 @@ const state = reactive<{ { text: "扫一扫", icon: "/static/icon/scan.png", router: "" }, { text: "钱包管理", icon: "/static/icon/service_3.png", router: "/pages/wallet/list" }, // { text: "包厢预定", icon: "/static/icon/service_4.png", router: "/pages/boxes/apply-list" }, - { text: "外来人员就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/foreign-list" }, - { text: "跨单位就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/stride-list" }, { text: "人脸管理", icon: "/static/icon/service_5.png", router: "/pages/human-face/list" }, { text: "清除缓存", icon: "/static/icon/clear-storage.png", router: "" }, ], @@ -403,6 +401,8 @@ const doChangeRole = () => { // 初始化配置菜单 const initMenuConfig = () => { if (isDevEnv()) { + state.menuList.push({ text: "dev-外来人员就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/foreign-list" }) + state.menuList.push({ text: "dev-跨单位就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/stride-list" }) state.menuList.push({ text: "测试-第三方应用", icon: "/static/icon/login.png", diff --git a/src/pages/thirdApp/thirdAppList.vue b/src/pages/thirdApp/thirdAppList.vue index 64c8efa..cd496c7 100644 --- a/src/pages/thirdApp/thirdAppList.vue +++ b/src/pages/thirdApp/thirdAppList.vue @@ -60,7 +60,7 @@ + + \ No newline at end of file diff --git a/src/pages/integrated/meeting/detail.vue b/src/pages/integrated/meeting/detail.vue index d73fcca..f2a6a8d 100644 --- a/src/pages/integrated/meeting/detail.vue +++ b/src/pages/integrated/meeting/detail.vue @@ -221,7 +221,7 @@ async function reserveMeeting() { date, startTime: startSlot.startTime, endTime: endSlot.endTime, - title: '会议', + title: room.value.name || '会议', description: '', attendees: [] }) diff --git a/src/pages/integrated/meeting/index.vue b/src/pages/integrated/meeting/index.vue index aec2f19..cbba6da 100644 --- a/src/pages/integrated/meeting/index.vue +++ b/src/pages/integrated/meeting/index.vue @@ -230,4 +230,4 @@ function goDetail(room) { color: #bbb; font-size: 20rpx; } - + diff --git a/src/pages/integrated/meeting/my-reservations.vue b/src/pages/integrated/meeting/my-reservations.vue index 205c9c5..efa48b8 100644 --- a/src/pages/integrated/meeting/my-reservations.vue +++ b/src/pages/integrated/meeting/my-reservations.vue @@ -11,69 +11,108 @@ v-for="(tab, idx) in tabs" :key="tab" :class="['tab', idx === activeTab ? 'active' : '']" - @tap="activeTab = idx" + @tap="onTabChange(idx)" >{{ tab }} - - - 优惠礼包 - 还未购买过优惠礼包 - > - - - - - - {{ item.roomName }} → {{ item.location }} - {{ item.statusText }} - - - 预约时间:{{ item.time }} - 会议主题:{{ item.subject }} - 参会人:{{ item.attendees }} - - - {{ btn }} + + + + + {{ item.title }} + {{ statusMap[item.checkStatus]?.text }} + + + 预约日期:{{ item.bookingDate }} + 时间:{{ item.startTime }} ~ {{ item.endTime }} + 申请人:{{ item.createBy }} + + + 查看详情 + 取消预约 + + + + 暂无预约 + 您还没有预约会议,快去预约吧! + + - \ No newline at end of file diff --git a/src/pages/integrated/visitor/myvisitor.vue b/src/pages/integrated/visitor/myvisitor.vue index a5ee811..3c67402 100644 --- a/src/pages/integrated/visitor/myvisitor.vue +++ b/src/pages/integrated/visitor/myvisitor.vue @@ -59,16 +59,7 @@ 暂无访客记录 - - - - 首页 - - - - 我的 - - + @@ -489,37 +480,5 @@ onMounted(() => { color: #999; font-size: 26rpx; } - - .tabbar { - position: fixed; - left: 0; - right: 0; - bottom: 0; - height: 100rpx; - background: #fff; - display: flex; - border-top: 1px solid #eee; - z-index: 999; - } - - .tabbar-item { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - color: #888; - font-size: 24rpx; - } - - .tabbar-icon { - width: 48rpx; - height: 48rpx; - margin-bottom: 4rpx; - } - - .tabbar-item.active { - color: #1777FF; - } } diff --git a/src/sheep/api/meetingRoom.ts b/src/sheep/api/meetingRoom.ts index 1d2e9d8..4e7b56d 100644 --- a/src/sheep/api/meetingRoom.ts +++ b/src/sheep/api/meetingRoom.ts @@ -37,4 +37,23 @@ export default { method: "POST", data, }), + + /** + * 获取我的预约列表 + */ + getMyBookings: (params: { current: number; size: number; checkStatus?: number }) => + request({ + url: '/integrated/meetingRoom/app/my-bookings', + method: 'GET', + params, + }), + + /** + * 获取预约详情 + */ + getBookingDetail: (id: string) => + request({ + url: `/integrated/meetingRoom/app/booking-detail/${id}`, + method: 'GET', + }), } \ No newline at end of file From e7378a9abe42e049b9217a8e8e059c166512de51 Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 27 Jun 2025 17:43:20 +0800 Subject: [PATCH 3/6] env --- .env | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index b333938..4ad1daf 100644 --- a/.env +++ b/.env @@ -19,16 +19,16 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' # --------------------------- 开发环境 api地址 ---------------------------------- # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 #VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 -VITE_APP_DEV_SERVICE = http://192.168.101.139:9999 # 邓-本地 +# VITE_APP_DEV_SERVICE = http://192.168.101.150:9999 # 邓-本地 # VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api # 测试线上 +VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 开发环境 图片访问基础地址 --------------------------- # VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上 #VITE_IMAGE_DEV_PATH = http://59.202.170.152:81/api # 信创线上 -VITE_IMAGE_DEV_PATH = http://192.168.101.139:9999 # 邓-43本地 +# VITE_IMAGE_DEV_PATH = http://192.168.101.150:9999 # 邓-43本地 # VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 -# VITE_IMAGE_DEV_PATH = http://123.156.230.15:8089/api # 测试线上 +VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 生产环境 api地址 ---------------------------------- VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 From 1926afd27629d68013543a1d30cf39c4a2e69fd3 Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 27 Jun 2025 18:34:03 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/components/product-sku.vue | 30 ++++++++++++----------- src/pages/shop/product-detail.vue | 18 ++++++++------ src/pages/tabbar/onlineShop.vue | 30 +++++++++++++++-------- src/sheep/api/index.ts | 2 ++ src/sheep/api/onlineShop.ts | 20 +++++++++++++++ 5 files changed, 68 insertions(+), 32 deletions(-) create mode 100644 src/sheep/api/onlineShop.ts diff --git a/src/pages/shop/components/product-sku.vue b/src/pages/shop/components/product-sku.vue index 96aac93..1010b5a 100644 --- a/src/pages/shop/components/product-sku.vue +++ b/src/pages/shop/components/product-sku.vue @@ -26,11 +26,11 @@ {{ state.goodsDetail.productName }} - 促销 ¥{{ parseFloat(state.selectedSku.promotionPrice) || state.selectedSku.retailPrice || 0 }} + 促销 ¥{{ hooks.useMoney(state.selectedSku.promotionPrice) || hooks.useMoney(state.selectedSku.retailPrice) || 0 }} - 原价 ¥{{ state.selectedSku.retailPrice || 0 }} + 原价 ¥{{ hooks.useMoney(state.selectedSku.retailPrice) || 0 }} - 内装数量:{{ state.selectedSku.packageNum || 0 }} + 库存:{{ state.selectedSku.stock || 0 }} 已选择:{{ `${state.selectedSku.spec || "未选择"} / ${state.selectedSku.unit || "未选择"},数量:${state.goodsCount}` }} @@ -71,7 +71,7 @@