|
@@ -629,7 +629,8 @@
|
|
|
</el-row>
|
|
|
<el-row
|
|
|
v-show="
|
|
|
- form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME == 'true'
|
|
|
+ form.IDENTIFICATION_OF_LIVING_BODY_SCHEME == 'S2' &&
|
|
|
+ form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME == 'true'
|
|
|
"
|
|
|
>
|
|
|
<el-form-item
|
|
@@ -653,7 +654,8 @@
|
|
|
</el-row>
|
|
|
<el-row
|
|
|
v-show="
|
|
|
- form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME == 'true'
|
|
|
+ form.IDENTIFICATION_OF_LIVING_BODY_SCHEME == 'S2' &&
|
|
|
+ form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME == 'true'
|
|
|
"
|
|
|
>
|
|
|
<el-form-item
|
|
@@ -1043,6 +1045,8 @@ let validateOutFreezeTimeFaceVerifyStartMinute = (rule, value, callback) => {
|
|
|
let isFaceVerify = _this.form.properties.IS_FACE_VERIFY;
|
|
|
let faceVerifyScheme = _this.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME;
|
|
|
let v = _this.form.properties.OUT_FREEZE_TIME_FACE_VERIFY_START_MINUTE;
|
|
|
+ let freezeTime = _this.form.properties.FREEZE_TIME;
|
|
|
+ let duration = _this.form.duration;
|
|
|
if (isFaceVerify == "true" && faceVerifyScheme == "S2") {
|
|
|
if (v === "") {
|
|
|
callback(new Error("请输入追加活体检测开始分钟数"));
|
|
@@ -1056,6 +1060,17 @@ let validateOutFreezeTimeFaceVerifyStartMinute = (rule, value, callback) => {
|
|
|
_this.toActiveName = "tab4";
|
|
|
_this.activeName = "tab4";
|
|
|
}
|
|
|
+ } else if (
|
|
|
+ duration != "" &&
|
|
|
+ parseInt(v) > parseInt(duration - freezeTime)
|
|
|
+ ) {
|
|
|
+ callback(
|
|
|
+ new Error("追加活体检测开始分钟数不得大于考试时长和冻结时间的差值")
|
|
|
+ );
|
|
|
+ if (!_this.toActiveName) {
|
|
|
+ _this.toActiveName = "tab4";
|
|
|
+ _this.activeName = "tab4";
|
|
|
+ }
|
|
|
} else {
|
|
|
callback();
|
|
|
}
|
|
@@ -1069,6 +1084,8 @@ let validateOutFreezeTimeFaceVerifyEndMinute = (rule, value, callback) => {
|
|
|
let faceVerifyScheme = _this.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME;
|
|
|
let start = _this.form.properties.OUT_FREEZE_TIME_FACE_VERIFY_START_MINUTE;
|
|
|
let v = _this.form.properties.OUT_FREEZE_TIME_FACE_VERIFY_END_MINUTE;
|
|
|
+ let freezeTime = _this.form.properties.FREEZE_TIME;
|
|
|
+ let duration = _this.form.duration;
|
|
|
if (isFaceVerify == "true" && faceVerifyScheme == "S2") {
|
|
|
if (v === "") {
|
|
|
callback(new Error("请输入追加活体检测结束分钟数"));
|
|
@@ -1090,6 +1107,17 @@ let validateOutFreezeTimeFaceVerifyEndMinute = (rule, value, callback) => {
|
|
|
_this.toActiveName = "tab4";
|
|
|
_this.activeName = "tab4";
|
|
|
}
|
|
|
+ } else if (
|
|
|
+ duration != "" &&
|
|
|
+ parseInt(v) > parseInt(duration - freezeTime)
|
|
|
+ ) {
|
|
|
+ callback(
|
|
|
+ new Error("追加活体检测结束分钟数不得大于考试时长和冻结时间的差值")
|
|
|
+ );
|
|
|
+ if (!_this.toActiveName) {
|
|
|
+ _this.toActiveName = "tab4";
|
|
|
+ _this.activeName = "tab4";
|
|
|
+ }
|
|
|
} else {
|
|
|
callback();
|
|
|
}
|
|
@@ -1134,7 +1162,7 @@ export default {
|
|
|
enable: "true",
|
|
|
examLimit: "false",
|
|
|
specialSettingsEnabled: false,
|
|
|
- specialSettingsType: 'ORG_BASED',
|
|
|
+ specialSettingsType: "ORG_BASED",
|
|
|
properties: {
|
|
|
IS_OBJ_SCORE_VIEW: "true",
|
|
|
IS_STRANGER_ENABLE: "false",
|