This commit is contained in:
FLL
2025-09-05 14:44:26 +08:00
parent 3f2fe7bdd2
commit 6ee86ba7f9
4 changed files with 27 additions and 33 deletions

View File

@@ -45,14 +45,14 @@ export const querySchema: FormSchemaGetter = () => [
// export const columns: () => VxeGridProps['columns'] = () => [
export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 },
{
title: '建筑名称',
field: 'buildingName',
},
{
title: '社区',
field: 'communityText',
},
{
title: '建筑',
field: 'buildingName',
},
{
title: '总层数',
field: 'floorCount',
@@ -177,7 +177,6 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
{
label: '套内面积(㎡)',
@@ -187,7 +186,6 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
{
label: '公摊面积(㎡)',
@@ -197,6 +195,5 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
];

View File

@@ -13,7 +13,7 @@ export const querySchema: FormSchemaGetter = () => [
options: getDictOptions(DictEnum.wy_sqlx),
},
fieldName: 'communityType',
label: '区类型',
label: '区类型',
},
{
component: 'Input',
@@ -27,11 +27,11 @@ export const querySchema: FormSchemaGetter = () => [
export const columns: VxeGridProps['columns'] = [
{type: 'checkbox', width: 60},
{
title: '区名称',
title: '区名称',
field: 'communityName',
},
{
title: '区类型',
title: '区类型',
field: 'communityType',
slots: {
default: ({row}) => {
@@ -72,7 +72,7 @@ export const columns: VxeGridProps['columns'] = [
field: 'contactPhone',
},
{
title: '区描述',
title: '区描述',
field: 'description',
},
{
@@ -95,21 +95,21 @@ export const modalSchema: FormSchemaGetter = () => [
},
},
{
label: '区名称',
label: '区名称',
fieldName: 'communityName',
component: 'Input',
rules: 'required',
},
{
label: '社区类型',
fieldName: 'communityType',
component: 'Select',
componentProps: {
getPopupContainer,
options: getDictOptions(DictEnum.wy_sqlx),
},
rules: 'selectRequired',
},
// {
// label: '园区类型',
// fieldName: 'communityType',
// component: 'Select',
// componentProps: {
// getPopupContainer,
// options: getDictOptions(DictEnum.wy_sqlx),
// },
// rules: 'selectRequired',
// },
{
component: 'TreeSelect',
fieldName: 'cityFullCode',
@@ -177,7 +177,7 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
},
{
label: '区描述',
label: '区描述',
fieldName: 'description',
component: 'Textarea',
},

View File

@@ -85,12 +85,12 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
rules: 'required',
},
{
label: '楼层号',
fieldName: 'floorNumber',
component: 'Input',
rules: 'required',
},
// {
// label: '楼层号',
// fieldName: 'floorNumber',
// component: 'Input',
// rules: 'required',
// },
/*{
label: '楼层类型',
fieldName: 'floorType',
@@ -123,7 +123,6 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
{
label: '套内面积(㎡)',
@@ -133,7 +132,6 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
{
label: '公摊面积(㎡)',
@@ -143,6 +141,5 @@ export const modalSchema: FormSchemaGetter = () => [
min:0,
precision:2,
},
rules: 'required',
},
];

View File

@@ -27,7 +27,7 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
target: 'http://localhost:8080',
target: 'http://192.168.1.110:8080',
ws: true,
},
},