Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DoorLock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
felix
DoorLock
Commits
6f2fbc0d
Commit
6f2fbc0d
authored
Dec 19, 2017
by
朱建香
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/zhujianxiang' into zjx
parents
4131d18c
98765389
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
224 additions
and
81 deletions
+224
-81
dev/src/public/public.js
+100
-23
dev/src/public/unotify.js
+54
-5
dev/src/view/addDevice/v_wifiAdd.js
+1
-1
dev/src/view/device/v_alarmInfo.js
+1
-1
dev/src/view/device/v_hijackRecord.js
+1
-1
dev/src/view/device/v_index.js
+8
-2
dev/src/view/device/v_opendoorRecord.js
+1
-1
dev/src/view/doorlockManage/v_index.js
+1
-1
dev/src/view/doorlockUsers/v_addUnlockInfo.js
+1
-1
dev/src/view/doorlockUsers/v_doorlockUser.js
+1
-1
dev/src/view/doorlockUsers/v_index.js
+1
-1
dev/src/view/doorlockUsers/v_inviteBind.js
+5
-1
dev/src/view/login/v_index.js
+8
-1
dev/src/view/myInfo/v_editNickname.js
+1
-1
dev/src/view/myInfo/v_index.js
+36
-36
web/resources/lang/en.json
+2
-2
web/resources/lang/zh.json
+2
-2
No files found.
dev/src/public/public.js
View file @
6f2fbc0d
...
@@ -108,6 +108,45 @@ uPublic.closeSlideBack = function (){
...
@@ -108,6 +108,45 @@ uPublic.closeSlideBack = function (){
});
});
}
}
//logout退出
uPublic
.
logout
=
function
(
opts
){
iot
.
business
.
user
.
logout
({
data
:
opts
.
data
,
success
:
(
response
)
=>
{
console
.
log
(
"sdsLogout:"
+
response
);
var
sdsResponse
=
response
;
iot
.
business
.
api
.
send
(
'user/logout'
,{
data
:
{
key
:
[
'clienId'
]
},
success
:
(
response
)
=>
{
console
.
log
(
"logout"
+
response
)
iot
.
business
.
websql
.
delMaps
([
'utoken'
,
'userinfo'
],
(
response
)
=>
{
iot
.
storage
.
delMaps
([
'notifyTime'
,
'alarmTime'
,
'openTime'
],
(
response
)
=>
{
console
.
log
(
"clearMap"
+
response
);
opts
.
success
(
sdsResponse
);
},
(
error
)
=>
{
opts
.
error
(
error
);
});
},
(
error
)
=>
{
opts
.
error
(
error
);
});
},
error
:
(
error
)
=>
{
opts
.
error
(
error
);
},
complete
:
()
=>
{
opts
.
complete
();
}
},
true
,
false
);
},
error
:
(
error
)
=>
{
opts
.
error
(
error
);
},
complete
:
()
=>
{}
});
}
iot
.
ready
(()
=>
{
iot
.
ready
(()
=>
{
uPublic
.
recalc
();
uPublic
.
recalc
();
});
});
...
@@ -147,15 +186,20 @@ iot.navigator.trigger = function (element, eventType, eventData) {
...
@@ -147,15 +186,20 @@ iot.navigator.trigger = function (element, eventType, eventData) {
};
};
iot
.
navigator
.
closeAllBesidesItself
=
function
()
{
iot
.
navigator
.
closeAllBesidesItself
=
function
()
{
setTimeout
(
function
()
{
var
wvs
=
plus
.
webview
.
all
();
var
wvs
=
plus
.
webview
.
all
();
var
curWb
=
plus
.
webview
.
currentWebview
();
var
page
=
plus
.
webview
.
currentWebview
();
for
(
var
i
=
0
;
i
<
wvs
.
length
-
1
;
i
++
)
{
for
(
var
i
=
0
;
i
<
wvs
.
length
;
i
++
)
{
if
(
wvs
[
i
].
id
!=
curWb
.
id
)
{
if
(
wvs
[
i
].
id
!=
page
.
id
&&
wvs
[
i
])
{
wvs
[
i
].
close
();
// wvs[i].close();
plus
.
webview
.
close
(
wvs
[
i
],
"none"
,
0
,{});
}
}
}
}
var
wvs
=
plus
.
webview
.
all
();
},
500
);
}
}
iot
.
navigator
.
closeAll
=
function
(){
iot
.
navigator
.
closeAll
=
function
(){
var
wvs
=
plus
.
webview
.
all
();
var
wvs
=
plus
.
webview
.
all
();
var
curWb
=
plus
.
webview
.
currentWebview
();
var
curWb
=
plus
.
webview
.
currentWebview
();
...
@@ -165,9 +209,13 @@ iot.navigator.closeAll = function (){
...
@@ -165,9 +209,13 @@ iot.navigator.closeAll = function (){
}
}
iot
.
ready
(
function
(){
iot
.
ready
(
function
(){
//
plus.key.addEventListener('backbutton',iot.navigator.aback,false);
plus
.
key
.
addEventListener
(
'backbutton'
,
iot
.
navigator
.
aback
,
false
);
})
})
iot
.
navigator
.
aback
=
function
(){
mui
.
back
();
}
var
__back__first
=
null
;
var
__back__first
=
null
;
mui
.
back
=
function
(){
mui
.
back
=
function
(){
...
@@ -223,20 +271,22 @@ mui.back = function(){
...
@@ -223,20 +271,22 @@ mui.back = function(){
}
}
}
}
iot
.
navigator
.
getCurrentWebView
=
function
(){
iot
.
navigator
.
getCurrentWebView
=
function
(){
return
plus
.
webview
.
currentWebview
();
return
plus
.
webview
.
currentWebview
();
}
}
function
requestsend
(
url
,
opts
,
i
){
opts
.
success
(
i
);
}
function
clearTime
(
interval
,
timeout
){
window
.
clearInterval
(
interval
);
window
.
clearTimeout
(
timeout
);
}
//function requestsend(url, opts, i){
// let data = [0,0,0,0,0,0,0,1,0,0,0];
// opts.success(data[i]);
//}
//
//function clearTime(interval, timeout){
// window.clearInterval(interval);
// window.clearTimeout(timeout);
//}
//
//uComponents.loop = function(request, timeout, interval, fincb, stopcondition){
//uComponents.loop = function(request, timeout, interval, fincb, stopcondition){
// var handle = null;
// var handle = null;
// var time = null;
// var time = null;
...
@@ -246,7 +296,22 @@ function clearTime(interval, timeout){
...
@@ -246,7 +296,22 @@ function clearTime(interval, timeout){
// var intervalcb = interval.opts;
// var intervalcb = interval.opts;
// var flag = true;
// var flag = true;
// var i = 0;
// var i = 0;
//
// time = setTimeout(function(){
// clearTime(handle, time);
// intervalcb.error('timeout');
// fincb.error('timeout');
// },timeout);
// //一开始执行一次,发送一次请求
// requestsend(url, {
// data: {},
// success: (response) => {
// intervalcb.success(response);
// if(stopcondition(response)){
// //首次请求结果符合条件的话,结束整个方法
// fincb.success(response);
// clearTime(handle, time);
// }else{
// //首次请求结果不符合条件的话,每隔intervalTime时间发送请求
// handle = setInterval(() => {
// handle = setInterval(() => {
// i++;
// i++;
// console.log(i);
// console.log(i);
...
@@ -263,20 +328,32 @@ function clearTime(interval, timeout){
...
@@ -263,20 +328,32 @@ function clearTime(interval, timeout){
// flag = true;
// flag = true;
// },
// },
// error: (error) => {
// error: (error) => {
//
intervalcb.success(response
);
//
intervalcb.error(error
);
//
fincb.success
(error);
//
fincb.error
(error);
// clearTime(handle, time);
// clearTime(handle, time);
// },
// },
// complete: {}
// complete: {}
// }, i);
// }, i);
// }
// }
// },intervalTime);
// },intervalTime);
//
// }
// time = setTimeout(function(){
// },
// error: (error) => {
// intervalcb.error(error);
// fincb.error(error);
// clearTime(handle, time);
// clearTime(handle, time);
// },timeout);
// },
// complete: {}
// }, 0);
//
//}
//}
//
//
////传递的参数依次是:
////1.request: 请求参数(数据类型: map,包括:url、header等);
////2.timeout: 整个方法的超时时间;
////3.interval: 发送请求的间隔时间、callback;
////4.fincb: 整个方法的callback;
////5.stopcondition: 请求停止所要符合的条件
//uComponents.loop({url:'getLockInfo',opts: {
//uComponents.loop({url:'getLockInfo',opts: {
// success: (response) => {
// success: (response) => {
// console.log(response);
// console.log(response);
...
@@ -284,14 +361,14 @@ function clearTime(interval, timeout){
...
@@ -284,14 +361,14 @@ function clearTime(interval, timeout){
// error: (error) => {
// error: (error) => {
// console.log(error);
// console.log(error);
// }
// }
//}},
10
000, {
//}},
8
000, {
// delay: 1000,
// delay: 1000,
// opts: {
// opts: {
// success: (response) => {
// success: (response) => {
// console.log('intervalcbSuccess:'+response);
// console.log('intervalcbSuccess:'+response);
// },
// },
// error: (error) => {
// error: (error) => {
// console.log(error);
// console.log(
'intervalcbSuccess:'+
error);
// }
// }
// }
// }
//}, {
//}, {
...
@@ -299,10 +376,10 @@ function clearTime(interval, timeout){
...
@@ -299,10 +376,10 @@ function clearTime(interval, timeout){
// console.log('fincbSuccess:'+response);
// console.log('fincbSuccess:'+response);
// },
// },
// error: (error) => {
// error: (error) => {
// console.log(error);
// console.log(
'fincbError'+
error);
// }
// }
//}, (response) => {
//}, (response) => {
// if(response ==
5
){
// if(response ==
1
){
// return true;
// return true;
// }else{
// }else{
// return false;
// return false;
...
...
dev/src/public/unotify.js
View file @
6f2fbc0d
...
@@ -3,12 +3,19 @@
...
@@ -3,12 +3,19 @@
* unotify
* unotify
*/
*/
class
unotify
{
class
unotify
{
//在一个周期内获取cid
static
async
getCid
(
successCallback
,
errorCallback
){
static
async
getCid
(
successCallback
,
errorCallback
){
var
a
=
null
;
var
cid
=
null
;
try
{
try
{
a
=
await
this
.
getCidPeriotic
(
3
);
//利用promise,直到执行完代码再获取cid
cid
=
await
this
.
getCidPeriotic
(
3
);
//获取后,在缓存中存储cid
if
(
typeof
successCallback
==
'function'
){
if
(
typeof
successCallback
==
'function'
){
successCallback
(
a
);
iot
.
storage
.
setMap
(
'clientId'
,
cid
,
(
res
)
=>
{
console
.
log
(
"已成功保存cid"
+
cid
);
successCallback
(
cid
);
},
()
=>
{
});
}
}
}
}
catch
(
err
){
catch
(
err
){
...
@@ -18,6 +25,7 @@ class unotify{
...
@@ -18,6 +25,7 @@ class unotify{
}
}
}
}
}
}
//周期性获取cid,周期可调整
static
getCidPeriotic
(
times
){
static
getCidPeriotic
(
times
){
var
self
=
this
;
var
self
=
this
;
return
new
Promise
(
function
(
resolve
,
reject
){
return
new
Promise
(
function
(
resolve
,
reject
){
...
@@ -26,14 +34,16 @@ class unotify{
...
@@ -26,14 +34,16 @@ class unotify{
var
handle
=
null
;
var
handle
=
null
;
i
++
;
i
++
;
cid
=
self
.
getCidOnce
(
i
);
cid
=
self
.
getCidOnce
(
i
);
if
(
cid
!=
null
||
i
>=
times
){
console
.
log
(
"第"
+
i
+
"次"
+
"获取的cid为"
+
cid
);
if
(
cid
!=
null
&&
cid
!=
'null'
||
i
>=
times
){
window
.
clearInterval
(
handle
);
window
.
clearInterval
(
handle
);
resolve
(
cid
);
resolve
(
cid
);
}
else
{
}
else
{
handle
=
setInterval
(
function
(){
handle
=
setInterval
(
function
(){
i
++
;
i
++
;
cid
=
self
.
getCidOnce
(
i
);
cid
=
self
.
getCidOnce
(
i
);
if
(
cid
!=
null
||
i
>=
times
){
console
.
log
(
"第"
+
i
+
"次"
+
"获取的cid为"
+
cid
);
if
(
cid
!=
null
&&
cid
!=
'null'
||
i
>=
times
){
window
.
clearInterval
(
handle
);
window
.
clearInterval
(
handle
);
resolve
(
cid
);
resolve
(
cid
);
}
}
...
@@ -41,13 +51,51 @@ class unotify{
...
@@ -41,13 +51,51 @@ class unotify{
}
}
});
});
}
}
//单次获取cid
static
getCidOnce
(
i
){
static
getCidOnce
(
i
){
var
clientInfo
=
plus
.
push
.
getClientInfo
();
var
clientInfo
=
plus
.
push
.
getClientInfo
();
if
(
clientInfo
&&
clientInfo
.
hasOwnProperty
(
'clientid'
)
&&
clientInfo
.
clientid
){
if
(
clientInfo
&&
clientInfo
.
hasOwnProperty
(
'clientid'
)
&&
clientInfo
.
clientid
){
// if(i == 6){
return
(
clientInfo
.
clientid
);
return
(
clientInfo
.
clientid
);
// }else{
// return(null);
// }
}
else
{
}
else
{
return
(
null
);
return
(
null
);
}
}
}
}
//长期不断循环获取cid,并更新cid
// static async getCid(successCallback, errorCallback){
// var cid = null;
// var oldCid = null;
// try{
// cid = await this.getCidPeriotic(9);
// if(cid != null && cid != oldCid){
// successCallback('cid updateSuccess');
// iot.business.api.send('user/updateCid',{
// data: {
// clienId: cid
// },
// success: (response) => {
// if(typeof successCallback == 'function'){
// uccessCallback('cid updateSuccess');
// }
// },
// error: (error) => {
// console.log(error);
// errorCallback(error);
// }
// }, true, false);
// }else{
// successCallback('cid not updated');
// }
// }
// catch (err){
// console.log(err);
// if(typeof errorCallback == 'function'){
// errorCallback(err);
// }
// }
// }
}
}
export
default
unotify
;
export
default
unotify
;
\ No newline at end of file
dev/src/view/addDevice/v_wifiAdd.js
View file @
6f2fbc0d
...
@@ -135,7 +135,7 @@ function passwordChange(self,text){
...
@@ -135,7 +135,7 @@ function passwordChange(self,text){
console
.
log
(
'passwordChange: '
+
self
.
textPassword
);
console
.
log
(
'passwordChange: '
+
self
.
textPassword
);
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{
});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{
});
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
}
}
...
...
dev/src/view/device/v_alarmInfo.js
View file @
6f2fbc0d
...
@@ -149,7 +149,7 @@ function backTap(){
...
@@ -149,7 +149,7 @@ function backTap(){
iot
.
navigator
.
aback
();
iot
.
navigator
.
aback
();
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
"fire"
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
...
...
dev/src/view/device/v_hijackRecord.js
View file @
6f2fbc0d
...
@@ -170,7 +170,7 @@ function backTap(){
...
@@ -170,7 +170,7 @@ function backTap(){
iot
.
navigator
.
aback
();
iot
.
navigator
.
aback
();
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
"fire"
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
...
...
dev/src/view/device/v_index.js
View file @
6f2fbc0d
...
@@ -18,6 +18,9 @@ function init() {
...
@@ -18,6 +18,9 @@ function init() {
uPublic
.
closeSlideBack
();
uPublic
.
closeSlideBack
();
//通用 图片轮播、跑马灯、开关、按钮、dialog、loading组件
//通用 图片轮播、跑马灯、开关、按钮、dialog、loading组件
uPublic
.
componentsInit
([
'u-carousel'
,
'u-marquee'
,
'u-switch'
,
'u-button'
,
'u-dialog'
,
'u-loading'
,
'u-text'
,
'u-comm-loading'
]);
uPublic
.
componentsInit
([
'u-carousel'
,
'u-marquee'
,
'u-switch'
,
'u-button'
,
'u-dialog'
,
'u-loading'
,
'u-text'
,
'u-comm-loading'
]);
if
(
iot
.
navigator
.
getExtras
().
needClose
){
iot
.
navigator
.
closeAllBesidesItself
();
}
const
app
=
new
Vue
({
const
app
=
new
Vue
({
data
:{
data
:{
//开门记录
//开门记录
...
@@ -101,9 +104,9 @@ function init() {
...
@@ -101,9 +104,9 @@ function init() {
remoteTime
:
null
remoteTime
:
null
},
},
mounted
(){
mounted
(){
uComponents
.
showLoading
(
this
);
notificationListener
(
this
);
notificationListener
(
this
);
let
self
=
this
;
let
self
=
this
;
iot
.
navigator
.
closeAllBesidesItself
();
//获取设备信息
//获取设备信息
getDevices
(
this
);
getDevices
(
this
);
//注册监听上报
//注册监听上报
...
@@ -482,6 +485,7 @@ function getDevices(self){
...
@@ -482,6 +485,7 @@ function getDevices(self){
self
.
hijackAlarmFlag
=
false
;
self
.
hijackAlarmFlag
=
false
;
self
.
setRemoteOpendoorDisabledFlag
(
true
);
self
.
setRemoteOpendoorDisabledFlag
(
true
);
self
.
setValueRemoteOpendoor
(
0
);
self
.
setValueRemoteOpendoor
(
0
);
uComponents
.
hideLoading
(
self
);
}
}
},
},
error
:
(
error
)
=>
{
error
:
(
error
)
=>
{
...
@@ -493,7 +497,8 @@ function getDevices(self){
...
@@ -493,7 +497,8 @@ function getDevices(self){
iotDebug
.
upload
(
iot
,
'获取设备信息'
);
iotDebug
.
upload
(
iot
,
'获取设备信息'
);
}
}
uPublic
.
openRequestErrorAlert
(
self
);
uPublic
.
openRequestErrorAlert
(
self
);
}
},
complete
:
()
=>
{}
});
});
}
}
...
@@ -714,6 +719,7 @@ function getLockInfo(self){
...
@@ -714,6 +719,7 @@ function getLockInfo(self){
console
.
log
(
error
);
console
.
log
(
error
);
},
},
complete
:
()
=>
{
complete
:
()
=>
{
uComponents
.
hideLoading
(
self
);
}
}
});
});
}
}
...
...
dev/src/view/device/v_opendoorRecord.js
View file @
6f2fbc0d
...
@@ -107,7 +107,7 @@ function backTap(){
...
@@ -107,7 +107,7 @@ function backTap(){
iot
.
navigator
.
aback
();
iot
.
navigator
.
aback
();
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
"fire"
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
...
...
dev/src/view/doorlockManage/v_index.js
View file @
6f2fbc0d
...
@@ -262,7 +262,7 @@ function backTap(){
...
@@ -262,7 +262,7 @@ function backTap(){
iot
.
navigator
.
aback
();
iot
.
navigator
.
aback
();
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
"fire"
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
...
...
dev/src/view/doorlockUsers/v_addUnlockInfo.js
View file @
6f2fbc0d
...
@@ -290,7 +290,7 @@ function sleep(time){
...
@@ -290,7 +290,7 @@ function sleep(time){
})
})
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
}
}
...
...
dev/src/view/doorlockUsers/v_doorlockUser.js
View file @
6f2fbc0d
...
@@ -292,7 +292,7 @@ function setUserInfo(self, data){
...
@@ -292,7 +292,7 @@ function setUserInfo(self, data){
self
.
setUnbindShowFlag
(
data
.
user_id
?
true
:
false
);
self
.
setUnbindShowFlag
(
data
.
user_id
?
true
:
false
);
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
let
opener
=
plus
.
webview
.
currentWebview
().
opener
();
let
opener
=
plus
.
webview
.
currentWebview
().
opener
();
if
(
opener
.
id
==
'addUser'
){
if
(
opener
.
id
==
'addUser'
){
opener
.
close
();
opener
.
close
();
...
...
dev/src/view/doorlockUsers/v_index.js
View file @
6f2fbc0d
...
@@ -209,7 +209,7 @@ function backTap(){
...
@@ -209,7 +209,7 @@ function backTap(){
iot
.
navigator
.
aback
();
iot
.
navigator
.
aback
();
}
}
iot
.
navigator
.
a
back
=
function
(){
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
"fire"
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
...
...
dev/src/view/doorlockUsers/v_inviteBind.js
View file @
6f2fbc0d
...
@@ -77,8 +77,12 @@ function initComponentsConfig() {
...
@@ -77,8 +77,12 @@ function initComponentsConfig() {
//tap <
//tap <
function
backTap
(){
function
backTap
(){
iot
.
navigator
.
aback
();
}
mui
.
back
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{});
console
.
log
(
'returnPage'
);
console
.
log
(
"fire"
);
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
}
}
...
...
dev/src/view/login/v_index.js
View file @
6f2fbc0d
...
@@ -15,6 +15,10 @@ function init() {
...
@@ -15,6 +15,10 @@ function init() {
//通用 dialog、loading组件
//通用 dialog、loading组件
uPublic
.
componentsInit
([
'u-dialog'
,
'u-loading'
,
'u-button'
]);
uPublic
.
componentsInit
([
'u-dialog'
,
'u-loading'
,
'u-button'
]);
uPublic
.
closeSlideBack
();
uPublic
.
closeSlideBack
();
//是否需要关闭其他页面
if
(
iot
.
navigator
.
getExtras
().
needClose
){
iot
.
navigator
.
closeAllBesidesItself
();
}
const
app
=
new
Vue
({
const
app
=
new
Vue
({
data
:{
data
:{
//配置组件
//配置组件
...
@@ -193,7 +197,10 @@ function cloudsLogin(self, id){
...
@@ -193,7 +197,10 @@ function cloudsLogin(self, id){
iot
.
business
.
websql
.
setMaps
(
infoArray
,
()
=>
{
iot
.
business
.
websql
.
setMaps
(
infoArray
,
()
=>
{
iot
.
navigator
.
openWindow
({
iot
.
navigator
.
openWindow
({
url
:
'../device/index.html'
,
url
:
'../device/index.html'
,
id
:
'device'
id
:
'device'
,
extras
:
{
needClose
:
true
}
});
});
},
(
error
)
=>
{
},
(
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
dev/src/view/myInfo/v_editNickname.js
View file @
6f2fbc0d
...
@@ -108,7 +108,7 @@ function saveTap(self){
...
@@ -108,7 +108,7 @@ function saveTap(self){
}
}
}
}
iot
.
navigator
.
aback
=
function
(){
mui
.
back
()
=
function
(){
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{
});
iot
.
navigator
.
fire
(
plus
.
webview
.
currentWebview
().
opener
(),
'returnPage'
,{
});
iot
.
navigator
.
back
();
iot
.
navigator
.
back
();
}
}
...
...
dev/src/view/myInfo/v_index.js
View file @
6f2fbc0d
...
@@ -108,12 +108,6 @@ function getInfo(self){
...
@@ -108,12 +108,6 @@ function getInfo(self){
},
},
error
:
(
error
)
=>
{
error
:
(
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
// if(window.iotDebug){
// iotDebug.push('end: 获取用户信息'+JSON.stringify(error));
// }
// if (window.iotDebug) {
// iotDebug.upload(iot,'获取用户信息');
// }
uPublic
.
openRequestErrorAlert
(
self
);
uPublic
.
openRequestErrorAlert
(
self
);
},
},
complete
:
()
=>
{}
complete
:
()
=>
{}
...
@@ -125,49 +119,55 @@ function logoutButtonTap(self){
...
@@ -125,49 +119,55 @@ function logoutButtonTap(self){
uComponents
.
openConfirm
(
self
,
Vue
.
t
(
'myInfo.logoutDialogTip'
),
uComponents
.
openConfirm
(
self
,
Vue
.
t
(
'myInfo.logoutDialogTip'
),
{
text
:
Vue
.
t
(
'dialog.cancel'
),
callback
:
function
()
{}},
{
text
:
Vue
.
t
(
'dialog.cancel'
),
callback
:
function
()
{}},
{
text
:
Vue
.
t
(
'dialog.confirm'
),
callback
:
function
()
{
{
text
:
Vue
.
t
(
'dialog.confirm'
),
callback
:
function
()
{
// uPublic.logout({
// data: {
// sds: true
// },
// success: (response) => {
// console.log(response);
// iot.navigator.openWindow({
// url: '../login/index.html',
// id: 'login',
// extras: {
// needClose: true
// }
// });
// },
// error: (error) => {
// console.log(error);
// },
// complete: () => {}
// });
iot
.
business
.
user
.
logout
({
iot
.
business
.
user
.
logout
({
data
:
{
data
:
{},
sds
:
true
},
success
:
(
response
)
=>
{
success
:
(
response
)
=>
{
console
.
log
(
"sdsLogout:"
+
response
);
let
sdsResponse
=
response
;
iot
.
business
.
websql
.
delMaps
([
'utoken'
,
'userinfo'
],
(
response
)
=>
{
iot
.
business
.
websql
.
delMaps
([
'utoken'
,
'userinfo'
],
(
response
)
=>
{
console
.
log
(
response
);
iot
.
storage
.
delMaps
([
'notifyTime'
,
'alarmTime'
,
'openTime'
],
(
response
)
=>
{
console
.
log
(
"clearMap"
+
response
);
//打开首页
iot
.
navigator
.
openWindow
({
url
:
'../login/index.html'
,
id
:
'login'
,
extras
:
{
needClose
:
true
}
});
},
(
error
)
=>
{
},
(
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
// if(window.iotDebug){
// iotDebug.push('end: 清除tocken失败'+JSON.stringify(error));
// }
// if (window.iotDebug) {
// iotDebug.upload(iot,'清除tocken失败');
// }
uPublic
.
openRequestErrorAlert
(
self
);
uPublic
.
openRequestErrorAlert
(
self
);
});
});
iot
.
storage
.
delMaps
([
'notifyTime'
,
'alarmTime'
,
'openTime'
],
(
response
)
=>
{
},
(
error
)
=>
{
console
.
log
(
response
);
console
.
log
(
error
);
},
()
=>
{
uPublic
.
openRequestErrorAlert
(
self
);
});
iot
.
navigator
.
openWindow
({
url
:
'../login/index.html'
,
id
:
'login'
});
});
let
wvs
=
plus
.
webview
.
all
();
for
(
var
i
=
0
;
i
<
wvs
.
length
-
1
;
i
++
)
{
plus
.
webview
.
close
(
wvs
[
i
]);
}
},
},
error
:
(
error
)
=>
{
error
:
(
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
if
(
window
.
iotDebug
){
iotDebug
.
push
(
'end: 退出登陆失败'
+
JSON
.
stringify
(
error
));
}
if
(
window
.
iotDebug
)
{
iotDebug
.
upload
(
iot
,
'退出登陆失败'
);
}
uPublic
.
openRequestErrorAlert
(
self
);
uPublic
.
openRequestErrorAlert
(
self
);
},
},
complete
:
()
=>
{
complete
:
()
=>
{}
console
.
log
(
"complete"
);
}
});
});
}}
}}
);
);
...
...
web/resources/lang/en.json
View file @
6f2fbc0d
{
"loading"
:
"loading..."
,
"scroll"
:{
"clickToLoadMore"
:
"点击加载更多"
,
"loading"
:
"loading..."
},
"btn"
:{
"confirm"
:
"确定"
,
"guideLogin"
:
"账号/密码登录"
,
"login"
:
"登录"
,
"getCode"
:
"获取验证码"
,
"register"
:
"注册"
,
"logout"
:
"退出系统"
,
"save"
:
"保存"
,
"qrcode"
:
"生成二维码"
,
"wifiAdd"
:
"开始配置Wi-Fi"
,
"connect"
:
"连接"
,
"bindUser"
:
"绑定姓名"
,
"bind"
:
"我要绑定"
,
"reBound"
:
"请重新绑定"
,
"saveQRcode"
:
"保存二维码到相册"
,
"unbind"
:
"解绑"
,
"deleteUser"
:
"删除该用户"
,
"qrcodeReset"
:
"重新生成二维码"
,
"add"
:
"添加"
,
"next"
:
"下一步"
,
"iSee"
:
"我知道了"
,
"unbindDoorlock"
:
"解绑门锁"
},
"dialog"
:{
"confirm"
:
"确认"
,
"cancel"
:
"取消"
,
"unbind"
:
"解绑"
,
"delete"
:
"删除"
},
"title"
:{
"login"
:
"登录"
,
"register"
:
"注册"
,
"forgetPassword"
:
"忘记密码"
,
"device"
:
"U智锁"
,
"opendoorRecord"
:
"开门记录"
,
"alarmInfo"
:
"报警信息"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackRecord"
:
"劫持记录"
,
"doorlockManage"
:
"门锁管理"
,
"editName"
:
"修改名称"
,
"qrcode"
:
"生成绑定二维码"
,
"addDevice"
:
"添加设备"
,
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAddHelp"
:
"配置Wi-Fi"
,
"wifiAdd"
:
"连接Wi-Fi"
,
"bindUserHelp"
:
"ID-姓名绑定"
,
"bindUser"
:
"绑定用户"
,
"userList"
:
"用户列表"
,
"doorlockUser"
:
"门锁用户"
,
"addUser"
:
"添加用户"
,
"inviteBind"
:
"邀请绑定"
,
"unlockInfo"
:
"关联开锁信息"
,
"myInfo"
:
"个人信息"
,
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"addUnlockInfo"
:
"关联开锁ID"
,
"deviceList"
:
"产品型号"
},
"guide"
:{
"footer"
:
"指纹改变生活"
},
"login"
:{
"telInputTip"
:
"请输入手机号"
,
"passwordInputTip"
:
"请输入密码"
,
"register"
:
"快速注册"
,
"forgetPassword"
:
"忘记密码"
,
"failure"
:
"登陆失败"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"passWordNull"
:
"请输入密码"
}},
"register"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"forgetPassword"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"device"
:{
"opendoorRecord"
:
"开门记录"
,
"securityAlarm"
:
"安全报警"
,
"doorlockUser"
:
"门锁用户"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackAlarm"
:
"劫持报警"
,
"doorlockManage"
:
"门锁管理"
,
"followTitle"
:
"关注服务号"
,
"followCont1"
:
"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧"
,
"followCont2"
:
"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注"
,
"laterFollow"
:
"稍后关注"
,
"newMsgDoorlock"
:
"门锁最新消息"
,
"doorLockRinging"
:
"门铃响了"
,
"defaultNewMsg"
:
"您尚未绑定门锁"
,
"noNewMsg"
:
"门锁休息中"
,
"bindDoorlock"
:
"绑定门锁"
},
"opendoorRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"passwordOpenDoor"
:
"密码开门"
,
"fingerprintOpenDoor"
:
"指纹开门"
,
"ICcardOpenDoor"
:
"IC卡开门"
,
"remoteOpenDoor"
:
"遥控器开门"
,
"keyOpenDoor"
:
"钥匙开门"
,
"hijackingAlarm"
:
"劫持报警"
,
"appRemoteOpenDoor"
:
"app远程开门"
},
"alarmInfo"
:{
"noInfoTip"
:
"暂无信息"
,
"tamperAlarm"
:
"防撬报警"
,
"trialAlarm"
:
"试错报警"
,
"powerAlarm"
:
"欠电报警"
},
"remoteOpendoor"
:{
"loading"
:
"远程开门中"
,
"passwordInputTip"
:
"请输入远程开门密码"
,
"openDoorSuccess"
:
"远程开门成功"
,
"openDoorFailure"
:
"远程开门失败"
,
"remoteTimeout"
:
"远程开门超时"
,
"remoteOpendoorAgain"
:
"请尝试重试"
,
"error"
:{
"noPasswordTip"
:
"远程密码不能为空"
}},
"hijackRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"hijackingAlarm"
:
"劫持指纹报警"
},
"doorlockManage"
:{
"name"
:
"名称"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
,
"defaultNickname"
:
"门锁"
,
"isClearRecord"
:
"清除所有信息"
,
"unbindSuccess"
:
"解绑成功"
,
"doorbellMsgPush"
:
"门铃消息推送"
,
"alarmMsgPush"
:
"报警消息推送"
,
"opendoorMsgPush"
:
"开门消息推送"
,
"unbindDialogTip"
:
"确认解除绑定"
,
"unbindFailue"
:
"解绑失败"
},
"editName"
:{
"nameInputTip"
:
"请输入设备名称"
,
"nickNameInputTip"
:
"请输入用户名"
,
"editNameSuccess"
:
"修改名称成功"
,
"editNameFailue"
:
"修改名称失败"
,
"error"
:{
"nameCanNotBeBlank"
:
"设备名称不能为空"
,
"nicknameCanNotBeBlank"
:
"用户名不能为空"
}},
"qrcode"
:{
"helpTitle"
:
"注意事项:"
,
"helpCont1"
:
"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码"
,
"helpCont2"
:
"2.二维码有效时间为10分钟且只能使用一次"
,
"helpCont3"
:
"3.用户只需要扫描该二维码即可绑定指纹锁"
,
"helpCont4"
:
"4.绑定失败则需要重新生成二维码进行绑定"
},
"addDevice"
:{
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAdd"
:
"配置Wi-Fi"
,
"loading"
:
"loading"
,
"bindSuccess"
:
"绑定成功"
,
"bindFailure"
:
"绑定失败"
,
"reBindDevice"
:
"请重新绑定"
},
"wifiAddHelp"
:{
"helpTitle"
:
"配置WIFI说明:"
,
"helpCont1"
:
"1.确认设备端进入配网模式(详情操作请见产品说明书)"
,
"helpCont2"
:
"2.点击页面下方“开始配置Wi-Fi”按钮,进入WiFi配网页面"
,
"helpCont3"
:
"3.输入Wi-Fi密码,点击“连接”,等待锁端响应,至配网成功。"
,
"helpCont4"
:
"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"
},
"wifiAdd"
:{
"unbindWifiTip"
:
"当前无Wi-Fi"
,
"wifiBinding"
:
"配网中"
,
"wifiBindSuccess"
:
"配网成功,请激活设备"
,
"deviceActivating"
:
"设备激活中"
,
"deviceActivateSuccess"
:
"激活成功"
,
"deviceActivateFailure"
:
"激活失败"
,
"bindTimeout"
:
"连接超时"
,
"passwordInputTip"
:
"请输入Wi-Fi密码"
,
"remindTitle"
:
"配置Wi-Fi提醒:"
,
"remindCont1"
:
"1. 请确保Wi-Fi信号良好"
,
"remindCont2"
:
"2. 本产品暂不支持5GHz无线网络"
,
"error"
:{}},
"bindUserHelp"
:{
"helpTitle"
:
"配对姓名说明:"
,
"helpCont1"
:
"1.在指纹锁上录入指纹、密码、卡并获得相应ID"
,
"helpCont2"
:
"2.通过姓名绑定将该ID绑定对应用户姓名"
,
"helpCont3"
:
"3.绑定成功后,开门记录中将会显示已绑定的用户姓名"
,
"helpCont4"
:
"4.用户姓名信息只保存在APP端,不影响锁端设置"
,
"boundUser"
:
"查看已绑定ID姓名"
},
"bindUser"
:{
"editHeadTip"
:
"点击编辑用户头像"
,
"nameTitle"
:
"姓名"
,
"fingerprintIDTitle"
:
"指纹ID"
,
"passwordIDTitle"
:
"密码ID"
,
"ICCardIDTitle"
:
"IC卡ID"
,
"requiredInputTip"
:
"(必填)"
,
"optionalInputTip"
:
"(选填)"
,
"error"
:{}},
"commstatusLoading"
:{
"connectSuccess"
:
"Wi-Fi连接成功,正在绑定..."
,
"bindSuccess"
:
"绑定成功"
,
"bindFailed"
:
"绑定失败"
},
"userList"
:{
"name"
:
"昵称:"
,
"noUserTip"
:
"暂无用户"
,
"defaultName"
:
"管理员"
,
"binded"
:
"已绑定"
,
"unbind"
:
"未绑定"
},
"addUser"
:{
"nameInputTip"
:
"请输入您想添加的用户名"
,
"addUserSuccess"
:
"添加用户成功"
,
"addUserFailure"
:
"添加用户失败"
,
"error"
:{
"nameCanNotEmpty"
:
"用户名不能为空"
}},
"doorlockUser"
:{
"name"
:
"昵称:"
,
"inviteBind"
:
"邀请绑定"
,
"bindUnlockInfo"
:
"关联开锁信息"
,
"opendoorRecord"
:
"历史开门记录"
,
"unbindDialogTip"
:
"<span></span>解绑后,该用户不能对门锁下的信息进行查看"
,
"deleteUserDialogTip"
:
"删除后,用户对应的开锁id取消关联,同时失去信息查看权限。"
,
"unbindSuccess"
:
"解绑成功"
,
"unbindFailue"
:
"解绑失败"
,
"guideStep1Tip1"
:
"邀请绑定成功"
,
"guideStep1Tip2"
:
"(可查看开门记录,报警记录等<br>相关门锁信息)"
,
"guideStep3Tip"
:
"绑定后看可了解<br>该用户的开门情况"
,
"deleteSuccess"
:
"删除成功"
,
"deleteFailure"
:
"删除失败"
,
"defaultName"
:
"管理员"
},
"inviteBind"
:{
"qrcodeExpireTip"
:
"二维码已过期,请重新生成"
,
"title"
:
"注意事项:"
,
"cont1"
:
"1.被邀请的用户选择添加设备页面中的扫二维码方式进行添加门锁"
,
"cont2"
:
"2.长按二维码保存为图片,发送给被邀请用户,用户通过长按识别二维码"
,
"cont3"
:
"3.有效时间10分钟,失效后请点击“重新生成二维码"
},
"unlockInfo"
:{
"bindUnlockInfo"
:
"已关联的开锁信息"
,
"noInfoTip"
:
"当前无绑定开锁ID,请添加"
,
"passwordOpenDoor"
:
"密码"
,
"fingerprintOpenDoor"
:
"指纹"
,
"ICcardOpenDoor"
:
"IC卡"
,
"remoteOpenDoor"
:
"遥控器"
,
"keyOpenDoor"
:
"钥匙"
,
"appRemoteOpenDoor"
:
"app远程"
,
"hijackingAlarm"
:
"劫持指纹"
,
"setHijack"
:
"设为劫持"
,
"setHijackTip"
:
"确认设为劫持指纹?"
,
"cancelHijack"
:
"取消劫持"
,
"cancelHijackTip"
:
"确认取消劫持指纹?"
,
"cancelAssociated"
:
"取消关联"
,
"cancelAssociatedTip"
:
"取消关联后,开门历史记录中将不再显示关联的用户信息。"
,
"cancelAssociatedSuccess"
:
"取消关联成功"
,
"cancelAssociatedFailue"
:
"取消关联失败"
,
"setHijackSuccess"
:
"设为劫持指纹成功"
,
"setHijackFailue"
:
"设为劫持指纹失败"
,
"cancelHijackSuccess"
:
"取消劫持指纹成功"
,
"cancelHijackFailue"
:
"取消劫持指纹失败"
},
"addUnlockInfo"
:{
"opendoorMode"
:
"选择要关联的开锁方式"
,
"fingerprint"
:
"指纹"
,
"password"
:
"密码"
,
"icCard"
:
"IC卡"
,
"key"
:
"钥匙"
,
"remote"
:
"遥控器"
,
"hijackFingerprint"
:
"劫持指纹"
,
"opendoorRecord"
:
"选择要关联的开锁ID"
,
"tip"
:
"仅显示未绑定开门记录"
,
"addInfoSuccess"
:
"添加绑定开锁信息成功"
,
"addInfoFailue"
:
"添加绑定开锁信息失败"
,
"noRecordTip"
:
"暂无记录"
,
"setHijackSwitch"
:
"设为劫持指纹"
,
"guideStep1Tip"
:
"选择需要添加关联的开门方式"
,
"guideStep3Tip"
:
"根据开门记录中的开门时间,选择关联的<br>开门ID<span>(一个ID只能被一个用户绑定)</span>"
,
"guideStep5Tip"
:
"使用劫持指纹开门时,会以报警形式<br>通知到该门锁名下的其他绑定用户"
},
"myInfo"
:{
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
},
"editNickname"
:{
"nickNameInputTip"
:
"请输入昵称"
},
"editPassword"
:{
"newPasswordInputTip"
:
"请输入新密码"
,
"oldPasswordInputTip"
:
"请输入旧密码"
,
"oldPasswordInputTipAgain"
:
"请再次输入旧密码"
},
"request"
:{
"error"
:
"请求发送失败"
,
"initError"
:
"初始化失败,请关闭APP重试"
},
"deviceList"
:{
"model"
:
"型号:"
,
"noDeviceTip"
:
"暂无产品型号"
}}
{
"loading"
:
"loading..."
,
"scroll"
:{
"clickToLoadMore"
:
"点击加载更多"
,
"loading"
:
"loading..."
},
"btn"
:{
"confirm"
:
"确定"
,
"guideLogin"
:
"账号/密码登录"
,
"login"
:
"登录"
,
"getCode"
:
"获取验证码"
,
"register"
:
"注册"
,
"logout"
:
"退出系统"
,
"save"
:
"保存"
,
"qrcode"
:
"生成二维码"
,
"wifiAdd"
:
"开始配置Wi-Fi"
,
"connect"
:
"连接"
,
"bindUser"
:
"绑定姓名"
,
"bind"
:
"我要绑定"
,
"reBound"
:
"请重新绑定"
,
"saveQRcode"
:
"保存二维码到相册"
,
"unbind"
:
"解绑"
,
"deleteUser"
:
"删除该用户"
,
"qrcodeReset"
:
"重新生成二维码"
,
"add"
:
"添加"
,
"next"
:
"下一步"
,
"iSee"
:
"我知道了"
,
"unbindDoorlock"
:
"解绑门锁"
},
"dialog"
:{
"confirm"
:
"确认"
,
"cancel"
:
"取消"
,
"unbind"
:
"解绑"
,
"delete"
:
"删除"
},
"title"
:{
"login"
:
"登录"
,
"register"
:
"注册"
,
"forgetPassword"
:
"忘记密码"
,
"device"
:
"U智锁"
,
"opendoorRecord"
:
"开门记录"
,
"alarmInfo"
:
"报警记录"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackRecord"
:
"劫持记录"
,
"doorlockManage"
:
"门锁管理"
,
"editName"
:
"修改名称"
,
"qrcode"
:
"生成绑定二维码"
,
"addDevice"
:
"添加设备"
,
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAddHelp"
:
"配置Wi-Fi"
,
"wifiAdd"
:
"连接Wi-Fi"
,
"bindUserHelp"
:
"ID-姓名绑定"
,
"bindUser"
:
"绑定用户"
,
"userList"
:
"用户列表"
,
"doorlockUser"
:
"门锁用户"
,
"addUser"
:
"添加用户"
,
"inviteBind"
:
"邀请绑定"
,
"unlockInfo"
:
"关联开锁信息"
,
"myInfo"
:
"个人信息"
,
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"addUnlockInfo"
:
"关联开锁ID"
,
"deviceList"
:
"产品型号"
},
"guide"
:{
"footer"
:
"指纹改变生活"
},
"login"
:{
"telInputTip"
:
"请输入手机号"
,
"passwordInputTip"
:
"请输入密码"
,
"register"
:
"快速注册"
,
"forgetPassword"
:
"忘记密码"
,
"failure"
:
"登陆失败"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"passWordNull"
:
"请输入密码"
}},
"register"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"forgetPassword"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"device"
:{
"opendoorRecord"
:
"开门记录"
,
"securityAlarm"
:
"安全报警"
,
"doorlockUser"
:
"门锁用户"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackAlarm"
:
"劫持报警"
,
"doorlockManage"
:
"门锁管理"
,
"followTitle"
:
"关注服务号"
,
"followCont1"
:
"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧"
,
"followCont2"
:
"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注"
,
"laterFollow"
:
"稍后关注"
,
"newMsgDoorlock"
:
"门锁最新消息"
,
"doorLockRinging"
:
"门铃响了"
,
"defaultNewMsg"
:
"您尚未绑定门锁"
,
"noNewMsg"
:
"门锁休息中"
,
"bindDoorlock"
:
"绑定门锁"
},
"opendoorRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"passwordOpenDoor"
:
"密码开门"
,
"fingerprintOpenDoor"
:
"指纹开门"
,
"ICcardOpenDoor"
:
"IC卡开门"
,
"remoteOpenDoor"
:
"遥控器开门"
,
"keyOpenDoor"
:
"钥匙开门"
,
"hijackingAlarm"
:
"劫持报警"
,
"appRemoteOpenDoor"
:
"app远程开门"
},
"alarmInfo"
:{
"noInfoTip"
:
"暂无信息"
,
"tamperAlarm"
:
"防撬报警"
,
"trialAlarm"
:
"试错报警"
,
"powerAlarm"
:
"欠电报警"
},
"remoteOpendoor"
:{
"loading"
:
"远程开门中"
,
"passwordInputTip"
:
"请输入远程开门密码"
,
"openDoorSuccess"
:
"远程开门成功"
,
"openDoorFailure"
:
"远程开门失败"
,
"remoteTimeout"
:
"远程开门超时"
,
"remoteOpendoorAgain"
:
"请尝试重试"
,
"error"
:{
"noPasswordTip"
:
"远程密码不能为空"
}},
"hijackRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"hijackingAlarm"
:
"劫持指纹报警"
},
"doorlockManage"
:{
"name"
:
"名称"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
,
"defaultNickname"
:
"门锁"
,
"isClearRecord"
:
"清除所有信息"
,
"unbindSuccess"
:
"解绑成功"
,
"doorbellMsgPush"
:
"门铃消息推送"
,
"alarmMsgPush"
:
"报警消息推送"
,
"opendoorMsgPush"
:
"开门消息推送"
,
"unbindDialogTip"
:
"确认解除绑定"
,
"unbindFailue"
:
"解绑失败"
},
"editName"
:{
"nameInputTip"
:
"请输入设备名称"
,
"nickNameInputTip"
:
"请输入用户名"
,
"editNameSuccess"
:
"修改名称成功"
,
"editNameFailue"
:
"修改名称失败"
,
"error"
:{
"nameCanNotBeBlank"
:
"设备名称不能为空"
,
"nicknameCanNotBeBlank"
:
"用户名不能为空"
}},
"qrcode"
:{
"helpTitle"
:
"注意事项:"
,
"helpCont1"
:
"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码"
,
"helpCont2"
:
"2.二维码有效时间为10分钟且只能使用一次"
,
"helpCont3"
:
"3.用户只需要扫描该二维码即可绑定指纹锁"
,
"helpCont4"
:
"4.绑定失败则需要重新生成二维码进行绑定"
},
"addDevice"
:{
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAdd"
:
"配置Wi-Fi"
,
"loading"
:
"loading"
,
"bindSuccess"
:
"绑定成功"
,
"bindFailure"
:
"绑定失败"
,
"reBindDevice"
:
"请重新绑定"
},
"wifiAddHelp"
:{
"helpTitle"
:
"配置WIFI说明:"
,
"helpCont1"
:
"1.确认设备端进入配网模式(详情操作请见产品说明书)"
,
"helpCont2"
:
"2.点击页面下方“开始配置Wi-Fi”按钮,进入WiFi配网页面"
,
"helpCont3"
:
"3.输入Wi-Fi密码,点击“连接”,等待锁端响应,至配网成功。"
,
"helpCont4"
:
"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"
},
"wifiAdd"
:{
"unbindWifiTip"
:
"当前无Wi-Fi"
,
"wifiBinding"
:
"配网中"
,
"wifiBindSuccess"
:
"配网成功,请激活设备"
,
"deviceActivating"
:
"设备激活中"
,
"deviceActivateSuccess"
:
"激活成功"
,
"deviceActivateFailure"
:
"激活失败"
,
"bindTimeout"
:
"连接超时"
,
"passwordInputTip"
:
"请输入Wi-Fi密码"
,
"remindTitle"
:
"配置Wi-Fi提醒:"
,
"remindCont1"
:
"1. 请确保Wi-Fi信号良好"
,
"remindCont2"
:
"2. 本产品暂不支持5GHz无线网络"
,
"error"
:{}},
"bindUserHelp"
:{
"helpTitle"
:
"配对姓名说明:"
,
"helpCont1"
:
"1.在指纹锁上录入指纹、密码、卡并获得相应ID"
,
"helpCont2"
:
"2.通过姓名绑定将该ID绑定对应用户姓名"
,
"helpCont3"
:
"3.绑定成功后,开门记录中将会显示已绑定的用户姓名"
,
"helpCont4"
:
"4.用户姓名信息只保存在APP端,不影响锁端设置"
,
"boundUser"
:
"查看已绑定ID姓名"
},
"bindUser"
:{
"editHeadTip"
:
"点击编辑用户头像"
,
"nameTitle"
:
"姓名"
,
"fingerprintIDTitle"
:
"指纹ID"
,
"passwordIDTitle"
:
"密码ID"
,
"ICCardIDTitle"
:
"IC卡ID"
,
"requiredInputTip"
:
"(必填)"
,
"optionalInputTip"
:
"(选填)"
,
"error"
:{}},
"commstatusLoading"
:{
"connectSuccess"
:
"Wi-Fi连接成功,正在绑定..."
,
"bindSuccess"
:
"绑定成功"
,
"bindFailed"
:
"绑定失败"
},
"userList"
:{
"name"
:
"昵称:"
,
"noUserTip"
:
"暂无用户"
,
"defaultName"
:
"管理员"
,
"binded"
:
"已绑定"
,
"unbind"
:
"未绑定"
},
"addUser"
:{
"nameInputTip"
:
"请输入您想添加的用户名"
,
"addUserSuccess"
:
"添加用户成功"
,
"addUserFailure"
:
"添加用户失败"
,
"error"
:{
"nameCanNotEmpty"
:
"用户名不能为空"
}},
"doorlockUser"
:{
"name"
:
"昵称:"
,
"inviteBind"
:
"邀请绑定"
,
"bindUnlockInfo"
:
"关联开锁信息"
,
"opendoorRecord"
:
"历史开门记录"
,
"unbindDialogTip"
:
"<span></span>解绑后,该用户不能对门锁下的信息进行查看"
,
"deleteUserDialogTip"
:
"删除后,用户对应的开锁id取消关联,同时失去信息查看权限。"
,
"unbindSuccess"
:
"解绑成功"
,
"unbindFailue"
:
"解绑失败"
,
"guideStep1Tip1"
:
"邀请绑定成功"
,
"guideStep1Tip2"
:
"(可查看开门记录,报警记录等<br>相关门锁信息)"
,
"guideStep3Tip"
:
"绑定后看可了解<br>该用户的开门情况"
,
"deleteSuccess"
:
"删除成功"
,
"deleteFailure"
:
"删除失败"
,
"defaultName"
:
"管理员"
},
"inviteBind"
:{
"qrcodeExpireTip"
:
"二维码已过期,请重新生成"
,
"title"
:
"注意事项:"
,
"cont1"
:
"1.被邀请的用户选择添加设备页面中的扫二维码方式进行添加门锁"
,
"cont2"
:
"2.长按二维码保存为图片,发送给被邀请用户,用户通过长按识别二维码"
,
"cont3"
:
"3.有效时间10分钟,失效后请点击“重新生成二维码"
},
"unlockInfo"
:{
"bindUnlockInfo"
:
"已关联的开锁信息"
,
"noInfoTip"
:
"当前无绑定开锁ID,请添加"
,
"passwordOpenDoor"
:
"密码"
,
"fingerprintOpenDoor"
:
"指纹"
,
"ICcardOpenDoor"
:
"IC卡"
,
"remoteOpenDoor"
:
"遥控器"
,
"keyOpenDoor"
:
"钥匙"
,
"appRemoteOpenDoor"
:
"app远程"
,
"hijackingAlarm"
:
"劫持指纹"
,
"setHijack"
:
"设为劫持"
,
"setHijackTip"
:
"确认设为劫持指纹?"
,
"cancelHijack"
:
"取消劫持"
,
"cancelHijackTip"
:
"确认取消劫持指纹?"
,
"cancelAssociated"
:
"取消关联"
,
"cancelAssociatedTip"
:
"取消关联后,开门历史记录中将不再显示关联的用户信息。"
,
"cancelAssociatedSuccess"
:
"取消关联成功"
,
"cancelAssociatedFailue"
:
"取消关联失败"
,
"setHijackSuccess"
:
"设为劫持指纹成功"
,
"setHijackFailue"
:
"设为劫持指纹失败"
,
"cancelHijackSuccess"
:
"取消劫持指纹成功"
,
"cancelHijackFailue"
:
"取消劫持指纹失败"
},
"addUnlockInfo"
:{
"opendoorMode"
:
"选择要关联的开锁方式"
,
"fingerprint"
:
"指纹"
,
"password"
:
"密码"
,
"icCard"
:
"IC卡"
,
"key"
:
"钥匙"
,
"remote"
:
"遥控器"
,
"hijackFingerprint"
:
"劫持指纹"
,
"opendoorRecord"
:
"选择要关联的开锁ID"
,
"tip"
:
"仅显示未绑定开门记录"
,
"addInfoSuccess"
:
"添加绑定开锁信息成功"
,
"addInfoFailue"
:
"添加绑定开锁信息失败"
,
"noRecordTip"
:
"暂无记录"
,
"setHijackSwitch"
:
"设为劫持指纹"
,
"guideStep1Tip"
:
"选择需要添加关联的开门方式"
,
"guideStep3Tip"
:
"根据开门记录中的开门时间,选择关联的<br>开门ID<span>(一个ID只能被一个用户绑定)</span>"
,
"guideStep5Tip"
:
"使用劫持指纹开门时,会以报警形式<br>通知到该门锁名下的其他绑定用户"
},
"myInfo"
:{
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
},
"editNickname"
:{
"nickNameInputTip"
:
"请输入昵称"
},
"editPassword"
:{
"newPasswordInputTip"
:
"请输入新密码"
,
"oldPasswordInputTip"
:
"请输入旧密码"
,
"oldPasswordInputTipAgain"
:
"请再次输入旧密码"
},
"request"
:{
"error"
:
"请求发送失败"
,
"initError"
:
"初始化失败,请关闭APP重试"
},
"deviceList"
:{
"model"
:
"型号:"
,
"noDeviceTip"
:
"暂无产品型号"
}}
\ No newline at end of file
\ No newline at end of file
web/resources/lang/zh.json
View file @
6f2fbc0d
{
"loading"
:
"loading..."
,
"scroll"
:{
"clickToLoadMore"
:
"点击加载更多"
,
"loading"
:
"loading..."
},
"btn"
:{
"confirm"
:
"确定"
,
"guideLogin"
:
"账号/密码登录"
,
"login"
:
"登录"
,
"getCode"
:
"获取验证码"
,
"register"
:
"注册"
,
"logout"
:
"退出系统"
,
"save"
:
"保存"
,
"qrcode"
:
"生成二维码"
,
"wifiAdd"
:
"开始配置Wi-Fi"
,
"connect"
:
"连接"
,
"bindUser"
:
"绑定姓名"
,
"bind"
:
"我要绑定"
,
"reBound"
:
"请重新绑定"
,
"saveQRcode"
:
"保存二维码到相册"
,
"unbind"
:
"解绑"
,
"deleteUser"
:
"删除该用户"
,
"qrcodeReset"
:
"重新生成二维码"
,
"add"
:
"添加"
,
"next"
:
"下一步"
,
"iSee"
:
"我知道了"
,
"unbindDoorlock"
:
"解绑门锁"
},
"dialog"
:{
"confirm"
:
"确认"
,
"cancel"
:
"取消"
,
"unbind"
:
"解绑"
,
"delete"
:
"删除"
},
"title"
:{
"login"
:
"登录"
,
"register"
:
"注册"
,
"forgetPassword"
:
"忘记密码"
,
"device"
:
"U智锁"
,
"opendoorRecord"
:
"开门记录"
,
"alarmInfo"
:
"报警信息"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackRecord"
:
"劫持记录"
,
"doorlockManage"
:
"门锁管理"
,
"editName"
:
"修改名称"
,
"qrcode"
:
"生成绑定二维码"
,
"addDevice"
:
"添加设备"
,
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAddHelp"
:
"配置Wi-Fi"
,
"wifiAdd"
:
"连接Wi-Fi"
,
"bindUserHelp"
:
"ID-姓名绑定"
,
"bindUser"
:
"绑定用户"
,
"userList"
:
"用户列表"
,
"doorlockUser"
:
"门锁用户"
,
"addUser"
:
"添加用户"
,
"inviteBind"
:
"邀请绑定"
,
"unlockInfo"
:
"关联开锁信息"
,
"myInfo"
:
"个人信息"
,
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"addUnlockInfo"
:
"关联开锁ID"
,
"deviceList"
:
"产品型号"
},
"guide"
:{
"footer"
:
"指纹改变生活"
},
"login"
:{
"telInputTip"
:
"请输入手机号"
,
"passwordInputTip"
:
"请输入密码"
,
"register"
:
"快速注册"
,
"forgetPassword"
:
"忘记密码"
,
"failure"
:
"登陆失败"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"passWordNull"
:
"请输入密码"
}},
"register"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"forgetPassword"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"device"
:{
"opendoorRecord"
:
"开门记录"
,
"securityAlarm"
:
"安全报警"
,
"doorlockUser"
:
"门锁用户"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackAlarm"
:
"劫持报警"
,
"doorlockManage"
:
"门锁管理"
,
"followTitle"
:
"关注服务号"
,
"followCont1"
:
"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧"
,
"followCont2"
:
"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注"
,
"laterFollow"
:
"稍后关注"
,
"newMsgDoorlock"
:
"门锁最新消息"
,
"doorLockRinging"
:
"门铃响了"
,
"defaultNewMsg"
:
"您尚未绑定门锁"
,
"noNewMsg"
:
"门锁休息中"
,
"bindDoorlock"
:
"绑定门锁"
},
"opendoorRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"passwordOpenDoor"
:
"密码开门"
,
"fingerprintOpenDoor"
:
"指纹开门"
,
"ICcardOpenDoor"
:
"IC卡开门"
,
"remoteOpenDoor"
:
"遥控器开门"
,
"keyOpenDoor"
:
"钥匙开门"
,
"hijackingAlarm"
:
"劫持报警"
,
"appRemoteOpenDoor"
:
"app远程开门"
},
"alarmInfo"
:{
"noInfoTip"
:
"暂无信息"
,
"tamperAlarm"
:
"防撬报警"
,
"trialAlarm"
:
"试错报警"
,
"powerAlarm"
:
"欠电报警"
},
"remoteOpendoor"
:{
"loading"
:
"远程开门中"
,
"passwordInputTip"
:
"请输入远程开门密码"
,
"openDoorSuccess"
:
"远程开门成功"
,
"openDoorFailure"
:
"远程开门失败"
,
"remoteTimeout"
:
"远程开门超时"
,
"remoteOpendoorAgain"
:
"请尝试重试"
,
"error"
:{
"noPasswordTip"
:
"远程密码不能为空"
}},
"hijackRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"hijackingAlarm"
:
"劫持指纹报警"
},
"doorlockManage"
:{
"name"
:
"名称"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
,
"defaultNickname"
:
"门锁"
,
"isClearRecord"
:
"清除所有信息"
,
"unbindSuccess"
:
"解绑成功"
,
"doorbellMsgPush"
:
"门铃消息推送"
,
"alarmMsgPush"
:
"报警消息推送"
,
"opendoorMsgPush"
:
"开门消息推送"
,
"unbindDialogTip"
:
"确认解除绑定"
,
"unbindFailue"
:
"解绑失败"
},
"editName"
:{
"nameInputTip"
:
"请输入设备名称"
,
"nickNameInputTip"
:
"请输入用户名"
,
"editNameSuccess"
:
"修改名称成功"
,
"editNameFailue"
:
"修改名称失败"
,
"error"
:{
"nameCanNotBeBlank"
:
"设备名称不能为空"
,
"nicknameCanNotBeBlank"
:
"用户名不能为空"
}},
"qrcode"
:{
"helpTitle"
:
"注意事项:"
,
"helpCont1"
:
"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码"
,
"helpCont2"
:
"2.二维码有效时间为10分钟且只能使用一次"
,
"helpCont3"
:
"3.用户只需要扫描该二维码即可绑定指纹锁"
,
"helpCont4"
:
"4.绑定失败则需要重新生成二维码进行绑定"
},
"addDevice"
:{
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAdd"
:
"配置Wi-Fi"
,
"loading"
:
"loading"
,
"bindSuccess"
:
"绑定成功"
,
"bindFailure"
:
"绑定失败"
,
"reBindDevice"
:
"请重新绑定"
},
"wifiAddHelp"
:{
"helpTitle"
:
"配置WIFI说明:"
,
"helpCont1"
:
"1.确认设备端进入配网模式(详情操作请见产品说明书)"
,
"helpCont2"
:
"2.点击页面下方“开始配置Wi-Fi”按钮,进入WiFi配网页面"
,
"helpCont3"
:
"3.输入Wi-Fi密码,点击“连接”,等待锁端响应,至配网成功。"
,
"helpCont4"
:
"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"
},
"wifiAdd"
:{
"unbindWifiTip"
:
"当前无Wi-Fi"
,
"wifiBinding"
:
"配网中"
,
"wifiBindSuccess"
:
"配网成功,请激活设备"
,
"deviceActivating"
:
"设备激活中"
,
"deviceActivateSuccess"
:
"激活成功"
,
"deviceActivateFailure"
:
"激活失败"
,
"bindTimeout"
:
"连接超时"
,
"passwordInputTip"
:
"请输入Wi-Fi密码"
,
"remindTitle"
:
"配置Wi-Fi提醒:"
,
"remindCont1"
:
"1. 请确保Wi-Fi信号良好"
,
"remindCont2"
:
"2. 本产品暂不支持5GHz无线网络"
,
"error"
:{}},
"bindUserHelp"
:{
"helpTitle"
:
"配对姓名说明:"
,
"helpCont1"
:
"1.在指纹锁上录入指纹、密码、卡并获得相应ID"
,
"helpCont2"
:
"2.通过姓名绑定将该ID绑定对应用户姓名"
,
"helpCont3"
:
"3.绑定成功后,开门记录中将会显示已绑定的用户姓名"
,
"helpCont4"
:
"4.用户姓名信息只保存在APP端,不影响锁端设置"
,
"boundUser"
:
"查看已绑定ID姓名"
},
"bindUser"
:{
"editHeadTip"
:
"点击编辑用户头像"
,
"nameTitle"
:
"姓名"
,
"fingerprintIDTitle"
:
"指纹ID"
,
"passwordIDTitle"
:
"密码ID"
,
"ICCardIDTitle"
:
"IC卡ID"
,
"requiredInputTip"
:
"(必填)"
,
"optionalInputTip"
:
"(选填)"
,
"error"
:{}},
"commstatusLoading"
:{
"connectSuccess"
:
"Wi-Fi连接成功,正在绑定..."
,
"bindSuccess"
:
"绑定成功"
,
"bindFailed"
:
"绑定失败"
},
"userList"
:{
"name"
:
"昵称:"
,
"noUserTip"
:
"暂无用户"
,
"defaultName"
:
"管理员"
,
"binded"
:
"已绑定"
,
"unbind"
:
"未绑定"
},
"addUser"
:{
"nameInputTip"
:
"请输入您想添加的用户名"
,
"addUserSuccess"
:
"添加用户成功"
,
"addUserFailure"
:
"添加用户失败"
,
"error"
:{
"nameCanNotEmpty"
:
"用户名不能为空"
}},
"doorlockUser"
:{
"name"
:
"昵称:"
,
"inviteBind"
:
"邀请绑定"
,
"bindUnlockInfo"
:
"关联开锁信息"
,
"opendoorRecord"
:
"历史开门记录"
,
"unbindDialogTip"
:
"<span></span>解绑后,该用户不能对门锁下的信息进行查看"
,
"deleteUserDialogTip"
:
"删除后,用户对应的开锁id取消关联,同时失去信息查看权限。"
,
"unbindSuccess"
:
"解绑成功"
,
"unbindFailue"
:
"解绑失败"
,
"guideStep1Tip1"
:
"邀请绑定成功"
,
"guideStep1Tip2"
:
"(可查看开门记录,报警记录等<br>相关门锁信息)"
,
"guideStep3Tip"
:
"绑定后看可了解<br>该用户的开门情况"
,
"deleteSuccess"
:
"删除成功"
,
"deleteFailure"
:
"删除失败"
,
"defaultName"
:
"管理员"
},
"inviteBind"
:{
"qrcodeExpireTip"
:
"二维码已过期,请重新生成"
,
"title"
:
"注意事项:"
,
"cont1"
:
"1.被邀请的用户选择添加设备页面中的扫二维码方式进行添加门锁"
,
"cont2"
:
"2.长按二维码保存为图片,发送给被邀请用户,用户通过长按识别二维码"
,
"cont3"
:
"3.有效时间10分钟,失效后请点击“重新生成二维码"
},
"unlockInfo"
:{
"bindUnlockInfo"
:
"已关联的开锁信息"
,
"noInfoTip"
:
"当前无绑定开锁ID,请添加"
,
"passwordOpenDoor"
:
"密码"
,
"fingerprintOpenDoor"
:
"指纹"
,
"ICcardOpenDoor"
:
"IC卡"
,
"remoteOpenDoor"
:
"遥控器"
,
"keyOpenDoor"
:
"钥匙"
,
"appRemoteOpenDoor"
:
"app远程"
,
"hijackingAlarm"
:
"劫持指纹"
,
"setHijack"
:
"设为劫持"
,
"setHijackTip"
:
"确认设为劫持指纹?"
,
"cancelHijack"
:
"取消劫持"
,
"cancelHijackTip"
:
"确认取消劫持指纹?"
,
"cancelAssociated"
:
"取消关联"
,
"cancelAssociatedTip"
:
"取消关联后,开门历史记录中将不再显示关联的用户信息。"
,
"cancelAssociatedSuccess"
:
"取消关联成功"
,
"cancelAssociatedFailue"
:
"取消关联失败"
,
"setHijackSuccess"
:
"设为劫持指纹成功"
,
"setHijackFailue"
:
"设为劫持指纹失败"
,
"cancelHijackSuccess"
:
"取消劫持指纹成功"
,
"cancelHijackFailue"
:
"取消劫持指纹失败"
},
"addUnlockInfo"
:{
"opendoorMode"
:
"选择要关联的开锁方式"
,
"fingerprint"
:
"指纹"
,
"password"
:
"密码"
,
"icCard"
:
"IC卡"
,
"key"
:
"钥匙"
,
"remote"
:
"遥控器"
,
"hijackFingerprint"
:
"劫持指纹"
,
"opendoorRecord"
:
"选择要关联的开锁ID"
,
"tip"
:
"仅显示未绑定开门记录"
,
"addInfoSuccess"
:
"添加绑定开锁信息成功"
,
"addInfoFailue"
:
"添加绑定开锁信息失败"
,
"noRecordTip"
:
"暂无记录"
,
"setHijackSwitch"
:
"设为劫持指纹"
,
"guideStep1Tip"
:
"选择需要添加关联的开门方式"
,
"guideStep3Tip"
:
"根据开门记录中的开门时间,选择关联的<br>开门ID<span>(一个ID只能被一个用户绑定)</span>"
,
"guideStep5Tip"
:
"使用劫持指纹开门时,会以报警形式<br>通知到该门锁名下的其他绑定用户"
},
"myInfo"
:{
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
},
"editNickname"
:{
"nickNameInputTip"
:
"请输入昵称"
},
"editPassword"
:{
"newPasswordInputTip"
:
"请输入新密码"
,
"oldPasswordInputTip"
:
"请输入旧密码"
,
"oldPasswordInputTipAgain"
:
"请再次输入旧密码"
},
"request"
:{
"error"
:
"请求发送失败"
,
"initError"
:
"初始化失败,请关闭APP重试"
},
"deviceList"
:{
"model"
:
"型号:"
,
"noDeviceTip"
:
"暂无产品型号"
}}
{
"loading"
:
"loading..."
,
"scroll"
:{
"clickToLoadMore"
:
"点击加载更多"
,
"loading"
:
"loading..."
},
"btn"
:{
"confirm"
:
"确定"
,
"guideLogin"
:
"账号/密码登录"
,
"login"
:
"登录"
,
"getCode"
:
"获取验证码"
,
"register"
:
"注册"
,
"logout"
:
"退出系统"
,
"save"
:
"保存"
,
"qrcode"
:
"生成二维码"
,
"wifiAdd"
:
"开始配置Wi-Fi"
,
"connect"
:
"连接"
,
"bindUser"
:
"绑定姓名"
,
"bind"
:
"我要绑定"
,
"reBound"
:
"请重新绑定"
,
"saveQRcode"
:
"保存二维码到相册"
,
"unbind"
:
"解绑"
,
"deleteUser"
:
"删除该用户"
,
"qrcodeReset"
:
"重新生成二维码"
,
"add"
:
"添加"
,
"next"
:
"下一步"
,
"iSee"
:
"我知道了"
,
"unbindDoorlock"
:
"解绑门锁"
},
"dialog"
:{
"confirm"
:
"确认"
,
"cancel"
:
"取消"
,
"unbind"
:
"解绑"
,
"delete"
:
"删除"
},
"title"
:{
"login"
:
"登录"
,
"register"
:
"注册"
,
"forgetPassword"
:
"忘记密码"
,
"device"
:
"U智锁"
,
"opendoorRecord"
:
"开门记录"
,
"alarmInfo"
:
"报警记录"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackRecord"
:
"劫持记录"
,
"doorlockManage"
:
"门锁管理"
,
"editName"
:
"修改名称"
,
"qrcode"
:
"生成绑定二维码"
,
"addDevice"
:
"添加设备"
,
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAddHelp"
:
"配置Wi-Fi"
,
"wifiAdd"
:
"连接Wi-Fi"
,
"bindUserHelp"
:
"ID-姓名绑定"
,
"bindUser"
:
"绑定用户"
,
"userList"
:
"用户列表"
,
"doorlockUser"
:
"门锁用户"
,
"addUser"
:
"添加用户"
,
"inviteBind"
:
"邀请绑定"
,
"unlockInfo"
:
"关联开锁信息"
,
"myInfo"
:
"个人信息"
,
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"addUnlockInfo"
:
"关联开锁ID"
,
"deviceList"
:
"产品型号"
},
"guide"
:{
"footer"
:
"指纹改变生活"
},
"login"
:{
"telInputTip"
:
"请输入手机号"
,
"passwordInputTip"
:
"请输入密码"
,
"register"
:
"快速注册"
,
"forgetPassword"
:
"忘记密码"
,
"failure"
:
"登陆失败"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"passWordNull"
:
"请输入密码"
}},
"register"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"forgetPassword"
:{
"telInputTip"
:
"请输入手机号"
,
"codeInputTip"
:
"请输入验证码"
,
"passwordInputTip"
:
"请输入6位登录密码"
,
"error"
:{
"telNull"
:
"请输入手机号"
,
"codeNull"
:
"请输入验证码"
,
"passWordNull"
:
"请输入密码"
}},
"device"
:{
"opendoorRecord"
:
"开门记录"
,
"securityAlarm"
:
"安全报警"
,
"doorlockUser"
:
"门锁用户"
,
"remoteOpendoor"
:
"远程开门"
,
"hijackAlarm"
:
"劫持报警"
,
"doorlockManage"
:
"门锁管理"
,
"followTitle"
:
"关注服务号"
,
"followCont1"
:
"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧"
,
"followCont2"
:
"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注"
,
"laterFollow"
:
"稍后关注"
,
"newMsgDoorlock"
:
"门锁最新消息"
,
"doorLockRinging"
:
"门铃响了"
,
"defaultNewMsg"
:
"您尚未绑定门锁"
,
"noNewMsg"
:
"门锁休息中"
,
"bindDoorlock"
:
"绑定门锁"
},
"opendoorRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"passwordOpenDoor"
:
"密码开门"
,
"fingerprintOpenDoor"
:
"指纹开门"
,
"ICcardOpenDoor"
:
"IC卡开门"
,
"remoteOpenDoor"
:
"遥控器开门"
,
"keyOpenDoor"
:
"钥匙开门"
,
"hijackingAlarm"
:
"劫持报警"
,
"appRemoteOpenDoor"
:
"app远程开门"
},
"alarmInfo"
:{
"noInfoTip"
:
"暂无信息"
,
"tamperAlarm"
:
"防撬报警"
,
"trialAlarm"
:
"试错报警"
,
"powerAlarm"
:
"欠电报警"
},
"remoteOpendoor"
:{
"loading"
:
"远程开门中"
,
"passwordInputTip"
:
"请输入远程开门密码"
,
"openDoorSuccess"
:
"远程开门成功"
,
"openDoorFailure"
:
"远程开门失败"
,
"remoteTimeout"
:
"远程开门超时"
,
"remoteOpendoorAgain"
:
"请尝试重试"
,
"error"
:{
"noPasswordTip"
:
"远程密码不能为空"
}},
"hijackRecord"
:{
"noRecordTip"
:
"暂无记录"
,
"hijackingAlarm"
:
"劫持指纹报警"
},
"doorlockManage"
:{
"name"
:
"名称"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
,
"defaultNickname"
:
"门锁"
,
"isClearRecord"
:
"清除所有信息"
,
"unbindSuccess"
:
"解绑成功"
,
"doorbellMsgPush"
:
"门铃消息推送"
,
"alarmMsgPush"
:
"报警消息推送"
,
"opendoorMsgPush"
:
"开门消息推送"
,
"unbindDialogTip"
:
"确认解除绑定"
,
"unbindFailue"
:
"解绑失败"
},
"editName"
:{
"nameInputTip"
:
"请输入设备名称"
,
"nickNameInputTip"
:
"请输入用户名"
,
"editNameSuccess"
:
"修改名称成功"
,
"editNameFailue"
:
"修改名称失败"
,
"error"
:{
"nameCanNotBeBlank"
:
"设备名称不能为空"
,
"nicknameCanNotBeBlank"
:
"用户名不能为空"
}},
"qrcode"
:{
"helpTitle"
:
"注意事项:"
,
"helpCont1"
:
"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码"
,
"helpCont2"
:
"2.二维码有效时间为10分钟且只能使用一次"
,
"helpCont3"
:
"3.用户只需要扫描该二维码即可绑定指纹锁"
,
"helpCont4"
:
"4.绑定失败则需要重新生成二维码进行绑定"
},
"addDevice"
:{
"scanCodeAdd"
:
"扫描绑定设备"
,
"wifiAdd"
:
"配置Wi-Fi"
,
"loading"
:
"loading"
,
"bindSuccess"
:
"绑定成功"
,
"bindFailure"
:
"绑定失败"
,
"reBindDevice"
:
"请重新绑定"
},
"wifiAddHelp"
:{
"helpTitle"
:
"配置WIFI说明:"
,
"helpCont1"
:
"1.确认设备端进入配网模式(详情操作请见产品说明书)"
,
"helpCont2"
:
"2.点击页面下方“开始配置Wi-Fi”按钮,进入WiFi配网页面"
,
"helpCont3"
:
"3.输入Wi-Fi密码,点击“连接”,等待锁端响应,至配网成功。"
,
"helpCont4"
:
"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"
},
"wifiAdd"
:{
"unbindWifiTip"
:
"当前无Wi-Fi"
,
"wifiBinding"
:
"配网中"
,
"wifiBindSuccess"
:
"配网成功,请激活设备"
,
"deviceActivating"
:
"设备激活中"
,
"deviceActivateSuccess"
:
"激活成功"
,
"deviceActivateFailure"
:
"激活失败"
,
"bindTimeout"
:
"连接超时"
,
"passwordInputTip"
:
"请输入Wi-Fi密码"
,
"remindTitle"
:
"配置Wi-Fi提醒:"
,
"remindCont1"
:
"1. 请确保Wi-Fi信号良好"
,
"remindCont2"
:
"2. 本产品暂不支持5GHz无线网络"
,
"error"
:{}},
"bindUserHelp"
:{
"helpTitle"
:
"配对姓名说明:"
,
"helpCont1"
:
"1.在指纹锁上录入指纹、密码、卡并获得相应ID"
,
"helpCont2"
:
"2.通过姓名绑定将该ID绑定对应用户姓名"
,
"helpCont3"
:
"3.绑定成功后,开门记录中将会显示已绑定的用户姓名"
,
"helpCont4"
:
"4.用户姓名信息只保存在APP端,不影响锁端设置"
,
"boundUser"
:
"查看已绑定ID姓名"
},
"bindUser"
:{
"editHeadTip"
:
"点击编辑用户头像"
,
"nameTitle"
:
"姓名"
,
"fingerprintIDTitle"
:
"指纹ID"
,
"passwordIDTitle"
:
"密码ID"
,
"ICCardIDTitle"
:
"IC卡ID"
,
"requiredInputTip"
:
"(必填)"
,
"optionalInputTip"
:
"(选填)"
,
"error"
:{}},
"commstatusLoading"
:{
"connectSuccess"
:
"Wi-Fi连接成功,正在绑定..."
,
"bindSuccess"
:
"绑定成功"
,
"bindFailed"
:
"绑定失败"
},
"userList"
:{
"name"
:
"昵称:"
,
"noUserTip"
:
"暂无用户"
,
"defaultName"
:
"管理员"
,
"binded"
:
"已绑定"
,
"unbind"
:
"未绑定"
},
"addUser"
:{
"nameInputTip"
:
"请输入您想添加的用户名"
,
"addUserSuccess"
:
"添加用户成功"
,
"addUserFailure"
:
"添加用户失败"
,
"error"
:{
"nameCanNotEmpty"
:
"用户名不能为空"
}},
"doorlockUser"
:{
"name"
:
"昵称:"
,
"inviteBind"
:
"邀请绑定"
,
"bindUnlockInfo"
:
"关联开锁信息"
,
"opendoorRecord"
:
"历史开门记录"
,
"unbindDialogTip"
:
"<span></span>解绑后,该用户不能对门锁下的信息进行查看"
,
"deleteUserDialogTip"
:
"删除后,用户对应的开锁id取消关联,同时失去信息查看权限。"
,
"unbindSuccess"
:
"解绑成功"
,
"unbindFailue"
:
"解绑失败"
,
"guideStep1Tip1"
:
"邀请绑定成功"
,
"guideStep1Tip2"
:
"(可查看开门记录,报警记录等<br>相关门锁信息)"
,
"guideStep3Tip"
:
"绑定后看可了解<br>该用户的开门情况"
,
"deleteSuccess"
:
"删除成功"
,
"deleteFailure"
:
"删除失败"
,
"defaultName"
:
"管理员"
},
"inviteBind"
:{
"qrcodeExpireTip"
:
"二维码已过期,请重新生成"
,
"title"
:
"注意事项:"
,
"cont1"
:
"1.被邀请的用户选择添加设备页面中的扫二维码方式进行添加门锁"
,
"cont2"
:
"2.长按二维码保存为图片,发送给被邀请用户,用户通过长按识别二维码"
,
"cont3"
:
"3.有效时间10分钟,失效后请点击“重新生成二维码"
},
"unlockInfo"
:{
"bindUnlockInfo"
:
"已关联的开锁信息"
,
"noInfoTip"
:
"当前无绑定开锁ID,请添加"
,
"passwordOpenDoor"
:
"密码"
,
"fingerprintOpenDoor"
:
"指纹"
,
"ICcardOpenDoor"
:
"IC卡"
,
"remoteOpenDoor"
:
"遥控器"
,
"keyOpenDoor"
:
"钥匙"
,
"appRemoteOpenDoor"
:
"app远程"
,
"hijackingAlarm"
:
"劫持指纹"
,
"setHijack"
:
"设为劫持"
,
"setHijackTip"
:
"确认设为劫持指纹?"
,
"cancelHijack"
:
"取消劫持"
,
"cancelHijackTip"
:
"确认取消劫持指纹?"
,
"cancelAssociated"
:
"取消关联"
,
"cancelAssociatedTip"
:
"取消关联后,开门历史记录中将不再显示关联的用户信息。"
,
"cancelAssociatedSuccess"
:
"取消关联成功"
,
"cancelAssociatedFailue"
:
"取消关联失败"
,
"setHijackSuccess"
:
"设为劫持指纹成功"
,
"setHijackFailue"
:
"设为劫持指纹失败"
,
"cancelHijackSuccess"
:
"取消劫持指纹成功"
,
"cancelHijackFailue"
:
"取消劫持指纹失败"
},
"addUnlockInfo"
:{
"opendoorMode"
:
"选择要关联的开锁方式"
,
"fingerprint"
:
"指纹"
,
"password"
:
"密码"
,
"icCard"
:
"IC卡"
,
"key"
:
"钥匙"
,
"remote"
:
"遥控器"
,
"hijackFingerprint"
:
"劫持指纹"
,
"opendoorRecord"
:
"选择要关联的开锁ID"
,
"tip"
:
"仅显示未绑定开门记录"
,
"addInfoSuccess"
:
"添加绑定开锁信息成功"
,
"addInfoFailue"
:
"添加绑定开锁信息失败"
,
"noRecordTip"
:
"暂无记录"
,
"setHijackSwitch"
:
"设为劫持指纹"
,
"guideStep1Tip"
:
"选择需要添加关联的开门方式"
,
"guideStep3Tip"
:
"根据开门记录中的开门时间,选择关联的<br>开门ID<span>(一个ID只能被一个用户绑定)</span>"
,
"guideStep5Tip"
:
"使用劫持指纹开门时,会以报警形式<br>通知到该门锁名下的其他绑定用户"
},
"myInfo"
:{
"editNickname"
:
"修改昵称"
,
"editPassword"
:
"修改密码"
,
"logoutDialogTip"
:
"确定要退出系统吗?"
},
"editNickname"
:{
"nickNameInputTip"
:
"请输入昵称"
},
"editPassword"
:{
"newPasswordInputTip"
:
"请输入新密码"
,
"oldPasswordInputTip"
:
"请输入旧密码"
,
"oldPasswordInputTipAgain"
:
"请再次输入旧密码"
},
"request"
:{
"error"
:
"请求发送失败"
,
"initError"
:
"初始化失败,请关闭APP重试"
},
"deviceList"
:{
"model"
:
"型号:"
,
"noDeviceTip"
:
"暂无产品型号"
}}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment