编辑删除按钮
This commit is contained in:
parent
7dc77d0dab
commit
ee93ab4b35
|
|
@ -1,8 +1,7 @@
|
|||
package com.engine.salary.cmd.TaxAgent;
|
||||
|
||||
import com.cloudstore.eccom.constant.WeaBoolAttr;
|
||||
import com.cloudstore.eccom.pc.table.WeaTable;
|
||||
import com.cloudstore.eccom.pc.table.WeaTableColumn;
|
||||
import com.cloudstore.eccom.pc.table.*;
|
||||
import com.cloudstore.eccom.result.WeaResultMsg;
|
||||
import com.engine.common.biz.AbstractCommonCommand;
|
||||
import com.engine.common.entity.BizLogContext;
|
||||
|
|
@ -11,8 +10,11 @@ import org.apache.commons.lang3.StringUtils;
|
|||
import weaver.conn.RecordSet;
|
||||
import weaver.general.PageIdConst;
|
||||
import weaver.hrm.User;
|
||||
import weaver.systeminfo.SystemEnv;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class TaxAgentListCmd extends AbstractCommonCommand<Map<String, Object>> {
|
||||
|
|
@ -53,8 +55,16 @@ public class TaxAgentListCmd extends AbstractCommonCommand<Map<String, Object>>
|
|||
table.setSqlisdistinct("false");
|
||||
|
||||
table.getColumns().add(new WeaTableColumn("id").setDisplay(WeaBoolAttr.FALSE));
|
||||
table.getColumns().add(new WeaTableColumn("40%", "个税扣缴义务人名称", "name", ""));
|
||||
table.getColumns().add(new WeaTableColumn("40%", "备注", "description", ""));
|
||||
table.getColumns().add(new WeaTableColumn("30%", "个税扣缴义务人名称", "name", ""));
|
||||
table.getColumns().add(new WeaTableColumn("50%", "备注", "description", ""));
|
||||
table.getColumns().add(new WeaTableColumn("20%", "操作", "operate", ""));
|
||||
|
||||
List<WeaTableOperate> operateList = new ArrayList<>();
|
||||
WeaTableOperate delete = new WeaTableOperate("删除", "", "0");
|
||||
operateList.add(delete);
|
||||
WeaTableOperates weaTableOperates = new WeaTableOperates();
|
||||
weaTableOperates.setOperate(operateList);
|
||||
table.setOperates(weaTableOperates);
|
||||
|
||||
//设置check是否可用
|
||||
table.setCheckboxList(null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue