From 95ccb1e3bc4f478497430ff8482c5ecf3899d753 Mon Sep 17 00:00:00 2001
From: zhouyanli <593579392@qq.com>
Date: Thu, 30 Apr 2026 14:28:22 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=9C=A8=E7=BA=BF=E6=8A=A5?=
=?UTF-8?q?=E4=BF=AE=E7=9A=84=E6=96=B0=E5=A2=9E=E6=8A=A5=E4=BF=AE=E5=92=8C?=
=?UTF-8?q?=E6=8A=A5=E4=BF=AE=E8=AF=A6=E6=83=85=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pageSubPack/api/api.js | 6 +-
.../online-repair/onlineRepair.vue | 73 ++--
.../online-repair/personalRepair.vue | 351 +++++++-----------
.../online-repair/personalSelectPoject.vue | 27 +-
.../online-repair/publicRepair.vue | 7 +-
.../online-repair/repairDetail.vue | 129 ++++---
.../pageSubPack/online-repair/selectHouse.vue | 24 ++
7 files changed, 328 insertions(+), 289 deletions(-)
diff --git a/property-uniapp-project/pageSubPack/api/api.js b/property-uniapp-project/pageSubPack/api/api.js
index e14e3e8..4556cde 100644
--- a/property-uniapp-project/pageSubPack/api/api.js
+++ b/property-uniapp-project/pageSubPack/api/api.js
@@ -113,12 +113,16 @@ export const getQueryRepair = (data) =>{
export const getHouseList = (data) =>{
return get('/api/resident/my/house/list',data)
}
+// 报修详情
+export const getRepairDetail = (data) =>{
+ return get('/repairOrder/queryRepairDetail',data)
+}
// 通用文件上传
export const uploadImage = () => {
return upload('');
}
-// 上传单张图片(请根据后端实际地址修改)
+// 上传单张图片
export const uploadFile = (filePath) => {
return upload(filePath, '/common/upload');
}
\ No newline at end of file
diff --git a/property-uniapp-project/pageSubPack/online-repair/onlineRepair.vue b/property-uniapp-project/pageSubPack/online-repair/onlineRepair.vue
index 8c5c6ce..b283be9 100644
--- a/property-uniapp-project/pageSubPack/online-repair/onlineRepair.vue
+++ b/property-uniapp-project/pageSubPack/online-repair/onlineRepair.vue
@@ -11,6 +11,8 @@
+
-
- {{ item.repairTypeName }}
- {{ item.category }}
+
+ {{ item.maintenanceItemName }}
- {{ item.content || item.description || '' }}
+ {{ item.problem || '' }}
-
+
@@ -90,7 +91,7 @@
@@ -100,12 +101,13 @@
暂无数据
+
\ No newline at end of file
diff --git a/property-uniapp-project/pageSubPack/online-repair/publicRepair.vue b/property-uniapp-project/pageSubPack/online-repair/publicRepair.vue
index eb245ad..596dd54 100644
--- a/property-uniapp-project/pageSubPack/online-repair/publicRepair.vue
+++ b/property-uniapp-project/pageSubPack/online-repair/publicRepair.vue
@@ -179,12 +179,13 @@ const submitForm = async () => {
const res = await addQueryRepair(params)
if (res.code === 200) {
uni.showToast({ title: '提交成功', icon: 'success' })
+ // const tempProjectId = projectId.value
form.value = { title: '', desc: '', phone: '', images: [] }
repairProject.value = ''
// uni.navigateBack({ delta: 2 })
- uni.navigateTo({
- url:'/pageSubPack/online-repair/onlineRepair'
- })
+ setTimeout(() => {
+ uni.navigateTo({ url: '/pageSubPack/online-repair/onlineRepair' })
+ }, 1500)
} else {
uni.showToast({ title: res.msg || '提交失败', icon: 'none' })
}
diff --git a/property-uniapp-project/pageSubPack/online-repair/repairDetail.vue b/property-uniapp-project/pageSubPack/online-repair/repairDetail.vue
index 808f124..e030c03 100644
--- a/property-uniapp-project/pageSubPack/online-repair/repairDetail.vue
+++ b/property-uniapp-project/pageSubPack/online-repair/repairDetail.vue
@@ -13,7 +13,7 @@
- 2026-03-24 09:30:38
+ 2026-03-26 09:30:38
2026-03-26 09:30:38
2026-03-28 09:30:38
@@ -49,8 +49,11 @@
问题照片
-
-
+
+
+
+
+
@@ -65,54 +68,88 @@
\ No newline at end of file