|
@@ -41,16 +41,22 @@ public class AppConfigStrategy {
|
|
|
// 自定义策略
|
|
|
public string[] customStrategies; // 可能需要更复杂的判定逻辑,比如要取某些业务表才能决定
|
|
|
}
|
|
|
+[key:'indexElectiveBlocks','desc':'大数据选科模块']
|
|
|
|
|
|
/// Table - config dynamic content
|
|
|
public class AppConfigContent {
|
|
|
public string scope; // parent key
|
|
|
public EnumScopeType scopeType; // type builder
|
|
|
+ public string desc; // 配置说明,方便UI展示示意
|
|
|
public string itemKey; // map to AppConfigContentItem.key, 没有则直接作用于scope
|
|
|
public string alias; // 别名,用于填充配置时使用,没有则使用itemKey,用于适配同名属性
|
|
|
- public string value; // single、multiple时可能要保存选择结果
|
|
|
+ public string value; // single、multiple时可能要保存选择结果;或者直接填写值
|
|
|
public string customValueFormatter; // 装配配置时的自定义格式转换器
|
|
|
+ public long refPermissionId; // 菜单或者按钮权限ID
|
|
|
}
|
|
|
+[scope:'indexElectiveBlocks.0.dataList.0',itemKey: 'satisfyStoreGetters',
|
|
|
+customValueFormatter: customFilterFormatter--ImplementByJava,
|
|
|
+refPermissionId: 直接填写菜单或者按钮权限ID]
|
|
|
|
|
|
/// Table - content value shared item pool
|
|
|
public class AppConfigContentItem {
|
|
@@ -60,6 +66,7 @@ public class AppConfigContentItem {
|
|
|
public string customOptionsLoader; // 自定义选科加载类,解决固定配置无法完成的部分
|
|
|
public EnumAppConfigOptionType enumOptionType; // 选项使用类型
|
|
|
}
|
|
|
+[key:'satisfyStoreGetters', options:['isFrontStudent','isIOS','isMaster']]
|
|
|
|
|
|
public enum EnumScopeType {
|
|
|
none = 0,
|