Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
6adc716d
Commit
6adc716d
authored
Sep 11, 2018
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
f4d62af5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
23 deletions
+39
-23
client/config/showPage.js
+30
-14
client/reducers/index.js
+9
-9
No files found.
client/config/showPage.js
View file @
6adc716d
const
showPage
=
{
const
showPage
=
{
1
:
'Trouble'
,
1
:
'Trouble'
,
//一期故障
2
:
'Scan'
,
2
:
'Scan'
,
//一期扫描二维码
3
:
'DamageProductList'
,
3
:
'DamageProductList'
,
//一期上报损耗商品
4
:
'OtherQuestionUpload'
,
4
:
'OtherQuestionUpload'
,
//一期上报其它问题
5
:
'TextArea'
,
5
:
'ReportLeftSkus'
,
// 二期遗留商品上报
6
:
'Qrcode'
,
6
:
'CheckSkus'
,
//二期盘点
7
:
'Home'
,
7
:
'Home'
,
//一期首页和关门页
8
:
'FinishAsk'
,
8
:
'FinishAsk'
,
//一期询问是否完成页
9
:
'ChooseTask'
9
:
'ChooseTask'
,
//一期选择故障问题页
10
:
'RecoverySkus'
,
//二期回收
11
:
'Replenishment'
,
//二期补货
12
:
'Feedback'
,
//二期问题反馈和关门
};
};
const
headerStatus
=
{
const
taskSchedule
=
{
//任务进度序列号,后台给
1
:
'home'
,
1
:
showPage
[
5
],
2
:
'other'
2
:
showPage
[
6
],
3
:
showPage
[
10
],
4
:
showPage
[
11
],
5
:
showPage
[
6
],
6
:
showPage
[
12
]
}
}
module
.
exports
=
{
showPage
,
headerStatus
};
const
headerStatus
=
{
//首页状态栏
\ No newline at end of file
1
:
'home'
,
// 普通
2
:
'other'
//定制
};
const
unnormalType
=
{
//异常类型
}
module
.
exports
=
{
showPage
,
headerStatus
,
taskSchedule
,
unnormalType
};
\ No newline at end of file
client/reducers/index.js
View file @
6adc716d
import
{
combineReducers
}
from
'redux'
import
{
combineReducers
}
from
'redux'
import
troubleList
from
'./trouble'
import
troubleList
from
'./trouble'
//一期故障处理
import
storeInfo
from
'./store'
import
storeInfo
from
'./store'
//店铺信息
import
scanBarCode
from
'./scanBarCode'
import
scanBarCode
from
'./scanBarCode'
//一期扫描二维码
import
otherQuestion
from
'./otherQuestion'
import
otherQuestion
from
'./otherQuestion'
// 一期上报其它问题
import
userInfo
from
'./user'
import
userInfo
from
'./user'
//用户信息
import
refreshImg
from
'./refreshImg'
import
refreshImg
from
'./refreshImg'
//刷新图片
import
headerInfo
from
'./initHeader'
import
headerInfo
from
'./initHeader'
//获取头部信息
import
reportDamageList
from
'./reportDamge'
import
reportDamageList
from
'./reportDamge'
//一期商铺报损
import
errMsg
from
'./error'
import
errMsg
from
'./error'
//上报异常
export
default
combineReducers
({
export
default
combineReducers
({
troubleList
,
troubleList
,
...
...
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