diff --git a/src/App.vue b/src/App.vue
index 3eba186..32db043 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -85,35 +85,11 @@ const tabbar: TabbarItem[] = [
auth: ["merchant"],
},
{
- pagePath: "pages/tabbar/invitation",
- text: "访客邀约",
- iconPath: "/static/tabbar/invitation.png",
- selectedIconPath: "/static/tabbar/invitation-select.png",
- launchParam: ["invitation"],
- auth: [],
- },
- {
- pagePath: "pages/tabbar/invitationRecord",
- text: "邀约记录",
- iconPath: "/static/tabbar/invitation.png",
- selectedIconPath: "/static/tabbar/invitation-select.png",
- launchParam: ["invitation"],
- auth: [],
- },
- {
- pagePath: "pages/tabbar/message",
- text: "通知公告",
- iconPath: "/static/tabbar/message.png",
- selectedIconPath: "/static/tabbar/message-select.png",
- launchParam: ["message"],
- auth: [],
- },
- {
- pagePath: "pages/integrated/index",
+ pagePath: "pages/tabbar/integrated",
text: "综合服务",
iconPath: "/static/tabbar/integrated.png",
selectedIconPath: "/static/tabbar/integrated-select.png",
- launchParam: [],
+ launchParam: ["integrated"],
auth: [],
},
{
@@ -121,7 +97,7 @@ const tabbar: TabbarItem[] = [
text: "我的",
iconPath: "/static/tabbar/my.png",
selectedIconPath: "/static/tabbar/my-select.png",
- launchParam: ["canteen", "selfMerchant", "onlineShop", "coopMerchant", "invitation"],
+ launchParam: ["canteen", "selfMerchant", "onlineShop", "coopMerchant", "integrated"],
auth: ["user", "merchant", "doorAdmin"],
},
]
diff --git a/src/pages.json b/src/pages.json
index 69fd36f..97de4b1 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -73,23 +73,9 @@
}
},
{
- "path": "pages/tabbar/invitation",
+ "path": "pages/tabbar/integrated",
"style": {
- "navigationBarTitleText": "访客",
- "disableScroll": true
- }
- },
- {
- "path": "pages/tabbar/invitationRecord",
- "style": {
- "navigationBarTitleText": "访客记录",
- "disableScroll": true
- }
- },
- {
- "path": "pages/tabbar/message",
- "style": {
- "navigationBarTitleText": "通知公告",
+ "navigationBarTitleText": "综合服务",
"disableScroll": true
}
},
@@ -414,24 +400,13 @@
}
]
},
- {
- "root": "pages/invitation",
- "pages": [
- {
- "path": "detail",
- "style": {
- "navigationBarTitleText": "访客详情"
- }
- }
- ]
- },
{
"root": "pages/thirdApp",
"pages": [
{
- "path": "thirdAppList",
+ "path": "happyMall",
"style": {
- "navigationBarTitleText": "第三方应用"
+ "navigationBarTitleText": "美好商城"
}
}
]
@@ -439,12 +414,6 @@
{
"root": "pages/integrated",
"pages": [
- {
- "path": "index",
- "style": {
- "navigationBarTitleText": "综合服务"
- }
- },
{
"path": "lostAndFound/index",
"style": {
@@ -494,15 +463,21 @@
}
},
{
- "path": "visitor/index",
+ "path": "visitor/invitation",
"style": {
- "navigationBarTitleText": "访客管理"
+ "navigationBarTitleText": "访客邀约"
+ }
+ },
+ {
+ "path": "visitor/invitationRecord",
+ "style": {
+ "navigationBarTitleText": "邀约记录"
}
},
{
"path": "visitor/detail",
"style": {
- "navigationBarTitleText": "访客详情"
+ "navigationBarTitleText": "邀约详情"
}
},
{
@@ -596,25 +571,7 @@
"selectedIconPath": ""
},
{
- "pagePath": "pages/tabbar/invitation",
- "text": "",
- "iconPath": "",
- "selectedIconPath": ""
- },
- {
- "pagePath": "pages/tabbar/invitationRecord",
- "text": "",
- "iconPath": "",
- "selectedIconPath": ""
- },
- {
- "pagePath": "pages/tabbar/message",
- "text": "",
- "iconPath": "",
- "selectedIconPath": ""
- },
- {
- "pagePath": "pages/integrated/index",
+ "pagePath": "pages/tabbar/integrated",
"text": "",
"iconPath": "",
"selectedIconPath": ""
diff --git a/src/pages/integrated/index.vue b/src/pages/integrated/index.vue
deleted file mode 100644
index d70b890..0000000
--- a/src/pages/integrated/index.vue
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/integrated/meeting/index.vue b/src/pages/integrated/meeting/index.vue
index a64fbbd..03c6b78 100644
--- a/src/pages/integrated/meeting/index.vue
+++ b/src/pages/integrated/meeting/index.vue
@@ -1,238 +1,234 @@
-
-
-
-
- 返回
-
- 预定会议室
-
+
+
+
+ 返回
+ 预定会议室
+
-
-
- {{ todayText }}
- ▼
-
+
+
+ {{ todayText }}
+ ▼
+
-
-
-
-
-
- {{ room.roomName }} {{ room.capacity }}人
-
-
- 📍 {{ room.location || '未知地址' }}
-
-
-
- {{ eq.name }} x{{ eq.quantity }}
-
-
-
-
-
-
-
-
-
-
- {{ h + 7 }}
-
-
-
-
+
+
+
+
+
+ {{ room.roomName }} {{ room.capacity }}人
+
+ 📍 {{ room.location || "未知地址" }}
+
+
+ {{ eq.name }} x{{ eq.quantity }}
+
+
+
+
+
+
+
+
+
+
+ {{ h + 7 }}
+
+
+
+
+
diff --git a/src/pages/integrated/meeting/my-reservations.vue b/src/pages/integrated/meeting/my-reservations.vue
index efa48b8..d428983 100644
--- a/src/pages/integrated/meeting/my-reservations.vue
+++ b/src/pages/integrated/meeting/my-reservations.vue
@@ -1,58 +1,51 @@
-
-
-
- 我的预约
-
+
+
+
+ 我的预约
+
-
-
- {{ tab }}
-
+
+
+ {{
+ tab
+ }}
+
-
-
-
-
-
- 预约日期:{{ item.bookingDate }}
- 时间:{{ item.startTime }} ~ {{ item.endTime }}
- 申请人:{{ item.createBy }}
-
-
-
-
-
-
- 暂无预约
- 您还没有预约会议,快去预约吧!
-
-
-
+
+
+
+
+
+ 预约日期:{{ item.bookingDate }}
+ 时间:{{ item.startTime }} ~ {{ item.endTime }}
+ 申请人:{{ item.createBy }}
+
+
+
+
+
+
+ 暂无预约
+ 您还没有预约会议,快去预约吧!
+
+
+
\ No newline at end of file
+
diff --git a/src/pages/integrated/visitor/detail.vue b/src/pages/integrated/visitor/detail.vue
index 57368aa..6516294 100644
--- a/src/pages/integrated/visitor/detail.vue
+++ b/src/pages/integrated/visitor/detail.vue
@@ -1,236 +1,105 @@
-
-
-
-
-
- 来访目的:
- {{ getPurposeLabel(detail.purpose) }}
-
-
- 被访人:
- {{ detail.hostName }}
-
-
- 来访时间:
- {{ formatVisitTime(detail.visitDate, detail.visitTime) }}
-
-
- 备注说明:
- {{ detail.remark }}
-
-
-
-
- 拒绝原因
- {{ detail.rejectReason }}
-
-
-
-
+
+
+
+ 访客信息
+
+ 访客姓名:
+ {{ detail.name }}
+
+
+ 访客手机号:
+ {{ detail.mobile }}
+
+
+ 来访公司名称:
+ {{ detail.companyName }}
+
+
+ 来访原因:
+ {{ visitorReasonList.find((item) => item.id == detail.reasonValue)?.title || "" }}
+
+
+ 接待人:
+ {{ detail.userName }}
+
+
+ 来访人数:
+ {{ detail.peopleNumber }}
+
+
+ 是否可随行人员:
+ {{ detail.isOtherPeople == "1" ? "是" : "否" }}
+
+
+ 是否可驾驶车辆:
+ {{ detail.isDrive == "1" ? "是" : "否" }}
+
+
+
+
+ 时间
+
+ 预计来访时间:
+ {{ detail.vendDate }}
+
+
+ 预计离开时间:
+ {{ detail.vstartDate }}
+
+
+
+
+ 其他
+
+ 创建方式:
+ {{ detail.type == "1" ? "主动申请" : detail.type == "2" ? "邀约" : "后台创建" }}
+
+
+ 提交时间:
+ {{ detail.createTime }}
+
+
+
+
+
+
-
-
\ No newline at end of file
diff --git a/src/pages/integrated/visitor/index.vue b/src/pages/integrated/visitor/index.vue
deleted file mode 100644
index e2fd1fe..0000000
--- a/src/pages/integrated/visitor/index.vue
+++ /dev/null
@@ -1,438 +0,0 @@
-
-
-
-
- 访客申请
-
- 访客姓名
-
-
-
- 访客手机号
-
-
-
- 来访目的
-
- {{ purposeOptions[purposeIndex].label }}
-
-
-
- 来访时间
-
- {{ visitDate || '请选择来访日期' }}
-
-
-
- 来访时段
-
- {{ timeOptions[timeIndex].label }}
-
-
-
- 被访人
-
-
-
- 备注说明
-
- {{ remark.length }}/200
-
-
-
-
-
-
- 访客记录
-
- 暂无访客记录
-
-
-
-
-
- 来访目的:{{ getPurposeLabel(item.purpose) }}
- 被访人:{{ item.hostName }}
- 来访时间:{{ formatVisitTime(item.visitDate, item.visitTime) }}
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/integrated/visitor/invitation.vue b/src/pages/integrated/visitor/invitation.vue
new file mode 100644
index 0000000..20897c2
--- /dev/null
+++ b/src/pages/integrated/visitor/invitation.vue
@@ -0,0 +1,245 @@
+
+
+
+
+ 访客邀约
+ 访客邀约请填写以下信息
+
+
+
+
+
+
+
+
+ 拜访开始时间
+
+
+
+
+
+
+ 拜访离开时间
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+ 确认提交吗?
+
+
+
+
+
+
+ 访客邀约
+
+
+
+ 邀约记录
+
+
+
+
+
+
+
diff --git a/src/pages/integrated/visitor/invitationRecord.vue b/src/pages/integrated/visitor/invitationRecord.vue
new file mode 100644
index 0000000..327b641
--- /dev/null
+++ b/src/pages/integrated/visitor/invitationRecord.vue
@@ -0,0 +1,192 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 待接受
+ 待到访
+ 已拒绝
+ 已取消
+ {{ v.vstartDate + " ~ " + v.vendDate }}
+
+
+
+ {{ v.name }}
+ {{ v.mobile }}
+
+
+ 拜访原因:{{ visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "" }}
+
+
+
+
+
+ 查看详情
+
+
+
+
+
+
+
+
+ 访客邀约
+
+
+
+ 邀约记录
+
+
+
+
+
+
+
diff --git a/src/pages/integrated/visitor/~detail.vue b/src/pages/integrated/visitor/~detail.vue
new file mode 100644
index 0000000..57368aa
--- /dev/null
+++ b/src/pages/integrated/visitor/~detail.vue
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+ 来访目的:
+ {{ getPurposeLabel(detail.purpose) }}
+
+
+ 被访人:
+ {{ detail.hostName }}
+
+
+ 来访时间:
+ {{ formatVisitTime(detail.visitDate, detail.visitTime) }}
+
+
+ 备注说明:
+ {{ detail.remark }}
+
+
+
+
+ 拒绝原因
+ {{ detail.rejectReason }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/integrated/visitor/~index.vue b/src/pages/integrated/visitor/~index.vue
new file mode 100644
index 0000000..53832fc
--- /dev/null
+++ b/src/pages/integrated/visitor/~index.vue
@@ -0,0 +1,421 @@
+
+
+
+
+ 访客申请
+
+ 访客姓名
+
+
+
+ 访客手机号
+
+
+
+ 来访目的
+
+ {{ purposeOptions[purposeIndex].label }}
+
+
+
+ 来访时间
+
+ {{ visitDate || "请选择来访日期" }}
+
+
+
+ 来访时段
+
+ {{ timeOptions[timeIndex].label }}
+
+
+
+ 被访人
+
+
+
+ 备注说明
+
+ {{ remark.length }}/200
+
+
+
+
+
+
+ 访客记录
+ 暂无访客记录
+
+
+
+
+ 来访目的:{{ getPurposeLabel(item.purpose) }}
+ 被访人:{{ item.hostName }}
+ 来访时间:{{ formatVisitTime(item.visitDate, item.visitTime) }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/integrated/visitor/myvisitor.vue b/src/pages/integrated/visitor/~myvisitor.vue
similarity index 100%
rename from src/pages/integrated/visitor/myvisitor.vue
rename to src/pages/integrated/visitor/~myvisitor.vue
diff --git a/src/pages/invitation/detail.vue b/src/pages/invitation/detail.vue
deleted file mode 100644
index a79b335..0000000
--- a/src/pages/invitation/detail.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/pages/tabbar/index.vue b/src/pages/tabbar/index.vue
index 7fe358c..03b5ea3 100644
--- a/src/pages/tabbar/index.vue
+++ b/src/pages/tabbar/index.vue
@@ -40,19 +40,7 @@ const moduleList = [
launchParam: "flowStatistics",
},
{
- pagePath: "/pages/tabbar/invitation",
- text: "访客",
- iconPath: "/static/tabbar/invitation-select.png",
- launchParam: "invitation",
- },
- {
- pagePath: "/pages/tabbar/message",
- text: "通知公告",
- iconPath: "/static/tabbar/message-select.png",
- launchParam: "message",
- },
- {
- pagePath: "/pages/integrated/index",
+ pagePath: "/pages/tabbar/integrated",
text: "综合服务",
iconPath: "/static/tabbar/integrated-select.png",
launchParam: "integrated",
@@ -87,6 +75,10 @@ const jumpByParam = async () => {
uni.setStorageSync("launchParam", launchParam)
uni.switchTab({ url: "/pages/tabbar/coopMerchant" })
break
+ case "integrated": // 综合服务
+ uni.setStorageSync("launchParam", launchParam)
+ uni.switchTab({ url: "/pages/tabbar/integrated" })
+ break
default:
uni.hideTabBar()
break
@@ -99,7 +91,7 @@ const jumpByParam = async () => {
const userRole = uni.getStorageSync("userRole") // 获取用户角色
if (!launchParam) return uni.hideTabBar()
- if (launchParam == "thirdApp") return uni.reLaunch({ url: "/pages/thirdApp/thirdAppList" })
+ if (launchParam == "thirdApp") return uni.reLaunch({ url: "/pages/thirdApp/happyMall" })
switch (userRole) {
case "merchant":
@@ -117,6 +109,10 @@ const jumpByParam = async () => {
uni.setStorageSync("launchParam", launchParam)
return uni.reLaunch({ url: "/pages/tabbar/coopMerchant" })
}
+ if (launchParam === "integrated") {
+ uni.setStorageSync("launchParam", launchParam)
+ return uni.reLaunch({ url: "/pages/tabbar/integrated" })
+ }
case "doorAdmin":
return uni.switchTab({ url: "/pages/tabbar/cabinet" })
default:
diff --git a/src/pages/tabbar/integrated.vue b/src/pages/tabbar/integrated.vue
new file mode 100644
index 0000000..3cde773
--- /dev/null
+++ b/src/pages/tabbar/integrated.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/tabbar/invitation.vue b/src/pages/tabbar/invitation.vue
deleted file mode 100644
index 3d927be..0000000
--- a/src/pages/tabbar/invitation.vue
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
- 访客邀约
- 访客邀约请填写以下信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 精致美观的对话框,可全局配置风格
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
-
-
-
-
diff --git a/src/pages/tabbar/invitationRecord.vue b/src/pages/tabbar/invitationRecord.vue
deleted file mode 100644
index 4a22d0a..0000000
--- a/src/pages/tabbar/invitationRecord.vue
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 待审核
- 待到访
- 已拒绝
- 已取消
- {{ v.vstartDate + " ~ " + v.vendDate }}
-
-
-
- {{ v.name }}
- {{ v.mobile }}
-
- 接待人:{{ v.userName }}
-
-
-
- 审核通过
-
-
- 审核拒绝
-
-
-
-
-
-
-
-
diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue
index f1dece8..ac5a24c 100644
--- a/src/pages/tabbar/my.vue
+++ b/src/pages/tabbar/my.vue
@@ -405,10 +405,9 @@ const initMenuConfig = () => {
{ text: "dev-外来人员就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/foreign-list" },
{ text: "dev-跨单位就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/stride-list" },
{ text: "dev-包厢预定", icon: "/static/icon/service_4.png", router: "/pages/boxes/apply-list" },
- { text: "dev-第三方应用", icon: "/static/icon/login.png", router: "/pages/thirdApp/thirdAppList" },
+ { text: "dev-第三方应用", icon: "/static/icon/login.png", router: "/pages/thirdApp/happyMall" },
{ text: "dev-登录", icon: "/static/icon/login.png", router: "/pages/user/login" },
{ text: "dev-角色选择", icon: "/static/icon/login.png", router: "/pages/user/userRole" },
- { text: "dev-意见反馈", icon: "/static/icon/service_5.png", router: "/pages/integrated/feedback/index" },
)
}
}
diff --git a/src/pages/tabbar/message.vue b/src/pages/tabbar/~message.vue
similarity index 100%
rename from src/pages/tabbar/message.vue
rename to src/pages/tabbar/~message.vue
diff --git a/src/pages/tabbar/onlineShop-1.vue b/src/pages/tabbar/~onlineShop.vue
similarity index 100%
rename from src/pages/tabbar/onlineShop-1.vue
rename to src/pages/tabbar/~onlineShop.vue
diff --git a/src/pages/thirdApp/thirdAppList.vue b/src/pages/thirdApp/happyMall.vue
similarity index 54%
rename from src/pages/thirdApp/thirdAppList.vue
rename to src/pages/thirdApp/happyMall.vue
index d1488a7..e86392a 100644
--- a/src/pages/thirdApp/thirdAppList.vue
+++ b/src/pages/thirdApp/happyMall.vue
@@ -1,6 +1,6 @@
-
-
+
+
-
-
- 您即将离开智慧后勤应用并跳转到第三方应用,请注意个人隐私和账号财产安全。您通过第三方服务页面主动提供给第三方商户的个人信息,相关信息保护责任由第三方商户承担。
-
-
-
+
+
+ 美好商城
+
+ 继续跳转
+
+
+
+
+ 您即将离开智慧后勤应用并跳转到第三方应用,请注意个人隐私和账号财产安全。您通过第三方服务页面主动提供给第三方商户的个人信息,相关信息保护责任由第三方商户承担。
+
+
+
+
+
diff --git a/src/sheep/components/tabSearch.vue b/src/sheep/components/tabSearch.vue
deleted file mode 100644
index 8594796..0000000
--- a/src/sheep/components/tabSearch.vue
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- {{ item.name }}
-
-
-
-
-
diff --git a/src/static/page/happyMall.png b/src/static/page/happyMall.png
new file mode 100644
index 0000000..16751c6
Binary files /dev/null and b/src/static/page/happyMall.png differ
diff --git a/src/static/tabbar/invitation-select.png b/src/static/page/invitation-select.png
similarity index 100%
rename from src/static/tabbar/invitation-select.png
rename to src/static/page/invitation-select.png
diff --git a/src/static/tabbar/invitation.png b/src/static/page/invitation.png
similarity index 100%
rename from src/static/tabbar/invitation.png
rename to src/static/page/invitation.png
diff --git a/src/static/page/order-select.png b/src/static/page/order-select.png
new file mode 100644
index 0000000..6315da2
Binary files /dev/null and b/src/static/page/order-select.png differ
diff --git a/src/static/page/order.png b/src/static/page/order.png
new file mode 100644
index 0000000..df9a2c2
Binary files /dev/null and b/src/static/page/order.png differ