|
@@ -820,11 +820,11 @@ export default {
|
|
|
label: "",
|
|
|
photoPath: "",
|
|
|
department:
|
|
|
- this.personType === 1 ? "784131018197049344" : "821025720783347712",
|
|
|
+ this.personType === 1 ? "821025772184543232" : "821025720783347712",
|
|
|
position:
|
|
|
this.personType === 1 ? "821073061166981120" : "821073092108361728",
|
|
|
type:
|
|
|
- this.personType === 1 ? "255022541838691649" : "403245878963347456",
|
|
|
+ this.personType === 1 ? "546093319541760000" : "403245878963347456",
|
|
|
typeName: this.personType === 1 ? "访客" : "施工人员",
|
|
|
accessControlIds: [],
|
|
|
companyName: this.infomation.company,
|
|
@@ -1092,11 +1092,11 @@ export default {
|
|
|
label: "",
|
|
|
photoPath: "",
|
|
|
department:
|
|
|
- this.personType === 1 ? "784131018197049344" : "821025720783347712",
|
|
|
+ this.personType === 1 ? "821025772184543232" : "821025720783347712",
|
|
|
position:
|
|
|
this.personType === 1 ? "821073061166981120" : "821073092108361728",
|
|
|
type:
|
|
|
- this.personType === 1 ? "255022541838691649" : "403245878963347456",
|
|
|
+ this.personType === 1 ? "546093319541760000" : "403245878963347456",
|
|
|
typeName: this.personType === 1 ? "访客" : "施工人员",
|
|
|
accessControlIds: [],
|
|
|
companyName: this.infomation.company,
|
|
@@ -1167,7 +1167,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // 读取身份证
|
|
|
+ // 人脸识别读取
|
|
|
handleByfaceOut(data) {
|
|
|
console.log("人脸识别反馈", data);
|
|
|
if (data) {
|
|
@@ -1184,9 +1184,9 @@ export default {
|
|
|
this.infomation["telephone"] = data.telephone;
|
|
|
this.infomation["cardNo"] = data.cardNo;
|
|
|
this.infomation["photoPath"] = data.photoPath;
|
|
|
- this.infomation["department"] = data.department;
|
|
|
- this.infomation["position"] = data.position;
|
|
|
- this.infomation["type"] = data.type;
|
|
|
+ this.infomation["department"] = this.personType === 1 ? "821025772184543232" : "821025720783347712";
|
|
|
+ this.infomation["position"] = this.personType === 1 ? "821073061166981120" : "821073092108361728";
|
|
|
+ this.infomation["type"] = this.personType === 1 ? "546093319541760000" : "403245878963347456";
|
|
|
this.infomation["accessControlIds"] = data.accessControlIds;
|
|
|
break;
|
|
|
case 9:
|
|
@@ -1201,9 +1201,9 @@ export default {
|
|
|
this.person["telephone"] = data.telephone;
|
|
|
this.person["cardNo"] = data.cardNo;
|
|
|
this.person["photoPath"] = data.photoPath;
|
|
|
- this.person["department"] = data.department;
|
|
|
- this.person["position"] = data.position;
|
|
|
- this.person["type"] = data.type;
|
|
|
+ this.person["department"] = this.personType === 1 ? "821025772184543232" : "821025720783347712";
|
|
|
+ this.person["position"] = this.personType === 1 ? "821073061166981120" : "821073092108361728";
|
|
|
+ this.person["type"] = this.personType === 1 ? "546093319541760000" : "403245878963347456";
|
|
|
this.person["accessControlIds"] = data.typeBelong;
|
|
|
if (!this.checkIn(data.id)) {
|
|
|
this.infomation.persons.push(this.person);
|