123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <!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>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>无标题文档</title>
- <script type="text/javascript">
- function saveYcsj() {
- if (validator(ycsjForm)) {
- huimv.showProcessModel("保存数据中");
- jQuery("#ycsjForm").ajaxSubmit({
- dataType : "json",
- success : function(data) {
- huimv.hideProcessModel();
- // 保存成功
- if (data.returnCode > 0) {
- // 关闭对话框
- Dialogs.close();
- }
- },
- error : function(data) {
- huimv.showError(data.responseText);
- huimv.hideProcessModel();
- }
- });
- }
- }
- </script>
- </head>
- <body>
- <div id="htmlError"></div>
- <form name="ycsjForm" id="ycsjForm" method="post" action="saveYcsj.htm">
- <input type="hidden" name="daJqda.id" value="$!daJqda.id" />
- <table width="99%" align="center" cellpadding="0" cellspacing="0" class="tabline">
- <tr class="listm">
- <td colspan="2">配置信息</td>
- </tr>
- <tr>
- <td class="tdcolor1">当前版本</td>
- #if ("$!type" == "1")
- <td class="tdcolor2">$!daJqda.dqbb</td>
- #elseif ("$!type" == "2")
- <td class="tdcolor2">$!daJqda.hkdqbb</td>
- #elseif ("$!type" == "3")
- <td class="tdcolor2">$!daJqda.lcdqbb</td>
- #else
- <td class="tdcolor2"></td>
- #end
- </tr>
- <tr>
- <td class="tdcolor1">目标版本<span class="tip_star">*</span></td>
- #if ("$!type" == "1")
- <td class="tdcolor2">
- <input type="text" name="daJqda.mbbb" value="$!daJqda.mbbb" class="noborder5" maxlength="20"
- valid="required" errmsg="目标版本不能为空!"
- onfocus="this.className='input_on5';this.onmouseout=''"
- onblur="this.className='input_off5';this.onmouseout=function(){this.className='input_out5';};" />
- </td>
- #elseif ("$!type" == "2")
- <td class="tdcolor2">
- <input type="text" name="daJqda.hkmbbb" value="$!daJqda.hkmbbb" class="noborder5" maxlength="20"
- valid="required" errmsg="目标版本不能为空!"
- onfocus="this.className='input_on5';this.onmouseout=''"
- onblur="this.className='input_off5';this.onmouseout=function(){this.className='input_out5';};" />
- </td>
- #elseif ("$!type" == "3")
- <td class="tdcolor2">
- <input type="text" name="daJqda.lcmbbb" value="$!daJqda.lcmbbb" class="noborder5" maxlength="20"
- valid="required" errmsg="目标版本不能为空!"
- onfocus="this.className='input_on5';this.onmouseout=''"
- onblur="this.className='input_off5';this.onmouseout=function(){this.className='input_out5';};" />
- </td>
- #else
- <td class="tdcolor2"></td>
- #end
- </tr>
- <tr>
- <td class="tdcolor1">FTP命令<span class="tip_star">*</span></td>
- #if ("$!type" == "1")
- <td class="tdcolor2">
- <textarea name="daJqda.ftpcmd" rows="6" style="border: 0; width: 98%"
- valid="required" errmsg="FTP命令不能为空!"
- onKeyDown="countTextAreaLength(this,200);"
- onKeyUp="countTextAreaLength(this,200);">$!daJqda.ftpcmd</textarea>
- </td>
- #elseif ("$!type" == "2")
- <td class="tdcolor2">
- <textarea name="daJqda.hkftpcmd" rows="6" style="border: 0; width: 98%"
- valid="required" errmsg="FTP命令不能为空!"
- onKeyDown="countTextAreaLength(this,200);"
- onKeyUp="countTextAreaLength(this,200);">$!daJqda.hkftpcmd</textarea>
- </td>
- #elseif ("$!type" == "3")
- <td class="tdcolor2">
- <textarea name="daJqda.lcftpcmd" rows="6" style="border: 0; width: 98%"
- valid="required" errmsg="FTP命令不能为空!"
- onKeyDown="countTextAreaLength(this,200);"
- onKeyUp="countTextAreaLength(this,200);">$!daJqda.lcftpcmd</textarea>
- </td>
- #else
- <td class="tdcolor2"></td>
- #end
- </tr>
- </table>
- <br />
- </form>
- </body>
- </html>
|