bankTransfer.js
879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* 返佣查询
*/
var bankTransfer = function() {
return {
search : function() {
$('#data-grid').datagrid({
url : '/report/fund/bankTransfer?' + $('#search-form').serialize()
});
},
export : function(){
window.open('/report/fund/exportRebate?' + $('#search-form').serialize());
},
formatChargeType : function(value, row, index) {
switch (value) {
case '01':
return '快捷';
case '02':
return '网银';
default:
return value;
}
},
formatTransType : function(value, row, index) {
switch (value) {
case '01':
return '充值';
case '02':
return '提现';
default:
return value;
}
},
formatBkTransStatus : function(value, row, index) {
switch (value) {
case '2':
return '成功';
case '3':
return '失败';
default:
return value;
}
}
};
}();