Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
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
wangxuelai
biz.qingxiao.com
Commits
1726dcba
Commit
1726dcba
authored
Dec 30, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v1' into wxl-develop
parents
7f0d65be
6ea51561
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
4 deletions
+19
-4
index.html
index.html
+1
-1
login.js
src/models/login.js
+6
-0
webapp.js
src/models/webapp.js
+9
-0
index.js
src/pages/institutions/rolemanage/index.js
+3
-3
No files found.
index.html
View file @
1726dcba
...
...
@@ -18,6 +18,6 @@
</head>
<body>
<div
id=
"root"
></div>
<script
src=
"dist/main.js?157769
1544208
"
charset=
"utf-8"
></script>
<script
src=
"dist/main.js?157769
4105431
"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
src/models/login.js
View file @
1726dcba
...
...
@@ -165,6 +165,12 @@ export default {
}
const
data
=
yield
call
(
login
.
newLogin
,
params
);
if
(
data
.
code
===
200
)
{
yield
put
({
type
:
'updateState'
,
payload
:
{
qxLoading
:
false
,
},
});
if
(
data
.
data
&&
data
.
data
.
token
)
{
LocalStorage
.
setItem
(
'user'
,
{
expiresIn
:
data
.
data
.
expiresIn
,
...
...
src/models/webapp.js
View file @
1726dcba
...
...
@@ -135,12 +135,21 @@ export default {
dispatch
({
type
:
'judgeexpire'
,
});
dispatch
({
type
:
'login/pageInit'
,
});
}
if
(
pathname
===
'/register'
)
{
console
.
log
(
'/register'
);
dispatch
({
type
:
'login/pageInit'
,
});
}
if
(
pathname
===
'/resetpsd'
)
{
console
.
log
(
'/resetpsd'
);
dispatch
({
type
:
'login/pageInit'
,
});
}
if
(
pathname
===
'/sjd/registerinfo'
)
{
dispatch
({
...
...
src/pages/institutions/rolemanage/index.js
View file @
1726dcba
...
...
@@ -96,7 +96,7 @@ class RoleManageForm extends React.Component {
width
:
200
,
},
{
title
:
'
用户
列表'
,
title
:
'
成员
列表'
,
dataIndex
:
'users'
,
key
:
'users'
,
render
:
(
text
,
record
)
=>
{
...
...
@@ -110,7 +110,7 @@ class RoleManageForm extends React.Component {
},
},
{
title
:
'操作'
,
title
:
'
管理
操作'
,
dataIndex
:
'call'
,
key
:
'call'
,
width
:
100
,
...
...
@@ -118,7 +118,7 @@ class RoleManageForm extends React.Component {
return
(
<
div
>
<
BtnPermission
btnId
=
"70005"
>
<
span
className
=
"hreflink"
onClick
=
{()
=>
this
.
lookDetail
(
record
)}
>
查看
<
/span
>
<
span
className
=
"hreflink"
onClick
=
{()
=>
this
.
lookDetail
(
record
)}
>
修改权限
<
/span
>
<
/BtnPermission
>
<
/div
>
);
...
...
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