Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
2c3406e1
Commit
2c3406e1
authored
Apr 02, 2021
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整样式
parent
e0e0c4fe
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
6 deletions
+14
-6
DataModel.xlsx
public/docs/DataModel.xlsx
+0
-0
index.less
src/index.less
+4
-0
index.js
src/layout/index.js
+1
-1
axios.js
src/util/axios.js
+0
-1
ImportExcel.jsx
src/view/Manage/Model/Component/ImportExcel.jsx
+5
-1
ImportModal.jsx
src/view/Manage/Model/Component/ImportModal.jsx
+2
-2
ModelTree.jsx
src/view/Manage/Model/Component/ModelTree.jsx
+1
-0
index.jsx
src/view/Signin/index.jsx
+1
-1
No files found.
public/docs/DataModel.xlsx
0 → 100644
View file @
2c3406e1
File added
src/index.less
View file @
2c3406e1
...
@@ -80,5 +80,9 @@ div[id^='__qiankun_microapp_wrapper_'] {
...
@@ -80,5 +80,9 @@ div[id^='__qiankun_microapp_wrapper_'] {
overflow: auto !important;
overflow: auto !important;
}
}
.yy-menu {
background-color: transparent !important;
}
src/layout/index.js
View file @
2c3406e1
import
React
,
{
useState
,
Fragment
}
from
"react"
;
import
React
,
{
useState
,
Fragment
}
from
"react"
;
import
{
Link
}
from
'react-router-dom'
;
import
{
Link
}
from
'react-router-dom'
;
import
{
Layout
,
Menu
,
message
,
Avatar
}
from
'antd'
;
import
{
Layout
,
Menu
,
Avatar
}
from
'antd'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
classnames
from
'classnames'
;
import
classnames
from
'classnames'
;
import
{
UserOutlined
,
LogoutOutlined
,
MenuFoldOutlined
,
MenuUnfoldOutlined
,
HomeOutlined
,
FileOutlined
,
AppstoreOutlined
}
from
"@ant-design/icons"
;
import
{
UserOutlined
,
LogoutOutlined
,
MenuFoldOutlined
,
MenuUnfoldOutlined
,
HomeOutlined
,
FileOutlined
,
AppstoreOutlined
}
from
"@ant-design/icons"
;
...
...
src/util/axios.js
View file @
2c3406e1
import
axios
from
'axios'
;
import
axios
from
'axios'
;
import
{
message
}
from
'antd'
;
import
{
IsArr
}
from
'./index'
;
import
{
IsArr
}
from
'./index'
;
import
{
showMessage
}
from
'./index'
;
import
{
showMessage
}
from
'./index'
;
...
...
src/view/Manage/Model/Component/ImportExcel.jsx
View file @
2c3406e1
...
@@ -11,6 +11,10 @@ class ImportExcel extends React.Component {
...
@@ -11,6 +11,10 @@ class ImportExcel extends React.Component {
};
};
}
}
downloadTemplate
=
()
=>
{
window
.
open
(
"/data-govern/docs/DataModel.xlsx"
);
}
render
()
{
render
()
{
const
{
onChange
}
=
this
.
props
;
const
{
onChange
}
=
this
.
props
;
...
@@ -43,7 +47,7 @@ class ImportExcel extends React.Component {
...
@@ -43,7 +47,7 @@ class ImportExcel extends React.Component {
return
(
return
(
<>
<>
<
div
>
<
div
>
<
Button
icon=
{
<
DownloadOutlined
/>
}
>
<
Button
icon=
{
<
DownloadOutlined
/>
}
onClick=
{
this
.
downloadTemplate
}
>
模版下载
模版下载
</
Button
>
</
Button
>
</
div
>
</
div
>
...
...
src/view/Manage/Model/Component/ImportModal.jsx
View file @
2c3406e1
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
import
{
Modal
,
Radio
,
Button
,
Form
,
message
}
from
'antd'
;
import
{
Modal
,
Radio
,
Button
,
Form
}
from
'antd'
;
import
ImportLog
from
'./ImportLog'
;
//
import ImportLog from './ImportLog';
import
ImportExcel
from
'./ImportExcel'
;
import
ImportExcel
from
'./ImportExcel'
;
import
ImportMetadata
from
'./ImportMetadata'
;
import
ImportMetadata
from
'./ImportMetadata'
;
import
ImportAction
from
'./ImportAction'
;
import
ImportAction
from
'./ImportAction'
;
...
...
src/view/Manage/Model/Component/ModelTree.jsx
View file @
2c3406e1
...
@@ -20,6 +20,7 @@ const ModelTree = (props) => {
...
@@ -20,6 +20,7 @@ const ModelTree = (props) => {
useEffect
(()
=>
{
useEffect
(()
=>
{
getTreeData
();
getTreeData
();
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[])
},
[])
const
getTreeData
=
()
=>
{
const
getTreeData
=
()
=>
{
...
...
src/view/Signin/index.jsx
View file @
2c3406e1
import
React
,
{
Component
}
from
"react"
;
import
React
,
{
Component
}
from
"react"
;
import
{
Form
,
Input
,
Button
,
message
}
from
'antd'
;
import
{
Form
,
Input
,
Button
}
from
'antd'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
CryptoJS
from
"crypto-js"
;
import
CryptoJS
from
"crypto-js"
;
import
{
UserOutlined
,
LockOutlined
}
from
"@ant-design/icons"
;
import
{
UserOutlined
,
LockOutlined
}
from
"@ant-design/icons"
;
...
...
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