12345678910111213141516171819202122232425262728293031323334353637 |
- @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(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="p_title">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Upload")</div>
- </div>
- @Html.Hidden("SOCDetailID", Model.SOCDetailID);
- @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 type="text/javascript">
- function SOCDetailUpload_Save() {
- $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/SOCDetail/Upload', {}, function (data) {
- if (data == "上传成功") {
- top.$("#@(Request["WindowID"])").dialog("close");
- } else {
- $.messager.alert("系统提示", data);
- }
- });
- }
- </script>
- }
|