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
0674540e
Commit
0674540e
authored
May 08, 2019
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 拉取工单接口
parent
cbe02f80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
client/actions/common.js
+5
-3
No files found.
client/actions/common.js
View file @
0674540e
...
...
@@ -87,10 +87,12 @@ const getTaskList = (data={},callback=null)=>{
let
url
=
`
${
domain
}
machine_pad/work/list/
${
storeInfo
.
id
}
/
${
taskInfo
.
area
}
/
${
taskId
}
/
${
userInfo
.
employeeId
}
`
;
UTILPATH
.
myLogger
.
info
(
"getTaskList url "
,
url
);
return
(
dispatch
)
=>
{
if
(
!
userInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有获取用户信息'
))
if
(
!
storeInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有门店信息,请耐心等待,看右上角是否有门店信息,如还没有,请重启APP'
))
}
else
if
(
!
userInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有用户信息,请重启APP,等有门店信息了,重新扫描开门码'
))
}
else
if
(
!
taskInfo
.
area
){
dispatch
(
addErrorInfo
(
'没有
获取区域信息
'
))
dispatch
(
addErrorInfo
(
'没有
区域信息,请重启APP,等有门店信息了,重新扫描开门码
'
))
}
else
{
fetch
(
url
,{
credentials
:
'include'
,
...
...
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