Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
4d9a1be7
Commit
4d9a1be7
authored
Dec 12, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
901f30c2
c52a756c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1113 additions
and
953 deletions
+1113
-953
index.vue
...ews/dataSharingAndExchange/catalogingManagement/index.vue
+1
-1
dataQualityMainBodyData.ts
...ange/resourceManagement/detail/dataQualityMainBodyData.ts
+127
-112
index.vue
...ataSharingAndExchange/resourceManagement/detail/index.vue
+928
-818
index.vue
...views/dataSharingAndExchange/resourceManagement/index.vue
+13
-14
institution.data.ts
...SharingAndExchange/resourceManagement/institution.data.ts
+44
-8
No files found.
src/views/dataSharingAndExchange/catalogingManagement/index.vue
View file @
4d9a1be7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<template
#
toolbar
>
<template
#
toolbar
>
<a-button
type=
"primary"
@
click=
"updateData"
>
更新
</a-button>
<a-button
type=
"primary"
@
click=
"updateData"
>
更新
</a-button>
<a-button
type=
"primary"
@
click=
"handleAdd"
>
新增
</a-button>
<a-button
type=
"primary"
@
click=
"handleAdd"
>
新增
编目
</a-button>
<a-button
<a-button
type=
"primary"
type=
"primary"
@
click=
"handleMoveBatch"
@
click=
"handleMoveBatch"
...
...
src/views/dataSharingAndExchange/resourceManagement/detail/dataQualityMainBodyData.ts
View file @
4d9a1be7
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
h
}
from
'vue'
;
import
{
Tag
}
from
'ant-design-vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
// 引入开关组件
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
type
CheckedType
=
boolean
|
string
|
number
;
export
const
columns
:
BasicColumn
[]
=
[
export
const
columns
:
BasicColumn
[]
=
[
...
@@ -255,13 +255,13 @@ export const fileData: any[] = [
...
@@ -255,13 +255,13 @@ export const fileData: any[] = [
export
const
infoData
:
any
[]
=
[
export
const
infoData
:
any
[]
=
[
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
user_
id'
,
columnsName
:
'id'
,
CNname
:
'
用户ID
'
,
CNname
:
'
主键
'
,
type
:
'
INT
'
,
type
:
'
bigint unsigned
'
,
length
:
11
,
length
:
11
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
用户的唯一标识符
'
,
remark
:
'
主键
'
,
primaryKey
:
'YES'
,
primaryKey
:
'YES'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'整数型'
,
dataType
:
'整数型'
,
...
@@ -271,13 +271,13 @@ export const infoData: any[] = [
...
@@ -271,13 +271,13 @@ export const infoData: any[] = [
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'u
sername
'
,
columnsName
:
'u
uid
'
,
CNname
:
'
用户名
'
,
CNname
:
'
编目用UUID
'
,
type
:
'
VARCHAR
'
,
type
:
'
varchar(32)
'
,
length
:
50
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
用户的登录名称
'
,
remark
:
'
编目用UUID
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'字符串型'
,
dataType
:
'字符串型'
,
...
@@ -287,96 +287,112 @@ export const infoData: any[] = [
...
@@ -287,96 +287,112 @@ export const infoData: any[] = [
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
password
'
,
columnsName
:
'
assetsName
'
,
CNname
:
'
密码
'
,
CNname
:
'
资产名称
'
,
type
:
'
VARCHAR
'
,
type
:
'
varchar(255)
'
,
length
:
100
,
length
:
255
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
用户登录密码(加密存储)
'
,
remark
:
'
资产名称
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'字符串型'
,
dataType
:
'字符串型'
,
safeLevel
:
'
极高
'
,
safeLevel
:
'
中
'
,
sensitiveStatus
:
'非
常
敏感'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'true'
,
isFixation
:
'true'
,
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
email
'
,
columnsName
:
'
directoryUuid
'
,
CNname
:
'
邮箱地址
'
,
CNname
:
'
资产编目uuid
'
,
type
:
'
VARCHAR
'
,
type
:
'
varchar(32)
'
,
length
:
100
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'
YES
'
,
isNull
:
'
NO
'
,
remark
:
'
用户注册邮箱地址
'
,
remark
:
'
资产编目uuid
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'字符串型'
,
dataType
:
'字符串型'
,
safeLevel
:
'中'
,
safeLevel
:
'中'
,
sensitiveStatus
:
'敏感'
,
sensitiveStatus
:
'
非
敏感'
,
isFixation
:
'true'
,
isFixation
:
'true'
,
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
created_at
'
,
columnsName
:
'
businessCode
'
,
CNname
:
'
创建时间
'
,
CNname
:
'
业务编码
'
,
type
:
'
DATETIME
'
,
type
:
'
varchar(32)
'
,
length
:
null
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
账户创建的时间戳
'
,
remark
:
'
业务编码
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'
日期时间
型'
,
dataType
:
'
字符串
型'
,
safeLevel
:
'
低
'
,
safeLevel
:
'
中
'
,
sensitiveStatus
:
'非敏感'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'
fals
e'
,
isFixation
:
'
tru
e'
,
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
updated_at
'
,
columnsName
:
'
category
'
,
CNname
:
'
最后更新时间
'
,
CNname
:
'
类别
'
,
type
:
'
DATETIME
'
,
type
:
'
varchar(32)
'
,
length
:
null
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'
YES
'
,
isNull
:
'
NO
'
,
remark
:
'
账户信息最后更新的时间戳
'
,
remark
:
'
类别
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'
日期时间
型'
,
dataType
:
'
字符串
型'
,
safeLevel
:
'
低
'
,
safeLevel
:
'
中
'
,
sensitiveStatus
:
'非敏感'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'true'
,
isFixation
:
'true'
,
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
is_activ
e'
,
columnsName
:
'
sourc
e'
,
CNname
:
'
账户状态
'
,
CNname
:
'
资产来源
'
,
type
:
'
TINYINT
'
,
type
:
'
varchar(32)
'
,
length
:
1
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
账户是否处于激活状态(0-未激活,1-已激活)
'
,
remark
:
'
资产来源
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'
布尔
型'
,
dataType
:
'
字符串
型'
,
safeLevel
:
'中'
,
safeLevel
:
'中'
,
sensitiveStatus
:
'非敏感'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'true'
,
isFixation
:
'true'
,
},
},
{
{
tableName
:
'st'
,
tableName
:
'st'
,
columnsName
:
'
is_deleted
'
,
columnsName
:
'
assetsType
'
,
CNname
:
'
删除标记
'
,
CNname
:
'
资产类型
'
,
type
:
'
TINYINT
'
,
type
:
'
varchar(32)
'
,
length
:
1
,
length
:
32
,
precision
:
null
,
precision
:
null
,
isNull
:
'NO'
,
isNull
:
'NO'
,
remark
:
'
账户是否被标记为删除(0-未删除,1-已删除)
'
,
remark
:
'
资产类型
'
,
primaryKey
:
'NO'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'布尔型'
,
dataType
:
'字符串型'
,
safeLevel
:
'中'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'true'
,
},
{
tableName
:
'st'
,
columnsName
:
'assetsStatus'
,
CNname
:
'资产状态'
,
type
:
'varchar(32)'
,
length
:
32
,
precision
:
null
,
isNull
:
'NO'
,
remark
:
'资产状态'
,
primaryKey
:
'NO'
,
foreignKey
:
'NO'
,
dataType
:
'字符串型'
,
safeLevel
:
'中'
,
safeLevel
:
'中'
,
sensitiveStatus
:
'非敏感'
,
sensitiveStatus
:
'非敏感'
,
isFixation
:
'true'
,
isFixation
:
'true'
,
...
@@ -395,84 +411,83 @@ export const samplingInfoData: any[] = [
...
@@ -395,84 +411,83 @@ export const samplingInfoData: any[] = [
assetsStatus
:
'9'
,
assetsStatus
:
'9'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
2
'
,
uuid
:
'
1
'
,
uuid
:
'
2
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
SAMPLE2
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
2
'
,
category
:
'
ASSET
'
,
category
:
'
DATA
'
,
source
:
'
CATELOG
'
,
source
:
'
DATABASE
'
,
assetsType
:
'
DATASET
'
,
assetsType
:
'
TABLE
'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
8
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
3
'
,
uuid
:
'
1
'
,
uuid
:
'
3
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
EXAMPLE3
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
3
'
,
category
:
'
ASSET
'
,
category
:
'
FILE
'
,
source
:
'
CATELOG
'
,
source
:
'
FILESYSTEM
'
,
assetsType
:
'D
ATASE
T'
,
assetsType
:
'D
OCUMEN
T'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
7
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
4
'
,
uuid
:
'
1
'
,
uuid
:
'
4
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
DEMO4
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
4
'
,
category
:
'
ASSET
'
,
category
:
'
IMAGE
'
,
source
:
'
CATELOG
'
,
source
:
'
IMAGESTORE
'
,
assetsType
:
'
DATASET
'
,
assetsType
:
'
PICTURE
'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
6
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
5
'
,
uuid
:
'
1
'
,
uuid
:
'
5
'
,
assetsName
:
'TEST
1
'
,
assetsName
:
'TEST
5
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
5
'
,
category
:
'
ASSET
'
,
category
:
'
VIDEO
'
,
source
:
'
CATELOG
'
,
source
:
'
VIDEOSTORE
'
,
assetsType
:
'
DATASET
'
,
assetsType
:
'
MOVIE
'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
5
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
6
'
,
uuid
:
'
1
'
,
uuid
:
'
6
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
SAMPLE6
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
6
'
,
category
:
'A
SSET
'
,
category
:
'A
UDIO
'
,
source
:
'
CATELOG
'
,
source
:
'
AUDIOSTORE
'
,
assetsType
:
'
DATASET
'
,
assetsType
:
'
MUSIC
'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
4
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
7
'
,
uuid
:
'
1
'
,
uuid
:
'
7
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
EXAMPLE7
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
7
'
,
category
:
'
ASSE
T'
,
category
:
'
TEX
T'
,
source
:
'
CATELOG
'
,
source
:
'
TEXTSTORE
'
,
assetsType
:
'D
ATASE
T'
,
assetsType
:
'D
OCUMEN
T'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
3
'
,
},
},
{
{
id
:
'
1
'
,
id
:
'
8
'
,
uuid
:
'
1
'
,
uuid
:
'
8
'
,
assetsName
:
'
TEST1
'
,
assetsName
:
'
DEMO8
'
,
directoryUuid
:
'-'
,
directoryUuid
:
'-'
,
businessCode
:
'0300000
1
'
,
businessCode
:
'0300000
8
'
,
category
:
'
ASSET
'
,
category
:
'
CODE
'
,
source
:
'C
ATELOG
'
,
source
:
'C
ODESTORE
'
,
assetsType
:
'
DATASE
T'
,
assetsType
:
'
SCRIP
T'
,
assetsStatus
:
'
9
'
,
assetsStatus
:
'
2
'
,
},
},
];
];
export
const
associationRulesData
:
any
[]
=
[
export
const
associationRulesData
:
any
[]
=
[
{
{
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -564,7 +579,7 @@ export const reviewData: any[] = [
...
@@ -564,7 +579,7 @@ export const reviewData: any[] = [
infoTime
:
'2024-11-29 13:41:11'
,
infoTime
:
'2024-11-29 13:41:11'
,
operationType
:
'推送'
,
operationType
:
'推送'
,
target
:
'https://127.0.0.2'
,
target
:
'https://127.0.0.2'
,
status
:
'
成功
'
,
status
:
'
失败
'
,
},
},
{
{
operator
:
'admin'
,
operator
:
'admin'
,
...
...
src/views/dataSharingAndExchange/resourceManagement/detail/index.vue
View file @
4d9a1be7
This diff is collapsed.
Click to expand it.
src/views/dataSharingAndExchange/resourceManagement/index.vue
View file @
4d9a1be7
<
template
>
<
template
>
<PageWrapper
dense
content
FullHeight
fixedHeight
content
Class=
"flex"
>
<PageWrapper
dense
contentClass=
"flex"
>
<template
#
headerContent
>
<template
#
headerContent
>
<div
style=
"display: flex; justify-content: space-between"
>
<div
style=
"display: flex; justify-content: space-between"
>
<div
class=
"title"
>
<div
class=
"title"
>
...
@@ -15,16 +15,16 @@
...
@@ -15,16 +15,16 @@
</div>
</div>
</div>
</div>
</
template
>
</
template
>
</PageWrapper>
<PageWrapper
dense
contentFullHeight
fixedHeight
contentClass=
"flex"
>
<
template
#
headerContent
><BasicForm
@
register=
"registerForm"
>
<template
#
toolbar
>
<a-button
type=
"primary"
>
导入
</a-button>
</
template
>
</BasicForm></template
>
<Row
:gutter=
"16"
>
<Col
:span=
"24"
>
<BasicForm
@
register=
"registerForm"
>
<
template
#
toolbar
>
<a-button
type=
"primary"
>
导入
</a-button>
</
template
>
</BasicForm>
</Col>
</Row>
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<
template
#
toolbar
>
</
template
>
<
template
#
toolbar
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record }"
>
...
@@ -42,11 +42,10 @@
...
@@ -42,11 +42,10 @@
</
template
>
</
template
>
</template>
</template>
</BasicTable>
</BasicTable>
<AccountModal
@
register=
"registerModal"
@
success=
"handleSuccess"
/>
<MoveUser
@
register=
"registerMoveUser"
@
success=
"handleMoveSuccess"
/>
<AddUserModal
@
register=
"registerAddUserModal"
@
success=
"handleAddSuccess"
/>
</PageWrapper>
</PageWrapper>
<AccountModal
@
register=
"registerModal"
@
success=
"handleSuccess"
/>
<MoveUser
@
register=
"registerMoveUser"
@
success=
"handleMoveSuccess"
/>
<AddUserModal
@
register=
"registerAddUserModal"
@
success=
"handleAddSuccess"
/>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
}
from
'vue'
;
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
}
from
'vue'
;
...
...
src/views/dataSharingAndExchange/resourceManagement/institution.data.ts
View file @
4d9a1be7
...
@@ -5,6 +5,8 @@ import { Tag, Switch } from 'ant-design-vue';
...
@@ -5,6 +5,8 @@ import { Tag, Switch } from 'ant-design-vue';
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
import
{
DescItem
}
from
'@/components/Description'
;
import
{
DescItem
}
from
'@/components/Description'
;
import
{
c
}
from
'node_modules/vite/dist/node/types.d-aGj9QkWt'
;
import
{
t
}
from
'@/hooks/web/useI18n'
;
// 引入开关组件
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
type
CheckedType
=
boolean
|
string
|
number
;
...
@@ -26,7 +28,7 @@ export const ManagePropertySchema: DescItem[] = [
...
@@ -26,7 +28,7 @@ export const ManagePropertySchema: DescItem[] = [
export
const
permissionsInfo
:
DescItem
[]
=
[
export
const
permissionsInfo
:
DescItem
[]
=
[
{
{
field
:
'permissions'
,
field
:
'permissions'
,
label
:
'权限'
,
label
:
'
开放
权限'
,
},
},
];
];
export
const
BasicInfoSchema
:
DescItem
[]
=
[
export
const
BasicInfoSchema
:
DescItem
[]
=
[
...
@@ -237,14 +239,40 @@ export const EditFormSchema: any[] = [
...
@@ -237,14 +239,40 @@ export const EditFormSchema: any[] = [
{
{
field
:
'name'
,
field
:
'name'
,
label
:
'资源编目'
,
label
:
'资源编目'
,
component
:
'Select'
,
component
:
'
Tree
Select'
,
colProps
:
{
lg
:
24
,
md
:
24
},
colProps
:
{
lg
:
24
,
md
:
24
},
componentProps
:
{
componentProps
:
{
options
:
[
treeData
:
[
{
label
:
'test1'
,
value
:
'test1'
},
{
{
label
:
'test2'
,
value
:
'test2'
},
label
:
'资源编目管理'
,
{
label
:
'test3'
,
value
:
'test3'
},
value
:
'server'
,
{
label
:
'test4'
,
value
:
'test4'
},
children
:
[
{
label
:
'一级编目'
,
value
:
'vm'
,
},
{
label
:
'公共安全'
,
value
:
'physical'
,
},
{
label
:
'卫生健康'
,
value
:
'health'
,
},
{
label
:
'文化休闲'
,
value
:
'leisure'
,
},
{
label
:
'经济建设'
,
value
:
'economic'
,
},
{
label
:
'科技教育'
,
value
:
'technology'
,
},
],
},
],
],
},
},
rules
:
[
rules
:
[
...
@@ -256,8 +284,16 @@ export const EditFormSchema: any[] = [
...
@@ -256,8 +284,16 @@ export const EditFormSchema: any[] = [
{
{
field
:
'label'
,
field
:
'label'
,
label
:
'Label'
,
label
:
'Label'
,
component
:
'
Inpu
t'
,
component
:
'
Selec
t'
,
colProps
:
{
lg
:
24
,
md
:
24
},
colProps
:
{
lg
:
24
,
md
:
24
},
componentProps
:
{
options
:
[
{
label
:
'Server'
,
value
:
'server'
},
{
label
:
'Network Device'
,
value
:
'network_device'
},
{
label
:
'Storage Device'
,
value
:
'storage_device'
},
{
label
:
'Firewall'
,
value
:
'firewall'
},
],
},
rules
:
[
rules
:
[
{
{
message
:
'请输入Label'
,
message
:
'请输入Label'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment