feat: 前端完成保洁订单流程

This commit is contained in:
fyy
2025-07-01 14:39:49 +08:00
parent 38267d7a4a
commit ea185bfcea
5 changed files with 118 additions and 173 deletions

View File

@@ -19,7 +19,12 @@ import { commonDownloadExcel } from '#/utils/file/download';
import cleanModal from './clean-modal.vue';
import { columns, querySchema } from './data';
import { onMounted, ref } from 'vue';
import { communityTree } from '#/api/property/community';
const areaList = ref<any>(null);
onMounted(async () => {
areaList.value = await communityTree(5);
});
const formOptions: VbenFormProps = {
commonConfig: {
labelWidth: 120,
@@ -27,7 +32,7 @@ const formOptions: VbenFormProps = {
allowClear: true,
},
},
schema: querySchema(),
schema: querySchema(areaList.value),
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',
// 处理区间选择器RangePicker时间格式 将一个字段映射为两个字段 搜索/导出会用到
// 不需要直接删除