fix
This commit is contained in:
@@ -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',
|
||||
},
|
||||
];
|
||||
|
@@ -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',
|
||||
},
|
||||
|
@@ -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',
|
||||
},
|
||||
];
|
||||
|
@@ -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,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user