update styles
This commit is contained in:
1 parent
32fd986555
commit
83b9afcd33
7 files changed
+70
-28
No files matched your search
@@ -1,24 +1,34 @@
|
||||
<template>
|
||||
<el-card shadow="hover">
|
||||
<el-table :data="items" v-loading="loading">
|
||||
<el-table-column prop="icon" :label="$t('common.entity.icon')">
|
||||
<template #default="scope">
|
||||
<img :src="scope.row.icon" class="w-10" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" :label="$t('common.entity.platform')"> </el-table-column>
|
||||
<el-table-column prop="description" :label="$t('common.entity.description')"> </el-table-column>
|
||||
<el-table-column :label="$t('common.entity.status')"> </el-table-column>
|
||||
<el-table-column :label="$t('common.entity.operation')">
|
||||
<el-button @click="onSetup" round type="primary" size="small">
|
||||
{{ $t('common.button.setup') }}
|
||||
</el-button>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="24">
|
||||
<div class="px-4 pt-4">
|
||||
<el-card shadow="hover">
|
||||
<div class="mb-5">
|
||||
<breadcrumb />
|
||||
</div>
|
||||
<el-table :data="items" v-loading="loading">
|
||||
<el-table-column prop="icon" :label="$t('common.entity.icon')">
|
||||
<template #default="scope">
|
||||
<img :src="scope.row.icon" class="w-10" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" :label="$t('common.entity.platform')"> </el-table-column>
|
||||
<el-table-column prop="description" :label="$t('common.entity.description')"> </el-table-column>
|
||||
<el-table-column :label="$t('common.entity.status')"> </el-table-column>
|
||||
<el-table-column :label="$t('common.entity.operation')">
|
||||
<el-button @click="onSetup" round type="primary" size="small">
|
||||
{{ $t('common.button.setup') }}
|
||||
</el-button>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Breadcrumb } from '@/components/common/index';
|
||||
import PlatformService from '@/services/platform/service';
|
||||
import { IPlatform, IPlatformListResponse } from '@/services/platform/types';
|
||||
import { defineComponent } from 'vue';
|
||||
@@ -29,6 +39,9 @@ interface IData {
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
Breadcrumb
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
items: [],
|
||||
@@ -49,4 +62,4 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
Reference in new issue
Block a user