|
@@ -1044,10 +1044,34 @@ let validateFaceVerifyEndMinute = (rule, value, callback) => {
|
|
|
let validateOutFreezeTimeFaceVerifyStartMinute = (rule, value, callback) => {
|
|
|
let isFaceVerify = _this.form.properties.IS_FACE_VERIFY;
|
|
|
let faceVerifyScheme = _this.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME;
|
|
|
+ let addFaceVerifyOutFreezeTime =
|
|
|
+ _this.form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME;
|
|
|
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") {
|
|
|
+ console.log(
|
|
|
+ "---isFaceVerify.test---" +
|
|
|
+ isFaceVerify +
|
|
|
+ "----equals---" +
|
|
|
+ (isFaceVerify == "true")
|
|
|
+ );
|
|
|
+ console.log(
|
|
|
+ "---addFaceVerifyOutFreezeTime---" +
|
|
|
+ addFaceVerifyOutFreezeTime +
|
|
|
+ "----equals---" +
|
|
|
+ (addFaceVerifyOutFreezeTime == "true")
|
|
|
+ );
|
|
|
+ console.log(
|
|
|
+ "---faceVerifyScheme---" +
|
|
|
+ faceVerifyScheme +
|
|
|
+ "----equals---" +
|
|
|
+ (faceVerifyScheme == "S2")
|
|
|
+ );
|
|
|
+ if (
|
|
|
+ isFaceVerify == "true" &&
|
|
|
+ addFaceVerifyOutFreezeTime == "true" &&
|
|
|
+ faceVerifyScheme == "S2"
|
|
|
+ ) {
|
|
|
if (v === "") {
|
|
|
callback(new Error("请输入追加活体检测开始分钟数"));
|
|
|
if (!_this.toActiveName) {
|
|
@@ -1082,11 +1106,17 @@ let validateOutFreezeTimeFaceVerifyStartMinute = (rule, value, callback) => {
|
|
|
let validateOutFreezeTimeFaceVerifyEndMinute = (rule, value, callback) => {
|
|
|
let isFaceVerify = _this.form.properties.IS_FACE_VERIFY;
|
|
|
let faceVerifyScheme = _this.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME;
|
|
|
+ let addFaceVerifyOutFreezeTime =
|
|
|
+ _this.form.properties.ADD_FACE_VERIFY_OUT_FREEZE_TIME;
|
|
|
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 (
|
|
|
+ isFaceVerify == "true" &&
|
|
|
+ addFaceVerifyOutFreezeTime == "true" &&
|
|
|
+ faceVerifyScheme == "S2"
|
|
|
+ ) {
|
|
|
if (v === "") {
|
|
|
callback(new Error("请输入追加活体检测结束分钟数"));
|
|
|
if (!_this.toActiveName) {
|