Commit 4110a4d2 by wujiabao

更改 actions

parent 04bc473b
......@@ -3,7 +3,7 @@ import {saveCommonInfo} from './common'
import barcodeActionType from '../actiontype/barcodeCommon'
import replenishAction from './replenish'
let domain1 = ENV.domain;
let domain = 'http://192.168.10.37:8080/maxbox/web/'
let domain = 'http://192.168.10.128:8080/web/'
// const changeStatus = (data)=>{
// let {taskId,currentTaskType}=data.taskInfo;
......
......@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
import actionType from '../actiontype/common'
import {addErrorInfo} from './uploadError'
let domain1 = ENV.domain;
let domain = 'http://192.168.10.37:8080/maxbox/web/'
let domain = 'http://192.168.10.128:8080/web/'
let myHeaders = new Headers({
// 'Access-Control-Allow-Origin': '*',
......@@ -146,7 +146,6 @@ const getTaskList = (data={})=>{
headers: myHeaders
}).then(response=>response.json())
.then((json)=>{
console.log(json,'这是吴加宝打印的工单')
let data =Object.assign({});
console.log("拉取工单 ",json)
if(json.meta.success && json.data){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment