84 lines
3.2 KiB
Plaintext
84 lines
3.2 KiB
Plaintext
@model AY.CRM.Model.Entity.BAS_INNERUSER_EXT
|
|
@using System.Web.UI.WebControls
|
|
@using WX.CRM.WebHelper;
|
|
@{
|
|
ViewBag.Title = "客服属性修改";
|
|
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
|
|
|
|
}
|
|
<style>
|
|
fieldset {
|
|
margin: 10px;
|
|
width: inherit;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$("#btnSave").click(function () {
|
|
|
|
$.r_ajax({
|
|
url: "/Base/InnerUser/EditUserCustomer",
|
|
type: "Post",
|
|
data: $("#CreateForm").serialize(),
|
|
dataType: "json",
|
|
loading: true,
|
|
success: function (data) {
|
|
if (data.type === 1) {
|
|
window.parent.frameReturnByMes(data.message);
|
|
window.parent.frameReturnByReload(true);
|
|
window.parent.frameReturnByClose();
|
|
} else {
|
|
window.parent.frameReturnByMes(data.message);
|
|
}
|
|
}
|
|
});
|
|
|
|
|
|
return false;
|
|
});
|
|
});
|
|
|
|
</script>
|
|
<div style="border: 1px #cccccc solid;width:100%;height:100%;">
|
|
<div class="mvctool bgb">
|
|
@Html.ToolButtonPlain("btnSave", "icon-save", "保存", false, "")
|
|
@Html.ToolButtonPlain("btnClose", "icon-remove", "关闭", false, "onClick='window.parent.frameReturnByClose()'")
|
|
</div>
|
|
<div style=" height: 80%; width: 100%;overflow-y: auto">
|
|
@using (Html.BeginForm("EditUserCustomer", "InserUser", null, FormMethod.Post, new { Id = "CreateForm" }))
|
|
{
|
|
<fieldset>
|
|
<legend>员工客服状态</legend>
|
|
<table class="fromEditTable setTextWidth300">
|
|
<tbody>
|
|
<tr>
|
|
<td width="60px" style="width:100px;">
|
|
工号:@ViewBag.map_eID
|
|
@Html.HiddenFor(m => m.INNERUSERID)
|
|
</td>
|
|
<td style="width: 310px">
|
|
<span>员工客服状态修改</span>
|
|
</td>
|
|
<td width="120px"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="60px" style="width: 100px;">
|
|
客服状态:
|
|
</td>
|
|
<td style="width: 310px">
|
|
@Html.RadioButtonListFor(m => m.CustomerType, new List<SelectListItem>()
|
|
{
|
|
new SelectListItem() { Value = "5", Text = "否"},
|
|
new SelectListItem() {Value = "2", Text = "客服经理"},
|
|
new SelectListItem() {Value = "3", Text = "客服"},
|
|
new SelectListItem() {Value = "4", Text = "高级客服"}
|
|
}, RepeatDirection.Horizontal, 4)
|
|
</td>
|
|
<td width="120px"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
}
|
|
</div>
|
|
</div> |