You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Mobile/Views/Approval/FFSPDetails.aspx

130 lines
4.6 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FFSPDetails.aspx.cs" Inherits="DSWeb.Areas.Mobile.Views.Approval.FFSPDetails" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css">
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
$(document).ready(function () {
$("#btnBack").click(function () {
wx.closeWindow();
});
$("#btnCallBack").click(function () {
wx.closeWindow();
});
$("#btnOK").click(function () {
var billno = $("#hdbillno").val();
var uid = $("#hduid").val();
$.getJSON("/Mobile/Approval/DoFFSPWithBillNoAndUid",
{ billno: billno,
uid: uid
},
function (data) {
if (data.Success) {
$("#infop").html("操作成功!");
} else {
$("#infop").html(data.Message);
}
})
});
$("#btnNO").click(function () {
var billno = $("#hdbillno").val();
var uid = $("#hduid").val();
$.getJSON("/Mobile/Approval/RejectFFSPWithBillNoAndUid",
{ billno: billno,
uid: uid
},
function (data) {
if (data.Success) {
$("#infop").html("操作成功!");
//
// setTimeout(function () {
// document.URL = location.href + Date.parse(new Date());
// }, 20);
} else {
$("#infop").html(data.Message);
}
})
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div data-role="page" id="pageone">
<div data-role="content">
<h3>
<%=model.header %></h3>
<div data-role="collapsible">
<h1>
<ul data-role="listview" style="text-align:center;margin-left:20px">
<%=_MAINSTR %>
</ul>
</h1>
<p>
<ul data-role="listview" data-inset="true">
<%=model.content %>
</ul>
</p>
</div>
</div>
<div data-role="footer" data-position="fixed">
<div data-role="navbar" id="navbar">
<ul id="ulfoot">
<%=model.footer %>
</ul>
</div>
</div>
</div>
<div data-role="page" id="pagetwo">
<div data-role="header">
<h1>
审批确认</h1>
</div>
<div data-role="content">
<h2>确定将<%=_BILLNO %>审批通过?</h2>
<p style="color: Red; font-size: 12px">
点击【确认】通过审批<br />
点击【取消】取消本次操作
</p>
</div>
<div data-role="footer">
<div data-role="navbar">
<ul id="ul1">
<li><a href="#pageone" id="btnCancel" data-icon="minus" >取消</a></li>
<li> <a href="#pagethree" id="btnConfirm" data-icon="check" >确认</a></li>
</ul>
</div>
</div>
</div>
<div data-role="page" id="pagethree">
<div data-role="header">
<h1></h1>
</div>
<div data-role="content">
<p id="infop" style="color: Red; font-size: 12px">
</p>
</div>
<div data-role="footer">
<ul id="ul2">
<li> <a href="#" id="btnCallBack" data-icon="check" >确认</a></li>
</ul>
</div>
</div>
<input id="hdbillno" type="hidden" runat="server">
<input id="hduid" type="hidden" runat="server">
<input id="hdbillstatus" type="hidden" runat="server">
</form>
</body>
</html>