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
04bc473b
Commit
04bc473b
authored
Sep 21, 2018
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chang
parent
101e1cd9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
client/actions/common.js
+1
-1
client/actions/recovery.js
+1
-1
client/containers/PageContainer/PageContainer.jsx
+1
-0
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
+1
-1
No files found.
client/actions/common.js
View file @
04bc473b
...
@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
...
@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
import
actionType
from
'../actiontype/common'
import
actionType
from
'../actiontype/common'
import
{
addErrorInfo
}
from
'./uploadError'
import
{
addErrorInfo
}
from
'./uploadError'
let
domain1
=
ENV
.
domain
;
let
domain1
=
ENV
.
domain
;
let
domain
=
'http://192.168.10.
128:8080
/web/'
let
domain
=
'http://192.168.10.
37:8080/maxbox
/web/'
let
myHeaders
=
new
Headers
({
let
myHeaders
=
new
Headers
({
// 'Access-Control-Allow-Origin': '*',
// 'Access-Control-Allow-Origin': '*',
...
...
client/actions/recovery.js
View file @
04bc473b
import
fetch
from
'isomorphic-fetch'
;
import
fetch
from
'isomorphic-fetch'
;
import
actionType
from
'../actiontype/recovery'
import
actionType
from
'../actiontype/recovery'
import
{
getTaskList
}
from
"./common"
;
import
{
getTaskList
}
from
"./common"
;
const
domain1
=
ENV
.
domain
;
let
domain
=
'http://192.168.10.37:8080/maxbox/web'
let
domain
=
'http://192.168.10.37:8080/maxbox/web'
let
myHeaders
=
new
Headers
({
let
myHeaders
=
new
Headers
({
// 'Access-Control-Allow-Origin': '*',
// 'Access-Control-Allow-Origin': '*',
// 'Content-Type': 'text/plain;charset=UTF-8',
// 'Content-Type': 'text/plain;charset=UTF-8',
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
04bc473b
...
@@ -596,6 +596,7 @@ class PageContainer extends React.Component {
...
@@ -596,6 +596,7 @@ class PageContainer extends React.Component {
tokeTaskProduct=
{
state
.
commonInfo
.
taskList
}
tokeTaskProduct=
{
state
.
commonInfo
.
taskList
}
checkProductQuantity=
{
(
tokeProductInfo
)
=>
{
dispatch
(
checkProductQuantity
({
commonInfo
:
state
.
commonInfo
,
tokeProductInfo
}))}
}
checkProductQuantity=
{
(
tokeProductInfo
)
=>
{
dispatch
(
checkProductQuantity
({
commonInfo
:
state
.
commonInfo
,
tokeProductInfo
}))}
}
TokeStokeState=
{
state
.
TokeStokeContainer
}
TokeStokeState=
{
state
.
TokeStokeContainer
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
state
.
commonInfo
))}
}
/>
;
/>
;
break;
break;
case showPage[5]:
case showPage[5]:
...
...
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
View file @
04bc473b
...
@@ -75,7 +75,6 @@ class TakeStokeContaniner extends React.Component {
...
@@ -75,7 +75,6 @@ class TakeStokeContaniner extends React.Component {
}
}
productNum
(
str
){
productNum
(
str
){
let
{
initNum
}
=
this
.
state
;
let
{
initNum
}
=
this
.
state
;
let
tokeTaskProduct
=
this
.
props
.
tokeTaskProduct
;
if
(
str
===
'add'
){
if
(
str
===
'add'
){
initNum
++
;
initNum
++
;
this
.
setState
({
this
.
setState
({
...
@@ -100,6 +99,7 @@ class TakeStokeContaniner extends React.Component {
...
@@ -100,6 +99,7 @@ class TakeStokeContaniner extends React.Component {
let
{
type
}
=
nextProps
.
TokeStokeState
;
let
{
type
}
=
nextProps
.
TokeStokeState
;
switch
(
type
){
switch
(
type
){
case
1
:
case
1
:
this
.
props
.
getTaskList
()
this
.
setState
({
number
:
1
,
showButton
:
true
})
this
.
setState
({
number
:
1
,
showButton
:
true
})
break
;
break
;
case
2
:
case
2
:
...
...
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