63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
@using WX.CRM.WebHelper
|
|
@{
|
|
/**/
|
|
|
|
/**/
|
|
|
|
ViewBag.Title = "bas_salesDepartment";
|
|
Layout = "~/Views/Shared/_content.cshtml";
|
|
}
|
|
<div class="layui-card" id="topcard" style="width:100%;">
|
|
<div class="layui-card-header layui-self-header">
|
|
<div style="float:left;position:relative;">
|
|
消息中心
|
|
</div>
|
|
</div>
|
|
<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
|
|
<ul class="layui-tab-title">
|
|
<li class="layui-this tab-item" lay-id="1">重复联系通知</li>
|
|
<li class="tab-item" lay-id="3">投诉处理通知</li>
|
|
<li class="tab-item" lay-id="4">合规退款申请通知</li>
|
|
</ul>
|
|
<div class="layui-tab-content">
|
|
<div class="layui-tab-item layui-show">
|
|
<iframe src="/MessageCenter/RepeatedContactNotification?notificationType=@Html.Raw(ViewBag.notificationType)" class="live-iframe"></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
//注意:选项卡 依赖 element 模块,否则无法进行功能性操作
|
|
layui.use('element', function () {
|
|
var element = layui.element;
|
|
//…
|
|
});
|
|
function openTaskList() {
|
|
debugger
|
|
parent.ChildAddTab("我的群发任务列表", "MsgToolTask/MsgToolTaskTab", "");
|
|
}
|
|
|
|
function openComplaintList() {
|
|
parent.ChildAddTab("投诉处理列表", "/WeiXin/OutComplaint/ComplaintTab", "");
|
|
}
|
|
|
|
function openRerundApplyList() {
|
|
parent.ChildAddTab("合规退款申请列表", "/WeiXin/OrderRefundApply/index", "");
|
|
}
|
|
|
|
$(function () {
|
|
$(".tab-item").click(function () {
|
|
var tabIndex = $(this).attr("lay-id");
|
|
console.log(tabIndex);
|
|
$('iframe').attr('src', '/MessageCenter/RepeatedContactNotification?notificationType=' + tabIndex);
|
|
});
|
|
})
|
|
</script>
|
|
<style>
|
|
.live-iframe {
|
|
width: 100%;
|
|
height: 800px;
|
|
border: 0;
|
|
}
|
|
</style>
|