|
@@ -114,9 +114,10 @@ export default {
|
|
return {
|
|
return {
|
|
rootOrgId: null,
|
|
rootOrgId: null,
|
|
loginTypes: LOGIN_TYPE,
|
|
loginTypes: LOGIN_TYPE,
|
|
- propertyGroupId: "student.client.config",
|
|
|
|
|
|
+ propertyGroupId: "studentClientConfig",
|
|
preventCheatingConfigs: PREVENT_CHEATING_CONFIG,
|
|
preventCheatingConfigs: PREVENT_CHEATING_CONFIG,
|
|
ruleForm: {
|
|
ruleForm: {
|
|
|
|
+ relatedPropertyGroupIdList: [],
|
|
orgId: null,
|
|
orgId: null,
|
|
OE_STUDENT_SYS_NAME: "",
|
|
OE_STUDENT_SYS_NAME: "",
|
|
LOGO_FILE_URL: "",
|
|
LOGO_FILE_URL: "",
|
|
@@ -202,12 +203,14 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+
|
|
initForm() {
|
|
initForm() {
|
|
this.ruleForm.orgId = this.user.rootOrgId;
|
|
this.ruleForm.orgId = this.user.rootOrgId;
|
|
this.ruleForm.STUDENT_CLIENT_DEFAULT_SIZE = "1400*900";
|
|
this.ruleForm.STUDENT_CLIENT_DEFAULT_SIZE = "1400*900";
|
|
|
|
+ this.ruleForm.relatedPropertyGroupIdList = [this.propertyGroupId];
|
|
var url =
|
|
var url =
|
|
CORE_API +
|
|
CORE_API +
|
|
- "/org/orgPropertiesByGroup/" +
|
|
|
|
|
|
+ "/org/getOrgPropertiesByGroupWithoutCache/" +
|
|
this.rootOrgId +
|
|
this.rootOrgId +
|
|
"/" +
|
|
"/" +
|
|
this.propertyGroupId;
|
|
this.propertyGroupId;
|
|
@@ -376,7 +379,7 @@ export default {
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.rootOrgId = this.user.rootOrgId;
|
|
this.rootOrgId = this.user.rootOrgId;
|
|
- this.propertyGroupId = "student.client.config";
|
|
|
|
|
|
+ this.propertyGroupId = "studentClientConfig";
|
|
this.uploadAction = CORE_API + "/org/importLogo/" + this.rootOrgId;
|
|
this.uploadAction = CORE_API + "/org/importLogo/" + this.rootOrgId;
|
|
this.uploadHeaders = {
|
|
this.uploadHeaders = {
|
|
key: this.user.key,
|
|
key: this.user.key,
|