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
43f4fd99
Commit
43f4fd99
authored
Jan 22, 2019
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开门成功清空taskId & currentTaskType
parent
c8f6c9ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
36 deletions
+7
-36
client/actions/common.js
+0
-35
client/containers/PageContainer/PageContainer.jsx
+7
-1
No files found.
client/actions/common.js
View file @
43f4fd99
...
...
@@ -63,41 +63,6 @@ const getUserinfo = (employeeId,storeId)=>{
};
let
mock
=
{
data
:
{
flatCommonVo
:
{
currentTaskName
:
"故障上报"
,
currentTaskNum
:
1
,
currentTaskType
:
"ER"
,
taskId
:
1040
,
totalTaskNum
:
3
,
},
skuFlatVo
:
{
detailList
:
[{
"id"
:
660
,
"storeId"
:
7
,
"errorCode"
:
"ER00021"
,
"type"
:
"KN"
,
"description"
:
"1:回零故障,2:直流电机回位错误或步进电机初始化错误(根据前一条故障代码判断)"
,
"taskId"
:
0
,
"isExistProblem"
:
0
,
"imagesFileId"
:
"3879,3878,3846,3843"
,
"superType"
:
1
,
"subType"
:
2
,
"parentProblemType"
:
0
,
"subProblemType"
:
0
,
"explanation"
:
null
,
"handler"
:
0
,
"parentProblemName"
:
null
,
"subProblemName"
:
null
,
"sellOrderNumber"
:
"0"
}]
}
}
}
//拉取工单
const
getTaskList
=
(
data
=
{})
=>
{
let
{
storeInfo
=
{},
userInfo
=
{},
taskInfo
=
{}}
=
data
;
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
43f4fd99
...
...
@@ -194,7 +194,7 @@ class PageContainer extends React.Component {
}
if
(
info
.
area
){
//区域信息
dispatch
(
saveCommonInfo
(
Object
.
assign
({},{
taskInfo
:{
area
:
info
.
area
}})))
dispatch
(
saveCommonInfo
(
Object
.
assign
({},{
taskInfo
:{
area
:
info
.
area
,
taskId
:
0
,
currentTaskType
:
''
}})))
}
this
.
setState
({
...
...
@@ -299,6 +299,9 @@ class PageContainer extends React.Component {
case
'REA'
:
this
.
changePages
(
CONFIG
.
showPage
[
15
]);
break
;
default
:
this
.
changePages
(
CONFIG
.
showPage
[
13
]);
break
;
}
}
...
...
@@ -611,6 +614,9 @@ class PageContainer extends React.Component {
case
'REA'
:
this
.
changePages
(
CONFIG
.
showPage
[
15
]);
break
;
default
:
this
.
changePages
(
CONFIG
.
showPage
[
13
]);
break
;
}
}
else
{
this
.
changePages
(
CONFIG
.
showPage
[
13
]);
...
...
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