瀏覽代碼

修改后台方法名称

lideyin 5 年之前
父節點
當前提交
1fced67674
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/modules/basic/view/clientConfig.vue

+ 6 - 3
src/modules/basic/view/clientConfig.vue

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