| @@ -180,7 +180,7 @@ | |||
| type: 2, //type: 2,JSON格式提交数据(默认表单形式提交) | |||
| data: { | |||
| orderId: orderInfo.orderId, | |||
| issueType: state.transfer | |||
| issueType: state.transfer?2:1 | |||
| }, //请求参数 | |||
| method: "POST", //提交方式(默认POST) | |||
| showLoading: true, //是否显示加载中(默认显示) | |||
| @@ -196,6 +196,7 @@ | |||
| tools.showLoadingAlert("执行指令"); | |||
| console.log("datas===",datas) | |||
| bluetoothUtil.transCmd(datas.cmd, datas.cmdType, function(res) { | |||
| console.log("res申请",res) | |||
| implementCmd(datas.transOrderId,datas.cmd,res,datas.stepNo) | |||
| }, () => { | |||
| showModals('在线激活异常') | |||
| @@ -70,8 +70,8 @@ export function request(code, options = {}, start = false) { | |||
| } | |||
| options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
| // options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
| // options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
| options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
| //默认json数据格式提交` | |||
| let contentType = 'application/x-www-form-urlencoded' | |||