test001.cshtml 1009 B

1234567891011121314151617181920212223242526
  1. @model EMIS.Entities.DQP_SOCTemplateDetail
  2. @using Bowin.Web.Controls.Mvc
  3. @{
  4. ViewBag.Title = "test001";
  5. }
  6. @section header{
  7. <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  8. <link rel="stylesheet" type="text/css" href="~/Scripts/Bowin.Control.Core/Plugins/ueditor/themes/default/ueditor.css"/>
  9. }
  10. @using(Html.BeginForm())
  11. {
  12. @Html.Uploader(new uploaderOption { Name = "SOCTemplateDetailAttachment", MainTableID = Model.SOCTemplateItemID, Title = "附件上传", UploadUrl="~/Home/UploaderSave" })
  13. }
  14. @section scripts{
  15. <!-- 配置文件 -->
  16. <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_config.js"></script>
  17. <!-- 编辑器源码文件 -->
  18. <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_all_min.js"></script>
  19. <!-- 实例化编辑器 -->
  20. <script>
  21. function submit() {
  22. $("form").submit();
  23. }
  24. </script>
  25. }