diff --git a/apps/web-antd/src/api/property/rentalOrder/index.ts b/apps/web-antd/src/api/property/rentalOrder/index.ts new file mode 100644 index 00000000..61829f0b --- /dev/null +++ b/apps/web-antd/src/api/property/rentalOrder/index.ts @@ -0,0 +1,61 @@ +import type { RentalOrderVO, RentalOrderForm, RentalOrderQuery } from './model'; + +import type { ID, IDS } from '#/api/common'; +import type { PageResult } from '#/api/common'; + +import { commonExport } from '#/api/helper'; +import { requestClient } from '#/api/request'; + +/** +* 查询绿植租赁-订单管理列表 +* @param params +* @returns 绿植租赁-订单管理列表 +*/ +export function rentalOrderList(params?: RentalOrderQuery) { + return requestClient.get>('/property/rentalOrder/list', { params }); +} + +/** + * 导出绿植租赁-订单管理列表 + * @param params + * @returns 绿植租赁-订单管理列表 + */ +export function rentalOrderExport(params?: RentalOrderQuery) { + return commonExport('/property/rentalOrder/export', params ?? {}); +} + +/** + * 查询绿植租赁-订单管理详情 + * @param id id + * @returns 绿植租赁-订单管理详情 + */ +export function rentalOrderInfo(id: ID) { + return requestClient.get(`/property/rentalOrder/${id}`); +} + +/** + * 新增绿植租赁-订单管理 + * @param data + * @returns void + */ +export function rentalOrderAdd(data: RentalOrderForm) { + return requestClient.postWithMsg('/property/rentalOrder', data); +} + +/** + * 更新绿植租赁-订单管理 + * @param data + * @returns void + */ +export function rentalOrderUpdate(data: RentalOrderForm) { + return requestClient.putWithMsg('/property/rentalOrder', data); +} + +/** + * 删除绿植租赁-订单管理 + * @param id id + * @returns void + */ +export function rentalOrderRemove(id: ID | IDS) { + return requestClient.deleteWithMsg(`/property/rentalOrder/${id}`); +} diff --git a/apps/web-antd/src/api/property/rentalOrder/model.d.ts b/apps/web-antd/src/api/property/rentalOrder/model.d.ts new file mode 100644 index 00000000..4a6841a1 --- /dev/null +++ b/apps/web-antd/src/api/property/rentalOrder/model.d.ts @@ -0,0 +1,249 @@ +import type { PageQuery, BaseEntity } from '#/api/common'; + +export interface RentalOrderVO { + /** + * 主键 + */ + id: string | number; + + /** + * 订单号 + */ + orderNo: string; + + /** + * 客户名称 + */ + customerName: string; + + /** + * 客户类型 + */ + customerType: number; + + /** + * 租赁周期 + */ + rentalPeriod: number; + + /** + * 租赁开始时间 + */ + startTime: string; + + /** + * 租赁结束时间 + */ + endTime: string; + + /** + * 应付总额 + */ + totalAmount: number; + + /** + * 租赁方式 + */ + rentalType: number; + + /** + * 租赁方案id + */ + planId: string | number; + + /** + * 绿植产品id + */ + productId: string | number; + + /** + * 租赁产品数量 + */ + productNum: number; + + /** + * 支付状态 + */ + paymentStatus: number; + + /** + * 是否续租 + */ + isRelet: number; + + /** + * 合同状态 + */ + contractStatus: number; + + /** + * 签署时间 + */ + signTime: string; + +} + +export interface RentalOrderForm extends BaseEntity { + /** + * 主键 + */ + id?: string | number; + + /** + * 订单号 + */ + orderNo?: string; + + /** + * 客户名称 + */ + customerName?: string; + + /** + * 客户类型 + */ + customerType?: number; + + /** + * 租赁周期 + */ + rentalPeriod?: number; + + /** + * 租赁开始时间 + */ + startTime?: string; + + /** + * 租赁结束时间 + */ + endTime?: string; + + /** + * 应付总额 + */ + totalAmount?: number; + + /** + * 租赁方式 + */ + rentalType?: number; + + /** + * 租赁方案id + */ + planId?: string | number; + + /** + * 绿植产品id + */ + productId?: string | number; + + /** + * 租赁产品数量 + */ + productNum?: number; + + /** + * 支付状态 + */ + paymentStatus?: number; + + /** + * 是否续租 + */ + isRelet?: number; + + /** + * 合同状态 + */ + contractStatus?: number; + + /** + * 签署时间 + */ + signTime?: string; + +} + +export interface RentalOrderQuery extends PageQuery { + /** + * 订单号 + */ + orderNo?: string; + + /** + * 客户名称 + */ + customerName?: string; + + /** + * 客户类型 + */ + customerType?: number; + + /** + * 租赁周期 + */ + rentalPeriod?: number; + + /** + * 租赁开始时间 + */ + startTime?: string; + + /** + * 租赁结束时间 + */ + endTime?: string; + + /** + * 应付总额 + */ + totalAmount?: number; + + /** + * 租赁方式 + */ + rentalType?: number; + + /** + * 租赁方案id + */ + planId?: string | number; + + /** + * 绿植产品id + */ + productId?: string | number; + + /** + * 租赁产品数量 + */ + productNum?: number; + + /** + * 支付状态 + */ + paymentStatus?: number; + + /** + * 是否续租 + */ + isRelet?: number; + + /** + * 合同状态 + */ + contractStatus?: number; + + /** + * 签署时间 + */ + signTime?: string; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/apps/web-antd/src/api/property/room/index.ts b/apps/web-antd/src/api/property/room/index.ts new file mode 100644 index 00000000..da07ffee --- /dev/null +++ b/apps/web-antd/src/api/property/room/index.ts @@ -0,0 +1,61 @@ +import type { RoomVO, RoomForm, RoomQuery } from './model'; + +import type { ID, IDS } from '#/api/common'; +import type { PageResult } from '#/api/common'; + +import { commonExport } from '#/api/helper'; +import { requestClient } from '#/api/request'; + +/** +* 查询房间信息列表 +* @param params +* @returns 房间信息列表 +*/ +export function roomList(params?: RoomQuery) { + return requestClient.get>('/property/room/list', { params }); +} + +/** + * 导出房间信息列表 + * @param params + * @returns 房间信息列表 + */ +export function roomExport(params?: RoomQuery) { + return commonExport('/property/room/export', params ?? {}); +} + +/** + * 查询房间信息详情 + * @param id id + * @returns 房间信息详情 + */ +export function roomInfo(id: ID) { + return requestClient.get(`/property/room/${id}`); +} + +/** + * 新增房间信息 + * @param data + * @returns void + */ +export function roomAdd(data: RoomForm) { + return requestClient.postWithMsg('/property/room', data); +} + +/** + * 更新房间信息 + * @param data + * @returns void + */ +export function roomUpdate(data: RoomForm) { + return requestClient.putWithMsg('/property/room', data); +} + +/** + * 删除房间信息 + * @param id id + * @returns void + */ +export function roomRemove(id: ID | IDS) { + return requestClient.deleteWithMsg(`/property/room/${id}`); +} diff --git a/apps/web-antd/src/api/property/room/model.d.ts b/apps/web-antd/src/api/property/room/model.d.ts new file mode 100644 index 00000000..207b4a49 --- /dev/null +++ b/apps/web-antd/src/api/property/room/model.d.ts @@ -0,0 +1,159 @@ +import type { PageQuery, BaseEntity } from '#/api/common'; + +export interface RoomVO { + /** + * 主键 + */ + id: string | number; + + /** + * 所属楼层ID + */ + floorCode: string; + + /** + * 房间编码 + */ + roomCode: string; + + /** + * 房间号(如101,202) + */ + roomNumber: string; + + /** + * 房间类型('住宅','商铺','办公室','设备间','公共区域') + */ + roomType: number; + + /** + * 面积(平方米) + */ + area: number; + + /** + * 户型(如2室1厅1卫) + */ + layout: string; + + /** + * 朝向('东','南','西','北','东南','东北','西南','西北') + */ + orientation: number; + + /** + * 是否可售 + */ + isForSale: number; + + /** + * 状态('空置','已售','已租','自用') + */ + status: number; + +} + +export interface RoomForm extends BaseEntity { + /** + * 主键 + */ + id?: string | number; + + /** + * 所属楼层ID + */ + floorCode?: string; + + /** + * 房间编码 + */ + roomCode?: string; + + /** + * 房间号(如101,202) + */ + roomNumber?: string; + + /** + * 房间类型('住宅','商铺','办公室','设备间','公共区域') + */ + roomType?: number; + + /** + * 面积(平方米) + */ + area?: number; + + /** + * 户型(如2室1厅1卫) + */ + layout?: string; + + /** + * 朝向('东','南','西','北','东南','东北','西南','西北') + */ + orientation?: number; + + /** + * 是否可售 + */ + isForSale?: number; + + /** + * 状态('空置','已售','已租','自用') + */ + status?: number; + +} + +export interface RoomQuery extends PageQuery { + /** + * 所属楼层ID + */ + floorCode?: string; + + /** + * 房间编码 + */ + roomCode?: string; + + /** + * 房间号(如101,202) + */ + roomNumber?: string; + + /** + * 房间类型('住宅','商铺','办公室','设备间','公共区域') + */ + roomType?: number; + + /** + * 面积(平方米) + */ + area?: number; + + /** + * 户型(如2室1厅1卫) + */ + layout?: string; + + /** + * 朝向('东','南','西','北','东南','东北','西南','西北') + */ + orientation?: number; + + /** + * 是否可售 + */ + isForSale?: number; + + /** + * 状态('空置','已售','已租','自用') + */ + status?: number; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/apps/web-antd/src/api/property/unit/index.ts b/apps/web-antd/src/api/property/unit/index.ts new file mode 100644 index 00000000..8563db68 --- /dev/null +++ b/apps/web-antd/src/api/property/unit/index.ts @@ -0,0 +1,61 @@ +import type { UnitVO, UnitForm, UnitQuery } from './model'; + +import type { ID, IDS } from '#/api/common'; +import type { PageResult } from '#/api/common'; + +import { commonExport } from '#/api/helper'; +import { requestClient } from '#/api/request'; + +/** +* 查询单元列表 +* @param params +* @returns 单元列表 +*/ +export function unitList(params?: UnitQuery) { + return requestClient.get>('/property/unit/list', { params }); +} + +/** + * 导出单元列表 + * @param params + * @returns 单元列表 + */ +export function unitExport(params?: UnitQuery) { + return commonExport('/property/unit/export', params ?? {}); +} + +/** + * 查询单元详情 + * @param id id + * @returns 单元详情 + */ +export function unitInfo(id: ID) { + return requestClient.get(`/property/unit/${id}`); +} + +/** + * 新增单元 + * @param data + * @returns void + */ +export function unitAdd(data: UnitForm) { + return requestClient.postWithMsg('/property/unit', data); +} + +/** + * 更新单元 + * @param data + * @returns void + */ +export function unitUpdate(data: UnitForm) { + return requestClient.putWithMsg('/property/unit', data); +} + +/** + * 删除单元 + * @param id id + * @returns void + */ +export function unitRemove(id: ID | IDS) { + return requestClient.deleteWithMsg(`/property/unit/${id}`); +} diff --git a/apps/web-antd/src/api/property/unit/model.d.ts b/apps/web-antd/src/api/property/unit/model.d.ts new file mode 100644 index 00000000..22c21c69 --- /dev/null +++ b/apps/web-antd/src/api/property/unit/model.d.ts @@ -0,0 +1,114 @@ +import type { PageQuery, BaseEntity } from '#/api/common'; + +export interface UnitVO { + /** + * 主键id + */ + id: string | number; + + /** + * 建筑名称 + */ + buildingCode: string; + + /** + * 单元编码 + */ + unitCode: string; + + /** + * 单元名称 + */ + unitName: string; + + /** + * 单元层数 + */ + floorCount: number; + + /** + * 单元户数 + */ + householdCount: number; + + /** + * 楼梯数量 + */ + stairCount: number; + +} + +export interface UnitForm extends BaseEntity { + /** + * 主键id + */ + id?: string | number; + + /** + * 建筑名称 + */ + buildingCode?: string; + + /** + * 单元编码 + */ + unitCode?: string; + + /** + * 单元名称 + */ + unitName?: string; + + /** + * 单元层数 + */ + floorCount?: number; + + /** + * 单元户数 + */ + householdCount?: number; + + /** + * 楼梯数量 + */ + stairCount?: number; + +} + +export interface UnitQuery extends PageQuery { + /** + * 建筑名称 + */ + buildingCode?: string; + + /** + * 单元编码 + */ + unitCode?: string; + + /** + * 单元名称 + */ + unitName?: string; + + /** + * 单元层数 + */ + floorCount?: number; + + /** + * 单元户数 + */ + householdCount?: number; + + /** + * 楼梯数量 + */ + stairCount?: number; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts new file mode 100644 index 00000000..da4b1c13 --- /dev/null +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts @@ -0,0 +1,241 @@ +import type { FormSchemaGetter } from '#/adapter/form'; +import type { VxeGridProps } from '#/adapter/vxe-table'; +import {getDictOptions} from "#/utils/dict"; + + +export const querySchema: FormSchemaGetter = () => [ + { + component: 'Input', + fieldName: 'orderNo', + label: '订单编号', + }, + { + component: 'Input', + fieldName: 'customerName', + label: '客户名称', + }, + { + component: 'Select', + componentProps: { + }, + fieldName: 'customerType', + label: '客户类型', + }, + { + component: 'Select', + componentProps: { + options:getDictOptions('wy_zlfs') + }, + fieldName: 'rentalType', + label: '租赁方式', + }, + { + component: 'Select', + componentProps: { + options:getDictOptions('pro_charging_status') + }, + fieldName: 'paymentStatus', + label: '支付状态', + }, + +]; + +export const columns: VxeGridProps['columns'] = [ + { type: 'checkbox', width: 60 }, + { + title: '订单号', + field: 'id', + }, + { + title: '订单号', + field: 'orderNo', + }, + { + title: '客户名称', + field: 'customerName', + }, + { + title: '客户类型', + field: 'customerType', + }, + { + title: '租赁周期', + field: 'rentalPeriod', + }, + { + title: '租赁开始时间', + field: 'startTime', + }, + { + title: '租赁结束时间', + field: 'endTime', + }, + { + title: '应付总额', + field: 'totalAmount', + }, + { + title: '租赁方式', + field: 'rentalType', + }, + { + title: '租赁方案id', + field: 'planId', + }, + { + title: '绿植产品id', + field: 'productId', + }, + { + title: '租赁产品数量', + field: 'productNum', + }, + { + title: '支付状态', + field: 'paymentStatus', + }, + { + title: '是否续租', + field: 'isRelet', + }, + { + title: '合同状态', + field: 'contractStatus', + }, + { + title: '签署时间', + field: 'signTime', + }, + { + field: 'action', + fixed: 'right', + slots: { default: 'action' }, + title: '操作', + width: 180, + }, +]; + +export const modalSchema: FormSchemaGetter = () => [ + { + label: '主键', + fieldName: 'id', + component: 'Input', + dependencies: { + show: () => false, + triggerFields: [''], + }, + }, + { + label: '订单号', + fieldName: 'orderNo', + component: 'Input', + rules: 'required', + }, + { + label: '客户名称', + fieldName: 'customerName', + component: 'Input', + rules: 'required', + }, + { + label: '客户类型', + fieldName: 'customerType', + component: 'Select', + componentProps: { + }, + rules: 'selectRequired', + }, + { + label: '租赁周期', + fieldName: 'rentalPeriod', + component: 'Select', + componentProps: { + }, + rules: 'selectRequired', + }, + { + label: '租赁开始时间', + fieldName: 'startTime', + component: 'DatePicker', + componentProps: { + showTime: true, + format: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + }, + rules: 'required', + }, + { + label: '租赁结束时间', + fieldName: 'endTime', + component: 'DatePicker', + componentProps: { + showTime: true, + format: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + }, + rules: 'required', + }, + { + label: '应付总额', + fieldName: 'totalAmount', + component: 'Input', + rules: 'required', + }, + { + label: '租赁方式', + fieldName: 'rentalType', + component: 'Select', + componentProps: { + }, + rules: 'selectRequired', + }, + { + label: '租赁方案id', + fieldName: 'planId', + component: 'Input', + }, + { + label: '绿植产品id', + fieldName: 'productId', + component: 'Input', + }, + { + label: '租赁产品数量', + fieldName: 'productNum', + component: 'Input', + }, + { + label: '支付状态', + fieldName: 'paymentStatus', + component: 'Select', + componentProps: { + }, + rules: 'selectRequired', + }, + { + label: '是否续租', + fieldName: 'isRelet', + component: 'RadioGroup', + componentProps: { + buttonStyle: 'solid', + optionType: 'button', + }, + }, + { + label: '合同状态', + fieldName: 'contractStatus', + component: 'Select', + componentProps: { + }, + }, + { + label: '签署时间', + fieldName: 'signTime', + component: 'DatePicker', + componentProps: { + showTime: true, + format: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + }, + }, +]; diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/index.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/index.vue index 23858931..bf9bf429 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/index.vue +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/index.vue @@ -1,5 +1,178 @@ + + \ No newline at end of file + + + + + + + + diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/rentalOrder-modal.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/rentalOrder-modal.vue new file mode 100644 index 00000000..9c2c2e03 --- /dev/null +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/rentalOrder-modal.vue @@ -0,0 +1,101 @@ + + + + diff --git a/apps/web-antd/src/views/property/room/data.ts b/apps/web-antd/src/views/property/room/data.ts new file mode 100644 index 00000000..46a07258 --- /dev/null +++ b/apps/web-antd/src/views/property/room/data.ts @@ -0,0 +1,171 @@ +import type { FormSchemaGetter } from '#/adapter/form'; +import type { VxeGridProps } from '#/adapter/vxe-table'; +import {getDictOptions} from "#/utils/dict"; + + +export const querySchema: FormSchemaGetter = () => [ + { + component: 'Select', + fieldName: 'floorCode', + label: '所属小区', + }, + { + component: 'Select', + fieldName: 'floorCode1', + label: '所属建筑', + }, + { + component: 'Select', + fieldName: 'floorCode2', + label: '所属单元', + }, + { + component: 'Select', + fieldName: 'floorCode3', + label: '所属楼层', + }, + { + component: 'Input', + fieldName: 'roomCode', + label: '房间编码', + }, + { + component: 'Input', + fieldName: 'roomNumber', + label: '房间号', + }, + { + component: 'Select', + componentProps: { + options: getDictOptions('room_type'), + }, + fieldName: 'roomType', + label: '房间类型', + }, + { + component: 'Select', + componentProps: { + options: getDictOptions('wy_fjzt'), + }, + fieldName: 'status', + label: '房间状态', + }, +]; + +// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新 +// export const columns: () => VxeGridProps['columns'] = () => [ +export const columns: VxeGridProps['columns'] = [ + { type: 'checkbox', width: 60 }, + { + title: '所属楼层ID', + field: 'floorCode', + }, + { + title: '房间编码', + field: 'roomCode', + }, + { + title: '房间号', + field: 'roomNumber', + }, + { + title: '房间类型', + field: 'roomType', + }, + { + title: '面积(㎡)', + field: 'area', + }, + { + title: '户型', + field: 'layout', + }, + { + title: '朝向', + field: 'orientation', + }, + { + title: '是否可售', + field: 'isForSale', + }, + { + title: '状态', + field: 'status', + }, + { + field: 'action', + fixed: 'right', + slots: { default: 'action' }, + title: '操作', + width: 180, + }, +]; + +export const modalSchema: FormSchemaGetter = () => [ + { + label: '主键', + fieldName: 'id', + component: 'Input', + dependencies: { + show: () => false, + triggerFields: [''], + }, + }, + { + label: '所属楼层ID', + fieldName: 'floorCode', + component: 'Input', + rules: 'required', + }, + { + label: '房间编码', + fieldName: 'roomCode', + component: 'Input', + rules: 'required', + }, + { + label: '房间号(如101,202)', + fieldName: 'roomNumber', + component: 'Input', + rules: 'required', + }, + { + label: '房间类型', + fieldName: 'roomType', + component: 'Select', + componentProps: { + options: getDictOptions('room_type'), + }, + }, + { + label: '面积(平方米)', + fieldName: 'area', + component: 'Input', + }, + { + label: '户型(如2室1厅1卫)', + fieldName: 'layout', + component: 'Input', + }, + { + label: '朝向', + fieldName: 'orientation', + component: 'Select', + componentProps: { + options: getDictOptions('direction_towards'), + }, + }, + { + label: '是否可售', + fieldName: 'isForSale', + component: 'Input', + }, + { + label: '房间状态', + fieldName: 'status', + component: 'Select', + componentProps: { + options: getDictOptions('wy_fjzt'), + }, + }, +]; diff --git a/apps/web-antd/src/views/property/room/index.vue b/apps/web-antd/src/views/property/room/index.vue new file mode 100644 index 00000000..e7009fde --- /dev/null +++ b/apps/web-antd/src/views/property/room/index.vue @@ -0,0 +1,182 @@ + + + diff --git a/apps/web-antd/src/views/property/room/room-modal.vue b/apps/web-antd/src/views/property/room/room-modal.vue new file mode 100644 index 00000000..91ce0262 --- /dev/null +++ b/apps/web-antd/src/views/property/room/room-modal.vue @@ -0,0 +1,101 @@ + + + + diff --git a/apps/web-antd/src/views/property/unit/data.ts b/apps/web-antd/src/views/property/unit/data.ts new file mode 100644 index 00000000..38476759 --- /dev/null +++ b/apps/web-antd/src/views/property/unit/data.ts @@ -0,0 +1,118 @@ +import type { FormSchemaGetter } from '#/adapter/form'; +import type { VxeGridProps } from '#/adapter/vxe-table'; + + +export const querySchema: FormSchemaGetter = () => [ + { + component: 'Input', + fieldName: 'buildingCode', + label: '建筑名称', + }, + { + component: 'Input', + fieldName: 'unitCode', + label: '单元编码', + }, + { + component: 'Input', + fieldName: 'unitName', + label: '单元名称', + }, + { + component: 'Input', + fieldName: 'floorCount', + label: '单元层数', + }, + { + component: 'Input', + fieldName: 'householdCount', + label: '单元户数', + }, + { + component: 'Input', + fieldName: 'stairCount', + label: '楼梯数量', + }, +]; + +// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新 +// export const columns: () => VxeGridProps['columns'] = () => [ +export const columns: VxeGridProps['columns'] = [ + { type: 'checkbox', width: 60 }, + { + title: '建筑名称', + field: 'buildingCode', + }, + { + title: '单元编码', + field: 'unitCode', + }, + { + title: '单元名称', + field: 'unitName', + }, + { + title: '单元层数', + field: 'floorCount', + }, + { + title: '单元户数', + field: 'householdCount', + }, + { + title: '楼梯数量', + field: 'stairCount', + }, + { + field: 'action', + fixed: 'right', + slots: { default: 'action' }, + title: '操作', + width: 180, + }, +]; + +export const modalSchema: FormSchemaGetter = () => [ + { + label: '主键id', + fieldName: 'id', + component: 'Input', + dependencies: { + show: () => false, + triggerFields: [''], + }, + }, + { + label: '建筑名称', + fieldName: 'buildingCode', + component: 'Input', + rules: 'required', + }, + { + label: '单元编码', + fieldName: 'unitCode', + component: 'Input', + rules: 'required', + }, + { + label: '单元名称', + fieldName: 'unitName', + component: 'Input', + rules: 'required', + }, + { + label: '单元层数', + fieldName: 'floorCount', + component: 'Input', + }, + { + label: '单元户数', + fieldName: 'householdCount', + component: 'Input', + }, + { + label: '楼梯数量', + fieldName: 'stairCount', + component: 'Input', + }, +]; diff --git a/apps/web-antd/src/views/property/unit/index.vue b/apps/web-antd/src/views/property/unit/index.vue new file mode 100644 index 00000000..6fa55fbe --- /dev/null +++ b/apps/web-antd/src/views/property/unit/index.vue @@ -0,0 +1,182 @@ + + + diff --git a/apps/web-antd/src/views/property/unit/unit-modal.vue b/apps/web-antd/src/views/property/unit/unit-modal.vue new file mode 100644 index 00000000..2c1c49dc --- /dev/null +++ b/apps/web-antd/src/views/property/unit/unit-modal.vue @@ -0,0 +1,101 @@ + + + +