fix: 修改page-container
This commit is contained in:
parent
59e4bacd74
commit
9304911139
|
@ -1,6 +1,6 @@
|
||||||
<!-- 物联卡查看 -->
|
<!-- 物联卡查看 -->
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<page-container>
|
||||||
<!-- 新增、编辑 -->
|
<!-- 新增、编辑 -->
|
||||||
<Save
|
<Save
|
||||||
v-if="visible"
|
v-if="visible"
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</page-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
@ -138,7 +138,7 @@ const detail = ref<any>({});
|
||||||
const flowData = ref<any[]>([]);
|
const flowData = ref<any[]>([]);
|
||||||
|
|
||||||
const getDetail = () => {
|
const getDetail = () => {
|
||||||
queryDetail(route.query.id).then((resp: any) => {
|
queryDetail(route.params.id).then((resp: any) => {
|
||||||
if (resp.status === 200) {
|
if (resp.status === 200) {
|
||||||
detail.value = resp.result;
|
detail.value = resp.result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 物联卡管理 -->
|
<!-- 物联卡管理 -->
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<page-container class="container">
|
||||||
<Search
|
<Search
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
target="iot-card-management-search"
|
target="iot-card-management-search"
|
||||||
|
@ -323,7 +323,7 @@
|
||||||
:data="current"
|
:data="current"
|
||||||
@change="saveChange"
|
@change="saveChange"
|
||||||
/>
|
/>
|
||||||
</div>
|
</page-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
@ -539,10 +539,7 @@ const getActions = (
|
||||||
icon: 'EyeOutlined',
|
icon: 'EyeOutlined',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
router.push({
|
router.push({
|
||||||
path: '/iot-card/CardManagement/Detail',
|
path: `/iot-card/CardManagement/detail/${data.id}`,
|
||||||
query: {
|
|
||||||
id: data.id,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -795,7 +792,7 @@ const handelRemove = async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.page-container {
|
.container {
|
||||||
.search {
|
.search {
|
||||||
width: calc(100% - 330px);
|
width: calc(100% - 330px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 物联卡-仪表盘 -->
|
<!-- 物联卡-仪表盘 -->
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<page-container class="container">
|
||||||
<a-card>
|
<a-card>
|
||||||
<a-row :gutter="20" :style="{ marginBottom: '20px' }">
|
<a-row :gutter="20" :style="{ marginBottom: '20px' }">
|
||||||
<a-col :span="24"><Guide title="数据统计" /></a-col>
|
<a-col :span="24"><Guide title="数据统计" /></a-col>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</page-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
@ -229,7 +229,7 @@ const dTime = [
|
||||||
getTopRang(dTime[0], dTime[1]);
|
getTopRang(dTime[0], dTime[1]);
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.page-container {
|
.container {
|
||||||
.data-statistics-item {
|
.data-statistics-item {
|
||||||
height: 140px;
|
height: 140px;
|
||||||
background: #fcfcfc;
|
background: #fcfcfc;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 物联卡-首页 -->
|
<!-- 物联卡-首页 -->
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<page-container>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="14">
|
<a-col :span="14">
|
||||||
<div class="home-guide">
|
<div class="home-guide">
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</page-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<!-- 充值管理 -->
|
<!-- 充值管理 -->
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<page-container>
|
||||||
<Search
|
<Search
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
target="iot-card-management-search"
|
target="recharge-search"
|
||||||
@search="handleSearch"
|
@search="handleSearch"
|
||||||
/>
|
/>
|
||||||
<JTable
|
<JTable
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<!-- 充值 -->
|
<!-- 充值 -->
|
||||||
<Save v-if="visible" @change="saveChange" />
|
<Save v-if="visible" @change="saveChange" />
|
||||||
<Detail v-if="detailVisible" :data="current" @close="close" />
|
<Detail v-if="detailVisible" :data="current" @close="close" />
|
||||||
</div>
|
</page-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
Loading…
Reference in New Issue