|
@@ -392,16 +392,25 @@
|
|
prop="MAX_SWITCH_SCREEN_COUNT"
|
|
prop="MAX_SWITCH_SCREEN_COUNT"
|
|
:label-width="style.label_width_tab2"
|
|
:label-width="style.label_width_tab2"
|
|
>
|
|
>
|
|
- <el-input
|
|
|
|
- v-model.trim.number="
|
|
|
|
- form.properties.MAX_SWITCH_SCREEN_COUNT
|
|
|
|
- "
|
|
|
|
- maxlength="5"
|
|
|
|
- auto-complete="off"
|
|
|
|
- class="input"
|
|
|
|
|
|
+ <el-tooltip
|
|
|
|
+ :disabled="!maxSwitchScreenCountDisabled"
|
|
|
|
+ placement="top"
|
|
>
|
|
>
|
|
- <template slot="append">次</template>
|
|
|
|
- </el-input>
|
|
|
|
|
|
+ <div slot="content">
|
|
|
|
+ 此设置不可用。考生端配置-防作弊设置中计算切屏次数未开启
|
|
|
|
+ </div>
|
|
|
|
+ <el-input
|
|
|
|
+ v-model.trim.number="
|
|
|
|
+ form.properties.MAX_SWITCH_SCREEN_COUNT
|
|
|
|
+ "
|
|
|
|
+ maxlength="5"
|
|
|
|
+ auto-complete="off"
|
|
|
|
+ class="input"
|
|
|
|
+ :disabled="maxSwitchScreenCountDisabled"
|
|
|
|
+ >
|
|
|
|
+ <template slot="append">次</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-tooltip>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
@@ -854,6 +863,7 @@ export default {
|
|
is_face_enable_diabled: true,
|
|
is_face_enable_diabled: true,
|
|
rootOrgWenXinAnswerEnabled: false,
|
|
rootOrgWenXinAnswerEnabled: false,
|
|
IDENTIFICATION_OF_LIVING_BODY_SCHEME: "S1",
|
|
IDENTIFICATION_OF_LIVING_BODY_SCHEME: "S1",
|
|
|
|
+ maxSwitchScreenCountDisabled: true,
|
|
form: {
|
|
form: {
|
|
started: false,
|
|
started: false,
|
|
name: "",
|
|
name: "",
|
|
@@ -1139,6 +1149,11 @@ export default {
|
|
that.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME = res;
|
|
that.form.IDENTIFICATION_OF_LIVING_BODY_SCHEME = res;
|
|
}
|
|
}
|
|
);
|
|
);
|
|
|
|
+ this.getOrgProperty("PREVENT_CHEATING_CONFIG", function (res) {
|
|
|
|
+ if (res && res.indexOf("RECORD_SWITCH_SCREEN") != -1) {
|
|
|
|
+ that.maxSwitchScreenCountDisabled = false;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
},
|
|
},
|
|
getOrgProperty: function (propkey, callback) {
|
|
getOrgProperty: function (propkey, callback) {
|
|
let url =
|
|
let url =
|