吴sir 4 сар өмнө
parent
commit
bd2dbd802a

+ 1 - 1
src/views/tariffManagement/config.js

@@ -1,6 +1,6 @@
 export let columns = [
     { title: window.$t('tariffManagement.id'), dataIndex: 'id', align: 'center', width: 200 },
-    { title: window.$t('tariffManagement.feeCode'), dataIndex: 'feeCode', align: 'center', width: 200 },
+    // { title: window.$t('tariffManagement.feeCode'), dataIndex: 'feeCode', align: 'center', width: 200 },
     { title: window.$t('tariffManagement.userName'), dataIndex: 'userName', align: 'center', width: 200 },
     { title: window.$t('tariffManagement.label'), dataIndex: 'label', align: 'center', width: 200 },
     { title: window.$t('tariffManagement.source'), dataIndex: 'sourceName', align: 'center', width: 200 },

+ 15 - 15
src/views/tariffManagement/customer/index.vue

@@ -46,14 +46,14 @@
       </template>
       <template #operation="{ record }">
         <a-space>
-          <a-button type="text" size="small" @click="handleRecharge(record)">{{
-              $t('customer.recharge')
-            }}
-          </a-button>
-          <a-button type="text" size="small" @click="handlePackageManagement(record)">{{
-              $t('customer.packageManagement')
-            }}
-          </a-button>
+<!--          <a-button type="text" size="small" @click="handleRecharge(record)">{{-->
+<!--              $t('customer.recharge')-->
+<!--            }}-->
+<!--          </a-button>-->
+<!--          <a-button type="text" size="small" @click="handlePackageManagement(record)">{{-->
+<!--              $t('customer.packageManagement')-->
+<!--            }}-->
+<!--          </a-button>-->
           <a-button type="text" size="small" @click="handleEdit(record)">{{
               $t('global.common.edit')
             }}
@@ -80,19 +80,19 @@ const {t} = useI18n();
 const loading = ref(false);
 
 const columns = computed(() => [
-  {title: t('customer.id'), dataIndex: 'id'},
+  {title: t('customer.id'), dataIndex: 'id',width: 100},
   // {title: t('customer.customerCode'), dataIndex: 'customerCode'},
-  {title: t('customer.customerName'), dataIndex: 'name'},
+  {title: t('customer.customerName'), dataIndex: 'name',width: 120},
   {title: t('customer.userAdmin'), dataIndex: 'username'},
   // {title: t('customer.accountBalance'), dataIndex: 'accountBalance'},
   // {title: t('customer.paymentMethodName'), dataIndex: 'paymentMethod'},
-  {title: t('customer.customerStatus'), slotName: 'state'},
+  {title: t('customer.customerStatus'), slotName: 'state',width: 130},
   // {title: t('customer.validPeriod'), dataIndex: 'validPeriod'},
   // {title: t('customer.activeCards'), dataIndex: 'activeCards'},
-  {title: t('customer.userTypeName'), dataIndex: 'userType'},
-  {title: t('customer.startTime'), dataIndex: 'createdAt'},
-  {title: t('customer.updateTime'), dataIndex: 'updatedAt'},
-  // {title: t('global.common.operations'), slotName: 'operation', width: 250},
+  {title: t('customer.userTypeName'), dataIndex: 'userType',width: 100},
+  {title: t('customer.startTime'), dataIndex: 'createdAt',width: 200},
+  {title: t('customer.updateTime'), dataIndex: 'updatedAt',width: 200},
+  {title: t('global.common.operations'), slotName: 'operation', width: 150},
 ]);
 
 onMounted(() => {