|
@@ -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
|
}
|