|
|
|
@ -5,6 +5,7 @@ import com.api.browser.bean.SearchConditionItem;
|
|
|
|
|
import com.cloudstore.eccom.result.WeaResultMsg;
|
|
|
|
|
import com.engine.core.impl.Service;
|
|
|
|
|
import com.engine.organization.component.OrganizationWeaTable;
|
|
|
|
|
import com.engine.organization.entity.TopMenuBtn;
|
|
|
|
|
import com.engine.organization.entity.scheme.dto.SchemeDTO;
|
|
|
|
|
import com.engine.organization.entity.scheme.param.SchemeSearchParam;
|
|
|
|
|
import com.engine.organization.entity.scheme.po.SchemePO;
|
|
|
|
@ -106,10 +107,10 @@ public class SchemeServiceImpl extends Service implements SchemeService {
|
|
|
|
|
Map<String, Object> apiDatas = new HashMap<>();
|
|
|
|
|
List<SearchConditionItem> selectItems = new ArrayList<>();
|
|
|
|
|
List<SearchConditionGroup> addGroups = new ArrayList<>();
|
|
|
|
|
SearchConditionItem schemeNameCondition = OrganizationFormItemUtil.inputItem(user, 2, 16, 3, 50, "方案名称", "schemeName");
|
|
|
|
|
schemeNameCondition.setRules("required");
|
|
|
|
|
SearchConditionItem schemeNoCondition = OrganizationFormItemUtil.inputItem(user, 2, 16, 3, 50, "方案编号", "schemeNo");
|
|
|
|
|
schemeNoCondition.setRules("required");
|
|
|
|
|
SearchConditionItem schemeNameCondition = OrganizationFormItemUtil.inputItem(user, 2, 17, 3, 50, "方案名称", "schemeName");
|
|
|
|
|
schemeNameCondition.setRules("required|string");
|
|
|
|
|
SearchConditionItem schemeNoCondition = OrganizationFormItemUtil.inputItem(user, 2, 17, 3, 50, "方案编号", "schemeNo");
|
|
|
|
|
schemeNoCondition.setRules("required|string");
|
|
|
|
|
SearchConditionItem textareaItem = OrganizationFormItemUtil.textareaItem(user, 2, 16, true, 2, 60, "方案说明", "schemeDescription");
|
|
|
|
|
|
|
|
|
|
// 编辑状态下赋值操作
|
|
|
|
@ -133,9 +134,14 @@ public class SchemeServiceImpl extends Service implements SchemeService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> getTableBtn() {
|
|
|
|
|
Map<String, Object> apiDatas = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
return apiDatas;
|
|
|
|
|
Map<String, Object> btnDatas = new HashMap<>();
|
|
|
|
|
ArrayList<TopMenuBtn> btnList = new ArrayList<>();
|
|
|
|
|
// 新建
|
|
|
|
|
btnList.add(TopMenuBtn.builder().isBatch("1").isTop("1").menuFun("new").menuIcon("icon-coms-New-Flow").menuName("新建").type( "BTN_Addnew").build());
|
|
|
|
|
// 批量删除
|
|
|
|
|
btnList.add(TopMenuBtn.builder().isBatch("1").isTop("1").menuFun("batchDelete").menuIcon("icon-coms-Batch-delete").menuName("批量删除").type( "BTN_BatchDelete").build());
|
|
|
|
|
btnDatas.put("topMenu",btnList);
|
|
|
|
|
return btnDatas;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|