ccmsEdit.ss.jsp 2.2 KB

1
  1. <html> <head> </head> <body> <form action="<serv.ss name='saveCcms' dest='info' parm='{nrid:"${nr.mswj}"}'/>" method="post"> <div class='content-div' ssFith="true"> <table class="form"> <tr> <th width="108px">名称</th> <td><input name="mc" type="text" value="${nr.mc}"/></td> </tr> <tr> <th width="98px">文件</th> <td> <%-- 去掉,用 'wjBaseName'。Lin <input type='hidden' name='wj' value="${nr.wj}"> --%> <span id='dataBaseName'></span> <%-- 再改回 wj。sltwj。Lin 下同 <input type='hidden' name='dataBaseName' value="${nr.wj}"/> --%> <%-- name='wjwj'。Lin --%> <input type='hidden' name='datawj' value="${nr.wj}"/> <%-- 再改为 xxxBaseName("Test图片.png"),改用 UUID 了。Lin 下同 <input type='hidden' name='dataFileName' value="${nr.wj}"/> --%> <%-- 增加。Lin --%> <input type='hidden' name='dataBaseName' value="${nr.wj}"/> <%-- 增加。Lin --%> <input type='button' id='dataEdit' value="上传" class="content-button"> <ul.ss name="data"/> <%-- 去掉 run="callback",去掉 'wj' 了。Lin --%> </td> </tr> <tr> <th>缩略图</th> <td> <span id='thnBaseName'></span> <input type='hidden' name='thnwj' value="${nr.sltwj}"/> <%-- name='sltwj'。Lin --%> <input type='button' id='thnEdit' value="上传" class="content-button"> <ul.ss name="thn" type="gif,jpg,png"/> </td> </tr> <tr> <th>图标</th> <td> <span id='iconBaseName'></span> <input type='hidden' name='iconwj' value="${nr.tbwj}"/> <%-- name='tbwj'。Lin --%> <input type='button' id='iconEdit' value="上传" class="content-button"> <ul.ss name="icon" type="gif,jpg,png"/> </td> </tr> </table> </div> <div class="bottom-div"> <div class="bottom-down-div border-top"> <input type="submit" value="保存" class="bottom-button" name="updateNr"/> <input type="button" name="button" onclick="wd.display.closeDialog();" value="取消" class="bottom-button"> </div> </div> </form> <%-- 去掉,去掉 'wj' 了。Lin <script type="text/javascript"> function callback(){ $('input[name=wj]').val($('input[name=wjwj]').val()); } </script> --%> </body> </html>