123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <script type="text/javascript">
- KindEditor.ready(function(K) {
- var options = {
- //自定义工具栏
- items : [ 'source', 'plainpaste', 'wordpaste', 'preview', '|',
- 'fontname', 'fontsize', '|',
- 'forecolor', 'hilitecolor', 'bold',
- 'italic', 'underline', 'removeformat', '|',
- 'clearhtml', 'selectall','|',
- 'justifyleft', 'justifycenter', 'justifyright',
- 'indent','outdent','insertorderedlist', 'insertunorderedlist', '|',
- 'image', "multiimage", 'insertfile', '|',
- 'table', 'baidumap' ],
- //图片上传Action
- uploadJson : whzl.basePath+'/imgUpload_imgUpload',
-
- //允许网络图片上传
- allowImageRemote : true,
-
- //文件空间Action
- fileManagerJson : whzl.basePath+'/fileManager_fileManager',
-
- //允许展示文件空间
- allowFileManager : true,
-
- //kindeditor创建后,将编辑器的内容设置到原来的textarea控件里
- afterCreate : function(){ this.sync(); },
-
- //编辑器聚焦后,将编辑器的内容设置到原来的textarea控件里
- afterBlur: function(){ this.sync(); },
-
- //编辑器内容发生变化后,将编辑器的内容设置到原来的textarea控件里
- afterChange: function(){ this.sync(); }
- };
-
- editor_update = K.create('#content_update', options);
- });
- </script>
- <form id="updateTenderForm" method="post" enctype="multipart/form-data">
- <input type="hidden" name="tender.id" id="id_update">
- <input type="hidden" name="tender.chooseHouse.id" id="chooseHouseId_update">
- <!-- <div class="easyui-tabs" id="tabs_update">-->
- <div title="招标信息" id="zbxx_update">
- <table class="mytable" style="width: 99.9%;">
- <tr>
- <th width="15%">招标房源</th>
- <td width="35%">
- <input type="text" id="title_update" readonly="readonly">
- <input type="hidden" name="tender.ChooseHosue.id" id="chooseHouseId_update">
- </td>
- <th>招标类别</th>
- <td>
- <SELECT id="tenderType_update" name="tender.tenderType" required="true" class="easyui-validatebox" style="width:172px">
- <option value="">请选择...</option>
- </SELECT>
- </td>
- </tr>
- <tr>
- <th width="15%">项目编号</th>
- <td width="35%">
- <input type="text" name="tender.number" id="number_update">
- </td>
- <th width="15%">项目名称</th>
- <td width="35%">
- <input class="easyui-validatebox" required="true" id="name_update" name="tender.name">
- </td>
- </tr>
- <tr>
- <th>开标时间</th>
- <td>
- <input class="easyui-datebox" id="startDate_update" name="tender.startDate">
- </td>
- <th>开标地点</th>
- <td colspan="3">
- <input class="easyui-validatebox" id="address_update" name="tender.address">
- </td>
- </tr>
- <tr>
- <th>公告内容</th>
- <td colspan="3">
- <textarea rows="20" cols="" style="width: 100%" name="tender.content" id="content_update"></textarea>
- </td>
- </tr>
- </table>
- </div>
- <div title="附件上传" id="fjsc_update">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th width="15%">招标文件</th>
- <td width="85%">
- <span id="tenderFile_update_file">
- <input type="button" value="上传" onclick="tenderFile_update.click()">
- <input type="file" multiple name="tenderFile" id="tenderFile_update" class="easyui-validatebox" style="float:left;width:0px">
- </span>
- </td>
- </tr>
- </table>
- </div>
- <!-- </div> -->
- </form>
|