{ "type" : "page", "title" : "银行帐户信息-五建定制", "body" : { "type" : "crud", "api" : "/api/flow/OA_BANKACCOUNTINFO_SEARCH_SZWJ", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "UNITINFOID", "label" : "单位名称", "type" : "picker", "clearable" : true, "source" : "/api/picker/94e2dda5-c733-46c9-95ea-097688b8736d/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "UNITTYPE", "label" : "单位分类", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/UNITTYPE" }, { "name" : "PAYEEUNITNAME", "label" : "户名", "type" : "input-text" }, { "name" : "INTERBANKNO", "label" : "行号", "type" : "input-text" }, { "name" : "OPENINGBANK", "label" : "开户银行", "type" : "input-text" }, { "name" : "ACCOUNTNUMBER", "label" : "银行账号", "type" : "input-text" }, { "name" : "DEDICATEDACCOUNT", "label" : "是否专户", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" }, { "name" : "ABOLISH", "label" : "是否废止", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] }, "columns" : [ { "name" : "OA_BANKACCOUNTINFO_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "UNITINFOID_DISPLAY__", "label" : "单位名称", "width" : 200 }, { "name" : "UNITPROPERTY", "label" : "单位性质", "width" : 100, "type" : "mapping", "map" : { "1" : "外资", "2" : "合资", "3" : "国有", "4" : "民营", "5" : "个体", "6" : "其它" } }, { "name" : "UNITTYPE", "label" : "单位分类", "width" : 100, "type" : "mapping", "map" : { "1" : "其它单位", "2" : "物资供应商", "3" : "机械供应商", "4" : "专业分包商", "5" : "劳务队组", "6" : "其它供应商", "7" : "建设单位", "8" : "监理单位", "9" : "勘察单位", "10" : "设计单位", "11" : "审计单位", "12" : "施工单位", "13" : "劳务公司", "14" : "代理单位", "15" : "本公司组织" } }, { "name" : "PAYEEUNITNAME", "label" : "户名", "width" : 200 }, { "name" : "INTERBANKNO", "label" : "行号", "width" : 150 }, { "name" : "OPENINGBANK", "label" : "开户银行", "width" : 200 }, { "name" : "ACCOUNTNUMBER", "label" : "银行账号", "width" : 200 }, { "name" : "DEDICATEDACCOUNT", "label" : "是否专户", "width" : 80, "type" : "mapping", "map" : { "0" : "否", "1" : "是" } }, { "name" : "ABOLISH", "label" : "是否废止", "width" : 80, "type" : "mapping", "map" : { "0" : "否", "1" : "是" } } ], "headerToolbar" : [ { "type" : "button", "id" : "添加", "label" : "添加", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "添加", "size" : "lg", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/13b464c5-6d72-49f2-8cf6-e79d930665e6?format=amis", "api" : { "method" : "get", "url" : "/api/form/OA_BANKACCOUNTINFO/defaults?templateId=13b464c5-6d72-49f2-8cf6-e79d930665e6" } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/OA_BANKACCOUNTINFO_ADD?__egtpl=13b464c5-6d72-49f2-8cf6-e79d930665e6", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "修改", "label" : "修改", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "修改", "size" : "lg", "data" : { "&" : "${selectedItems[0]}" }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/13b464c5-6d72-49f2-8cf6-e79d930665e6?format=amis", "api" : { "method" : "post", "url" : "/api/flow/OA_BANKACCOUNTINFO_LOAD?__egtpl=13b464c5-6d72-49f2-8cf6-e79d930665e6", "data" : { "OA_BANKACCOUNTINFO_ID" : "${OA_BANKACCOUNTINFO_ID}" }, "responseData" : { "&" : "${result}" } } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/OA_BANKACCOUNTINFO_UPDATE?__egtpl=13b464c5-6d72-49f2-8cf6-e79d930665e6", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "删除", "label" : "删除", "level" : "danger", "actionType" : "ajax", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "confirmText" : "确认要删除此记录吗?", "api" : { "method" : "post", "url" : "/api/flow/OA_BANKACCOUNTINFO_DELETE", "data" : { "ids" : "${selectedItems|pick:OA_BANKACCOUNTINFO_ID|join:','}" } } }, { "type" : "button", "id" : "查看", "label" : "查看", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "查看", "size" : "lg", "data" : { "&" : "${selectedItems[0]}", "__readonly" : true }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/13b464c5-6d72-49f2-8cf6-e79d930665e6?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/OA_BANKACCOUNTINFO_LOAD?__egtpl=13b464c5-6d72-49f2-8cf6-e79d930665e6", "data" : { "OA_BANKACCOUNTINFO_ID" : "${OA_BANKACCOUNTINFO_ID}" }, "responseData" : { "&" : "${result}" } } } } }, "pagination" ], "primaryField" : "OA_BANKACCOUNTINFO_ID" } }