...
|
...
|
@@ -97,7 +97,7 @@ |
|
|
<td>
|
|
|
<if condition="$vo['status'] eq 0">
|
|
|
<a href="{:url('activity/joinPass',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="确定审核通过吗?">通过</a>|
|
|
|
<a onclick="dorefund({$vo['id']})">拒绝</a>
|
|
|
<span onclick="dorefund({$vo['id']})">拒绝</span>
|
|
|
<!--
|
|
|
<a href="{:url('activity/joinUnPass',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="确定拒绝通过吗?">拒绝</a>|
|
|
|
-->
|
...
|
...
|
@@ -164,6 +164,29 @@ |
|
|
});
|
|
|
}
|
|
|
|
|
|
function dorefund(res) {
|
|
|
var selectedCategoriesId = res
|
|
|
console.log(res)
|
|
|
openIframeLayer("{:url('activity/refund')}?id=" + selectedCategoriesId, '拒绝信息', {
|
|
|
area: ['700px', '300px'],
|
|
|
// btn: ['确定', '取消'],
|
|
|
yes: function (index, layero) {
|
|
|
//do something
|
|
|
var iframeWin = window[layero.find('iframe')[0]['name']];
|
|
|
var selectedCategories = iframeWin.confirm();
|
|
|
if (selectedCategories.selectedCategoriesId.length == 0) {
|
|
|
layer.msg('请选择分类');
|
|
|
return;
|
|
|
}
|
|
|
$('#js-categories-id-input').val(selectedCategories.selectedCategoriesId.join(','));
|
|
|
$('#js-categories-name-input').val(selectedCategories.selectedCategoriesName.join(' '));
|
|
|
//console.log(layer.getFrameIndex(index));
|
|
|
layer.close(index); //如果设定了yes回调,需进行手工关闭
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
</script>
|
|
|
</body>
|
|
|
</html> |
|
|
\ No newline at end of file |
...
|
...
|
|