限制文件新建时,必须是文件夹或者流程架构
This commit is contained in:
parent
daa0ade806
commit
f98c9e2d7d
@ -8627,6 +8627,11 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
* @return
|
||||
*/
|
||||
public String getPalProcessLevelCreateMethodList(String category, String methodId, String fileId) {
|
||||
if(!"process.framework".equals(methodId) && !"default".equals(methodId)){//不是架构,或者文件夹
|
||||
ResponseObject ro = ResponseObject.newErrResponse();
|
||||
ro.msg("methodId:"+methodId+"当前所选择目录不是文件夹或者流程架构,请选择正确的目录!");
|
||||
return ro.toString();
|
||||
}
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
JSONArray fileArr = new JSONArray();// 文件类模型,可以画图
|
||||
JSONArray folderArr = new JSONArray();// 文件夹类模型,作为文件夹
|
||||
|
||||
Loading…
Reference in New Issue
Block a user