jiayufei 3 سال پیش
والد
کامیت
30c472d60e
1فایلهای تغییر یافته به همراه31 افزوده شده و 25 حذف شده
  1. 31 25
      src/views/modules/policy-management/policy-management.vue

+ 31 - 25
src/views/modules/policy-management/policy-management.vue

@@ -113,11 +113,14 @@
                 :pagination="false"
                 :scroll="{x: 3000}"
             >
-                <span slot="creativeImageMode" slot-scope="text">
-                    <span>222</span>
+                <span slot="accountId_dictText" slot-scope="text">
+                    <a>{{ text }}</a>
                 </span>
-                <span solt="accountBudget" slot-scope="text, record">
-                    {{ record.accountBudgetMode === '1' ? '不限' : text }}
+                <span slot="validBalance" slot-scope="text">
+                    <a>{{ text }}</a>
+                </span>
+                <span slot="adCpaBidStr" slot-scope="text">
+                    <a>{{ text }}</a>
                 </span>
                 <span slot="action" slot-scope="text, record">
                     <a @click="handleDetail">查看</a>
@@ -540,22 +543,22 @@ export default {
             },
             dataSource: [
                 {
-                   status: 122, 
-                   accountId_dictText: 122, 
-                   creativeImageMode: 122, 
-                   accountId: 122, 
-                   createTime: 122, 
-                   validBalance: 122, 
-                   accountBudget: 122, 
-                   adCpaBidStr: 122,
-                   cost: 122,
-                   cost11: 122,
-                   cost22: 122,
-                   cost33: 122,
-                   cost44: 122,
-                   cost55: 122,
-                   cost66: 122,
-                   cost77: 122,
+                   status: '腾讯科技有限公司', 
+                   accountId_dictText: '腾讯科技有限公司', 
+                   creativeImageMode: '产品名称', 
+                   accountId: '快手', 
+                   createTime: '何甜甜', 
+                   validBalance: '待审核', 
+                   accountBudget: '是', 
+                   adCpaBidStr: '80天',
+                   cost: '返现',
+                   cost11: '3%',
+                   cost22: '是',
+                   cost33: '酒气有限公司',
+                   cost44: '3%',
+                   cost55: '代运营',
+                   cost66: '2020-12-04',
+                   cost77: '这个是备注',
                 }
             ],
             columns: [
@@ -566,13 +569,14 @@ export default {
                     width: 150
                 },
                 {
-                    title: '广告主名称',
+                    title: '广告主',
                     align: 'center',
                     dataIndex: 'accountId_dictText',
-                    width: 150
+                    width: 150,
+                    scopedSlots: {customRender: 'accountId_dictText'}
                 },
                 {
-                    title: '产品名称',
+                    title: '产品',
                     align: 'center',
                     dataIndex: 'creativeImageMode',
                     width: 150
@@ -593,7 +597,8 @@ export default {
                     title: '状态',
                     dataIndex: 'validBalance',
                     align: 'center',
-                    width: 150
+                    width: 150,
+                    scopedSlots: {customRender: 'validBalance'}
                 },
                 {
                     title: '是否预付',
@@ -605,7 +610,8 @@ export default {
                     title: '账期',
                     dataIndex: 'adCpaBidStr',
                     align: 'center',
-                    width: 150
+                    width: 150,
+                    scopedSlots: {customRender: 'adCpaBidStr'}
                 },
                 {
                     title: '返点类型',