增加蓝牙设备人员信息登记上传
This commit is contained in:
@ -253,11 +253,9 @@
|
||||
request,
|
||||
baseURL
|
||||
} from '../../utils/request';
|
||||
import {
|
||||
registerPersonInfo
|
||||
} from '@/api/6170/deviceControl.js';
|
||||
|
||||
const pagePath = "pages/650/HBY650";
|
||||
|
||||
const pagePath = "pages/670/HBY670";
|
||||
var ble = null;
|
||||
var these = null;
|
||||
var recei = null;
|
||||
@ -1874,15 +1872,14 @@
|
||||
hideLoading(these);
|
||||
|
||||
|
||||
// let formdata = {
|
||||
// code: these.formData.usrid,
|
||||
// name: these.formData.usrname,
|
||||
// position: these.formData.job,
|
||||
// unitName: these.formData.company,
|
||||
// deviceId: these.device.id,
|
||||
// deviceImei: these.device.deviceImei
|
||||
// };
|
||||
// registerPersonInfo(formdata);
|
||||
let json = {
|
||||
deviceId: these.device.id,
|
||||
name: these.formData.company,
|
||||
position: these.formData.usrname,
|
||||
unitName: these.formData.job,
|
||||
code: these.formData.usrid
|
||||
};
|
||||
api.sendUsr(json)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user