2 Commits 39434d20aa ... 529201d973

Autor SHA1 Mensagem Data
  liuxiaona 529201d973 列表弹框一些问题 1 ano atrás
  liuxiaona cc388f21d2 列表一些问题 1 ano atrás

+ 12 - 4
src/components/businessMoudle/gdtList/advert.vue

@@ -1,22 +1,22 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="screenBox_mini">
4
-      <Input ref="InputRef_text" title="关键词" placeholderTxt="关键词" @changeEvent="()=>init()" @clearEvent="()=>init()"/>
4
+      <Input ref="InputRef_text" title="关键词" placeholderTxt="关键词" @changeEvent="initAddClear" @clearEvent="initAddClear"/>
5 5
       <Select ref="acRef"
6 6
               title="账号"
7 7
               selectWidth="160px"
8
-              @changeEvent="()=>init()" @clearEvent="()=>init()"
8
+              @changeEvent="initAddClear" @clearEvent="initAddClear"
9 9
               :isMultiple="true"
10 10
               :optObj="{k:'account_id',la:'account_id',val:'account_id'}"
11 11
               :options="pageInfo.acList"/>
12 12
       <Select ref="statusRef"
13 13
               title="状态"
14 14
               selectWidth="160px"
15
-              @changeEvent="()=>init()" @clearEvent="()=>init()"
15
+              @changeEvent="initAddClear" @clearEvent="initAddClear"
16 16
               :options="pageInfo.ad_statusList"/>
17 17
       <TimeScreen title="时间" selectWidth="260px" :haveQuick="false" :clearFlag="true" :valueIsKong="true"
18 18
                   ref="timeRef"
19
-                  @init="()=>init()"></TimeScreen>
19
+                  @init="initAddClear"></TimeScreen>
20 20
       <span class="pointer c-theme lMar10" @click="clearEvent">清空</span>
21 21
       <el-button class="lMarauto" type="primary" @click="goNewPlanEvent">新建计划</el-button>
22 22
     </div>
@@ -467,6 +467,12 @@ const singleChooseCheckboxEvent = (idx:number,row:any)=>{
467 467
   }
468 468
 }
469 469
 
470
+const initAddClear = () => {
471
+  tableInfo.multipleSelection = []
472
+  tableInfo.chooseAll = false
473
+  init()
474
+}
475
+
470 476
 //清空
471 477
 const clearEvent = () => {
472 478
   nextTick(()=>{
@@ -474,6 +480,8 @@ const clearEvent = () => {
474 480
     acRef.value!.value = []
475 481
     statusRef.value!.value = ''
476 482
     timeRef.value!.dateVal = ''
483
+    tableInfo.multipleSelection = []
484
+    tableInfo.chooseAll = false
477 485
     init()
478 486
   })
479 487
 }

+ 1 - 0
src/components/businessMoudle/gdtList/advertBatch/batchEditDayBudget.vue

@@ -20,6 +20,7 @@
20 20
             ref="tableListRef"
21 21
             :tableData="pageInfo.chooseList"
22 22
             :descol="tableInfo.descolList"
23
+            tableHeight="380"
23 24
         >
24 25
           <template v-slot:operate="slotProps">
25 26
             <div class="text-center">

+ 1 - 0
src/components/businessMoudle/gdtList/advertBatch/editDeepBid.vue

@@ -19,6 +19,7 @@
19 19
             ref="tableListRef"
20 20
             :tableData="pageInfo.chooseList"
21 21
             :descol="tableInfo.descolList"
22
+            tableHeight="400"
22 23
         >
23 24
           <template v-slot:operate="slotProps">
24 25
             <div class="text-center">

+ 1 - 0
src/components/businessMoudle/gdtList/advertBatch/editExpectedRoi.vue

@@ -19,6 +19,7 @@
19 19
             ref="tableListRef"
20 20
             :tableData="pageInfo.chooseList"
21 21
             :descol="tableInfo.descolList"
22
+            tableHeight="400"
22 23
         >
23 24
           <template v-slot:operate="slotProps">
24 25
             <div class="text-center">

+ 1 - 0
src/components/businessMoudle/gdtList/advertBatch/oneClickMeasure.vue

@@ -23,6 +23,7 @@
23 23
             ref="tableListRef"
24 24
             :tableData="pageInfo.chooseList"
25 25
             :descol="tableInfo.descolList"
26
+            tableHeight="400"
26 27
         >
27 28
           <template v-slot:operate="slotProps">
28 29
             <div class="text-center">

+ 3 - 3
src/components/businessMoudle/gdtList/detial/creativeInfo.vue

@@ -9,10 +9,10 @@
9 9
             <span class="smallTitle">{{sub.title}}</span>
10 10
             <div v-if="item.title == '创意素材'" class="flex">
11 11
               <template v-if="sub.value.video_url || sub.value.image_url || sub.value?.image_url_list?.length>0">
12
-                <video :src="sub.value.video_url" controls v-if="sub.value.video_url" style="width: 176px;height: 200px" class="rMar10"></video>
13
-                <img :src="sub.value.image_url" alt="" v-if="sub.value.image_url" style="width: 100px" class="rMar10"/>
12
+                <video :src="sub.value.video_url" controls v-if="sub.value.video_url" style="height: 130px" class="rMar10"></video>
13
+                <img :src="sub.value.image_url" alt="" v-if="sub.value.image_url" style="height: 130px" class="rMar10"/>
14 14
                 <template v-if="sub.value?.image_url_list?.length>0">
15
-                  <img  v-for="im in sub.value.image_url_list" :src="im" alt="" style="width: 100px" class="rMar10"/>
15
+                  <img  v-for="im in sub.value.image_url_list" :src="im" alt="" style="height: 130px" class="rMar10"/>
16 16
                 </template>
17 17
               </template>
18 18
               <template v-else>-</template>

+ 11 - 4
src/components/businessMoudle/gdtList/plan.vue

@@ -1,22 +1,22 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="screenBox_mini">
4
-      <Input ref="InputRef_text" title="关键词" placeholderTxt="关键词" @changeEvent="()=>init()" @clearEvent="()=>init()"/>
4
+      <Input ref="InputRef_text" title="关键词" placeholderTxt="关键词" @changeEvent="initAddClear" @clearEvent="initAddClear"/>
5 5
       <Select ref="acRef"
6 6
               title="账号"
7 7
               selectWidth="160px"
8
-              @changeEvent="()=>init()" @clearEvent="()=>init()"
8
+              @changeEvent="initAddClear" @clearEvent="initAddClear"
9 9
               :isMultiple="true"
10 10
               :optObj="{k:'account_id',la:'account_id',val:'account_id'}"
11 11
               :options="pageInfo.acList"/>
12 12
       <Select ref="statusRef"
13 13
               title="状态"
14 14
               selectWidth="160px"
15
-              @changeEvent="()=>init()" @clearEvent="()=>init()"
15
+              @changeEvent="initAddClear" @clearEvent="initAddClear"
16 16
               :options="pageInfo.statusList"/>
17 17
       <TimeScreen title="时间" selectWidth="260px" :haveQuick="false" :clearFlag="true" :valueIsKong="true"
18 18
                   ref="timeRef"
19
-                  @init="()=>init()"></TimeScreen>
19
+                  @init="initAddClear"></TimeScreen>
20 20
       <span class="pointer c-theme lMar10" @click="clearEvent">清空</span>
21 21
       <el-button class="lMarauto" type="primary" @click="goNewPlanEvent">新建计划</el-button>
22 22
     </div>
@@ -371,6 +371,11 @@ const singleChooseCheckboxEvent = (idx:number,row:any)=>{
371 371
     tableInfo.chooseAll = false
372 372
   }
373 373
 }
374
+const initAddClear = () => {
375
+  tableInfo.multipleSelection = []
376
+  tableInfo.chooseAll = false
377
+  init()
378
+}
374 379
 //清空
375 380
 const clearEvent = () => {
376 381
   nextTick(()=>{
@@ -378,6 +383,8 @@ const clearEvent = () => {
378 383
     acRef.value!.value = []
379 384
     statusRef.value!.value = ''
380 385
     timeRef.value!.dateVal = ''
386
+    tableInfo.multipleSelection = []
387
+    tableInfo.chooseAll = false
381 388
     init()
382 389
   })
383 390
 }

+ 1 - 1
src/components/capsulationMoudle/tableList.vue

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <el-table v-loading="loading" ref="tableRef" :size="tableSize" :data="tableData" :header-cell-style="tableHeaderStyle" :key="updateKey" style="width: 100%"
2
+  <el-table v-loading="loading" ref="tableRef" :size="tableSize" :data="tableData" :header-cell-style="tableHeaderStyle" :key="updateKey" style="width: 100%;overflow-y: auto"
3 3
             :border="showBorder" empty-text="暂无数据"  :row-key="rowKeyStr"
4 4
             @selection-change="selectionChangeEvent" @expand-change="expandChangeEvent" @select-all="handleSelectionAllChange" :cell-class-name="cellName" :expand-row-keys="expandArrs"
5 5
             :height="immobilizationHeight"