Jeecms之查询实现
编程技术  /  houtizong 发布于 3年前   83
<@p.text colspan="1" width="45" label="起始时间" name="queryStartDate" id="queryStartDate" readonly="readonly" size="24" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate" /> <@p.text colspan="1" width="50" label="结束时间" name="queryEndDate" id="queryEndDate" readonly="readonly" size="24" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate" />
<a href="/web/admin/auxiliary/msg/Com_list.do?group_state=0_" >[未回复]</a> <a href="/web/admin/auxiliary/msg/Com_list.do?group_state=0_true" >[已回复]</a> <a href="/web/admin/auxiliary/msg/Com_list.do?group_state=1_true" >[已审核]</a>
<td width="20px" align="left"><@p.button value="未回复" onclick="submit_date('0_');" /></td> <td width="20px" align="left"><@p.button value="已回复" onclick="submit_date('0_true');" /> <@p.button value="已审核" onclick="submit_date('1_true');" /></td> function submit_date(group_state){ var form = document.getElementById("submitForm"); alert("form.aciton:"+form.action); form.action = form.action+"?group_state="+group_state; form.method = "post"; form.submit(); }
<input type="hidden" name="id"/> <input type="hidden" name="pageNo" value="2"/> <input type="hidden" name="chnlId" value="76"/> <input type="hidden" name="queryInputAdminId" value=""/> <input type="hidden" name="queryTitle" value="公积金"/> <input type="hidden" name="queryTopLevel" value="0"/> <input type="hidden" name="queryOrder" value="0"/> <input type="hidden" name="queryContentCtgId" value="1"/> <input type="hidden" name="queryStatus" value="3"/>
<input type="hidden" name="${keyId}"/> <@p.hidden name="pageNo" /> <#list keepParams as keep> <@p.hidden name="${keep}" /> </#list> <#list Parameters?keys as pkey> <#if pkey!=keyId && pkey!=batchId && !keepParams?seq_contains(pkey) && pkey?starts_with('query')> <@p.hidden name="${pkey}" /> </#if> </#list>
<#list Parameters?keys as pkey> <#if pkey!=keyId && pkey!=batchId && !keepParams?seq_contains(pkey) && pkey?starts_with('query')> <@p.hidden name="${pkey}" /> </#if> </#list>
<#if query=="true"> <@p.hidden name="pageNo" /><#rt/> <#list Parameters?keys as pkey> <#if pkey?starts_with('query')> <@p.hidden name="${pkey}" /><#t/> </#if> </#list> </#if>
function init(){ var tempDate = new Date(); var currDate = ChangeDateToString(tempDate); var startDate = document.getElementById("queryStartDate"); var endDate =document.getElementById("queryEndDate"); <#if queryStartDate??> startDate.value = "${queryStartDate}"; endDate.value = "${queryEndDate}"; <#else> startDate.value =currDate; endDate.value = currDate; </#if> <#if queryResponseStatus??> document.getElementById("queryResponseStatus").value="${queryResponseStatus}"; <#else> document.getElementById("queryResponseStatus").option[0].selected = true; </#if> } function ChangeDateToString(DateIn){ var Year = 0; var Month = 0; var Day = 0; var CurrentDate = ""; //初始化时间 Year = DateIn.getYear(); Month = DateIn.getMonth()+1; Day = DateIn.getDate(); CurrentDate = Year + "-"; if (Month >= 10 ){ CurrentDate = CurrentDate + Month + "-"; } else{ CurrentDate = CurrentDate + "0" + Month + "-"; } if (Day >= 10 ){ CurrentDate = CurrentDate + Day ; } else{ CurrentDate = CurrentDate + "0" + Day ; } return CurrentDate; } </script>
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接