| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>훨蛟깃硫욋죗깊</title>
- <!-- <script type="text/javascript" src="/shares/js/yw/ams/flow/amsflow.js"></script> -->
- <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <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/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/constant.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>
- <script type="text/javascript" src="/shares/js/yw/master1/searchBox.js"></script>
- <script type="text/javascript">
- $(function() {
- initList();
- });
- function searchByKword(s) {
- var p = $("#p").val();
- var pSize = getPize();
- var param = {
- "p" : p,
- "pSize" : pSize
- };
- // url: 'amsFlowActionTemplate.do?task=listConf&time=' + new Date().getTime(),
- sendAsyncAjax(
- param,
- "mtAmsFlowActionTemplate.do?task=listConf"
- + s + "&time=" + new Date().getTime(),
- "json",
- function(data) {
- var num = data.Total;
- page(num, pSize, p);
- var archiveList = data.Rows;
- var item_name = $('#contentDiv');
- $(item_name).empty();//놓迦뺏table,헌왕table
- var html = '';
- if (archiveList.length == 0) {
- html = notquery();
- } else {
- var j = 0;
- for (var i = 0; i < archiveList.length; i++) {
- var arr = archiveList[i];
- var bdiv = 1;
- bdiv = 1 + j;
- if (j < 7) {
- j++;
- } else {
- j = 0;
- }
- ;
- html += '<div class="tr_cont_new mar4 f5_new">';
- 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 += "직넋토零ID:";
- html += arr.conf_id;
- html += " 직넋토零츰냔:";
- html += " " + arr.conf_name;
- html += " 직넋토零친겼:";
- html += ' ' + arr.conf_model_name;
- html += " 직넋토零구鬧:";
- html += ' ' + arr.conf_mark;
- html += '</p></div>';
- html += ' <div class="tr_rw_btn_new fr">';
- html += '<div class="div_btn"><input type="button" onclick="edit('
- + arr.conf_id
- + ')" class="btn_c" value="錦 맣" /></div>';
- // html += '<div class="div_btn"><input type="button" onclick="view('
- // + arr.conf_id
- // + ')" class="btn_c" value="꿴 였" /></div>';
- html += ' </div>';
- html += '</div>';
- }
- }
- $(item_name).html(html);
- });
- }
- function subDate(d) {
- var s = "";
- if (d != null && d.length > 10) {
- return s = d.substring(0, 10);
- } else {
- return s;
- }
- ;
- }
- function edit(conf_id) {
- var uri = "mtAmsFlowActionTemplate.do?task=toEditConf&conf_id="
- + conf_id;
- item(uri);
- }
- function view(conf_id) {
- var uri = "mtAmsFlowActionTemplate.do?task=viewConf&conf_id="
- + conf_id;
- item(uri);
- }
- function initList() {
- var conf_model_name = searchBox.getValue();
- var s = "";
- if (conf_model_name != "" && typeof (conf_model_name) != "undefined") {
- s += "&conf_model_name=" + encodeURI(encodeURI(conf_model_name));
- }
- 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 f4">
- <img src="/shares/images/master1/wdrw_ico.png" width="25" height="31" /> 직넋�零
- </div>
- <div class="fl ">
- </div>
- <div class="div_ck_k fr">
- <input class="div_cx fl" name="conf_model_name" id="conf_model_name" type="text" />
- <input class="btn_ck fl" type="button" onclick="initList();" id="button" />
- </div>
- </div>
- <div class="tr_right_bg fl">
- <div id="contentDiv"></div>
- <jsp:include page="/yw/master1/page.jsp">
- <jsp:param name="functionName" value="initList" />
- <jsp:param name="p" value="1" />
- <jsp:param name="pSize" value="7" />
- </jsp:include>
- </div>
- </div>
- </div><%@ include file="/yw/master1_ams/config/leftAmsConfig.jsp"%>
- </div>
- </body>
- </html>
|