quotaUserRecord.js
855 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
/**
* 分配记录
*/
var quotaUserRecord = function() {
return {
search : function() {
$('#data-grid').datagrid({
url : '/quota/user/record/search?' + $('#search-form').serialize()
});
},
source : function(value, row, index) {
var status;
switch (value) {
case 1:
status = '系统分配';
break;
case 2:
status = '用户转入';
break;
case 3:
status = '用户转出';
break;;
case 4:
status = '额度转持仓';
break;
case 5:
status = '持仓转额度';
break;
case 6:
status = '权益蓝补';
break;
case 7:
status = '权益红冲';
break;
case 8:
status = '托管申请';
break;
case 9:
status = '鉴定未通过退还额度';
break;
case 10:
status = '额度过期';
break;
}
return status;
}
}}();