更换菜单图标

This commit is contained in:
gyq
2025-10-29 17:45:38 +08:00
parent e463ca4802
commit da0ec82aa0
19 changed files with 136 additions and 19 deletions

View File

@@ -41,8 +41,8 @@
</div>
<div class="row">
<el-table :data="tableData.list" stripe border v-loading="tableData.loading">
<el-table-column label="订单号" prop="orderNo" width="200"></el-table-column>
<el-table-column label="用户" prop="nickName" width="200">
<el-table-column label="订单号" prop="orderNo" min-width="250"></el-table-column>
<el-table-column label="用户" prop="nickName" min-width="200">
<template #default="scope">
<div class="column">
<div>{{ scope.row.nickName }}</div>

View File

@@ -58,12 +58,39 @@
</div>
<div class="row">
<el-table :data="tableData.list" stripe border v-loading="tableData.loading">
<el-table-column label="分销员" prop="nickName" width="200"></el-table-column>
<el-table-column label="用户" prop="sourceNickName" width="200"></el-table-column>
<el-table-column label="等级" prop="level"></el-table-column>
<el-table-column label="状态" prop="status"></el-table-column>
<el-table-column label="关联订单号" prop="orderNo"></el-table-column>
<el-table-column label="总收益(元)" prop="amount"></el-table-column>
<el-table-column label="分销员" prop="sourceNickName" width="200">
<template #default="scope">
<div class="column">
<div>{{ scope.row.sourceNickName }}</div>
<div>{{ scope.row.sourcePhone }}</div>
</div>
</template>
</el-table-column>
<el-table-column label="用户" prop="nickName" width="200">
<template #default="scope">
<div class="column">
<div>{{ scope.row.nickName }}</div>
<div>{{ scope.row.phone }}</div>
</div>
</template>
</el-table-column>
<el-table-column label="等级" prop="level" min-width="80">
<template #default="scope">
{{ scope.row.level }}
</template>
</el-table-column>
<el-table-column label="状态" prop="status" min-width="100">
<template #default="scope">
<el-tag disable-transitions type="success" effect="dark" v-if="scope.row.status == 'success'">已入账</el-tag>
<el-tag disable-transitions type="info" effect="dark" v-if="scope.row.status == 'pending'">待入账</el-tag>
</template>
</el-table-column>
<el-table-column label="关联订单号" prop="orderNo" min-width="200"></el-table-column>
<el-table-column label="总收益(元)" prop="amount" min-width="120">
<template #default="scope">
{{ multiplyAndFormat(scope.row.amount || 0) }}
</template>
</el-table-column>
<el-table-column label="创建时间" prop="createTime"></el-table-column>
</el-table>
</div>
@@ -165,6 +192,11 @@ onMounted(() => {
</script>
<style scoped lang="scss">
.column {
display: flex;
flex-direction: column;
}
.between {
display: flex;
justify-content: space-between;

View File

@@ -9,13 +9,13 @@
</div>
<div class="row mt14">
<!-- 基础设置 -->
<setting v-if="tabActiveIndex == 0" />
<setting key="setting" v-if="tabActiveIndex == 0" />
<!-- 分销员列表 -->
<distributor v-if="tabActiveIndex == 1" />
<distributor key="distributor" v-if="tabActiveIndex == 1" />
<!-- 开通记录 -->
<activation_record v-if="tabActiveIndex == 2" />
<activation_record key="activationRecord" v-if="tabActiveIndex == 2" />
<!-- 分销明细 -->
<distribution_details v-if="tabActiveIndex == 3" />
<distribution_details key="distributionDetails" v-if="tabActiveIndex == 3" />
</div>
</div>
</div>
@@ -37,19 +37,19 @@ const tabActiveIndex = ref(0)
const tabList = ref([
{
label: '基础设置',
value: 1
value: 0
},
{
label: '分销员列表',
value: 2
value: 1
},
{
label: '开通记录',
value: 3
value: 2
},
{
label: '分销明细',
value: 4
value: 3
},
])