修改佣金列表

This commit is contained in:
lcc
2025-10-24 15:18:10 +08:00
parent 1a5ddc39c6
commit edc9fbfd43
2 changed files with 29 additions and 2 deletions
+15 -1
View File
@@ -24,6 +24,11 @@
:datasource="datasource"
cache-key="userCmmssn"
>
<template v-slot:fromCn="{ row }">
<el-link type="primary" :underline="false" @click="goDetail(row)">
{{ row.from.text }}
</el-link>
</template>
</ele-pro-table>
</el-card>
</div>
@@ -46,7 +51,8 @@
prop: 'cluesCid',
label: '线索编号',
showOverflowTooltip: true,
align: 'center'
align: 'center',
slot: 'fromCn'
},
{
prop: 'brandSeries',
@@ -99,6 +105,14 @@
handleOptionChange() {
console.log(this.tabPosition);
this.reload();
},
goDetail(row) {
const path = row.from.url;
if (path) {
this.$router.push({
path
});
}
}
}
};
@@ -16,6 +16,11 @@
:datasource="datasource"
cache-key="userCmmssn"
>
<template v-slot:fromCn="{ row }">
<el-link type="primary" :underline="false" @click="goDetail(row)">
{{ row.from.text }}
</el-link>
</template>
</ele-pro-table>
</ele-modal>
</template>
@@ -48,7 +53,7 @@
prop: 'fromCn',
label: '佣金来源',
showOverflowTooltip: true,
slot: 'username',
slot: 'fromCn',
align: 'center',
minWidth: 100
},
@@ -96,6 +101,14 @@
/* 刷新表格 */
reload(where) {
this.$refs.table.reload({ page: 1, where: where });
},
goDetail(row) {
const path = row.from.url;
if (path) {
this.$router.push({
path
});
}
}
},
watch: {