|
|
@@ -5,12 +5,12 @@
|
|
|
<app-filter :option="filterOption">
|
|
|
<template #risk="{ item }">
|
|
|
<el-form-item :label="item.label" prop="risk">
|
|
|
- ><el-input-number v-model="item.value" :laceholder="t('common.pleaseenter')" />{{ t('query.orer.monitor.tips1') }} {{ countDown.time }})
|
|
|
+ ><el-input-number v-model="item.value" :laceholder="t('common.pleaseenter')" />{{ t('query.order.monitor.tips1') }} {{ countDown.time }})
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="countDown.stop" v-if="countDown.status.value">{{ t('query.orer.monitor.start') }}</el-button>
|
|
|
- <el-button type="primary" @click="startCountDown" v-else>{{ t('query.orer.monitor.stop') }}</el-button>
|
|
|
+ <el-button type="primary" @click="countDown.stop" v-if="countDown.status.value">{{ t('query.order.monitor.start') }}</el-button>
|
|
|
+ <el-button type="primary" @click="startCountDown" v-else>{{ t('query.order.monitor.stop') }}</el-button>
|
|
|
</el-form-item>
|
|
|
</app-filter>
|
|
|
</template>
|
|
|
@@ -18,23 +18,23 @@
|
|
|
<template #headerLeft>
|
|
|
<ul style="display: flex;gap: 20px;" v-if="data">
|
|
|
<li>
|
|
|
- <span>{{ t('query.orer.monitor.buyBackCount') }}</span>
|
|
|
+ <span>{{ t('query.order.monitor.buyBackCount') }}</span>
|
|
|
<span>{{ data.buyBackCount }}</span>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <span>{{ t('query.orer.monitor.sellCount') }}</span>
|
|
|
+ <span>{{ t('query.order.monitor.sellCount') }}</span>
|
|
|
<span>{{ data.sellCount }}</span>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <span>{{ t('query.orer.monitor.netcurpositionqty') }}</span>
|
|
|
+ <span>{{ t('query.order.monitor.netcurpositionqty') }}</span>
|
|
|
<span>{{ data.netcurpositionqty }}</span>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <span>{{ t('query.orer.monitor.avgholderprice') }}</span>
|
|
|
+ <span>{{ t('query.order.monitor.avgholderprice') }}</span>
|
|
|
<span>{{ data.avgholderprice }}</span>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <span>{{ t('query.orer.monitor.totalfloatpl') }}</span>
|
|
|
+ <span>{{ t('query.order.monitor.totalfloatpl') }}</span>
|
|
|
<span>{{ data.floatpl }}</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -64,44 +64,44 @@ const countDown = useCountDown(10)
|
|
|
const { global: { t } } = i18n
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { field: 'userfullname', label: 'query.orer.monitor.userfullname' },
|
|
|
- { field: 'goodsfullname', label: 'query.orer.monitor.goodsfullname' },
|
|
|
- { field: 'buyorselldisplay', label: 'query.orer.monitor.buyorselldisplay' },
|
|
|
- { field: 'tradetimestr', label: 'query.orer.monitor.tradetimestr' },
|
|
|
- { field: 'holderprice', label: 'query.orer.monitor.holderprice' },
|
|
|
- { field: 'lastprice', label: 'query.orer.monitor.lastprice' },
|
|
|
- { field: 'depositratedisplay', label: 'query.orer.monitor.depositratedisplay' },
|
|
|
- { field: 'floatpl', label: 'query.orer.monitor.floatpl' },
|
|
|
- { field: 'holdernum', label: 'query.orer.monitor.holdernum' },
|
|
|
- { field: 'freezenum', label: 'query.orer.monitor.freezenum' },
|
|
|
- { field: 'holderamount', label: 'query.orer.monitor.holderamount' },
|
|
|
- { field: 'payeddeposit', label: 'query.orer.monitor.payeddeposit' },
|
|
|
- { field: 'tradeid', label: 'query.orer.monitor.tradeid' }
|
|
|
+ { field: 'userfullname', label: 'query.order.monitor.userfullname' },
|
|
|
+ { field: 'goodsfullname', label: 'query.order.monitor.goodsfullname' },
|
|
|
+ { field: 'buyorselldisplay', label: 'query.order.monitor.buyorselldisplay' },
|
|
|
+ { field: 'tradetimestr', label: 'query.order.monitor.tradetimestr' },
|
|
|
+ { field: 'holderprice', label: 'query.order.monitor.holderprice' },
|
|
|
+ { field: 'lastprice', label: 'query.order.monitor.lastprice' },
|
|
|
+ { field: 'depositratedisplay', label: 'query.order.monitor.depositratedisplay' },
|
|
|
+ { field: 'floatpl', label: 'query.order.monitor.floatpl' },
|
|
|
+ { field: 'holdernum', label: 'query.order.monitor.holdernum' },
|
|
|
+ { field: 'freezenum', label: 'query.order.monitor.freezenum' },
|
|
|
+ { field: 'holderamount', label: 'query.order.monitor.holderamount' },
|
|
|
+ { field: 'payeddeposit', label: 'query.order.monitor.payeddeposit' },
|
|
|
+ { field: 'tradeid', label: 'query.order.monitor.tradeid' }
|
|
|
])
|
|
|
|
|
|
const { queryParams, filterOption, getQueryParams } = useDataFilter<Model.MonitorddjkReq>({
|
|
|
filters: [
|
|
|
{
|
|
|
field: 'risk',
|
|
|
- label: t('query.orer.monitor.risk'),
|
|
|
+ label: t('query.order.monitor.risk'),
|
|
|
value: 50
|
|
|
},
|
|
|
{
|
|
|
field: 'goodsfullname',
|
|
|
- label: t('query.orer.monitor.goodsfullname1')
|
|
|
+ label: t('query.order.monitor.goodsfullname1')
|
|
|
},
|
|
|
{
|
|
|
field: 'buyorsell',
|
|
|
- label: t('query.orer.monitor.buyorsell'),
|
|
|
+ label: t('query.order.monitor.buyorsell'),
|
|
|
options: () => getBuyOrSellList()
|
|
|
},
|
|
|
{
|
|
|
field: 'userfullname',
|
|
|
- label: t('query.orer.monitor.userfullname')
|
|
|
+ label: t('query.order.monitor.userfullname')
|
|
|
},
|
|
|
{
|
|
|
field: 'parentusername',
|
|
|
- label: t('query.orer.monitor.parentusername')
|
|
|
+ label: t('query.order.monitor.parentusername')
|
|
|
}
|
|
|
]
|
|
|
})
|