fix: 优化物联布局

This commit is contained in:
xieyonghong 2023-03-30 16:33:41 +08:00
parent f878cffe82
commit 683751af53
6 changed files with 112 additions and 102 deletions

View File

@ -6,6 +6,7 @@
target="iot-card-management-search"
@search="handleSearch"
/>
<FullPage>
<j-pro-table
:scroll="{ x: 1366 }"
ref="cardManageRef"
@ -372,6 +373,7 @@
</j-space>
</template>
</j-pro-table>
</FullPage>
<!-- 批量导入 -->
<Import v-if="importVisible" @close="importVisible = false" @save="importSave"/>
<!-- 批量导出 -->

View File

@ -100,10 +100,11 @@
@change="getTopRang"
/></template>
</Guide>
<FullPage v-if="topList.length !== 0">
<div
v-if="topList.length !== 0"
class="rankingList"
style="min-height: 490px"
>
<div
v-for="(item, index) in topList"
@ -135,6 +136,7 @@
</div>
</div>
</div>
</FullPage>
<div class="empty-body" v-else>
<j-empty :image="Empty.PRESENTED_IMAGE_SIMPLE" />
</div>

View File

@ -2,6 +2,7 @@
<template>
<page-container>
<pro-search :columns="columns" target="platform-search" @search="handleSearch" />
<FullPage>
<j-pro-table ref="platformRef" :columns="columns" :request="queryList"
:defaultParams="{ sorts: [{ name: 'createTime', order: 'desc' }] }" :params="params" :gridColumn="3">
<template #headerTitle>
@ -17,7 +18,7 @@
<template #card="slotProps">
<CardBox :value="slotProps" :actions="getActions(slotProps, 'card')" v-bind="slotProps"
:status="slotProps.state.value" :statusText="slotProps.state.text" :statusNames="{
enabled: 'success',
enabled: 'processing',
disabled: 'error',
}">
<template #img>
@ -79,6 +80,7 @@
</j-space>
</template>
</j-pro-table>
</FullPage>
</page-container>
</template>

View File

@ -2,6 +2,7 @@
<template>
<page-container>
<pro-search :columns="columns" target="recharge-search" @search="handleSearch" />
<FullPage>
<j-pro-table
ref="rechargeRef"
:columns="columns"
@ -62,6 +63,7 @@
</j-space>
</template>
</j-pro-table>
</FullPage>
<!-- 充值 -->
<Save v-if="visible" @change="saveChange" />
<Detail v-if="detailVisible" :data="current" @close="close" />

View File

@ -6,6 +6,7 @@
target="record-search"
@search="handleSearch"
/>
<FullPage>
<j-pro-table
ref="RecordRef"
:columns="columns"
@ -29,6 +30,7 @@
}}
</template>
</j-pro-table>
</FullPage>
</page-container>
</template>

View File

@ -38,7 +38,7 @@
保存
</PermissionButton>
</div>
<FullPage>
</FullPage>
</page-container>
</template>