Browse Source

1107,增加了WiFi人脸锁注册倒平台功能

master
xiaoheiiskinder 1 year ago
parent
commit
1668bfbc0d
4 changed files with 798 additions and 759 deletions
  1. +1
    -1
      dist/index.html
  2. +17
    -1
      src/api/allFun.js
  3. +2
    -2
      src/store/index.js
  4. +778
    -755
      src/views/doorLock.vue

+ 1
- 1
dist/index.html View File

@ -1 +1 @@
<!DOCTYPE html><html><head><meta http-equiv=Content-Language><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><title>智慧公寓管理系统</title><link href=/static/css/app.e9c51986e06635b087f180f710028da7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.14eb96a240a1cf78d936.js></script><script type=text/javascript src=/static/js/vendor.622945be597e735b1a7b.js></script><script type=text/javascript src=/static/js/app.da880979c4f33e43a1f2.js></script></body></html>
<!DOCTYPE html><html><head><meta http-equiv=Content-Language><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><title>智慧公寓管理系统</title><link href=/static/css/app.e9c51986e06635b087f180f710028da7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.14eb96a240a1cf78d936.js></script><script type=text/javascript src=/static/js/vendor.622945be597e735b1a7b.js></script><script type=text/javascript src=/static/js/app.2396f2a0bd95b309d91b.js></script></body></html>

+ 17
- 1
src/api/allFun.js View File

@ -169,7 +169,23 @@ export default class RequestSet {
httpPost(str, api.registerDeviceAll).then(res => { httpPost(str, api.registerDeviceAll).then(res => {
callback(res) callback(res)
}); });
} else {
} else if(data.manufactureId == 1241){
let str = {
data: {
deviceNum: data.deviceNum,
imei:data.imei,
order: 5101,
platformId: data.platformId,
manufactureId: data.manufactureId,
},
code: "/lwj/registerDevice",
enterpriseId: data.enterpriseId,
key: data.deviceNum
}
httpPost(str, api.sendCommand).then(res => {
callback(res)
});
} else {
var str = { var str = {
data: { data: {
deviceNum: data.deviceNum, deviceNum: data.deviceNum,


+ 2
- 2
src/store/index.js View File

@ -19,8 +19,8 @@ import moment from "moment"
const store = new Vuex.Store({ const store = new Vuex.Store({
state: { state: {
treeList:[], treeList:[],
// tenantId: '1200',
tenantId: '100',
tenantId: '1200',
// tenantId: '100',
selectoption: [], selectoption: [],
tagsList: [], tagsList: [],
cardList: [], cardList: [],


+ 778
- 755
src/views/doorLock.vue
File diff suppressed because it is too large
View File


Loading…
Cancel
Save