diff --git a/src/api/system/houseRental/type.ts b/src/api/system/houseRental/type.ts index 8617d48..9275a84 100644 --- a/src/api/system/houseRental/type.ts +++ b/src/api/system/houseRental/type.ts @@ -106,7 +106,7 @@ export interface HouseRentalForm extends BaseEntity { houseImageUrl: string; //房屋图片 supInfo: string; //补充租房信息 vx: string; //微信 - houseUse: string; //房屋用途 + houseUse?: string; //房屋用途 rentalStatus: number; //租赁状态 buildingId: string; //楼栋id unitNoId: string; //单元id diff --git a/src/api/system/report/dailyFeeReport/index.ts b/src/api/system/report/dailyFeeReport/index.ts index c695406..f2828c2 100644 --- a/src/api/system/report/dailyFeeReport/index.ts +++ b/src/api/system/report/dailyFeeReport/index.ts @@ -1,10 +1,18 @@ import request from '@/utils/request'; -import { Response } from '@/api/system/report/dailyFeeReport/type'; +import { FilterResponse, Response } from '@/api/system/report/dailyFeeReport/type'; export const getDailyFeeReportList = (data = {}): Promise => { return request({ url: '/dailyFeeReport/list', - method: 'GET', - params: data + method: 'POST', + data: data + }); +}; +// 获取动态查询数据 +export const getDailyFeeReportDynamicList = (data = {}): Promise => { + return request({ + url: '/dailyFeeReport/filters', + method: 'GET', + data: data }); }; diff --git a/src/api/system/report/dailyFeeReport/type.ts b/src/api/system/report/dailyFeeReport/type.ts index ea5c81f..1d75308 100644 --- a/src/api/system/report/dailyFeeReport/type.ts +++ b/src/api/system/report/dailyFeeReport/type.ts @@ -33,3 +33,16 @@ export type ChargeTypeAmounts = { startDate?: string; }; }; + +export type FilterResponse = { + code: number; + data: { + 'field': string; + 'label': string; + 'type': string; + 'placeholder': string; + 'chargeTypeName': null; + 'subField': null; + }[]; + msg: string; +}; diff --git a/src/api/system/residentReviewProcess/resident/index.ts b/src/api/system/residentReviewProcess/resident/index.ts index 54fe0ae..e06119d 100644 --- a/src/api/system/residentReviewProcess/resident/index.ts +++ b/src/api/system/residentReviewProcess/resident/index.ts @@ -7,7 +7,6 @@ import { ResidentVO, ResidentForm, ResidentQuery } from '@/api/system/residentRe * @param query * @returns {*} */ - export const listResident = (query?: ResidentQuery | {}): AxiosPromise => { return request({ url: '/resident/list', diff --git a/src/api/system/residentReviewProcess/resident/type.ts b/src/api/system/residentReviewProcess/resident/type.ts index b3454f5..d128cb1 100644 --- a/src/api/system/residentReviewProcess/resident/type.ts +++ b/src/api/system/residentReviewProcess/resident/type.ts @@ -18,12 +18,12 @@ export interface ResidentVO { nickName: string; /** - * 0业主 1租户 + * 0 业主 1 租户 */ type: string; /** - * 0 男性 1女性 + * 0 男性 1 女性 */ gender: string; @@ -104,15 +104,15 @@ export interface ResidentForm extends BaseEntity { name?: string; /** - * 0业主 - * 1亲属 - * 2租户 - * 3朋友 + * 0 业主 + * 1 亲属 + * 2 租户 + * 3 朋友 */ ownerRelationship?: string; /** - * 0 男性 1女性 + * 0 男性 1 女性 */ gender?: string; diff --git a/src/api/system/version/index.ts b/src/api/system/version/index.ts index 37414d0..dc2a0ef 100644 --- a/src/api/system/version/index.ts +++ b/src/api/system/version/index.ts @@ -63,10 +63,10 @@ export const delVersion = (id: string | number | Array) => { }; /** 获取过往版本 */ -export const getPastVersion = (platform: string, appChannel: string, channel: string = 'xiaomi') => { +export const getPastVersion = (platform: string, appChannel: string) => { return request({ - url: `/api/app/getPastVersion?platform=${platform}&appChannel=${appChannel}&channel=${channel}`, - method: 'get' + url: `/api/app/getPastVersion?platform=${platform}&appChannel=${appChannel}`, + method: 'get', }); }; /** 切换版本启停 */ diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 20b14a4..5c1ff26 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -373,6 +373,12 @@ onUnmounted(() => { width: 40px; font-size: 12px; } +:deep(.ql-snow .ql-editor) { + white-space: pre-wrap; + /* 允许在数字内部断开,消除“整串数字集体跳下一行” */ + word-break: break-all; + overflow-wrap: break-word; +} :deep(.ql-snow .ql-toolbar button.ql-file::before) { all: unset !important; content: '附件'; @@ -385,6 +391,7 @@ onUnmounted(() => { .editor { max-width: 800px; } + .editor, .ql-toolbar { white-space: pre-wrap !important; diff --git a/src/components/Holder/index.vue b/src/components/Holder/index.vue index 3c5e39e..7a9cce2 100644 --- a/src/components/Holder/index.vue +++ b/src/components/Holder/index.vue @@ -11,19 +11,23 @@ - + @@ -64,10 +68,10 @@ :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" - @pagination="getlist" + @pagination="getList" />
- 退出 + 退出 确定
@@ -77,19 +81,8 @@ diff --git a/src/views/system/resident/ResidentMain.vue b/src/views/system/resident/ResidentMain.vue index caa5600..4fa1c48 100644 --- a/src/views/system/resident/ResidentMain.vue +++ b/src/views/system/resident/ResidentMain.vue @@ -27,8 +27,8 @@
-
住户类型:
- +
与主业主关系:
+