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
9183969f
Commit
9183969f
authored
Aug 09, 2023
by
timzaak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vconsole,remove fetch patch
parent
112c57b2
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
25 additions
and
18 deletions
+25
-18
client/actions/ScanBarCode.js
+1
-1
client/actions/TokeStokeContainer.js
+1
-1
client/actions/barcodeCommon.js
+1
-1
client/actions/breakaegContainer.js
+1
-1
client/actions/chooseTaskContainer.js
+1
-1
client/actions/common.js
+1
-1
client/actions/getIp.js
+1
-1
client/actions/getStore.js
+1
-1
client/actions/getTroubles.js
+1
-1
client/actions/otherQuestion.js
+1
-1
client/actions/refreshImg.js
+1
-1
client/actions/replenish.js
+1
-1
client/actions/reportDamageList.js
+1
-1
client/actions/uploadError.js
+1
-1
client/actions/userinfo.js
+1
-1
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
+1
-0
client/containers/HomePageContainer/HomePageContainer.jsx
+1
-1
client/index.js
+5
-0
client/util/logger.js
+1
-1
package.json
+2
-1
No files found.
client/actions/ScanBarCode.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
*
as
actionTypes
from
'../actiontype/ScanBarCode'
;
import
actionTypes_error
from
'../actiontype/error'
let
domain
=
ENV
.
domain
;
...
...
client/actions/TokeStokeContainer.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
tokeActionType
from
'../actiontype/TokeStokeContainer'
import
{
getTaskList
}
from
'./common'
let
domain
=
ENV
.
domain
;
...
...
client/actions/barcodeCommon.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
{
saveCommonInfo
}
from
'./common'
import
barcodeActionType
from
'../actiontype/barcodeCommon'
import
replenishAction
from
'./replenish'
...
...
client/actions/breakaegContainer.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
{
getTaskList
}
from
"./common"
;
import
breakageActionType
from
'../actiontype/breakageContainer'
let
domain
=
ENV
.
domain
;
...
...
client/actions/chooseTaskContainer.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
{
logout
,
getTaskList
,
saveCommonInfo
,
emptyStoreInfo
}
from
"./common"
;
import
{
emit
}
from
"../util/event"
;
let
domain
=
ENV
.
domain
;
...
...
client/actions/common.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionType
from
'../actiontype/common'
import
{
addErrorInfo
}
from
'./uploadError'
import
{
emit
}
from
"../util/event"
;
...
...
client/actions/getIp.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
actionType
from
'../actiontype/getIp'
let
domain
=
'http://192.168.10.100:8088'
;
...
...
client/actions/getStore.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionTypes
from
'../actiontype/store'
import
{
saveHeaderInfo
}
from
'./initHeader'
import
{
emit
}
from
"../util/event"
;
...
...
client/actions/getTroubles.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionTypes
from
'../actiontype/trouble'
import
userActionTypes
from
"../actiontype/user"
;
import
{
saveHeaderInfo
}
from
'./initHeader'
...
...
client/actions/otherQuestion.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
*
as
actionTypes
from
'../actiontype/otherQuestion'
;
const
domain
=
ENV
.
domain
;
//有服务器交互的actions
...
...
client/actions/refreshImg.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionTypes
from
'../actiontype/refreshImg'
const
domain
=
ENV
.
domain
;
const
refreshImg
=
(
data
)
=>
{
...
...
client/actions/replenish.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionType
from
'../actiontype/replenish'
import
{
getTaskList
}
from
"./common"
;
import
{
saveProductInfo
}
from
"./barcodeCommon"
;
...
...
client/actions/reportDamageList.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
*
as
actionTypes
from
'../actiontype/reportDamage'
;
import
actionTypes_error
from
"../actiontype/error"
;
let
domain
=
ENV
.
domain
;
...
...
client/actions/uploadError.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
import
actionType
from
'../actiontype/error'
import
{
getTaskList
}
from
'./common'
;
import
{
saveProductInfo
}
from
'./barcodeCommon'
...
...
client/actions/userinfo.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
import
actionTypes
from
'../actiontype/user'
import
{
saveHeaderInfo
}
from
'./initHeader'
import
{
addErrorInfo
}
from
'./uploadError'
...
...
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
View file @
9183969f
...
...
@@ -110,6 +110,7 @@ export default class ReplenishSkuPage extends React.Component{
//确认扫描完毕
scanOver
(){
let
props
=
this
.
props
;
console
.
log
(
`btnClock value:
${
this
.
state
.
btnClock
}
`
)
if
(
!
this
.
state
.
btnClock
){
this
.
setState
({
btnClock
:
true
...
...
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
9183969f
...
...
@@ -3,7 +3,7 @@ import HeaderComponent from '../../components/CommonComponent/HeaderComponent/He
import
Button
from
'../../components/CommonComponent/ButtonComponent/ButtonComponent'
import
PopModel
from
'../../components/CommonComponent/PopupComponent/PopupChildComponent'
import
{
sendMsg
}
from
"../../util/socket"
;
import
fetch
from
'isomorphic-fetch'
//
import fetch from 'isomorphic-fetch'
require
(
'./index.css'
);
let
domain
=
ENV
.
domain
;
export
default
class
HomePageContainer
extends
React
.
Component
{
...
...
client/index.js
View file @
9183969f
import
VConsole
from
'vconsole'
import
React
from
'react'
;
import
ReactDom
from
'react-dom'
;
import
{
createStore
,
applyMiddleware
}
from
'redux'
;
...
...
@@ -7,6 +8,7 @@ import { createLogger } from 'redux-logger'
import
thunkMiddleware
from
'redux-thunk'
;
require
(
'./index.css'
);
import
PageContainer
from
'./containers/PageContainer/PageContainer'
;
const
env
=
process
.
env
.
NODE_ENV
;
// import axios from 'axios'
// React.Component.prototype.axios=axios
...
...
@@ -43,3 +45,6 @@ let store = activateVendor();
// UTILPATH.socket.getTestIp(203);
renderPage
(
store
);
new
VConsole
()
client/util/logger.js
View file @
9183969f
import
fetch
from
'isomorphic-fetch'
;
//
import fetch from 'isomorphic-fetch';
let
domain
=
""
;
...
...
package.json
View file @
9183969f
...
...
@@ -51,7 +51,8 @@
"
react
"
:
"^16.4.1"
,
"
react-dom
"
:
"^16.4.1"
,
"
react-redux
"
:
"^5.0.7"
,
"
redux
"
:
"^4.0.0"
"
redux
"
:
"^4.0.0"
,
"
vconsole
"
:
"^3.15.1"
},
"homepage"
:
"./"
}
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