代码提交
This commit is contained in:
parent
2aad7d4139
commit
4a3c2fafbf
|
@ -112,7 +112,7 @@
|
|||
</q-input>
|
||||
<q-btn flat round color="primary" icon="search" @click="searchQuery" />
|
||||
</template>
|
||||
<template v-slot:body-cell-subEventType="props">
|
||||
<!-- <template v-slot:body-cell-subEventType="props">
|
||||
<q-td :props="props">
|
||||
<div class="q-gutter-sm row justify-center">
|
||||
<q-chip outline size="sm" color="primary">
|
||||
|
@ -120,12 +120,12 @@
|
|||
</q-chip>
|
||||
</div>
|
||||
</q-td>
|
||||
</template>
|
||||
</template> -->
|
||||
<template v-slot:body-cell-requestSuccess="props">
|
||||
<q-td :props="props">
|
||||
<div class="q-gutter-sm row justify-center">
|
||||
<q-chip outline size="sm" color="primary">
|
||||
{{ props.row.requestSuccess === 1 ? '成功' : '失败' }}
|
||||
{{ props.row.requestSuccess === 1 ? '连接' : '断开' }}
|
||||
</q-chip>
|
||||
</div>
|
||||
</q-td>
|
||||
|
@ -194,9 +194,9 @@ onMounted(() => {
|
|||
const columnDefs: QTableColumn[] = [
|
||||
{ name: 'id', label: 'ID', field: 'id', align: 'center' },
|
||||
{
|
||||
name: 'subEventType',
|
||||
label: '操作',
|
||||
field: 'subEventType',
|
||||
name: 'lineId',
|
||||
label: '线路ID',
|
||||
field: 'lineId',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
@ -219,7 +219,7 @@ const columnDefs: QTableColumn[] = [
|
|||
},
|
||||
{
|
||||
name: 'requestSuccess',
|
||||
label: '请求成功',
|
||||
label: '连接断开',
|
||||
field: 'requestSuccess',
|
||||
align: 'center',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue