Commit 84647a34 authored by agping's avatar agping

对接接口 暂定

parent a1eafa48
......@@ -16,12 +16,7 @@ define (['doT', 'text!temp/cash_account_list_template_tpl.html', 'css!style/home
e.preventDefault();
e.stopPropagation();
$(this).parent().parent().remove();
/*if(confirm('确定删除该图片吗?')) {
var _imgId = _this.parent().attr('data-imgid');
var file_id = $(this).parent('li').attr('id') - 0 ;
_this.parent().remove();
user.addDeleteNewsEvent(file_id);
};*/
});
$("#search").click(function() { //搜索
redEnvelope.getList(1);
......@@ -35,19 +30,11 @@ define (['doT', 'text!temp/cash_account_list_template_tpl.html', 'css!style/home
//获取列表
getList: function (pageNo) {
redEnvelope.pageNo = pageNo;
var params = {
"AuthToken" : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken,
};
var params = {};
params.pageNo = redEnvelope.pageNo;
params.pageSize = redEnvelope.pageSize;
params.img_type = $('#p_type option:selected').val() == -1 ? '' : $('#p_type option:selected').val();
if( params.img_type == 2 ){
params.label = '' ;
} else {
params.label = $('#yetai_type option:selected').val() ==-1 ? '' : $('#yetai_type option:selected').html();
}
$.ajax ({
url: '/index/getImageDepotList',//获取列表
url: '/index/userAccountBalanceList',//获取列表
type: 'GET',
async: true,
data: params,
......
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