Commit fcbc82c8 authored by Mac's avatar Mac

1

parent 8877f6cb
......@@ -128,10 +128,10 @@
<script src="../../js/moveJs/jquery.signalR.min.js"></script>
<script type="text/javascript" src="../../js/layer/layer.js"></script>
<script src="./js/JsBarcode.all.min.js"></script>
<script src="../../js/mian.js"></script>
<script>
var href = window.location.href;
// var href='AnnuaLmeetingHome.html?EmployeeId=1790&EmName=唐杰&imgUrl=http://192.168.2.214:8130/Upload/Temporary/20200103060438316.jpg&GiftCode=202001031805026355&e=2018-04-04T00:00:00';
var param = href.split('?')[1].split("&");
......@@ -155,7 +155,7 @@
$("input").on("blur",function(){
window.scroll(0,0);//失焦后强制让页面归位
});
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=${EmployeeId}&n=${EmName}&p=${encodeURIComponent(imgUrl)}&e=${e}`
});
var proxy = conn.createHubProxy("annualLeaveHub");
......
......@@ -147,6 +147,7 @@
<script src="../../js/moveJs/jquery.signalR.min.js"></script>
<script type="text/javascript" src="../../js/layer/layer.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="../../js/mian.js"></script>
<script>
$(function () {
......@@ -161,7 +162,7 @@
var audio=document.getElementById("audio");
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=1755_Mouse&n=蔡徐坤&p=${encodeURIComponent('https://dss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=1775930210,1659062463&fm=58')}&e=2017-07-06`
});
var proxy = conn.createHubProxy("annualLeaveHub");
......
......@@ -90,6 +90,8 @@
<script type="text/javascript" src="../../js/jquery-1.10.2.js"></script>
<script src="../../js/moveJs/jquery.signalR.min.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="../../js/mian.js"></script>
<script>
//ios禁止被拖动
document.body.addEventListener('touchmove', function (e) {
......@@ -155,7 +157,7 @@
}
function initConnection(){
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=1755_Mouse&n=蔡徐坤&p=${encodeURIComponent('https://dss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=1775930210,1659062463&fm=58')}&e=2017-07-06`
});
proxy = conn.createHubProxy("annualLeaveHub");
......
......@@ -183,12 +183,14 @@
<script type="text/javascript" src="../../js/layer/layer.js"></script>
<script src="./js/JsBarcode.all.min.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="../../js/mian.js"></script>
<script>
var activity = JSON.parse(localStorage.activity);
var clipboard = new Clipboard('.copy');
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=${activity.EmployeeId}&n=${activity.EmName}&p=${encodeURIComponent(activity.imgUrl)}&e=${activity.e}`
});
var proxy = conn.createHubProxy("annualLeaveHub");
......
......@@ -203,11 +203,12 @@
<script src="../../js/moveJs/jquery.min.js"></script>
<script src="../../js/moveJs/jquery.signalR.min.js"></script>
<script type="text/javascript" src="../../js/layer/layer.js"></script>
<script src="../../js/mian.js"></script>
<script>
var activity = JSON.parse(localStorage.activity);
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=${activity.EmployeeId}&n=${activity.EmName}&p=${encodeURIComponent(activity.imgUrl)}&e=${activity.e}`
});
var proxy = conn.createHubProxy("annualLeaveHub");
......
......@@ -44,11 +44,12 @@
<script src="../../js/moveJs/jquery.min.js"></script>
<script src="../../js/moveJs/jquery.signalR.min.js"></script>
<script type="text/javascript" src="../../js/layer/layer.js"></script>
<script src="../../js/mian.js"></script>
<script>
var activity = JSON.parse(localStorage.activity);
var conn = $.hubConnection("http://192.168.2.65:7838/signalr", {
var conn = $.hubConnection(getApiUrl().urlSignalr, {
qs: `i=${activity.EmployeeId}&n=${activity.EmName}&p=${encodeURIComponent(activity.imgUrl)}&e=${activity.e}`
});
var proxy = conn.createHubProxy("annualLeaveHub");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment