fix
This commit is contained in:
@@ -45,14 +45,14 @@ export const querySchema: FormSchemaGetter = () => [
|
|||||||
// export const columns: () => VxeGridProps['columns'] = () => [
|
// export const columns: () => VxeGridProps['columns'] = () => [
|
||||||
export const columns: VxeGridProps['columns'] = [
|
export const columns: VxeGridProps['columns'] = [
|
||||||
{ type: 'checkbox', width: 60 },
|
{ type: 'checkbox', width: 60 },
|
||||||
{
|
|
||||||
title: '建筑名称',
|
|
||||||
field: 'buildingName',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '社区',
|
title: '社区',
|
||||||
field: 'communityText',
|
field: 'communityText',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '建筑',
|
||||||
|
field: 'buildingName',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '总层数',
|
title: '总层数',
|
||||||
field: 'floorCount',
|
field: 'floorCount',
|
||||||
@@ -177,7 +177,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '套内面积(㎡)',
|
label: '套内面积(㎡)',
|
||||||
@@ -187,7 +186,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '公摊面积(㎡)',
|
label: '公摊面积(㎡)',
|
||||||
@@ -197,6 +195,5 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@@ -13,7 +13,7 @@ export const querySchema: FormSchemaGetter = () => [
|
|||||||
options: getDictOptions(DictEnum.wy_sqlx),
|
options: getDictOptions(DictEnum.wy_sqlx),
|
||||||
},
|
},
|
||||||
fieldName: 'communityType',
|
fieldName: 'communityType',
|
||||||
label: '社区类型',
|
label: '园区类型',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
@@ -27,11 +27,11 @@ export const querySchema: FormSchemaGetter = () => [
|
|||||||
export const columns: VxeGridProps['columns'] = [
|
export const columns: VxeGridProps['columns'] = [
|
||||||
{type: 'checkbox', width: 60},
|
{type: 'checkbox', width: 60},
|
||||||
{
|
{
|
||||||
title: '社区名称',
|
title: '园区名称',
|
||||||
field: 'communityName',
|
field: 'communityName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '社区类型',
|
title: '园区类型',
|
||||||
field: 'communityType',
|
field: 'communityType',
|
||||||
slots: {
|
slots: {
|
||||||
default: ({row}) => {
|
default: ({row}) => {
|
||||||
@@ -72,7 +72,7 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
field: 'contactPhone',
|
field: 'contactPhone',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '社区描述',
|
title: '园区描述',
|
||||||
field: 'description',
|
field: 'description',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -95,21 +95,21 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '社区名称',
|
label: '园区名称',
|
||||||
fieldName: 'communityName',
|
fieldName: 'communityName',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: '社区类型',
|
// label: '园区类型',
|
||||||
fieldName: 'communityType',
|
// fieldName: 'communityType',
|
||||||
component: 'Select',
|
// component: 'Select',
|
||||||
componentProps: {
|
// componentProps: {
|
||||||
getPopupContainer,
|
// getPopupContainer,
|
||||||
options: getDictOptions(DictEnum.wy_sqlx),
|
// options: getDictOptions(DictEnum.wy_sqlx),
|
||||||
},
|
// },
|
||||||
rules: 'selectRequired',
|
// rules: 'selectRequired',
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
component: 'TreeSelect',
|
component: 'TreeSelect',
|
||||||
fieldName: 'cityFullCode',
|
fieldName: 'cityFullCode',
|
||||||
@@ -177,7 +177,7 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '社区描述',
|
label: '园区描述',
|
||||||
fieldName: 'description',
|
fieldName: 'description',
|
||||||
component: 'Textarea',
|
component: 'Textarea',
|
||||||
},
|
},
|
||||||
|
@@ -85,12 +85,12 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
component: 'Input',
|
component: 'Input',
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: '楼层号',
|
// label: '楼层号',
|
||||||
fieldName: 'floorNumber',
|
// fieldName: 'floorNumber',
|
||||||
component: 'Input',
|
// component: 'Input',
|
||||||
rules: 'required',
|
// rules: 'required',
|
||||||
},
|
// },
|
||||||
/*{
|
/*{
|
||||||
label: '楼层类型',
|
label: '楼层类型',
|
||||||
fieldName: 'floorType',
|
fieldName: 'floorType',
|
||||||
@@ -123,7 +123,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '套内面积(㎡)',
|
label: '套内面积(㎡)',
|
||||||
@@ -133,7 +132,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '公摊面积(㎡)',
|
label: '公摊面积(㎡)',
|
||||||
@@ -143,6 +141,5 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
min:0,
|
min:0,
|
||||||
precision:2,
|
precision:2,
|
||||||
},
|
},
|
||||||
rules: 'required',
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@@ -27,7 +27,7 @@ export default defineConfig(async () => {
|
|||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||||
// mock代理目标地址
|
// mock代理目标地址
|
||||||
target: 'http://localhost:8080',
|
target: 'http://192.168.1.110:8080',
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user