|  |  |  | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'phone', title: '手机号', minWidth: 100,align:'left',totalRowText: '合计'}, | 
|---|
|  |  |  | {field: 'realName', title: '姓名', minWidth: 120,align:'left'}, | 
|---|
|  |  |  | {field: 'inviteIdTrader', title: '交易员邀请码', minWidth: 120,align:'left'}, | 
|---|
|  |  |  | {field: 'createTime', title: '时间', minWidth: 120,align:'center'}, | 
|---|
|  |  |  | {field: 'positionType', title: '开仓类型', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.positionType === 1) { | 
|---|
|  |  |  | return '<span style="color:green;">分仓</span>' | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | return '<span style="color:red;">全仓</span>' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, minWidth: 100,align:'center'}, | 
|---|
|  |  |  | {field: 'contractType', title: '合约类型', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.contractType === 1) { | 
|---|