Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5dd81d7b
authored
Oct 23, 2020
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改【设备信息】为【门禁管理】
(cherry picked from commit
c7fefdfb
)
parent
905c0f9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
app/action/DeviceAction.js
app/containers/home/HomePage.js
app/reducers/module/deviceInfo.js
app/action/DeviceAction.js
View file @
5dd81d7b
...
...
@@ -7,7 +7,7 @@ import {
}
from
'../base/ActionTypes'
;
import
{
exitLoginStatus
}
from
'./LoginAction'
;
//
设备信息
-修改状态
//
门禁管理
-修改状态
export
function
updateDeviceStatus
({
access_token
,
...
params
})
{
return
(
dispatch
,
getState
)
=>
{
dispatch
(
requestUpdate
())
...
...
app/containers/home/HomePage.js
View file @
5dd81d7b
...
...
@@ -85,7 +85,7 @@ class HomePage extends Component {
},
deviceInfo
:
{
icon
:
require
(
'../../images/device_info.png'
),
title
:
'
设备信息
'
,
title
:
'
门禁管理
'
,
page
:
'DeviceInfoPage'
},
...
...
app/reducers/module/deviceInfo.js
View file @
5dd81d7b
...
...
@@ -5,9 +5,9 @@ import {
DEVICE_INFORMATION_UPDATE_FAILURE
}
from
'../../base/ActionTypes'
;
//
设备信息
状态
//
门禁管理
状态
const
defaultState
=
{
device_info_status
:
DEVICE_INFORMATION_UPDATE_NO
// 获取
设备信息
状态
device_info_status
:
DEVICE_INFORMATION_UPDATE_NO
// 获取
门禁管理
状态
}
export
default
deviceInfo
=
(
state
=
defaultState
,
action
)
=>
{
...
...
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