Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
8fb32983
Commit
8fb32983
authored
Jan 08, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06abe10b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
HitMouse.html
html/annualMeeting/HitMouse.html
+2
-5
Money.html
html/annualMeeting/Money.html
+4
-4
No files found.
html/annualMeeting/HitMouse.html
View file @
8fb32983
...
...
@@ -157,13 +157,10 @@
},
{
passive
:
false
});
// var activity = JSON.parse(localStorage.activity);
var
clipboard
=
new
Clipboard
(
'.all_Receive'
);
//
var EmployeeId = activity.EmployeeId + '_Mouse';
var
EmployeeId
=
activity
.
EmployeeId
+
'_Mouse'
;
var
laoshudata
=
[];
//老鼠数据
var
audio
=
document
.
getElementById
(
"audio"
);
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
`
qs
:
`i=
${
EmployeeId
}
&n=
${
activity
.
EmName
}
&p=
${
encodeURIComponent
(
activity
.
imgUrl
)}
&e=
${
activity
.
e
}
`
});
var
proxy
=
conn
.
createHubProxy
(
"annualLeaveHub"
);
conn
.
start
().
done
(
data
=>
{
...
...
html/annualMeeting/Money.html
View file @
8fb32983
...
...
@@ -102,8 +102,8 @@
let
status
=
0
;
let
clock
=
null
;
let
isWinning
=
false
;
//
var activity = JSON.parse(localStorage.activity);
//
var EmployeeId = activity.EmployeeId + '_Money';
var
activity
=
JSON
.
parse
(
localStorage
.
activity
);
var
EmployeeId
=
activity
.
EmployeeId
+
'_Money'
;
// clipboard.on('success', function(e) {
// console.log(e);
// });
...
...
@@ -158,8 +158,8 @@
function
initConnection
(){
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
`
});
qs
:
`i=
${
EmployeeId
}
&n=
${
activity
.
EmName
}
&p=
${
encodeURIComponent
(
activity
.
imgUrl
)}
&e=
${
activity
.
e
}
`
});
proxy
=
conn
.
createHubProxy
(
"annualLeaveHub"
);
conn
.
start
().
done
(
data
=>
{
console
.
log
(
'connection 链接成功'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment