123456789101112131415161718192021222324252627282930313233343536 |
- @model EMIS.ViewModel.DQPSystem.SOCDetailView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc
- @{
- ViewBag.Title = "test001";
- }
- @section header{
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
- <link rel="stylesheet" type="text/css" href="~/Scripts/Bowin.Control.Core/Plugins/ueditor/themes/default/ueditor.css"/>
- }
- @using(Html.BeginForm())
- {
- <div class="p_title">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Upload")</div>
- </div>
- @Html.Uploader(new uploaderOption { Name = "SOCAttachment", MainTableID = Model.SOCDetailID, Title = "附件管理" })
- }
- @section scripts{
- <!-- 配置文件 -->
- <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_config.js"></script>
- <!-- 编辑器源码文件 -->
- <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_all_min.js"></script>
- <!-- 实例化编辑器 -->
- <script src="~/Scripts/Business/DQPSystem/SOCTemplateEditUpload.js" type="text/javascript"></script>
- <script type="text/javascript">
- function SOCDetailUpload_Save() {
- $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/SOC/Upload', {}, function (data) {
- if (data == "上传成功") {
- top.$("#@(Request["WindowID"])").dialog("close");
- } else {
- $.messager.alert("系统提示", data);
- }
- });
- }
- </script>
- }
|