<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="x" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <x:base include="layout,tree,dialog,grid,combox,comboDialog,flexField,commonTree,formButton"/>
    <script src='<c:url value="/system/tbpm/service/paramList.js"/>' type="text/javascript"></script>
</head>
<body>
<div class="container-fluid">
    <x:hidden name="serviceId"/>
    <t:grid id="maingrid"
            url="/bpm/serviceParam/sliceQuery.ajax" style="margin: 2px;"
            height="490"
            width="900"
            heightDiff="-13"
            fixedCellHeight="true"
            selectRowButtonOnly="true"
            checkbox="true"
            params="{serviceId: '${serviceId}'}">
        <t:tool-button id="addHandler" clickFn="showAddDialog"/>
        <t:tool-button id="updateHandler" clickFn="showUpdateDialog"/>
        <t:tool-button id="deleteHandler" clickFn="deleteHandler"/>
        <t:grid-column name="name" display="名称" type="string" width="200"/>
        <t:grid-column name="code" display="编码" type="string" width="200"/>
        <t:grid-column name="kindIdTextView" display="类型" type="string" width="100"/>
    </t:grid>
</div>
</body>
</html>
