Pārlūkot izejas kodu

修改头条批量列表页面展示接口

syh 4 gadi atpakaļ
vecāks
revīzija
99f3166081
1 mainītis faili ar 8 papildinājumiem un 10 dzēšanām
  1. 8 10
      src/views/modules/BatchCreate/TouTiaoBatch.vue

+ 8 - 10
src/views/modules/BatchCreate/TouTiaoBatch.vue

@@ -123,7 +123,7 @@
                     <span slot="budget" slot-scope="text,record">
                        <editableCell :text="text" slotName='groupBudget' @change="onCellChange(record.key, 'groupBudget', $event)" />
                     </span>
-                    <span slot="status" slot-scope="text,record">
+                    <span slot="campaignStatus" slot-scope="text,record">
                         <a-switch size="default" :checked=text  @change="switchChange(text,record)"/>
                     </span>
                     <span slot="options" slot-scope="record">
@@ -252,7 +252,6 @@ const columns = [
     dataIndex: 'name',
     key: 'name',
     align: 'center',
-    width:450,
     scopedSlots: { customRender: 'name' }
   },
   {
@@ -280,7 +279,6 @@ const columns = [
     dataIndex: 'budget',
     key: 'budget',
     align: 'center',
-    width:250,
     scopedSlots: { customRender: 'budget' }
   },
   {
@@ -381,14 +379,14 @@ const ideaColumns = [
   },
   {
     title: '创意ID',
-    dataIndex: 'ideaID',
-    key: 'ideID',
+    dataIndex: 'id',
+    key: 'id',
     align: 'center',
   },
   {
     title: '广告创意',
-    dataIndex: 'ideID',
-    key: 'ideaID',
+    dataIndex: 'title',
+    key: 'title',
     align: 'center',
   },
   {
@@ -419,10 +417,10 @@ const ideaColumns = [
   },
   {
     title: '所属计划',
-    dataIndex: 'parentPlan',
-    key: 'parentPlan',
+    dataIndex: 'planId_dictText',
+    key: 'planId_dictText',
     align: 'center',
-    scopedSlots: { customRender: 'parentPlan' }
+    scopedSlots: { customRender: 'planId_dictText' }
   },
   {
     title: '所属广告组',