ruleDataList.jsp 2.2 KB

1234567891011121314151617181920212223242526
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <t:datagrid name="operationList" title="operate.manage.data" actionUrl="functionController.do?ruledategrid&functionId=${functionId}" idField="id">
  4. <t:dgCol title="common.id" field="id" hidden="true"></t:dgCol>
  5. <t:dgCol title="规则名称" field="ruleName" width="50"></t:dgCol>
  6. <t:dgCol title="规则字段" field="ruleColumn" dictionary="t_s_function_rule,ruleColumn,ruleName" width="50"></t:dgCol>
  7. <t:dgCol title="规则条件" field="ruleConditions" dictionary="rulecon" width="50"></t:dgCol>
  8. <c:if test="${ TSFunctionRuleValues.ruleType != null && TSFunctionRuleValues.ruleType == 'group' }">
  9. <t:dgCol title="规则值" field="ruleValue" dictionary="${TSFunctionRuleValues.ruleValue}" width="50"></t:dgCol>
  10. </c:if>
  11. <c:if test="${ TSFunctionRuleValues.ruleType != null && TSFunctionRuleValues.ruleType == 'join' }">
  12. <t:dgCol title="规则值" field="ruleValue" dictionary="${TSFunctionRuleValues.ruleTable},${TSFunctionRuleValues.ruleValue},${TSFunctionRuleValues.ruleName}" width="50"></t:dgCol>
  13. </c:if>
  14. <t:dgCol title="common.operation" field="opt"></t:dgCol>
  15. <!-- //update-begin--Author:zhangjq Date:20160904 for:1332 【系统图标统一调整】讲{系统管理模块}{在线开发}的链接按钮,改成ace风格 -->
  16. <t:dgDelOpt url="functionController.do?delrule&id={id}" title="common.delete" urlclass="ace_button" urlfont="fa-trash-o"></t:dgDelOpt>
  17. <t:dgFunOpt funname="editoperation(id,operationname)" title="common.edit" urlclass="ace_button" urlfont="fa-edit"></t:dgFunOpt>
  18. <!-- //update-end--Author:zhangjq Date:20160904 for:1332 【系统图标统一调整】讲{系统管理模块}{在线开发}的链接按钮,改成ace风格 -->
  19. <t:dgToolBar title="common.add.param" langArg="common.operation" icon="icon-add" operationCode="add" url="functionController.do?addorupdaterule&functionId=${functionId}" funname="add"></t:dgToolBar>
  20. </t:datagrid>
  21. <script type="text/javascript">
  22. function editoperation(operationId,operationname)
  23. {
  24. createwindow("<t:mutiLang langKey="common.edit.param" langArg="common.operation"/>","functionController.do?addorupdaterule&functionId=${functionId}&id="+operationId);
  25. }
  26. </script>