优化样式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<template>
|
||||
<template>
|
||||
<div class="default-main ba-table-box">
|
||||
<el-alert class="ba-table-alert" v-if="baTable.table.remark" :title="baTable.table.remark" type="info" show-icon />
|
||||
|
||||
@@ -83,21 +83,37 @@ const baTable = new baTableClass(
|
||||
width: 100,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
effect: 'dark',
|
||||
custom: {
|
||||
'0': 'success',
|
||||
'1': 'warning',
|
||||
'2': 'info',
|
||||
'3': 'primary',
|
||||
'4': 'warning',
|
||||
'5': 'danger',
|
||||
},
|
||||
replaceValue: {
|
||||
'0': '下注开放',
|
||||
'1': '已封盘',
|
||||
'2': '算票中',
|
||||
'3': '派彩中',
|
||||
'4': '已结束',
|
||||
'5': '已作废',
|
||||
'0': t('order.betOrder.gamePeriod_status 0'),
|
||||
'1': t('order.betOrder.gamePeriod_status 1'),
|
||||
'2': t('order.betOrder.gamePeriod_status 2'),
|
||||
'3': t('order.betOrder.gamePeriod_status 3'),
|
||||
'4': t('order.betOrder.gamePeriod_status 4'),
|
||||
'5': t('order.betOrder.gamePeriod_status 5'),
|
||||
},
|
||||
},
|
||||
{ label: t('order.betOrder.user_id'), prop: 'user_id', align: 'center', width: 90, operator: 'RANGE' },
|
||||
{
|
||||
label: t('order.betOrder.user_id'),
|
||||
prop: 'user_id',
|
||||
align: 'center',
|
||||
show: false,
|
||||
width: 90,
|
||||
operator: 'RANGE',
|
||||
},
|
||||
{
|
||||
label: t('order.betOrder.user_username'),
|
||||
prop: 'user.username',
|
||||
align: 'center',
|
||||
minWidth: 100,
|
||||
minWidth: 120,
|
||||
operatorPlaceholder: t('Fuzzy query'),
|
||||
operator: 'LIKE',
|
||||
render: 'tags',
|
||||
@@ -144,6 +160,10 @@ const baTable = new baTableClass(
|
||||
width: 90,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
custom: {
|
||||
'0': 'info',
|
||||
'1': 'primary',
|
||||
},
|
||||
replaceValue: {
|
||||
'0': t('order.betOrder.is_auto 0'),
|
||||
'1': t('order.betOrder.is_auto 1'),
|
||||
@@ -172,6 +192,12 @@ const baTable = new baTableClass(
|
||||
width: 100,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
effect: 'dark',
|
||||
custom: {
|
||||
'1': 'warning',
|
||||
'2': 'success',
|
||||
'3': 'danger',
|
||||
},
|
||||
replaceValue: {
|
||||
'1': t('order.betOrder.status 1'),
|
||||
'2': t('order.betOrder.status 2'),
|
||||
@@ -228,6 +254,3 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,6 +73,13 @@ const baTable = new baTableClass(
|
||||
width: 100,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
effect: 'dark',
|
||||
custom: {
|
||||
'0': 'info',
|
||||
'1': 'warning',
|
||||
'2': 'success',
|
||||
'3': 'danger',
|
||||
},
|
||||
replaceValue: {
|
||||
'0': t('order.depositOrder.status 0'),
|
||||
'1': t('order.depositOrder.status 1'),
|
||||
@@ -130,7 +137,15 @@ const baTable = new baTableClass(
|
||||
width: 170,
|
||||
timeFormat: 'yyyy-mm-dd hh:MM:ss',
|
||||
},
|
||||
{ label: t('Operate'), align: 'center', width: 90, render: 'buttons', buttons: optButtons, operator: false, fixed: 'right' },
|
||||
{
|
||||
label: t('Operate'),
|
||||
align: 'center',
|
||||
width: 90,
|
||||
render: 'buttons',
|
||||
buttons: optButtons,
|
||||
operator: false,
|
||||
fixed: 'right',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<template>
|
||||
<template>
|
||||
<div class="default-main ba-table-box">
|
||||
<el-alert class="ba-table-alert" v-if="baTable.table.remark" :title="baTable.table.remark" type="info" show-icon />
|
||||
|
||||
@@ -52,6 +52,13 @@ const baTable = new baTableClass(
|
||||
width: 100,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
effect: 'dark',
|
||||
custom: {
|
||||
'0': 'info',
|
||||
'1': 'warning',
|
||||
'2': 'success',
|
||||
'3': 'danger',
|
||||
},
|
||||
replaceValue: { '0': t('order.withdrawOrder.status 0'), '1': t('order.withdrawOrder.status 1'), '2': t('order.withdrawOrder.status 2'), '3': t('order.withdrawOrder.status 3') },
|
||||
},
|
||||
{ label: t('order.withdrawOrder.review_admin_username'), prop: 'reviewAdmin.username', align: 'center', minWidth: 100, operator: 'LIKE', operatorPlaceholder: t('Fuzzy query'), render: 'tags' },
|
||||
|
||||
Reference in New Issue
Block a user