zhengyiming
5 天以前 0b6b336181875f53092a0086b9d55b5d264e5c5b
src/views/System/ModuleManage.vue
@@ -409,7 +409,7 @@
    let params: API.SaveMenuCommand = {
      userType: state.userType,
      clientType: state.clientType,
      enterpriseType: state.enterpriseType,
      // enterpriseType: state.enterpriseType,
      code: editForm.enCode,
      name: editForm.name,
      type: editForm.isMenu ? EnumMenuType.Menu : EnumMenuType.Page,
@@ -419,6 +419,9 @@
      isDisabled: !editForm.enabledMark,
      sort: editForm.sortCode,
    };
    if (state.userType === EnumUserType.Enterprise) {
      params.enterpriseType = state.enterpriseType;
    }
    if (editForm.showCacheSelect) {
      params.isCache = editForm.isCache;
    }
@@ -579,8 +582,9 @@
              group.fields = columnModuleList.map((c) => ({
                code: c.enCode,
                name: c.name,
                width: c.width.toString(),
                width: c.width ? c.width.toString() : '',
                sort: c.sortCode,
                id: c.id,
              }));
            }
            return group;
@@ -591,8 +595,9 @@
            fields: columnModuleList.map((c) => ({
              code: c.enCode,
              name: c.name,
              width: c.width.toString(),
              width: c.width ? c.width.toString() : '',
              sort: c.sortCode,
              id: c.id,
            })),
          };
          groups.push(group);