deploymentInProcesskeyList.jsp 2.3 KB

123456789101112131415161718192021222324
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <t:base type="jquery,easyui,tools"></t:base>
  4. <div class="easyui-layout" fit="true">
  5. <div region="center" style="padding:1px;">
  6. <t:datagrid name="deploymentInProcesskeyList" title="common.process.published" actionUrl="activitiController.do?processDeploymentInProcesskeyGrid&processkey=${processkey}" idField="id">
  7. <t:dgCol title="ProcessDefinitionId" field="id" width="100" hidden="true"></t:dgCol>
  8. <t:dgCol title="DeploymentId" field="deploymentId" width="70" hidden="true"></t:dgCol>
  9. <t:dgCol title="common.name" field="name" width="70"></t:dgCol>
  10. <t:dgCol title="key" field="key" width="70"></t:dgCol>
  11. <t:dgCol title="common.version" field="version"></t:dgCol>
  12. <t:dgCol title="common.status" field="suspensionState" replace="已激活_1,已挂起_2"></t:dgCol>
  13. <t:dgCol title="picture.name" field="diagramResourceName" hidden="true"></t:dgCol>
  14. <t:dgCol title="resource.name" field="resourceName" hidden="true"></t:dgCol>
  15. <t:dgCol title="common.operation" field="opt"></t:dgCol>
  16. <t:dgFunOpt funname="deploymentimg(deploymentId,diagramResourceName,name)" title="common.process.chart" urlclass="ace_button" urlfont="fa-image"></t:dgFunOpt>
  17. <t:dgConfOpt exp="suspensionState#eq#1" url="activitiController.do?setProcessState&state=suspend&processDefinitionId={id}" title="pending" message="is.pending" urlclass="ace_button" urlfont="fa-pause"></t:dgConfOpt>
  18. <t:dgConfOpt exp="suspensionState#eq#2" url="activitiController.do?setProcessState&state=active&processDefinitionId={id}" title="common.active" message="preferences.isActive" urlclass="ace_button" urlStyle="background-color:#FF6347" urlfont="fa-play"></t:dgConfOpt>
  19. <t:dgDelOpt url="activitiController.do?deleteProcess&key={key}&deploymentId={deploymentId}" title="common.delete" urlclass="ace_button" urlStyle="background-color:#ec4758;" urlfont="fa-trash-o"></t:dgDelOpt>
  20. <t:dgFunOpt funname="downloadXml(deploymentId,resourceName,name)" title="download.process" urlclass="ace_button" urlfont="fa-download"></t:dgFunOpt>
  21. <t:dgToolBar title="deploy.process" icon="icon-edit" operationCode="edit" url="activitiController.do?openDeployProcess" funname="openuploadwin"></t:dgToolBar>
  22. </t:datagrid>
  23. </div>
  24. </div>