<%@ 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="dialog,grid,combox,comboDialog,flexField,commonTree,formButton"/>
    <script src='<c:url value="/system/tbpm/procVar/procVarList.js"/>' type="text/javascript"></script>
</head>
<body>
<div class="container-fluid">
    <x:hidden name="procdefId"/>
    <t:grid id="maingrid"
            url="/bpm/procVar/sliceQueryProcVar.ajax" style="margin: 2px;"
            height="450"
            width="680"
            heightDiff="-13"
            fixedCellHeight="true"
            selectRowButtonOnly="true"
            checkbox="true"
            params="{procdefId: '${procdefId}'}">
        <t:tool-button id="addHandler" clickFn="showAddProcVarDialog"/>
        <t:tool-button id="updateHandler" clickFn="showUpdateProcVarDialog"/>
        <t:tool-button id="deleteHandler" clickFn="deleteProcVar"/>
        <t:tool-button id="importVariableHandler" clickFn="importVariableHandler" text="导入" />
        <t:grid-column name="name" display="名称" type="string" width="200"/>
        <t:grid-column name="code" display="编码" type="string" width="200"/>
    </t:grid>
</div>
</body>
</html>
