ComplianceServer/oldcode/WEB/Views/WeiXin/WorkWeixin/QRCodeEdit.cshtml

153 lines
4.4 KiB
Plaintext

@model WX.CRM.Model.Entity.WX_WORKACCOUNT_INIT
@using WX.CRM.WebHelper
@{
ViewBag.Title = "QRCodeEdit";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<!--遮罩层-->
<style type="text/css">
#bg {
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index: 1001;
-moz-opacity: 0.7;
opacity: .70;
filter: alpha(opacity=70);
}
#show {
display: none;
position: absolute;
top: 45%;
left: 40%;
width: 20%;
height: 10%;
padding: 8px;
border: 8px solid #E8E9F7;
background-color: white;
z-index: 1002;
overflow: auto;
}
</style>
<div id="bg"></div>
<div id="show"><br />&nbsp;&nbsp;提示:数据正在处理中……</div>
<div class="mvctool bgb">
@Html.ToolButtonPlain("btnSave", "icon-save", "保存", false, "")
</div>
<form id="frmUpload" method="post" action="/Weixin/WorkAccountInit/QRCodeEdit" enctype="multipart/form-data">
<table class="fromEditTable setTextWidth300">
<tbody>
<tr>
<td width="60px" style="width:100px;">
审核状态
</td>
<td style="width:310px">
@ViewBag.AuditText
@Html.HiddenFor(m => m.PKID)
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
审核备注
</td>
<td style="width:310px">
@Model.AUDITMEMO
</td>
<td width="120px">
</td>
</tr>
<tr>
<td width="60px" style="width:100px;">
客服工号
</td>
<td style="width:310px">
@Model.EID
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
手机号
</td>
<td style="width:310px">
@Model.MOBILE
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
微信号
</td>
<td style="width:310px">
@Model.ALIAS
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
用户二维码
</td>
<td style="width:310px">
<input id="FileQRCodeUrl" name="FileQRCodeUrl" type="file" />
<br />
<br />
<img width="250px" src="@Model.QRCODEURL" />
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
二维码图片路径
</td>
<td style="width:310px">
@Model.QRCODEURL
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
二维码大小
</td>
<td style="width:310px">
@(Model.QRCODESIZE.HasValue? Math.Round(Model.QRCODESIZE.Value/1024):0) K
</td>
<td width="120px"></td>
</tr>
</tbody>
</table>
</form>
<script type="text/javascript">
$(document).ready(function () {
$('#frmUpload').ajaxForm({
dataType: 'json',
beforeSend: ForEverajaxLoading,
complete: ForEverajaxLoadEnd,
success: function (data) {
if (data.type == 1) {
parent.loadtablegrid();
$.messageBox5s('提示', "修改二维码成功");
$("#frmUpload").resetForm();
} else {
$.messageBox5s('提示', data.message);
}
}
});
$("#btnSave").click(function () {
$('#frmUpload').submit();
})
});
</script>