Browse Source

修改

4.0
FLYPHT 2 years ago
parent
commit
2c89970c44
3 changed files with 2 additions and 21 deletions
  1. +1
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java
  2. +0
    -8
      smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js
  3. +1
    -12
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java

smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java → smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java View File

@@ -9,5 +9,5 @@ import cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcms.FlowLcMsService;
* 模型:FLOW_LT_MS 服务类
*/
@SwService
public class FlowLcLtMs extends FlowLcMsService {
public class FlowLcLtMsService extends FlowLcMsService {
}

+ 0
- 8
smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js View File

@@ -14,17 +14,9 @@ window.$swEvent.setup("bpm.sys.base.dict.dictList", {
const afterDelDict = () => {
$api.loadOne("dictList");
};
const exportExcel = () => {
$$http.post("bpm/dict/exportExcel").then( (rt) => {
console.info("exportExcel:",rt);
const url = $$http.downloadFileUrl(rt.data.filePath,rt.data.fileName,true);
$$http.downloadFile(url,{fileName: rt.data.fileName});
});
}
return {
afterDelDictType,
afterDelDict,
exportExcel,
}
}
});

+ 1
- 12
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java View File

@@ -1,8 +1,5 @@
package cc.smtweb.framework.core.mvc.controller.scan;

import cc.smtweb.framework.core.cache.AbstractCache;
import cc.smtweb.framework.core.cache.CacheManager;
import cc.smtweb.framework.core.cache.ISwCache;
import cc.smtweb.framework.core.mvc.config.ControllerConfig;
import cc.smtweb.framework.core.mvc.controller.ApiConfigBean;
import cc.smtweb.framework.core.mvc.controller.MethodAccessManager;
@@ -60,14 +57,6 @@ public class ApplicationScanner {

log.info("[smt] scan ok.");
}

// 处理权限管理和启动定时任务
AbstractCache realmCache = CacheManager.getIntance().getCache(ISwCache.REALM_CACHE);

if (realmCache == null) {
log.error("not find RealmCache");
}

methodAccessManager.init(beanManager, realmCache);
methodAccessManager.init(beanManager, null);
}
}

Loading…
Cancel
Save