Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sage-front-framework
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
郁骅焌
sage-front-framework
Commits
81c25322
提交
81c25322
authored
6月 16, 2020
作者:
郁骅焌
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交
上级
c78b458c
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
.eslintrc.js
.eslintrc.js
+2
-1
index.jsx
src/pages/user/center/index.jsx
+3
-3
index.jsx
src/pages/user/manage/index.jsx
+1
-1
没有找到文件。
.eslintrc.js
浏览文件 @
81c25322
...
@@ -9,6 +9,7 @@ module.exports = {
...
@@ -9,6 +9,7 @@ module.exports = {
'no-plusplus'
:
0
,
'no-plusplus'
:
0
,
'no-template-curly-in-string'
:
0
,
'no-template-curly-in-string'
:
0
,
'no-param-reassign'
:
0
,
'no-param-reassign'
:
0
,
'no-unused-expressions'
:
0
'no-unused-expressions'
:
0
,
'no-unused-var'
:
0
}
}
};
};
src/pages/user/center/index.jsx
浏览文件 @
81c25322
import
React
,
{
useState
,
use
Ref
,
use
Effect
}
from
'react'
import
React
,
{
useState
,
useEffect
}
from
'react'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
Switch
,
Modal
}
from
'antd'
import
{
Card
}
from
'antd'
import
{
connect
}
from
'umi'
import
{
connect
}
from
'umi'
import
{
SageLayoutLR
,
SageTable
,
SageModal
,
SageForm
,
SageButton
,
SageMessage
,
ActionSet
}
from
'@/components/Common'
import
{
SageLayoutLR
}
from
'@/components/Common'
import
{
getUserDetail
}
from
'@/pages/user/manage/service'
import
{
getUserDetail
}
from
'@/pages/user/manage/service'
import
style
from
'./style.less'
import
style
from
'./style.less'
...
...
src/pages/user/manage/index.jsx
浏览文件 @
81c25322
...
@@ -2,7 +2,7 @@ import React, { useState, useRef } from 'react'
...
@@ -2,7 +2,7 @@ import React, { useState, useRef } from 'react'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
Modal
,
Switch
}
from
'antd'
import
{
Card
,
Modal
,
Switch
}
from
'antd'
import
moment
from
'moment'
import
moment
from
'moment'
import
{
SageLayoutLR
,
SageTable
,
SageModal
,
Sage
Form
,
Sage
Button
,
SageMessage
,
ActionSet
}
from
'@/components/Common'
import
{
SageLayoutLR
,
SageTable
,
SageModal
,
SageButton
,
SageMessage
,
ActionSet
}
from
'@/components/Common'
import
{
DeptTree
}
from
'@/components/Business'
import
{
DeptTree
}
from
'@/components/Business'
import
{
PlusOutlined
,
RedoOutlined
,
ExclamationCircleOutlined
}
from
'@ant-design/icons'
;
import
{
PlusOutlined
,
RedoOutlined
,
ExclamationCircleOutlined
}
from
'@ant-design/icons'
;
import
{
queryUser
,
updateUser
,
addUser
,
removeUser
,
getUserDetail
,
openOrClose
}
from
'./service'
;
import
{
queryUser
,
updateUser
,
addUser
,
removeUser
,
getUserDetail
,
openOrClose
}
from
'./service'
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论