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
deabd777
Commit
deabd777
authored
May 08, 2019
by
Zhang Xin
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
b720104c
7dd61382
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
client/actions/common.js
+5
-3
package.json
+2
-2
No files found.
client/actions/common.js
View file @
deabd777
...
@@ -87,10 +87,12 @@ const getTaskList = (data={},callback=null)=>{
...
@@ -87,10 +87,12 @@ const getTaskList = (data={},callback=null)=>{
let
url
=
`
${
domain
}
machine_pad/work/list/
${
storeInfo
.
id
}
/
${
taskInfo
.
area
}
/
${
taskId
}
/
${
userInfo
.
employeeId
}
`
;
let
url
=
`
${
domain
}
machine_pad/work/list/
${
storeInfo
.
id
}
/
${
taskInfo
.
area
}
/
${
taskId
}
/
${
userInfo
.
employeeId
}
`
;
UTILPATH
.
myLogger
.
info
(
"getTaskList url "
,
url
);
UTILPATH
.
myLogger
.
info
(
"getTaskList url "
,
url
);
return
(
dispatch
)
=>
{
return
(
dispatch
)
=>
{
if
(
!
userInfo
.
id
){
if
(
!
storeInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有获取用户信息'
))
dispatch
(
addErrorInfo
(
'没有门店信息,请耐心等待,看右上角是否有门店信息,如还没有,请重启APP'
))
}
else
if
(
!
userInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有用户信息,请重启APP,等有门店信息了,重新扫描开门码'
))
}
else
if
(
!
taskInfo
.
area
){
}
else
if
(
!
taskInfo
.
area
){
dispatch
(
addErrorInfo
(
'没有
获取区域信息
'
))
dispatch
(
addErrorInfo
(
'没有
区域信息,请重启APP,等有门店信息了,重新扫描开门码
'
))
}
else
{
}
else
{
fetch
(
url
,{
fetch
(
url
,{
credentials
:
'include'
,
credentials
:
'include'
,
...
...
package.json
View file @
deabd777
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
"scripts"
:
{
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"clean"
:
"rm -rf static/*"
,
"clean"
:
"rm -rf static/*"
,
"start"
:
"cross-env NODE_ENV=development webpack-dev-server --version=2.0.
1
--env=dev -d --history-api-fallback --hot --inline --progress --colors --port 80 --host 0.0.0.0"
,
"start"
:
"cross-env NODE_ENV=development webpack-dev-server --version=2.0.
3
--env=dev -d --history-api-fallback --hot --inline --progress --colors --port 80 --host 0.0.0.0"
,
"build"
:
"cross-env NODE_ENV=production webpack --env=build --version=2.0.
1
--progress --color"
,
"build"
:
"cross-env NODE_ENV=production webpack --env=build --version=2.0.
3
--progress --color"
,
"build:prod"
:
"cross-env NODE_ENV=development webpack --env=build --progress --color"
"build:prod"
:
"cross-env NODE_ENV=development webpack --env=build --progress --color"
},
},
"author"
:
""
,
"author"
:
""
,
...
...
liushen
@liushen
mentioned in commit
fac20f45
May 13, 2019
mentioned in commit
fac20f45
mentioned in commit fac20f45d63a5a9930ee70cf5beb544e6f521375
Toggle commit list
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