增加蓝牙设备人员信息登记上传

This commit is contained in:
liub
2025-09-16 14:51:23 +08:00
parent 778594574b
commit 6331190f0d
10 changed files with 481 additions and 394 deletions

View File

@ -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;
}