| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>合同数据字典</title>
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/contract/contract-common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1_contract/contractDictionaryList.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/page.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/common.js"></script>
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- .default_search li input[type='text']{height:28px; line-height:28px}
- </style>
- <script type="text/javascript">
- $(function() {
- var isInit="${requestScope.isInit}";
- if(isInit == "false"){
- initDialog = $.ligerDialog({content:"数据字典还未初始化,是否初始化?", title:"系统提示",type:"question",width:300,height:70,allowClose : false,
- buttons:[ { text:"是",onclick:function(){initDataDictionary();} } ,
- {text:"否",onclick:function(){initDialog.close();} }
- ]
- });
- }
- });
-
- </script>
- <script type="text/javascript">
- $(function () {
- search();
- });
- function searchByKword(s){
- var p = $("#p").val();
- var pSize = getPize();
-
- var param={"p":p,"pSize":pSize};
-
- sendAsyncAjax(param, "MTContractDataDictionaryAction.do?task=getDataDictionaryList"+s, "json", function(data) {
- var num = data.Total;
- page(num,pSize,p);
-
- var list = data.Rows;
- var item_name = $('#contentDiv');
- $(item_name).empty();//初始化table,清空table
- var html = '';
- if(list.length == 0){
- html = notquery();
- }else{
- var j=0;
- for (var i = 0; i < list.length; i++)
- {
- var arr = list[i];
- var bdiv=1+j;
- //bdiv=1+j;
- if(j<7){j++;}else{j=0;};
- html+= '<div class=\"tr_cont_new mar4 f5_new'+bdiv+'\">';
- html+= '<a onclick=\"getDataDictionaryDetail('+arr.universalid+');\">';
- html+= '<div class=\"wdrw_tiao_new bn'+bdiv+' fl\"></div>';
- html+= '<div class=\"tr_rw_d_new fl\">';
- html+= '<p><img src=\"/shares/images/master1/rw_ico_menu.png\" width=\"17\" height=\"15\" />';
- html+= '名称:' + arr.dname + ' 更新时间:'+arr.update_date;
- html+= '</p><p class=\"mar5\">摘要:'+arr.remark+'</p>';
- html+= '</div>';
- html+= '</a>';
- html+= '<div class=\"tr_rw_btn_new fr\" style=\"width: 300px;\">';
- html+= '<div class=\"div_btn\"><input type=\"button\" onclick=\"getDataDictionaryDetail('+arr.universalid+');\" class=\"btn_c\" value=\"查 看\" /></div>';
- if (arr.type == 'U' || arr.type == 'S') {
- html+= '<div class=\"div_btn\"><input type=\"button\" onclick=\"editDataDictionary('+arr.universalid+');\" class=\"btn_c\" value=\"修 改\" /></div>';
- }
- html+= '</div>';
- html+= '</div>';
-
- }
- }
-
- $(item_name).html(html);
-
- });
- }
- function search(){
- var s="";
- var dName = encodeURI(encodeURI($("#dName").val()));
- if(dName != "" && typeof(dName) != "undefined" ){
- s += "&dName=" + dName;
- }
- searchByKword(s);
- }
- </script>
- </head>
- <body>
- <div class="tc_b">
- <div id="left" style="float:left;width:100%;">
- <div class="tc_r">
- <div class="tr_con b5 f4" >
- <div class="fl">
- <img src="/shares/images/master1/wdrw_ico.png" width="25" height="31" /> 数据字典</div>
- <div class="div_ck_k fr">
- <input class="div_cx fl" name="dName" id="dName" type="text" />
- <input class="btn_ck fl" type="button" onclick="search();" id="button" />
- </div>
- </div>
- <div class="tr_right_bg">
- <div id="contentDiv"></div>
- <jsp:include page="/yw/master1/page.jsp">
- <jsp:param name="functionName" value="search"/>
- </jsp:include>
- </div>
- </div>
- </div>
- <%@ include file="/yw/master1_contract/leftContractConfig.jsp"%>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- <script type="text/javascript">
- var isInit = "${requestScope.isInit }";
- var initDialog;
- </script>
- </html>
|