...
|
...
|
@@ -10,8 +10,6 @@ |
|
|
class="fa fa-refresh"></i> </a>
|
|
|
<!--<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('cards/add')?'':'hide'}"-->
|
|
|
<!--title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>-->
|
|
|
<a href="javascript:;" class=" {:$auth->check('cards/uploadmoban')?'':'hide'}"
|
|
|
title="下载导入模板"><i class="fa fa-plus"></i> 下载导入模板</a>
|
|
|
<!--<a href="javascript:;"-->
|
|
|
<!--class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('cards/edit')?'':'hide'}"-->
|
|
|
<!--title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
|
...
|
...
|
@@ -25,6 +23,8 @@ |
|
|
{:__('Import')}</a>
|
|
|
<a href="javascript:;" class="btn btn-success" title="清除用户积分" id="clean"><i
|
|
|
class="fa fa-plane"></i> 清除用户积分</a>
|
|
|
<a href="javascript:;" class="btn btn-success" title="下载导入模板" id="uploadmoban"><i
|
|
|
class="fa fa-upload"></i> 下载导入模板</a>
|
|
|
<div class="dropdown btn-group {:$auth->check('cards/multi')?'':'hide'}">
|
|
|
<a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled"
|
|
|
data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
|
...
|
...
|
@@ -62,5 +62,16 @@ |
|
|
} else {
|
|
|
return false;
|
|
|
}
|
|
|
};
|
|
|
|
|
|
var logout1 = document.getElementById("uploadmoban");
|
|
|
logout1.onclick = function () {
|
|
|
// var msg = "您确定要清除所有用户积分吗?";
|
|
|
// if (confirm(msg) == true) {
|
|
|
Fast.api.ajax('http://yinhang.t.brotop.cn/api/common/uploadmoban');
|
|
|
// return true; //你也可以在这里做其他的操作
|
|
|
// } else {
|
|
|
// return false;
|
|
|
// }
|
|
|
}
|
|
|
</script> |
...
|
...
|
|