Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
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
ReactWeb5
CivManage
Commits
c38ec5dd
Commit
c38ec5dd
authored
Jun 22, 2021
by
shaoan123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分组排序接口对接
parent
1275fc0c
Pipeline
#30190
skipped with stages
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
16 deletions
+37
-16
index.less
...Center/bsmanager/tablemanager/components/Field/index.less
+11
-5
loadGroup.jsx
...ter/bsmanager/tablemanager/components/Field/loadGroup.jsx
+0
-0
config.js
src/routes/config.js
+13
-2
bs.jsx
src/services/platform/bs.jsx
+13
-9
No files found.
src/pages/platformCenter/bsmanager/tablemanager/components/Field/index.less
View file @
c38ec5dd
...
...
@@ -15,13 +15,14 @@
.ant-card-extra{
margin-left: 0.2rem;
}
.ant-card-body{
// padding: 0 ;
height: 15rem;
overflow-y: scroll;
}
}
.ant-card-body{
padding: 0 !important;
height: 15rem;
overflow-y: scroll;
}
.paneTitle{
font-weight: bold;
font-size: 18px;
...
...
@@ -31,6 +32,11 @@
display: flex;
}
.cardList{
.ant-card-body{
overflow-y:none !important;
}
}
.unit{
display: flex;
margin-left: 1.1rem;
...
...
src/pages/platformCenter/bsmanager/tablemanager/components/Field/loadGroup.jsx
View file @
c38ec5dd
This diff is collapsed.
Click to expand it.
src/routes/config.js
View file @
c38ec5dd
...
...
@@ -153,8 +153,19 @@ export default {
{
path
:
'/platformCenter/gis'
,
name
:
'GIS平台'
,
// component: BlankLayout,
component
:
SchemeConfig
,
component
:
BlankLayout
,
routes
:
[
{
path
:
'/platformCenter/gis/twoDimensionConfig'
,
name
:
'二维配置'
,
component
:
SchemeConfig
,
},
{
path
:
'/platformCenter/gis/threeDimensionConfig'
,
name
:
'三维配置'
,
component
:
SchemeConfig
,
}
],
// routes: [{
// path: '/platformCenter/schemeConfig',
// name: '方案配置',
...
...
src/services/platform/bs.jsx
View file @
c38ec5dd
...
...
@@ -39,36 +39,40 @@ export const getTableInfo = (param) =>
//10.更新表信息
export
const
updateTable
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/UpdateTable`
,
param
);
//11.加载表字段
export
const
reloadTableFields
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/ReloadTableFields`
,
param
);
//12.根据字段ID查询字段信息
export
const
getField
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/GetField`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/GetField`
,
param
);
//13.删除表字段
export
const
removeFields
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/RemoveFields`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/RemoveFields`
,
param
);
//14.加载事件类型
export
const
LoadEventType
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadEventType`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadEventType`
,
param
);
//15.根据触发事件加载字段
export
const
LoadEventFields
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadEventFields`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadEventFields`
,
param
);
//16.更改字段信息
export
const
UpdateFields
=
(
data
)
=>
post
(
`
${
PUBLISH_SERVICE
}
/CaseManage/UpdateFields`
,
data
);
post
(
`
${
PUBLISH_SERVICE
}
/CaseManage/UpdateFields`
,
data
);
//17.分组与调序,根据表名加载分组
export
const
LoadGroup
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadGroup`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadGroup`
,
param
);
//18.根据分组名加载字段集
export
const
LoadFieldsByGroup
=
(
param
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadFieldsByGroup`
,
param
);
get
(
`
${
PUBLISH_SERVICE
}
/CaseManage/LoadFieldsByGroup`
,
param
);
//18.根据分组名加载字段集
export
const
ChangeOrder
=
(
data
)
=>
post
(
`
${
PUBLISH_SERVICE
}
/CaseManage/ChangeOrder`
,
data
);
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