Commit 5826b4a5 authored by Mac's avatar Mac

1

parent 238318d3
......@@ -109,9 +109,13 @@
function vote(type) {
if(type==1){ // 1位放弃投票 2 为确定投票
giveUp=true;
$('.vote_s').css('display','none')
$('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/fangqi.png')
$('.popup_bg span').html('放弃投票成功')
setTimeout(function () {
$('.popup').css('display','none')
},5000)
}else {
proxy.invoke("UserVoteProgarm",activity.EmployeeId).done(data => {
......@@ -121,9 +125,13 @@
$('.vote_s').css('display','none')
}else {
$('.vote_s').css('display','none')
$('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/toupiao.png')
$('.popup_bg span').html('恭喜你!投票成功')
setTimeout(function () {
$('.popup').css('display','none')
},5000)
}
})
......@@ -137,7 +145,6 @@
$('.close').click(function () {
$('.popup').css('display','none')
$('.vote_s').css('display','none')
})
$('.return').click(function () {
//返回首页
......
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