Browse Source

🎈 perf: 优化部分表格显示效果

Pchen. 9 months ago
parent
commit
684aa7a731

+ 1 - 1
src/pages/admin/lepaoAccount/accountList.vue

@@ -218,7 +218,7 @@ const columns = [
         title: 'ID',
         title: 'ID',
         dataIndex: 'id',
         dataIndex: 'id',
         fixed: 'left',
         fixed: 'left',
-        width: 50
+        width: 60
     }, {
     }, {
         title: '创建用户',
         title: '创建用户',
         slotName: 'create_user',
         slotName: 'create_user',

+ 1 - 1
src/pages/admin/lepaoRecords/lepaoRecords.vue

@@ -45,7 +45,7 @@
         </a-col>
         </a-col>
       </a-row>
       </a-row>
 
 
-      <a-table :data="data" stripe hoverable column-resizable class="table" :loading="loading" :pagination="{
+      <a-table :data="data" stripe hoverable class="table" :loading="loading" :pagination="{
         showPageSize: true,
         showPageSize: true,
         showJumper: true,
         showJumper: true,
         showTotal: true,
         showTotal: true,

+ 1 - 1
src/pages/lepao/lepaoRecords/index.vue

@@ -45,7 +45,7 @@
         </a-col>
         </a-col>
       </a-row>
       </a-row>
 
 
-      <a-table :data="data" stripe hoverable column-resizable class="table" :loading="loading" :pagination="{
+      <a-table :data="data" stripe hoverable class="table" :loading="loading" :pagination="{
         showPageSize: true,
         showPageSize: true,
         showJumper: true,
         showJumper: true,
         showTotal: true,
         showTotal: true,

+ 2 - 2
src/pages/power/accountList.vue

@@ -12,7 +12,7 @@
       </a-result>
       </a-result>
     </a-card>
     </a-card>
 
 
-    <a-card title="定制电费提醒" style="margin-top: 15px; display: none;">
+    <a-card title="定制电费提醒" style="display: none;">
       <a-button type="primary" size="large" @click="editAccount()">
       <a-button type="primary" size="large" @click="editAccount()">
         <template #icon>
         <template #icon>
           <icon-plus />
           <icon-plus />
@@ -351,7 +351,7 @@ const stramptoTime = (time) => {
 }
 }
 
 
 onMounted(() => {
 onMounted(() => {
-  getAccounts()
+  
 })
 })
 
 
 </script>
 </script>