diff --git a/apps/web-antd/src/views/property/building/data.tsx b/apps/web-antd/src/views/property/building/data.tsx index cd610bad..29691e90 100644 --- a/apps/web-antd/src/views/property/building/data.tsx +++ b/apps/web-antd/src/views/property/building/data.tsx @@ -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', }, ]; diff --git a/apps/web-antd/src/views/property/community/data.ts b/apps/web-antd/src/views/property/community/data.ts index 7e2697eb..c7c7988d 100644 --- a/apps/web-antd/src/views/property/community/data.ts +++ b/apps/web-antd/src/views/property/community/data.ts @@ -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', }, diff --git a/apps/web-antd/src/views/property/floor/data.ts b/apps/web-antd/src/views/property/floor/data.ts index aa09282a..7c2c7ff4 100644 --- a/apps/web-antd/src/views/property/floor/data.ts +++ b/apps/web-antd/src/views/property/floor/data.ts @@ -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', }, ]; diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index 7e884500..ded7ff75 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -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, }, },