2026-03-05 16:52:12 +08:00
|
|
|
<template>
|
2026-03-12 17:31:23 +08:00
|
|
|
<div class="mobile-page">
|
|
|
|
|
<!-- Tab 切换 -->
|
|
|
|
|
<div class="mobile-page__tabs">
|
|
|
|
|
<el-tabs v-model="activeTab">
|
|
|
|
|
<el-tab-pane label="拥有客户数限制" name="quantity">
|
|
|
|
|
<CustomerLimitConfigList :confType="LimitConfType.CUSTOMER_QUANTITY_LIMIT" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="锁定客户数限制" name="lock">
|
|
|
|
|
<CustomerLimitConfigList :confType="LimitConfType.CUSTOMER_LOCK_LIMIT" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-03-05 16:52:12 +08:00
|
|
|
</template>
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import CustomerLimitConfigList from './CustomerLimitConfigList.vue'
|
|
|
|
|
import { LimitConfType } from '@/api/crm/customer/limitConfig'
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'CrmCustomerLimitConfig' })
|
2026-03-12 17:31:23 +08:00
|
|
|
|
|
|
|
|
const activeTab = ref('quantity')
|
2026-03-05 16:52:12 +08:00
|
|
|
</script>
|
2026-03-12 17:31:23 +08:00
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.mobile-page {
|
|
|
|
|
padding: 12px;
|
|
|
|
|
background: #f5f7fa;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
.mobile-page__tabs {
|
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|