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