featshop(): 添加分销商相关 API 接口和模型

- 新增分销商申请、资金明细、订单记录、推荐关系、设置、用户记录、提现明细等 API 接口
- 创建对应的模型接口和搜索参数接口
- 实现基本的 CRUD 操作函数- 优化优惠券列表展示字段
- 添加分销商申请列表搜索组件
This commit is contained in:
2025-08-11 11:31:52 +08:00
parent 14c91a63a1
commit 32fe74c71f
41 changed files with 4915 additions and 39 deletions

View File

@@ -0,0 +1,42 @@
<!-- 搜索表单 -->
<template>
<a-space :size="10" style="flex-wrap: wrap">
<a-button type="primary" class="ele-btn-icon" @click="add">
<template #icon>
<PlusOutlined />
</template>
<span>添加</span>
</a-button>
</a-space>
</template>
<script lang="ts" setup>
import { PlusOutlined } from '@ant-design/icons-vue';
import type { GradeParam } from '@/api/user/grade/model';
import { watch } from 'vue';
const props = withDefaults(
defineProps<{
// 选中的角色
selection?: [];
}>(),
{}
);
const emit = defineEmits<{
(e: 'search', where?: GradeParam): void;
(e: 'add'): void;
(e: 'remove'): void;
(e: 'batchMove'): void;
}>();
// 新增
const add = () => {
emit('add');
};
watch(
() => props.selection,
() => {}
);
</script>