單機userlist
This commit is contained in:
parent
fdaba29b5c
commit
0aaf5ddd1a
@ -132,15 +132,13 @@ struct UserInfo {
|
|||||||
// this.openDeviceByIDCard()
|
// this.openDeviceByIDCard()
|
||||||
const routerParam=router.getParams()||{type :0};
|
const routerParam=router.getParams()||{type :0};
|
||||||
console.log('routerParam',JSON.stringify(routerParam))
|
console.log('routerParam',JSON.stringify(routerParam))
|
||||||
|
if(!globalThis.singlePlay){
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if(routerParam.type!=1){
|
if(routerParam.type!=1){
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.list =await getSyncData('USERLIST')
|
this.list =await getSyncData('USERLIST')
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const data=await getSyncData('USER')
|
const data=await getSyncData('USER')
|
||||||
console.log('datadata',JSON.stringify(data));
|
|
||||||
console.log('datadata2',JSON.stringify(this.list))
|
|
||||||
|
|
||||||
const user=data[0]
|
const user=data[0]
|
||||||
if(user&&Number(user.kssycs)){
|
if(user&&Number(user.kssycs)){
|
||||||
this.list.forEach(res=>{
|
this.list.forEach(res=>{
|
||||||
@ -170,6 +168,7 @@ struct UserInfo {
|
|||||||
}else{
|
}else{
|
||||||
this.getExaminationStudentInfoFn()
|
this.getExaminationStudentInfoFn()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 如果是单机模式则模拟假数据
|
// 如果是单机模式则模拟假数据
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user