发布过滤控制、组织数据/发布代码打包
This commit is contained in:
parent
9a8979dea4
commit
10305f2c9d
Binary file not shown.
@ -1019,6 +1019,10 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
// method排序
|
||||
List<String> methodList = PALMethodCache.getPALMethodList(true);
|
||||
for (String method : methodList) {
|
||||
//过滤控制/组织数据
|
||||
if(method.equals("control") || method.equals("org")){
|
||||
continue;
|
||||
}
|
||||
JSONArray array = getPublishRepositoryJSONArray(repositoryList, method, wsId, profitionIcon, checkbox, checkboxIds);
|
||||
if (array.size() > 0) {
|
||||
JSONObject object = new JSONObject();
|
||||
@ -1888,6 +1892,10 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONArray rootArray = new JSONArray();
|
||||
List<String> methodList = PALMethodCache.getPalMehtodList(teamId, _uc.getUID(), true);
|
||||
for (String method : methodList) {
|
||||
//新建发布过滤掉控制/组织类数据
|
||||
if(method.equals("control") || method.equals("org")){
|
||||
continue;
|
||||
}
|
||||
JSONObject object = new JSONObject();
|
||||
object.put("id", method);
|
||||
object.put("name", I18nRes.findValue(CoEConstant.APP_ID, method));
|
||||
@ -1906,6 +1914,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
for (PALRepositoryModel verModel : verList) {
|
||||
if (verModel.isPublish()) {
|
||||
checkbox = false;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (checkbox) {
|
||||
|
||||
@ -749,6 +749,7 @@ function addProcess(type) {
|
||||
buttons:[
|
||||
{text:'确定',cls:"blue",handler:function(){
|
||||
window.$.simpleAlert("请稍等...", "loading");
|
||||
debugger;
|
||||
if (type == 'new') {
|
||||
if (treeCheckedNewArr.length == 0) {
|
||||
$.simpleAlert('发布流程不能为空');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user