修改佣金发放时间

This commit is contained in:
lccsw
2025-12-11 11:07:03 +08:00
parent 8185286bf1
commit 8c48703349
+24 -16
View File
@@ -35,8 +35,8 @@
</template>
<script>
import UserSearch from './components/user-search.vue';
import { pageCmmssn } from '@/api/user/cmmssn';
import UserSearch from './components/user-search.vue'
import { pageCmmssn } from '@/api/user/cmmssn'
export default {
name: 'SystemUser',
@@ -52,7 +52,9 @@
label: '线索编号',
showOverflowTooltip: true,
align: 'center',
slot: 'fromCn'
slot: 'fromCn',
width: 220,
fixed: 'left'
},
{
prop: 'brandSeries',
@@ -82,38 +84,44 @@
minWidth: 100,
resizable: false,
showOverflowTooltip: true
}
}, {
prop: 'ifSendCn',
label: '是否发放',
showOverflowTooltip: true,
minWidth: 80,
align: 'center'
},
],
tabPosition: '1',
money: 0,
showTeam: 0
};
}
},
methods: {
/* 表格数据源 */
async datasource({ page, limit, where, order }) {
where.type = this.tabPosition;
const result = await pageCmmssn({ ...where, ...order, page, limit });
this.money = result.money;
this.showTeam = result.showTeam;
return result;
where.type = this.tabPosition
const result = await pageCmmssn({ ...where, ...order, page, limit })
this.money = result.money
this.showTeam = result.showTeam
return result
},
/* 刷新表格 */
reload(where) {
this.$refs.table.reload({ page: 1, where: where });
this.$refs.table.reload({ page: 1, where: where })
},
handleOptionChange() {
console.log(this.tabPosition);
this.reload();
console.log(this.tabPosition)
this.reload()
},
goDetail(row) {
const path = row.from.url;
const path = row.from.url
if (path) {
this.$router.push({
path
});
})
}
}
}
}
};
</script>