diff --git a/apps/web-antd/src/api/property/conservationManagement/model.d.ts b/apps/web-antd/src/api/property/conservationManagement/model.d.ts
index 6207f3b7..78654253 100644
--- a/apps/web-antd/src/api/property/conservationManagement/model.d.ts
+++ b/apps/web-antd/src/api/property/conservationManagement/model.d.ts
@@ -29,7 +29,7 @@ export interface OrderMaintainVO {
/**
* 服务类型
*/
- serveType: number;
+ serveType: string | number;
/**
* 养护周期类型
@@ -59,7 +59,7 @@ export interface OrderMaintainVO {
/**
* 巡检结果
*/
- inspectResult: number;
+ inspectResult: string | number;
/**
* 处理措施
@@ -79,7 +79,7 @@ export interface OrderMaintainVO {
/**
* 处理状态
*/
- state: number;
+ state: string | number;
}
export interface OrderMaintainForm extends BaseEntity {
@@ -111,7 +111,7 @@ export interface OrderMaintainForm extends BaseEntity {
/**
* 服务类型
*/
- serveType?: number;
+ serveType?: string | number;
/**
* 养护周期类型
@@ -141,7 +141,7 @@ export interface OrderMaintainForm extends BaseEntity {
/**
* 巡检结果
*/
- inspectResult?: number;
+ inspectResult?: string | number;
/**
* 处理措施
@@ -161,7 +161,7 @@ export interface OrderMaintainForm extends BaseEntity {
/**
* 处理状态
*/
- state?: number;
+ state?: string | number;
}
export interface OrderMaintainQuery extends PageQuery {
@@ -188,7 +188,7 @@ export interface OrderMaintainQuery extends PageQuery {
/**
* 服务类型
*/
- serveType?: number;
+ serveType?: string | number;
/**
* 养护周期类型
@@ -218,7 +218,7 @@ export interface OrderMaintainQuery extends PageQuery {
/**
* 巡检结果
*/
- inspectResult?: number;
+ inspectResult?: string | number;
/**
* 处理措施
@@ -238,10 +238,92 @@ export interface OrderMaintainQuery extends PageQuery {
/**
* 处理状态
*/
- state?: number;
+ state?: string | number;
/**
* 日期范围参数
*/
params?: any;
}
+
+export interface conservationManagement extends BaseEntity {
+ /**
+ * 主键
+ */
+ id: string | number;
+
+ /**
+ * 养护名称
+ */
+ maintainName: string;
+
+ /**
+ * 小区id
+ */
+ communityId: string | number;
+
+ /**
+ * 建筑id
+ */
+ buildingId: string | number;
+
+ /**
+ * 楼层id
+ */
+ floorId: string | number;
+
+ /**
+ * 服务类型
+ */
+ serveType: string | number;
+
+ /**
+ * 养护周期类型
+ */
+ periodType: number;
+
+ /**
+ * 养护周期频次
+ */
+ periodFrequency: number;
+
+ /**
+ * 订单id
+ */
+ orderId: string | number;
+
+ /**
+ * 计划执行时间
+ */
+ startTime: string;
+
+ /**
+ * 计划完成时间
+ */
+ endTime: string;
+
+ /**
+ * 巡检结果
+ */
+ inspectResult: string | number;
+
+ /**
+ * 处理措施
+ */
+ measure: string;
+
+ /**
+ * 客户评分
+ */
+ customerScore: number;
+
+ /**
+ * 客户反馈
+ */
+ customerAdvice: string;
+
+ /**
+ * 处理状态
+ */
+ state: string | number;
+}
diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/attendanceGroupSettings/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/attendanceGroupSettings/index.vue
new file mode 100644
index 00000000..63016dc2
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/attendanceGroupSettings/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 考勤组设置
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/festivalAndHoliday/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/festivalAndHoliday/index.vue
new file mode 100644
index 00000000..c8764c2e
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/festivalAndHoliday/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 节假日
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/shiftSetting/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/shiftSetting/index.vue
new file mode 100644
index 00000000..cbdee30e
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceSettings/shiftSetting/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 班次设置
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/CheckInRecord/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/CheckInRecord/index.vue
new file mode 100644
index 00000000..7845cc97
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/CheckInRecord/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 打卡记录
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/dailyStatistics/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/dailyStatistics/index.vue
new file mode 100644
index 00000000..178bfe9f
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceStatistics/dailyStatistics/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 每日统计
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/holidayType/index.vue b/apps/web-antd/src/views/property/attendanceManagement/holidayType/index.vue
new file mode 100644
index 00000000..d3035dd3
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/holidayType/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 假期类型
+
+
+
diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/index.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/index.vue
new file mode 100644
index 00000000..5fc518eb
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/index.vue
@@ -0,0 +1,11 @@
+
+
+
+ 排班管理
+
+
+
diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts
index 7d5781c3..a6e0d6ec 100644
--- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts
+++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts
@@ -64,38 +64,47 @@ export const columns: VxeGridProps['columns'] = [
return (rowIndex + 1).toString();
},
},
+ width: 'auto'
},
{
title: '订单号',
field: 'orderId',
+ width: 'auto'
},
{
title: '租赁合同编号',
field: 'userId',
+ width: 'auto'
},
{
title: '租赁人',
field: 'userName',
+ width: 'auto'
},
{
title: '租金',
field: 'rent',
+ width: 'auto'
},
{
title: '押金',
field: 'deposit',
+ width: 'auto'
},
{
title: '违约金',
field: 'penalty',
+ width: 'auto'
},
{
title: '总金额',
field: 'totalAmount',
+ width: 'auto'
},
{
title: '收费日期',
field: 'chargeDate',
+ width: 'auto'
},
{
title: '支付方式',
@@ -105,6 +114,7 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.paymentMethod, 'pro_payment_method');
},
},
+ width: 'auto'
},
{
title: '开票状态',
@@ -114,10 +124,12 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.invoiceStatus, 'pro_invoice_status');
},
},
+ width: 'auto'
},
{
title: '发票类型',
field: 'invoiceType',
+ width: 'auto'
},
{
title: '收费状态',
@@ -127,10 +139,12 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.chargeStatus, 'pro_charging_status');
},
},
+ width: 'auto'
},
{
title: '创建时间',
field: 'createTime',
+ width: 'auto'
},
{
field: 'action',
@@ -217,8 +231,11 @@ export const modalSchema: FormSchemaGetter = () => [
{
label: '发票类型',
fieldName: 'invoiceType',
- component: 'Input',
- rules: 'required',
+ component: 'Select',
+ componentProps: {
+ options: getDictOptions('pro_invoice_type'),
+ },
+ rules: 'selectRequired',
},
{
label: '收费状态',
diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/orderCharge-modal.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/orderCharge-modal.vue
index ed1123fd..3b7f4600 100644
--- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/orderCharge-modal.vue
+++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/orderCharge-modal.vue
@@ -67,8 +67,7 @@ async function handleConfirm() {
}
const data = cloneDeep(await formApi.getValues());
if (userInfo) {
- console.log(userInfo);
- data.userId = userInfo.value
+ data.userId = userInfo.userId
data.userName = userInfo.userName
}
await (isUpdate.value ? orderChargeUpdate(data) : orderChargeAdd(data));
@@ -82,7 +81,6 @@ async function handleConfirm() {
}
}
let userInfo = reactive({
- value:'',
userId: '',
userName: '',
});
diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/query-user-list.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/query-user-list.vue
index cc9389fd..7c6412a4 100644
--- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/query-user-list.vue
+++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/query-user-list.vue
@@ -1,21 +1,18 @@
+
+
+
+
+
+ {{ conservationManagementDetail.maintainName }}
+
+
+ {{ conservationManagementDetail.roomId }}
+
+
+
+
+
+ {{ conservationManagementDetail.orderId }}
+
+
+ {{ conservationManagementDetail.orderId }}
+
+
+ {{ conservationManagementDetail.startTime }}
+
+
+ {{ conservationManagementDetail.endTime }}
+
+
+
+
+
+ {{ conservationManagementDetail.measure }}
+
+
+
+
+
+ {{ conservationManagementDetail.customerAdvice }}
+
+
+
+
+
+
+
diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/conservationManagement/orderMaintain-modal.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/conservationManagement/orderMaintain-modal.vue
index 7d391b8e..db5ae183 100644
--- a/apps/web-antd/src/views/property/greenPlantRentalManagement/conservationManagement/orderMaintain-modal.vue
+++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/conservationManagement/orderMaintain-modal.vue
@@ -17,7 +17,7 @@ const title = computed(() => {
const [BasicForm, formApi] = useVbenForm({
commonConfig: {
- formItemClass: 'col-span-2',
+ formItemClass: 'col-span-1',
labelWidth: 80,
componentProps: {
class: 'w-full',
@@ -36,7 +36,7 @@ const { onBeforeClose, markInitialized, resetInitialized } = useBeforeCloseDiff(
);
const [BasicModal, modalApi] = useVbenModal({
- class: 'w-[550px]',
+ class: 'w-[60%]',
fullscreenButton: false,
onBeforeClose,
onClosed: handleClosed,
@@ -52,6 +52,9 @@ const [BasicModal, modalApi] = useVbenModal({
if (isUpdate.value && id) {
const record = await orderMaintainInfo(id);
+ record.serveType = record.serveType?.toString();
+ record.state = record.state?.toString();
+ record.inspectResult = record.inspectResult?.toString();
await formApi.setValues(record);
}
await markInitialized();
diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/plantsProduct-detail.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/plantsProduct-detail.vue
index 8cc83d3a..4bde370b 100644
--- a/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/plantsProduct-detail.vue
+++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/plantsProduct-detail.vue
@@ -2,7 +2,7 @@
import type {plantsProduct} from '#/api/property/productManagement/model';
import {shallowRef} from 'vue';
import {useVbenModal} from '@vben/common-ui';
-import {Descriptions, DescriptionsItem, Rate} from 'ant-design-vue';
+import {Descriptions, DescriptionsItem} from 'ant-design-vue';
import {plantsProductInfo} from '#/api/property/productManagement';
import {renderDict} from "#/utils/render";
diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts
index 242bbf13..53ad1bd5 100644
--- a/apps/web-antd/vite.config.mts
+++ b/apps/web-antd/vite.config.mts
@@ -27,8 +27,8 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
- // target: 'http://192.168.0.106:8080',
- target: 'http://47.109.37.87:3010',
+ target: 'http://192.168.0.106:8080',
+ // target: 'http://47.109.37.87:3010',
ws: true,
},
},