wxy 4 ماه پیش
والد
کامیت
60bd97e00b
1فایلهای تغییر یافته به همراه0 افزوده شده و 16 حذف شده
  1. 0 16
      src/views/tariffManagement/customer/index.vue

+ 0 - 16
src/views/tariffManagement/customer/index.vue

@@ -80,16 +80,11 @@ const loading = ref(false);
 
 const columns = computed(() => [
   { title: t('customer.id'), dataIndex: 'id', align: 'center', ellipsis: true },
-  // {title: t('customer.customerCode'), dataIndex: 'customerCode'},
   { title: t('customer.customerName'), dataIndex: 'name', align: 'center', ellipsis: true },
   { title: t('customer.userAdmin'), dataIndex: 'username', align: 'center' },
-  // {title: t('customer.accountBalance'), dataIndex: 'accountBalance'},
-  // {title: t('customer.paymentMethodName'), dataIndex: 'paymentMethod'},
   { title: t('customer.customerStatus'), slotName: 'state', align: 'center', ellipsis: true },
   { title: 'app_key  ', dataIndex: 'appKey', align: 'center', ellipsis: true },
   { title: 'app_secret', dataIndex: 'appSecret', align: 'center', ellipsis: true },
-  // {title: t('customer.validPeriod'), dataIndex: 'validPeriod'},
-  // {title: t('customer.activeCards'), dataIndex: 'activeCards'},
   { title: t('customer.userTypeName'), align: 'center', dataIndex: 'userType', ellipsis: true },
   { title: t('customer.startTime'), dataIndex: 'createdAt', align: 'center', ellipsis: true },
   { title: t('customer.updateTime'), dataIndex: 'updatedAt', align: 'center', ellipsis: true },
@@ -174,13 +169,6 @@ const handleEdit = async (record) => {
   }
 };
 
-const handleRecharge = (record) => {
-  Message.success(`为客户 ${record.customerName} 充值`);
-};
-
-const handlePackageManagement = (record) => {
-  Message.success(`管理客户 ${record.customerName} 的套餐`);
-};
 
 const handleNewCustomerSubmit = (formData) => {
   if (formData) {
@@ -202,10 +190,6 @@ const resetSearch = () => {
   fetchCustomerList();
 };
 
-const handleBatchDelete = () => {
-  Message.warning(t('customer.batchDeleteWarning'));
-};
-
 const getStatusColor = (state) => {
   const stateColors = {
     '1': 'green',    // 正常 - 绿色