|
|
@@ -8,8 +8,8 @@
|
|
|
<div class="layout-container">
|
|
|
<Table @getTableData="changeTableData" v-model:page="page" ref="table" :data="tableData"
|
|
|
@selection-change="handleSelectionChange">
|
|
|
- <el-table-column prop="appId" label="应用ID" width="140" />
|
|
|
- <el-table-column prop="appName" label="应用名称" width="140" />
|
|
|
+ <el-table-column prop="appId" label="应用ID" />
|
|
|
+ <el-table-column prop="appName" label="应用名称" width="160" />
|
|
|
<el-table-column prop="superiorName" label="所属应用" width="120" />
|
|
|
<el-table-column prop="ditchName" label="渠道名称" width="140">
|
|
|
<template #default="scope">
|
|
|
@@ -22,38 +22,38 @@
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="nickName" label="所属用户" width="100" />
|
|
|
- <el-table-column prop="appType" label="应用类型" width="100">
|
|
|
+ <el-table-column prop="nickName" label="所属用户" width="90" />
|
|
|
+ <el-table-column prop="appType" label="应用类型" width="90">
|
|
|
<template #default="scope">
|
|
|
{{ getDictionaryName("app_type", scope.row.appType) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="apkUrl" label="下载链接" width="120">
|
|
|
+ <el-table-column prop="apkUrl" label="下载链接" width="180">
|
|
|
<template #default="scope">
|
|
|
<a v-if="scope.row.apkUrl" :href="scope.row.apkUrl" target="_blank">{{ scope.row.appName }}.apk</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="qrCode" min-width="130" label="二维码">
|
|
|
+ <el-table-column prop="qrCode" width="140" label="二维码">
|
|
|
<template #default="scope">
|
|
|
<el-image v-if="scope.row.qrCode" style="width: 100px; height: 100px;" :z-index="99999" :src="scope.row.qrCode" fit="fill"
|
|
|
:preview-src-list="[scope.row.qrCode]" preview-teleported="true" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="updateTips" label="更新提示" width="100" />
|
|
|
- <el-table-column prop="enabled" label="是否启用" width="100">
|
|
|
+ <el-table-column prop="updateTips" label="更新提示" width="140" />
|
|
|
+ <el-table-column prop="enabled" label="是否启用" width="90">
|
|
|
<template #default="scope">
|
|
|
{{ getDictionaryName("enabled", scope.row.enabled) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="150" fixed="right">
|
|
|
+ <el-table-column label="操作" width="100">
|
|
|
<template #default="scope">
|
|
|
<div class="button">
|
|
|
- <el-button class="button-item" type="primary" style="margin-bottom: 5px" @click="edit(scope.row)">
|
|
|
+ <el-link class="button-item" type="primary" style="margin-bottom: 5px" @click="edit(scope.row)">
|
|
|
编辑
|
|
|
- </el-button>
|
|
|
+ </el-link>
|
|
|
<el-popconfirm placement="left" title="确认删除该数据?" @confirm="removeApp(scope.row)">
|
|
|
<template #reference>
|
|
|
- <el-button class="button-item" style="margin-bottom: 5px" type="warning">删除</el-button>
|
|
|
+ <el-link class="button-item" style="margin-bottom: 5px" type="warning">删除</el-link>
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
</div>
|
|
|
@@ -369,7 +369,7 @@ const removeApp = async (row) => {
|
|
|
|
|
|
.button {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ // flex-direction: column;
|
|
|
|
|
|
.button-item {
|
|
|
margin: 4px;
|