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
42bc3ca8
Commit
42bc3ca8
authored
Nov 16, 2020
by
张烨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 去掉pageContainer的大title
parent
c7af9ddd
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
27 additions
and
12 deletions
+27
-12
index.js
src/components/BaseFramContainer/index.js
+2
-1
index.js
src/components/BasePageContainer/index.js
+14
-0
Welcome.js
src/pages/Welcome.js
+1
-1
index.js
src/pages/appConfig/index.js
+1
-1
CurrentSolution.jsx
src/pages/database/CurrentSolution.jsx
+1
-1
InitDataBase.jsx
src/pages/database/InitDataBase.jsx
+1
-1
ManagementDataBase.jsx
src/pages/database/ManagementDataBase.jsx
+1
-1
DatabaseConfig.jsx
src/pages/database/databaseConfig/DatabaseConfig.jsx
+1
-1
index.js
src/pages/mobileConfig/index.js
+1
-1
DefaultComponent.jsx
src/pages/orgnazation/DefaultComponent.jsx
+1
-1
TestTable.jsx
src/pages/orgnazation/TestTable.jsx
+1
-1
UserManage.js
src/pages/userCenter/UserManage.js
+1
-1
index.js
src/pages/webConfig/index.js
+1
-1
No files found.
src/components/BaseFramContainer/index.js
View file @
42bc3ca8
import
{
isDev
}
from
'@/utils/tools'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
Tabs
}
from
'antd'
;
import
React
from
'react'
;
import
styles
from
'./index.less'
;
...
...
@@ -36,6 +36,7 @@ const FrameContainer = props => {
return
(
<
PageContainer
className
=
{
styles
.
container
}
title
=
{
false
}
style
=
{{
display
:
'flex'
,
flexDirection
:
'column'
,
...
...
src/components/BasePageContainer/index.js
0 → 100644
View file @
42bc3ca8
import
{
PageContainer
}
from
'@ant-design/pro-layout'
;
import
React
from
'react'
;
const
BasePageContainer
=
props
=>
{
const
{
children
,
...
rest
}
=
props
;
return
(
<
PageContainer
{...
rest
}
title
=
{
false
}
>
{
children
}
<
/PageContainer
>
);
};
export
default
BasePageContainer
;
src/pages/Welcome.js
View file @
42bc3ca8
import
React
from
'react'
;
import
{
Alert
,
Card
,
Typography
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
connect
}
from
'react-redux'
;
import
styles
from
'./Welcome.less'
;
...
...
src/pages/appConfig/index.js
View file @
42bc3ca8
import
React
from
'react'
;
import
{
Tabs
,
Card
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
SevenParams
from
'./SevenParams'
;
import
AppMenu
from
'./AppMenu'
;
...
...
src/pages/database/CurrentSolution.jsx
View file @
42bc3ca8
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Select
,
Card
,
Row
,
Col
,
Button
,
Spin
,
notification
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
getSolutionList
,
changeSolution
}
from
'@/services/database/api'
;
import
styles
from
'./CurrentSolution.less'
;
const
{
Option
}
=
Select
;
...
...
src/pages/database/InitDataBase.jsx
View file @
42bc3ca8
...
...
@@ -14,7 +14,7 @@ import {
Popconfirm
,
Spin
,
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
connect
}
from
'react-redux'
;
import
{
get
,
post
}
from
'../../services'
;
import
{
...
...
src/pages/database/ManagementDataBase.jsx
View file @
42bc3ca8
...
...
@@ -8,7 +8,7 @@ import {
Popconfirm
,
notification
,
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
get
}
from
'../../services'
;
import
styles
from
'./ManagementDataBase.less'
;
import
{
updateDateBase
}
from
'@/services/database/api'
;
...
...
src/pages/database/databaseConfig/DatabaseConfig.jsx
View file @
42bc3ca8
import
React
,
{
useState
}
from
'react'
;
import
{
Card
,
Tabs
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
SQLServerTable
from
'./sqlServer/SQLServerTable'
;
import
OracleTable
from
'./oracle/OracleTable'
;
import
MongDBTable
from
'./mongDB/MongDBTable'
;
...
...
src/pages/mobileConfig/index.js
View file @
42bc3ca8
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Card
,
Tabs
}
from
'antd'
;
import
ProCard
from
'@ant-design/pro-card'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
miniAppSiteTree
}
from
'@/services/mobileConfig/api'
;
import
SiteConfig
from
'./SiteConfig'
;
import
MenuConfig
from
'./menuconfig/MenuConfig'
;
...
...
src/pages/orgnazation/DefaultComponent.jsx
View file @
42bc3ca8
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Card
,
TreeSelect
,
Space
,
Button
,
Table
,
Input
,
Row
,
Col
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
connect
}
from
'react-redux'
;
import
TestModal
from
'./ModalComponent'
;
import
ListCard
from
'./ListCard'
;
...
...
src/pages/orgnazation/TestTable.jsx
View file @
42bc3ca8
...
...
@@ -4,7 +4,7 @@ import {
Input
,
Button
}
from
'antd'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
connect
}
from
'react-redux'
;
import
ProTable
from
'@ant-design/pro-table'
;
import
{
get
,
post
}
from
'../../services'
;
...
...
src/pages/userCenter/UserManage.js
View file @
42bc3ca8
...
...
@@ -30,7 +30,7 @@ import {
FolderOpenOutlined
,
FileOutlined
,
}
from
'@ant-design/icons'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
// import classnames from 'classnames';
// import { get } from '../../services';
import
styles
from
'./UserManage.less'
;
...
...
src/pages/webConfig/index.js
View file @
42bc3ca8
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
PageContainer
}
from
'@ant-design/pro-layout
'
;
import
PageContainer
from
'@/components/BasePageContainer
'
;
import
{
Tabs
}
from
'antd'
;
import
{
getWebModuleTree
}
from
'@/services/webConfig/api'
;
import
styles
from
'./index.less'
;
...
...
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