新版交易所前段管理后台
1
jhzh
2025-09-10 f6b255f15d0acd8f4cb5a2c1528d9c5d75794cf4
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
export const tableOption = {
  searchMenuSpan: 6,
  columnBtn: false,
  border: true,
  selection: false, //开启勾选功能
  index: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 250,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '用户名',
    prop: 'userName',
    search: true,
    hide:true,
  },
  {
    label: '用户名',
    prop: 'userNamesolt',
    solt:true,
  },
  {
    label: 'UID',
    prop: 'userCode',
    search: true,
  },
  {
    label: '开始时间',
    prop: 'startTime',
    type: "datetime",
    search: true,
    viewDisplay: false,
    hide: true,
    format: "yyyy-MM-dd HH:mm:ss", // 组件展示的日期格式
    valueFormat:"yyyy-MM-dd HH:mm:ss", // 组件vue值
  },
  {
    label: '结束时间',
    prop: 'endTime',
    type: "datetime",
    format: "yyyy-MM-dd HH:mm:ss",
    valueFormat:"yyyy-MM-dd HH:mm:ss",
    hide: true,
    searchClearble:false,
    search: true,
    viewDisplay: false,
  },{
    type:'select',
    label: '账户类型',
    prop: 'roleName',
    searchFilterable:true,//select选择框匹配
    search: true,
    searchValue:'',//搜索的默认值
    filterable:true,  //在表单为select状态时 可键盘输入进行筛选选择项
    multiple:false,  //当type为select时,设置是否多选
    dicData:[{
      label:'所有账号',
      value:''
    },{
      label:'正式账号',
      value:'MEMBER'
    },{
      label:'演示账号',
      value:'GUEST'
    },{
      label:'试用账号',
      value:'TEST'
    }]
  }, {
    label: '品种',
    prop: 'symbol',
  },{
    label: '合约方向',
    prop: 'direction',
    type: 'select',
    dicData: [
      {
        label: '多',
        value: 'buy',
      }, {
        label: '空',
        value: 'sell',
      }
    ]
  },{
    label: '成交均价',
    prop: 'tradeAvgPrice',
  },{
    label: '平仓价格',
    prop: 'closeAvgPrice',
  },{
    label: '当前价格',
    prop: 'mark_price',
  },{
    label: '强平价格',
    prop: 'forceClosePrice',
  },{
    label: '止盈止损',
    prop: 'stopProfitLoss',
  },{
    width: "150",
    label: '剩余/委托金额',
    prop: 'vove',
    solt:true,
  },{
    width: "150",
    label: '剩余/委托保证金',
    prop: 'depo',
    solt:true,
  },{
    label: '用户钱包余额',
    prop: 'money',
  },{
    label: '盈亏',
    prop: 'profit',
  },{
    label: '状态',
    prop: 'state',
    type: 'select',
    dicData: [
      {
        label: '持仓',
        value: 'submitted',
      }, {
        label: '已撤销',
        value: 'canceled',
      }, {
        label: '已平仓',
        value: 'created',
      }
    ]
  },{
    label: '创建时间',
    prop: 'createTime',
  },{
    label: '平仓时间',
    prop: 'closTime',
   slot:true,
     // 组件vue值
  }]
}