| @@ -231,8 +231,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function | |||||
| tools.initError('报名已结束!'); | tools.initError('报名已结束!'); | ||||
| return; | return; | ||||
| } | } | ||||
| if (module.data.signup=='1'){ | |||||
| tools.initError("已报名,请等待审核结果!"); | |||||
| if (module.data.signHistory == 1){ | |||||
| tools.initError('已报名,请耐心等待审核结果!'); | |||||
| return; | return; | ||||
| } | } | ||||
| @@ -386,10 +386,17 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function | |||||
| if(module.data.loginNow){ | if(module.data.loginNow){ | ||||
| //判断是否报名 | //判断是否报名 | ||||
| tools.doGet(signup, {projectId:getQueryVariable('id'),depositStatus:'1',memberId:tools.getCookie('memberId')}, module.signup); | tools.doGet(signup, {projectId:getQueryVariable('id'),depositStatus:'1',memberId:tools.getCookie('memberId')}, module.signup); | ||||
| tools.doGet(signup, {projectId:getQueryVariable('id'),memberId:tools.getCookie('memberId')}, module.signup2); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| module.signup2 = function(data){ | |||||
| if (data.code == 200) { | |||||
| module.data.signHistory = data.data | |||||
| } | |||||
| } | |||||
| //标的物图片 | //标的物图片 | ||||
| module.showImgInformation = function (data) { | module.showImgInformation = function (data) { | ||||
| if (data.code == 200) { | if (data.code == 200) { | ||||