diff --git a/common/api.js b/common/api.js index 70f645c..9ecb5b0 100644 --- a/common/api.js +++ b/common/api.js @@ -2,7 +2,24 @@ import { request } from './http.js'; export const listHouseWithCount = (data) => { return request({ url: '/system/dict/data/list', - method: 'GET', + method: 'get', data, }); -}; \ No newline at end of file +}; + +// 巡检上报 +export function addInspection(data) { + return request({ + url: '/mz/inspection/add', + method: 'post', + data, + }); +}; + +// 房屋专属左侧组织树 +export function getdeptList() { + return request({ + url: '/mz/building/getdeptList', + method: 'get' + }) +} \ No newline at end of file diff --git a/common/rec.js b/common/rec.js new file mode 100644 index 0000000..bc5e76c --- /dev/null +++ b/common/rec.js @@ -0,0 +1,108 @@ +import request from "@/utils/request"; + +// 查询选房记录列表 +export function listRecselect(data) { + return request({ + url: `/apartment/manager/chooseRoomRecs?pageNum=${data.pageNum}&pageSize=${data.pageSize}`, + method: "post", + data, + }); +} + +// 查询选房记录详细 +export function getRecSelectInfo(id) { + return request({ + url: "/apartment/manager/chooseRoomRecDetail?chooseRoomRecId=" + id, + method: "get", + }); +} +// 查询入住记录列表 +export function listRecCheckin(data) { + return request({ + url: `/apartment/manager/listCheckInRecs?pageNum=${data.pageNum}&pageSize=${data.pageSize}`, + method: "post", + data, + }); +} +// 查询选房记录详细 +export function getRecCheckinInfo(id) { + return request({ + url: "/apartment/manager/checkInRecDetail?checkInRecId=" + id, + method: "get", + }); +} +// 查询退房记录列表 +export function listCheckOutRec(pageNum, pageSize, requestBody) { + return request({ + url: "/apartment/manager/listCheckOutRec?pageNum=" + pageNum + "&pageSize=" + pageSize, + method: "post", + data: requestBody, + }); +} +// 查询退房记录详细 +export function getRecCheckOutInfo(id) { + return request({ + url: "/apartment/manager/checkOutRecDetail?checkOutRecId=" + id, + method: "get", + }); +} +// 房屋三级联动 +export function queryDeptDropdownList(query) { + return request({ + url: "/system/dept/queryDeptDropdownList", + method: "get", + params: query, + }); +} + +// 续期记录 +export function listRenewRec(query) { + return request({ + url: "/mz/renewal/queryRenewalRecord", + method: "get", + params: query, + }); +} +// 续期办理 +export function handleRenewal(data) { + return request({ + url: "/mz/renewal/handleRenewal", + method: "post", + data: data, + }); +} + +// 入住趋势 +export function getRoomTrend(query) { + return request({ + url: "/mz/room/roomTrend", + method: "get", + params: query, + }); +} +// 查询续期记录详情 +export function renewalRecordDetail(query) { + return request({ + url: `/mz/renewal/queryRenewalRecordById/${query.renewalId}`, + method: "get", + params: query, + }); +} + +// 分页查询消息 +export function messageList(query) { + return request({ + url: "/message/page", + method: "get", + params: query, + }); +} +// 补充合同文件 +export function supplementOfflineContract(data) { + return request({ + url: "/mz/checkin/supplementOfflineContract", + method: "post", + data: data, + }); +} + diff --git a/main.js b/main.js index 2f28388..46d7299 100644 --- a/main.js +++ b/main.js @@ -5,7 +5,12 @@ Vue.use(uView); // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' +import { handleTree } from "@/utils/ruoyi"; + Vue.config.productionTip = false + +Vue.prototype.handleTree = handleTree + App.mpType = 'app' // uni.$u.config.unit = 'rpx' const app = new Vue({ diff --git a/pages/tabBar/xjPage/xj.vue b/pages/tabBar/xjPage/xj.vue index 0c0566f..256c20c 100644 --- a/pages/tabBar/xjPage/xj.vue +++ b/pages/tabBar/xjPage/xj.vue @@ -5,28 +5,28 @@ 填写信息 请您填写相关问题 - + - + @click="lysqShow = true" ref="item1"> + - - + + - - + + - - + + - + - - - + + + - - + + 提交 - + @@ -74,26 +74,29 @@