74 lines
2.3 KiB
Plaintext
74 lines
2.3 KiB
Plaintext
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="NGTools.main" %>
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head runat="server">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title></title>
|
||
|
<link rel="stylesheet" type="text/css" href="../Scripts/EASYUI/themes/default/easyui.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../Scripts/EASYUI/themes/icon.css" />
|
||
|
<!--2个js文件 ,要先引入jquery,然后再引入easyui-->
|
||
|
<script src="../Scripts/EASYUI/jquery.min.js"></script>
|
||
|
<script src="../Scripts/EASYUI/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
||
|
<script src="../Scripts/EASYUI/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
|
||
|
<script src="../Scripts/EASYUI/base-loading.js"></script>
|
||
|
<script src="../Scripts/EASYUI/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
|
||
|
<script src="../MYJS/MyTools.js"></script>
|
||
|
<script src="../MYJS/constant.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<form id="form1" runat="server">
|
||
|
<div>
|
||
|
<input type="button" onclick="myfunction1()" name="name" value="" />
|
||
|
欢迎您使用天然气工业计算工具集系统软件!
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
$(function () {
|
||
|
myfunction1();
|
||
|
})
|
||
|
|
||
|
function myfunction() {
|
||
|
|
||
|
var url = '../ASHX/APPTools.ashx?action=getJldMobilePicker' + "&t=" + Date.parse(new Date());
|
||
|
|
||
|
alert(url);
|
||
|
$.ajax({
|
||
|
type: "post",
|
||
|
url:url,
|
||
|
dataType: "json",
|
||
|
data: { phoneNo: "13839353959" },
|
||
|
|
||
|
|
||
|
success: function (data) {
|
||
|
alert(data);
|
||
|
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
function myfunction1() {
|
||
|
|
||
|
var url = '../ASHX/APPTools.ashx?action=APPLogin' + "&t=" + Date.parse(new Date());
|
||
|
alert(url);
|
||
|
$.ajax({
|
||
|
type: 'post',
|
||
|
datatype: 'json',
|
||
|
url: url,
|
||
|
data: { account: "admin", password: "4877017ldy" },
|
||
|
|
||
|
success: function (data) {
|
||
|
alert(data);
|
||
|
|
||
|
}
|
||
|
})
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|