diff --git a/wuye-manager-uniapp/App.vue b/wuye-manager-uniapp/App.vue
index 133427d..a13a99b 100644
--- a/wuye-manager-uniapp/App.vue
+++ b/wuye-manager-uniapp/App.vue
@@ -62,6 +62,18 @@ export default {
.flex-1 {
flex: 1;
}
+.h-full {
+ height: 100%;
+}
+.w-full {
+ width: 100%;
+}
+.overflow-hidden {
+ overflow: hidden;
+}
+.overflow-auto {
+ overflow: auto;
+}
/* 自定义导航栏专用 */
.custom-header {
height: calc(var(--status-bar-height) + 88rpx);
@@ -80,9 +92,11 @@ export default {
.page_container {
min-height: 100vh;
+ max-height: 100vh;
height: 100%;
background: repeating-linear-gradient(180deg, #e2f0ff, #f6faff);
-
+ overflow: hidden;
+ box-sizing: border-box;
padding: 0 40rpx;
/* 先写 constant() 兼容 iOS < 11.2,再写 env() */
padding-top: calc(constant(safe-area-inset-top) + 20rpx);
@@ -90,5 +104,18 @@ export default {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
+.page_padding {
+ padding-bottom: constant(safe-area-inset-bottom);
+ padding-bottom: env(safe-area-inset-bottom);
+
+ display: flex;
+ flex-direction: column;
+
+ width: 100%;
+ min-height: 100vh;
+ max-height: 100vh;
+ overflow: hidden;
+ box-sizing: border-box;
+}
/* 1 电表 2水表 */
diff --git a/wuye-manager-uniapp/components/filePicker/filePicker.vue b/wuye-manager-uniapp/components/filePicker/filePicker.vue
new file mode 100644
index 0000000..1bae843
--- /dev/null
+++ b/wuye-manager-uniapp/components/filePicker/filePicker.vue
@@ -0,0 +1,261 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传中...
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/components/navbar/navbar.vue b/wuye-manager-uniapp/components/navbar/navbar.vue
new file mode 100644
index 0000000..115240a
--- /dev/null
+++ b/wuye-manager-uniapp/components/navbar/navbar.vue
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ backText }}
+
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/components/stops/stops.vue b/wuye-manager-uniapp/components/stops/stops.vue
new file mode 100644
index 0000000..f1a4e6b
--- /dev/null
+++ b/wuye-manager-uniapp/components/stops/stops.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ index + 1 }}
+ {{ index + 1 }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+ {{ item.desc }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/components/tabs/tabs.vue b/wuye-manager-uniapp/components/tabs/tabs.vue
index bf35e09..8212097 100644
--- a/wuye-manager-uniapp/components/tabs/tabs.vue
+++ b/wuye-manager-uniapp/components/tabs/tabs.vue
@@ -1,39 +1,80 @@
- {{ item.name }}
+ {{ item.label }}
diff --git a/wuye-manager-uniapp/pageSubPack/complaint/Details_handle.vue b/wuye-manager-uniapp/pageSubPack/complaint/Details_handle.vue
new file mode 100644
index 0000000..488ec2e
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/complaint/Details_handle.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+ 投诉状态
+
+ 待处理
+
+ 已完成
+
+
+
+ 已完成处理,已联系工作人员粘贴标语提醒,并派人定时巡视。
+
+
+
+
+ 投诉详情
+
+
+
+
+ 投诉类型
+
+ 社区服务
+
+
+
+
+ 问题描述
+
+ 投诉内容投诉内容投诉内容投诉内容投诉内容投诉内容投诉内容投诉内容投诉内容投诉内容
+
+
+
+
+ 投诉人姓名
+
+ 匿名
+
+
+
+ 手机号码
+
+ 无
+
+
+
+
+ 问题照片
+
+
+
+
+
+
+
+
+
+ 处理
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/complaint/handle.vue b/wuye-manager-uniapp/pageSubPack/complaint/handle.vue
new file mode 100644
index 0000000..d357cd9
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/complaint/handle.vue
@@ -0,0 +1,98 @@
+
+
+
+
+ 处理人员
+ {{ checkoutinfo.username ? checkoutinfo.username : '请选择' }}
+
+
+ 处理描述
+
+
+
+
+
+ 确 认
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/complaint/handleUser.vue b/wuye-manager-uniapp/pageSubPack/complaint/handleUser.vue
new file mode 100644
index 0000000..7d4bce7
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/complaint/handleUser.vue
@@ -0,0 +1,245 @@
+
+
+
+
+
+
+
+ 请输入关键字进行搜索
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定派单
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/fault-reporting/fault-reporting.vue b/wuye-manager-uniapp/pageSubPack/fault-reporting/fault-reporting.vue
index 0c0d027..54ee6dc 100644
--- a/wuye-manager-uniapp/pageSubPack/fault-reporting/fault-reporting.vue
+++ b/wuye-manager-uniapp/pageSubPack/fault-reporting/fault-reporting.vue
@@ -4,10 +4,10 @@
维修项目
-
- 请选择项目
- {{ repairProject }}
-
+
+ 请选择项目
+ {{ repairProject }}
+
@@ -16,20 +16,33 @@
标题
-
+
问题描述
-
+
手机号
-
+
@@ -39,7 +52,11 @@
-
+
@@ -57,7 +74,7 @@
diff --git a/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue b/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue
index 4c2c9b1..1d997e8 100644
--- a/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue
+++ b/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue
@@ -1,5 +1,5 @@
-
+
-
-
+
+
+
+
+ 确 认
+
-
diff --git a/wuye-manager-uniapp/pageSubPack/instrument/replacement_record.vue b/wuye-manager-uniapp/pageSubPack/instrument/replacement_record.vue
index c93d1c5..aba8bc4 100644
--- a/wuye-manager-uniapp/pageSubPack/instrument/replacement_record.vue
+++ b/wuye-manager-uniapp/pageSubPack/instrument/replacement_record.vue
@@ -1,39 +1,63 @@
-
-
-
- 仪表换新记录
-
-
-
-
-
-
-
-
- {{ item.title }}
+
+
+
+
+ 仪表换新记录
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+ 换新时间时间:{{ item.time }}
+
+
-
- 换新时间时间:{{ item.time }}
+
+ 电表
+ 水表
-
-
- 电表
- 水表
-
+
+
+
+
+
+ 新增
diff --git a/wuye-manager-uniapp/pageSubPack/report-record/report-record.vue b/wuye-manager-uniapp/pageSubPack/report-record/report-record.vue
index 13410ed..6a4f5a6 100644
--- a/wuye-manager-uniapp/pageSubPack/report-record/report-record.vue
+++ b/wuye-manager-uniapp/pageSubPack/report-record/report-record.vue
@@ -1,99 +1,111 @@
-
-
+
-
+
+
+
+
+
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
- 暂无上报记录
+
+
+
+ {{ item.label }}
+
-
-
+
-
-
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/setting/change -password.vue b/wuye-manager-uniapp/pageSubPack/setting/change-password.vue
similarity index 100%
rename from wuye-manager-uniapp/pageSubPack/setting/change -password.vue
rename to wuye-manager-uniapp/pageSubPack/setting/change-password.vue
diff --git a/wuye-manager-uniapp/pageSubPack/setting/setting.vue b/wuye-manager-uniapp/pageSubPack/setting/setting.vue
index 6e3e542..682e693 100644
--- a/wuye-manager-uniapp/pageSubPack/setting/setting.vue
+++ b/wuye-manager-uniapp/pageSubPack/setting/setting.vue
@@ -1,6 +1,6 @@
-
+
@@ -22,14 +22,16 @@
修改密码
- {{passwordNumber}}
+ {{ passwordNumber }}
-
+
@@ -43,11 +45,11 @@ const phoneNumber = ref('15699991212') // 绑定手机号
const passwordNumber = ref('')
// 页面加载时可从接口获取用户信息
-onLoad((option) => {
+onLoad(option => {
// console.log('option',option)
passwordNumber.value = option.newPassword
const userInfo = uni.getStorageSync('tempChangePwdParams')
- if(userInfo.phoneNumber){
+ if (userInfo.phoneNumber) {
phoneNumber.value = userInfo.phoneNumber
}
})
@@ -55,7 +57,7 @@ onLoad((option) => {
// 返回上一页
const goBack = () => {
uni.switchTab({
- url:"/pages/my/my"
+ url: '/pages/my/my'
})
}
@@ -80,7 +82,7 @@ const handleLogout = () => {
content: '确定要退出当前账号吗?',
confirmText: '确定',
cancelText: '取消',
- success: (res) => {
+ success: res => {
if (res.confirm) {
confirmLogout() // 确认退出
}
@@ -96,7 +98,7 @@ const confirmLogout = () => {
setTimeout(() => {
uni.hideLoading()
// 清除本地存储的token等信息
- uni.clearStorageSync()
+ uni.clearStorageSync()
// uni.removeStorageSync('token')
// uni.removeStorageSync('userInfo')
// uni.removeStorageSync('tempChangePwdParams')
@@ -123,9 +125,9 @@ const confirmLogout = () => {
display: flex;
flex-direction: column;
}
-.status_bar{
- width: 100%;
- height: 46px;
+.status_bar {
+ width: 100%;
+ height: 46px;
}
/* 导航栏样式 */
.nav-bar {
@@ -201,7 +203,7 @@ const confirmLogout = () => {
width: 100%;
height: 44px;
line-height: 44px;
- background-color: #4D5DFA;
+ background-color: #4d5dfa;
color: #fff;
border: none;
border-radius: 6px;
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/hall.vue b/wuye-manager-uniapp/pageSubPack/ticket/hall.vue
new file mode 100644
index 0000000..6a3e134
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/hall.vue
@@ -0,0 +1,436 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ 暂无上报记录
+
+
+
+
+
+
+
+
+ {{ record.reportType }}
+ {{ record.category }}
+
+
+
+
+ {{ record.content }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/myticket.vue b/wuye-manager-uniapp/pageSubPack/ticket/myticket.vue
new file mode 100644
index 0000000..3861b98
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/myticket.vue
@@ -0,0 +1,480 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ 暂无上报记录
+
+
+
+
+
+
+
+
+ {{ record.reportType }}
+ {{ record.category }}
+
+
+
+
+ {{ record.content }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue b/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue
new file mode 100644
index 0000000..5768fd3
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+ 问题描述
+
+
+
+
+
+
+
+ 问题照片
+
+
+
+
+
+
+
+
+
+
+ 确 认
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/repairMain.vue b/wuye-manager-uniapp/pageSubPack/ticket/repairMain.vue
new file mode 100644
index 0000000..7cbf2d5
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/repairMain.vue
@@ -0,0 +1,346 @@
+
+
+
+
+
+
+
+
+ {{ data.title }}
+
+
+ {{ data.desc }}
+ 2026/08/01 10:30:35
+
+
+
+
+
+
+
+ 保修信息
+
+
+
+ 报修房屋
+
+ {{ repairInfo.houseName }}
+
+
+
+ 维修项目
+
+ {{ repairInfo.repairProject }}
+
+
+
+ 标题
+
+ {{ repairInfo.title }}
+
+
+
+ 问题描述
+
+ {{ repairInfo.descrtion }}
+
+
+
+ 手机号
+
+ {{ repairInfo.phone }}
+
+
+
+ 报修时间
+
+ {{ repairInfo.time }}
+
+
+
+ 问题照片
+
+
+
+
+
+
+
+
+
+ 维修信息
+
+
+
+ 姓名
+ {{ repairInfo.repairUser.name }}
+
+
+ 状态
+ {{ repairInfo.repairUser.status }}
+
+
+ 角色
+ {{ repairInfo.repairUser.role }}
+
+
+ 手机号
+ {{ repairInfo.repairUser.phone }}
+
+
+
+ 问题描述
+ {{ repairInfo.repairUser.descrtion }}
+
+
+ 问题照片
+
+
+
+
+
+
+
+
+ 分配
+
+
+ 维修完成
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/reportingRecord.vue b/wuye-manager-uniapp/pageSubPack/ticket/reportingRecord.vue
new file mode 100644
index 0000000..cef063b
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/reportingRecord.vue
@@ -0,0 +1,415 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ 暂无上报记录
+
+
+
+
+
+
+
+
+ {{ record.reportType }}
+ {{ record.category }}
+
+
+
+
+ {{ record.content }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pageSubPack/ticket/shareUser.vue b/wuye-manager-uniapp/pageSubPack/ticket/shareUser.vue
new file mode 100644
index 0000000..56853dc
--- /dev/null
+++ b/wuye-manager-uniapp/pageSubPack/ticket/shareUser.vue
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+ 请输入关键字进行搜索
+
+
+
+
+
+ 已选({{ checkoutUserid ? 1 : 0 }}/1)
+ {{ checkoutInfo.name }}
+
+
+
+
+
+
+
+
+
+
+ 确定派单
+
+
+
+
+
+
+
+
diff --git a/wuye-manager-uniapp/pages.json b/wuye-manager-uniapp/pages.json
index fc127e3..98ab438 100644
--- a/wuye-manager-uniapp/pages.json
+++ b/wuye-manager-uniapp/pages.json
@@ -98,7 +98,8 @@
{
"path": "inspection_record",
"style": {
- "navigationBarTitleText": "巡检记录"
+ "navigationBarTitleText": "巡检记录",
+ "navigationStyle": "custom"
}
},
{
@@ -131,6 +132,79 @@
}
]
},
+ {
+ "root": "pageSubPack/complaint",
+ "pages": [{
+ "path": "Details",
+ "style": {
+ "navigationBarTitleText": "投诉详情",
+ "navigationBarBackgroundColor": "#f9f9f9"
+ }
+ },
+ {
+ "path": "handle",
+ "style": {
+ "navigationBarTitleText": "处理投诉"
+ }
+ },
+ {
+ "path": "handleUser",
+ "style": {
+ "navigationBarTitleText": "选择处理人员"
+ }
+ },
+ {
+ "path": "Details_handle",
+ "style": {
+ "navigationBarTitleText": "投诉详情处理"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pageSubPack/ticket",
+ "pages": [{
+ "path": "hall",
+ "style": {
+ "navigationBarTitleText": "工单大厅",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "shareUser",
+ "style": {
+ "navigationBarTitleText": "分配派单"
+ }
+ },
+ {
+ "path": "repairMain",
+ "style": {
+ "navigationBarTitleText": "维修详情"
+ }
+ },
+ {
+ "path": "myticket",
+ "style": {
+ "navigationBarTitleText": "我的工单",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "repairCompleted",
+ "style": {
+ "navigationBarTitleText": "维修完成",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "reportingRecord",
+ "style": {
+ "navigationBarTitleText": "上报记录",
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
{
"root": "pageSubPack/oneClickOpen",
"pages": [{
@@ -199,8 +273,8 @@
},
"condition": {
"list": [{
- "name": "选择房屋",
- "path": "pageSubPack/instrument/checkouthouse"
+ "name": "维修完成",
+ "path": "pageSubPack/ticket/repairCompleted"
}]
},
"tabBar": {
diff --git a/wuye-manager-uniapp/pages/index/index.vue b/wuye-manager-uniapp/pages/index/index.vue
index d4834e3..d9cc442 100644
--- a/wuye-manager-uniapp/pages/index/index.vue
+++ b/wuye-manager-uniapp/pages/index/index.vue
@@ -29,11 +29,17 @@
-
+
-
+
@@ -50,8 +56,17 @@
-
+
@@ -60,15 +75,15 @@
25
- 巡检点
+ 全部巡检
5
- 巡检点
+ 待巡检
25
- 巡检点
+ 已巡检
@@ -85,18 +100,18 @@
一键开门
-
+
工单大厅
-
+
我的工单
-
+
投诉处理
@@ -112,9 +127,7 @@ import { onLoad, onUnload } from '@dcloudio/uni-app'
// 列表数据状态
const current = ref(0)
const currentCommunity = ref('碧桂园小区')
-const bannerList = ref([
- { img: '/static/imgs/banner1.png' },
-])
+const bannerList = ref([{ img: '/static/imgs/banner1.png' }])
const noticeText = ref('公告公告本小区今天安装了摄像头')
// =======方法=======
@@ -136,6 +149,18 @@ const goToOneOpenDoor = () => {
url: '/pageSubPack/oneClickOpen/oneClickOpen'
})
}
+// 工单大厅
+const goToTicketHall = () => {
+ uni.navigateTo({
+ url: '/pageSubPack/ticket/hall'
+ })
+}
+// 我的工单
+const goToMyTicket = () => {
+ uni.navigateTo({
+ url: '/pageSubPack/ticket/myticket'
+ })
+}
// 跳转到 今日巡检
const goToDaysInspection = () => {
uni.navigateTo({
@@ -148,14 +173,20 @@ const goToInspectionRecord = () => {
url: '/pageSubPack/inspection/inspection_record'
})
}
+// 跳转到 投诉处理
+const goToComplaint = () => {
+ uni.navigateTo({
+ url: '/pageSubPack/complaint/Details'
+ })
+}
// 故障上报
const goToReport = () => {
uni.navigateTo({
- url: "/pageSubPack/fault-reporting/fault-reporting"
+ url: '/pageSubPack/fault-reporting/fault-reporting'
})
}
// 接收选择小区返回的参数
-const slelctHomeData = (data) => {
+const slelctHomeData = data => {
currentCommunity.value = data.name
}
@@ -167,7 +198,7 @@ onUnload(() => {
uni.$off('confirm', slelctHomeData)
})
-const clickItem = (index) => {
+const clickItem = index => {
current.value = index
}
@@ -175,9 +206,8 @@ const clickItem = (index) => {
\ No newline at end of file
+.page {
+ flex: 1;
+ overflow-y: auto;
+ padding: 0px 40rpx;
+ box-sizing: border-box;
+}
+