diff --git a/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue b/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue
index e437417..d410f61 100644
--- a/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue
+++ b/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue
@@ -227,7 +227,7 @@
}
else
{
- //showModelMessage("蓝牙未就绪");
+ showModelMessage("蓝牙未就绪");
}
},
fail(err) {
@@ -236,7 +236,7 @@
}
errmsg = "蓝牙未就绪";
- //showModelMessage("蓝牙未就绪");
+ showModelMessage("蓝牙未就绪");
}
});
@@ -269,6 +269,7 @@
else
{
api.callEbikeInfo("getBikeINfoData?bikeCode=" + blueTooth.value.bikeCode).then((res)=>{
+ console.log("EbikeInfo",res)
if(res.code == 200 && res.data){
if(res.data.ecuCode != ""){
blueTooth.value.ecuCode = res.data.ecuCode;
@@ -360,6 +361,7 @@
success(res) {
if(res.errno == 0){
uni.onBluetoothDeviceFound(function (res) {
+ console.log("onBluetoothDeviceFound",res)
const devices = res.devices;
for(let i=0;i < devices.length; i++){
if(devices[i].localName == sn){
@@ -373,14 +375,14 @@
}
});
setTimeout(function () {
- //showModelMessage("未发现蓝牙设备");
+ showModelMessage("未发现蓝牙设备");
//停止搜索
stopBluetoothDevicesDiscovery();
}, 120000);
}
},
fail(err) {
- //showModelMessage("未发现蓝牙设备");
+ showModelMessage("未发现蓝牙设备");
}
});
};
@@ -390,7 +392,7 @@
uni.createBLEConnection({
deviceId: blueTooth.value.deviceId,
success(res) {
- //console.log("createBLEConnection success",res);
+ console.log("createBLEConnection success",res);
blueTooth.value.blueState.load=='';
blueTooth.value.blueState.detectionState = "open";
blueTooth.value.blueState.msg = "已连接";
@@ -400,7 +402,7 @@
blueTooth.value.openBatteryHouse.btuDisabled = false;
blueTooth.value.closeBatteryHouse.btuDisabled = false;
uni.onBLEConnectionStateChange(function (res) {
- //console.log("onBLEConnectionStateChange",res);
+ console.log("onBLEConnectionStateChange",res);
if(!res.connected && blueTooth.value.autoBlueState){
blueTooth.value.blueState.btuDisabled = false;
blueTooth.value.openLock.btuDisabled = true;
@@ -415,7 +417,7 @@
startNotify();
},
fail(err) {
- //console.log("createBLEConnection err",err);
+ console.log("createBLEConnection err",err);
blueTooth.value.blueSignal = "-";
blueTooth.value.blueState.btuDisabled = false;
blueTooth.value.openLock.btuDisabled = true;
@@ -436,7 +438,7 @@
serviceId: serviceId,
characteristicId: characteristicId,
success(res) {
- //console.log("notifyBLECharacteristicValueChange success",res);
+ console.log("notifyBLECharacteristicValueChange success",res);
//stopDiscovery();
uni.onBLECharacteristicValueChange(function(res){
var hex = bufTohex(res.value);
diff --git a/ebike-operate/src/pages.js b/ebike-operate/src/pages.js
index d30cf45..cbf0498 100644
--- a/ebike-operate/src/pages.js
+++ b/ebike-operate/src/pages.js
@@ -74,6 +74,10 @@ const pages = [
path: '/OrgManage',
name: '品牌商管理',
isMenu: true
+ },{
+ path: '/PermManage',
+ name: '权限管理',
+ isMenu: true
}
]
}
diff --git a/ebike-operate/src/views/SysManage/PermManage/index.vue b/ebike-operate/src/views/SysManage/PermManage/index.vue
new file mode 100644
index 0000000..7d95145
--- /dev/null
+++ b/ebike-operate/src/views/SysManage/PermManage/index.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ebike-operate/src/views/form/permmanage/permform.vue b/ebike-operate/src/views/form/permmanage/permform.vue
new file mode 100644
index 0000000..9866f36
--- /dev/null
+++ b/ebike-operate/src/views/form/permmanage/permform.vue
@@ -0,0 +1,274 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+