diff --git a/app/api/property.js b/app/api/property.js
index 5c85f57..d4d7dde 100644
--- a/app/api/property.js
+++ b/app/api/property.js
@@ -19,6 +19,32 @@ export function listComplaintSuggestion(params) {
}
// 报修记录 - 列表
+export function listMaintenanceOrder(params) {
+ return request.get(
+ 'autogencode/pmmaintenanceorder/list',
+ params,
+ { useAdminUrl: true }
+ );
+}
+
+// 报修记录 - 新增(用于业主发起报修,后端可据此生成工单)
+export function createMaintenanceOrder(data) {
+ return request.post(
+ 'autogencode/pmmaintenanceorder/save',
+ data,
+ { useAdminUrl: true }
+ );
+}
+
+// 报修记录 - 详情
+export function listMaintenanceOrderDetail(id) {
+ return request.get(
+ 'autogencode/pmmaintenanceorder/info/' + id,
+ { useAdminUrl: true }
+ );
+}
+
+// 报修派单记录 - 列表
export function listMaintenanceDispatch(params) {
return request.get(
'autogencode/pmmaintenancedispatch/list',
@@ -27,7 +53,7 @@ export function listMaintenanceDispatch(params) {
);
}
-// 报修记录 - 新增(用于业主发起报修,后端可据此生成工单)
+// 报修派单记录 - 新增
export function createMaintenanceDispatch(data) {
return request.post(
'autogencode/pmmaintenancedispatch/save',
diff --git a/app/pages/index/index.vue b/app/pages/index/index.vue
index 3200668..28da406 100644
--- a/app/pages/index/index.vue
+++ b/app/pages/index/index.vue
@@ -95,13 +95,13 @@
-
+
-
+
diff --git a/app/pages/supply_chain/complaint/index.vue b/app/pages/supply_chain/complaint/index.vue
index 4053360..ce470e6 100644
--- a/app/pages/supply_chain/complaint/index.vue
+++ b/app/pages/supply_chain/complaint/index.vue
@@ -35,21 +35,35 @@
投诉
建议
+
+ 问题类型
+
+
+ {{ selectedType || '请选择问题类型' }}
+
+
+
+
联系方式
+
+ 故障类型
+
+
+
+ {{ selectedFaultType }}
+
+ 请选择故障类型
+
+
+
+
+
联系方式
- 期望上门时间(选填)
-
+ 上传图片(选填)
+
+
+
+
+ ×
+
+
+
+ 添加图片
+
+
+ 最多上传9张图片
+
@@ -113,6 +141,12 @@
+
+ 故障类型
+
+ {{ getFaultTypeLabel(item.faultType) }}
+
+
报修内容
@@ -185,12 +219,10 @@
@click="chooseHouse(item)"
>
- {{ item.houseName || item.houseNo || '房屋' }}
+ {{ (item.unitNo ? item.unitNo + '单元' : '') + (item.floorNo ? ' ' + item.floorNo + '层' : '') + (item.houseNo ? ' ' + item.houseNo + '室' : '') || item.houseName || '房屋' }}
{{ item.buildingId ? '楼栋 ' + item.buildingId : '' }}
- {{ item.unitNo ? ' 单元 ' + item.unitNo : '' }}
- {{ item.floorNo ? ' ' + item.floorNo + '层' : '' }}