Browse Source

单元线

xia 4 years ago
parent
commit
254f3ab551

+ 1 - 0
src/components/drawer-wrapper/index.vue

@@ -10,6 +10,7 @@
              :data-source="source"
              :pagination="tablePageOptions"
              :scroll="scroll"
+             bordered
              @change="onPageChange">
       <template #operator="{ record }">
         <slot :data="record"></slot>

+ 2 - 2
src/scss/antd.scss

@@ -1,7 +1,7 @@
-.ant-table-tbody > tr > td,
+/* .ant-table-tbody > tr > td,
 .ant-table-thead > tr > th {
   border-bottom: none !important;
-}
+} */
 
 .ant-form-item {
   &:last-child {

+ 7 - 0
src/views/_pageOptions/table_financial.ts

@@ -2,6 +2,9 @@ export const TableColumnOfFinancial = [
   {
     title: "日期",
     dataIndex: "date",
+    fixed: "left",
+    ellipsis: true,
+    width:150
   },
   {
     title: "账户信息",
@@ -9,13 +12,17 @@ export const TableColumnOfFinancial = [
     slots: { customRender: "advertiser" },
     fixed: "left",
     ellipsis: true,
+    width:220
   },
   {
     title: "所属代理商信息",
     dataIndex: "agent_name",
     slots: { customRender: "agent" },
     fixed: "left",
+    ellipsis: true,
+    width:220
   },
+  
   {
     title: "总支出",
     dataIndex: "cost",

+ 1 - 0
src/views/account/account.vue

@@ -24,6 +24,7 @@
       :pagination="tablePageOptions"
       :columns="columns"
       :scroll="{ y: true }"
+      bordered
       :data-source="list"
       @change="onLoadOfficials"
     >

+ 1 - 1
src/views/financial/index.vue

@@ -15,7 +15,7 @@
         />
       </template>
     </tool-bar>
-    <a-table :columns="columns" :data-source="list" :scroll="{ x: 1500,y:600 }" @change="handleTableChange">
+    <a-table :columns="columns" :data-source="list" :scroll="{ x: 1500,y:600 }" @change="handleTableChange" bordered>
       <template #advertiser="{ text, record }">
         <p>
          账户名:{{ record.advertiser_name }}

+ 1 - 0
src/views/put/ad-countdata.vue

@@ -19,6 +19,7 @@
       :columns="columns"
       :data-source="list"
       :pagination="tablePageOptions"
+      bordered
       :scroll="{ y: 700, x: 1000 }"
       @change="handleTableChange"
       rowKey="id"

+ 1 - 0
src/views/put/ad-group.vue

@@ -21,6 +21,7 @@
       :data-source="list"
       :pagination="tablePageOptions"
       rowKey="id"
+      bordered
        :scroll="{ x: 1300,y:700 }"
       @change="handleTableChange"
     >

+ 1 - 0
src/views/put/put-ad-account.vue

@@ -17,6 +17,7 @@
       :data-source="list"
       :pagination="tablePageOptions"
       :loading="loading.value"
+      bordered
       @change="handleTableChange"
       :scroll="{y: true }"
       rowKey="id"

+ 1 - 0
src/views/put/put-ad-count.vue

@@ -6,6 +6,7 @@
       rowKey="id"
       :pagination="tablePageOptions"
       :loading="loading.value"
+      bordered
       @change="handleTableChange"
       :scroll="{ x: 1500,y:700 }"
     >

+ 1 - 0
src/views/put/put-book.vue

@@ -13,6 +13,7 @@
              :loading="loading"
              :columns="columns"
              :data-source="list"
+             bordered
              :scroll="{ y: 500 }"
              @change="onBookLoaded">
       <template #operator="{record}">

+ 1 - 1
src/views/put/put-data-more.vue

@@ -11,7 +11,7 @@
         <a-range-picker />
       </template>
     </tool-bar>
-    <a-table :columns="columns" :data-source="list" :scroll="{x: 18500}"></a-table>
+    <a-table :columns="columns" :data-source="list" :scroll="{x: 18500}" bordered></a-table>
   </div>
 </template>
 

+ 1 - 0
src/views/put/put-data.vue

@@ -35,6 +35,7 @@
       :data-source="list"
       :scroll="{ x: true,y:true }"
       @change="handleTableChange"
+      bordered
     >
     </a-table>
   </div>

+ 1 - 0
src/views/put/put-log.vue

@@ -30,6 +30,7 @@
       :columns="columns"
       :data-source="list"
       rowKey="id"
+      bordered
       :pagination="false"
     >
       <template #log="{ text, record }">

+ 1 - 0
src/views/put/register-data.vue

@@ -19,6 +19,7 @@
       :columns="columns"
       :data-source="list"
       rowKey="id"
+      bordered
       :pagination="tablePageOptions"
       :loading="loading.value"
       @change="handleTableChange"