69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
@model WX.CRM.Model.Entity.RES_ACTIVITY_EXPORTLOG
|
|
@using WX.CRM.WebHelper;
|
|
|
|
@{
|
|
ViewBag.Title = "RES_ACTIVITY_EXPORTLOG";
|
|
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
|
|
|
|
}
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$("#btnSave").click(function () {
|
|
var sourceId = $("#SOURCEID").val();//活动或者客户ID
|
|
var sourceType = $("#SOURCETYPE").val();
|
|
|
|
var stime = $("#CTIME").val();
|
|
var etime = $("#ETIME").val();
|
|
|
|
var ResTypeId = $("#ResTypeId").val();
|
|
var ActivityId = "";
|
|
if (sourceType == 0)
|
|
ResTypeId = sourceId;
|
|
else
|
|
ActivityId = sourceId;
|
|
window.open("/Res/Activity/ContinuedResourceExport?ResTypeId=" + ResTypeId + "&ActivityId=" + ActivityId + "&stime=" + stime + "&etime=" + etime);
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<div class="mvctool bgb">
|
|
@Html.ToolButtonPlain("btnSave", "icon-excel", "导出", false, "")
|
|
</div>
|
|
@using (Html.BeginForm("Edit", "RES_ACTIVITY_EXPORTLOG", null, FormMethod.Post, new { Id = "CreateForm" }))
|
|
{
|
|
@Html.ValidationSummary(true)
|
|
|
|
<table class="fromEditTable setTextWidth300">
|
|
<tbody>
|
|
<tr>
|
|
<td width="60px" style="width:100px;">
|
|
资源或活动ID
|
|
</td>
|
|
<td style="width:310px">
|
|
<input type="text" value="@ViewBag.sourceName" />
|
|
@Html.HiddenFor(m => m.SOURCEID, new { @readonly = "true" })
|
|
@Html.Hidden("ResTypeId", Request.QueryString["ResTypeId"])
|
|
@Html.HiddenFor(m => m.SOURCETYPE)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="60px" style="width:100px;">
|
|
上次时间
|
|
</td>
|
|
<td style="width:310px">
|
|
@Html.TextBoxFor(m => m.CTIME, new { @readonly = "true" })
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="60px" style="width:100px;">
|
|
当前时间
|
|
</td>
|
|
<td style="width:310px">
|
|
@Html.TextBox("ETIME", DateTime.Now, new { @readonly = "true" })
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
} |