|
@@ -221,6 +221,12 @@
|
|
|
<span style="font-size: 14px; line-height: 44px"> 秒</span>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
+ <el-form-item label="接口同步考生照片是否覆盖" prop="OVERWRITE_PHOTO">
|
|
|
+ <el-radio-group v-model="ruleForm.OVERWRITE_PHOTO" class="input">
|
|
|
+ <el-radio label="true">覆盖</el-radio>
|
|
|
+ <el-radio label="false">不覆盖</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
|
<el-button
|
|
@@ -335,6 +341,7 @@ export default {
|
|
|
ACTION_ORDER: "",
|
|
|
ACTION_DURATION: "",
|
|
|
ALL_ACTION_DURATION: "",
|
|
|
+ OVERWRITE_PHOTO: true,
|
|
|
},
|
|
|
rules: {
|
|
|
STUDENT_CLIENT_THIRD_PARTY_LOGIN_URL: [
|
|
@@ -650,6 +657,13 @@ export default {
|
|
|
this.ruleForm.ALL_ACTION_DURATION = 120;
|
|
|
}
|
|
|
|
|
|
+ if (response.data.OVERWRITE_PHOTO) {
|
|
|
+ this.ruleForm.OVERWRITE_PHOTO =
|
|
|
+ response.data.OVERWRITE_PHOTO === "true";
|
|
|
+ } else {
|
|
|
+ this.ruleForm.OVERWRITE_PHOTO = true;
|
|
|
+ }
|
|
|
+
|
|
|
// this.originalRuleForm = Object.assign({}, this.ruleForm);
|
|
|
} else {
|
|
|
this.$notify({
|