2 Commits 70c11bc2d6 ... 45771512a9

Author SHA1 Message Date
  liuxiaona 45771512a9 . 1 year ago
  liuxiaona e1d3ef1991 修复一些问题 1 year ago

+ 1 - 0
src/components/businessMoudle/batchGdt/configArea/creativeMaterial/libraryDialog.vue

@@ -303,6 +303,7 @@ const switchShow = async (val:boolean,mtype:number,maxNum?:number)=>{
303 303
         obj.max_duration = video_tips.max_duration
304 304
         obj.file_types = video_tips.file_format
305 305
         pageInfo.ratio_size = video_tips.ratio_width + ':' + video_tips.ratio_height
306
+        pageInfo.min_size = video_tips.min_width + ' * ' + video_tips.min_height
306 307
       }else if(mtype == 2){ //封面
307 308
         obj.max_size = image_tips.file_size
308 309
         obj.file_types = image_tips.file_format

+ 11 - 3
src/components/businessMoudle/batchGdt/configArea/creativeMaterial/testNew.vue

@@ -97,10 +97,10 @@ const typeRadioList = reactive<radioFace>({
97 97
   value:1,
98 98
   name:'素材类型',
99 99
   EgName:'type',
100
-  radioVal:props.propInfo.testNewType,
100
+  radioVal:'pic',
101 101
   list:[
102
-    {name:'图片',value:'pic',disabled:props.propInfo.testNewType !== 'pic'},
103
-    {name:'视频',value:'video',disabled:props.propInfo.testNewType !== 'video'},
102
+    {name:'图片',value:'pic'},
103
+    {name:'视频',value:'video'},
104 104
   ]
105 105
 })
106 106
 const formatRadioList = reactive<radioFace>({
@@ -134,6 +134,14 @@ const switchShow = (val:boolean,creativeNum:any)=>{
134 134
     nextTick(()=>{
135 135
       pageInfo.creativeNum = creativeNum
136 136
       formatRadioList.list[0].name = props.propInfo.text || '竖版视频9:16'
137
+      typeRadioList.radioVal = props.propInfo.testNewType
138
+      if(typeRadioList.radioVal == 'pic'){
139
+        typeRadioList.list[1].disabled = true
140
+        typeRadioList.list[0].disabled = false
141
+      }else{
142
+        typeRadioList.list[0].disabled = true
143
+        typeRadioList.list[1].disabled = false
144
+      }
137 145
       clearTimeout(requestObj.timer_get_upload_res)
138 146
       CataRef.value!.initAllAlbum()
139 147
     })

+ 5 - 2
src/components/businessMoudle/batchGdt/configArea/creativeMaterial/ts/materialTs.ts

@@ -61,6 +61,7 @@ export function materialTs(mType?:number){
61 61
         chooseList_Item:[],//选中素材的整个obj
62 62
         collectList:[],
63 63
         ratio_size:'',
64
+        min_size:'',
64 65
         arr_image:[]
65 66
     })
66 67
 
@@ -98,11 +99,13 @@ export function materialTs(mType?:number){
98 99
 
99 100
     //获取尺寸列表
100 101
     const getSizeList = async () => {
101
-        const paramsModel = reactive<{ratio?:string}>({
102
-            ratio:''
102
+        const paramsModel = reactive<{ratio?:string,min_size?:string}>({
103
+            ratio:'',
104
+            min_size:''
103 105
         })
104 106
         if(mType){ //弹框
105 107
             paramsModel.ratio = pageInfo.ratio_size
108
+            paramsModel.min_size = pageInfo.min_size
106 109
         }
107 110
         let res:any = await proxy.$http.get(Api.sizeTypeList,paramsModel)
108 111
         if(res&&res.errNo=='0'){

+ 32 - 9
src/components/businessMoudle/batchGdt/configArea/ruleConfig/index.vue

@@ -17,7 +17,7 @@
17 17
                       :haveNotes="item.haveNotes"
18 18
                       :haveFlex="item.haveFlex"
19 19
                       :toolTipsVal="item.toolTipsVal"
20
-                      @returnEvent="val=>item.radioVal = val">
20
+                      @returnEvent="val=>returnEvent(val,item)">
21 21
             <template v-if="item.EgName=='campaign_name'" v-slot:immobilization>
22 22
               <div>
23 23
                 <wildcard :id="pageInfo.radioId" title="推广计划名称" @change="val=>{item.value = val}" :fillBack="item.value"></wildcard>
@@ -97,6 +97,8 @@ const emit = defineEmits<{
97 97
 
98 98
 //处理抛出去的值
99 99
 const ExposeValue = ref<ruleConfig>({})
100
+
101
+
100 102
 //页面的值
101 103
 const pageInfo = reactive<reactiveTableAndAny>({
102 104
   jsonInfo:[
@@ -121,7 +123,7 @@ const pageInfo = reactive<reactiveTableAndAny>({
121 123
       //     '<b class="f-wei-600">按创意组分配</b>:相同创意组的广告分配到同一个推广计划中,创意组数量>账户数量时,创意组会平均分配给各个账户,创意组数量<账户数量时,创意组会被各个账户循环使用,推广计划数量=创意组数量(不受广告数上限影响时);<br />' +
122 124
       //     '<b class="f-wei-600">按文案组分配</b>:相同文案组的广告分配到同一个推广计划中,文案组数量>账户数量时,文案组会平均分配给各个账户,文案组数量<账户数量时,文案组会被各个账户循环使用,推广计划数量=文案组数量(不受广告数上限影响时);(仅文案组选择程序化测试时可用)',
123 125
       list:[
124
-        {name:'按定向包分组',value:'Directional_packet',notes:'部分无必填文案的创意形式,不支持使用按文案分配,会默认切换至按定向包分配',subValue:1},
126
+        {name:'按定向包分组',value:'Directional_packet',notes:'部分无必填文案的创意形式,不支持使用按文案分配,会默认切换至按定向包分配'},
125 127
         // {name:'按创意分组',value:'originality',notes:'部分无必填文案的创意形式,不支持使用按文案分配,会默认切换至按定向包分配',subValue:2},
126 128
         // {name:'按文案分组',value:'text',disabled:true,disTitle:'仅当文案的测试方式为程序化测试时可选',notes:'部分无必填文案的创意形式,不支持使用按文案分配,会默认切换至按定向包分配',subValue:3},
127 129
       ]
@@ -228,6 +230,14 @@ const handleCommand = (command: string | number | object,itemVal:any) => {
228 230
   itemVal.value = itemVal.value + '_<'+command+'>'
229 231
 }
230 232
 
233
+const returnEvent = (val:any,item:any) => {
234
+  item.radioVal = val
235
+  if(item.list?.length>0){//切换radio
236
+    let idx:number = item.list.findIndex(n=>n.value == val)
237
+    item.value = item.list[idx].subValue
238
+  }
239
+}
240
+
231 241
 const loading = ref<boolean>(false)
232 242
 const confirmEvent = async () => {
233 243
   let arr:any = pageInfo.jsonInfo
@@ -287,7 +297,11 @@ const confirmEvent = async () => {
287 297
   }else if(Number(paramsModel.total_budget)<50 && Number(paramsModel.total_budget)!==0){
288 298
     ElMessage.error('推广总预算需大于50')
289 299
     return
300
+  }else if(Number(paramsModel.start_day)<1 && Number(paramsModel.start_day)>5 && Number(paramsModel.total_budget)!==0){
301
+    ElMessage.error('投放开始日期范围为1-5')
302
+    return
290 303
   }
304
+
291 305
   loading.value = true
292 306
   let res:any = await proxy.$http.post(Api.ruleConfig_set,paramsModel)
293 307
   loading.value = false
@@ -309,15 +323,24 @@ const echoValue = async () => {
309 323
     ExposeValue.value = resNew
310 324
     pageInfo.jsonInfo.forEach(item=>{
311 325
       let val:string|number = resNew[item.EgName]
312
-      item.value = val
313
-      if(item.haveAppoint){//需要指定
314
-        item.radioVal = (!val || val=='0.00') ? 'unlimited' : 'appoint'
315
-      }else{
316
-        if(item.list && item.list.length>0){//切换radio
317
-          let idx:number = item.list.findIndex(n=>n.subValue == val)
318
-          item.radioVal = item.list[idx].value
326
+      if(item.EgName == 'account_assign' || item.EgName == 'assign_type'
327
+          || item.EgName == 'campaign_name' || item.EgName == 'dynamic_num'
328
+          || item.EgName == 'campaign_ad_max' || item.EgName == 'adcreative_max'){
329
+        item.value = val
330
+      }else if(item.EgName == 'campaign_status' || item.EgName == 'ad_status' || item.EgName == 'speed_mode'){
331
+        item.value = val
332
+        let idx:number = item.list.findIndex(n=>n.subValue == val)
333
+        item.radioVal = item.list[idx].value
334
+      }else if(item.EgName == 'daily_budget' || item.EgName == 'total_budget' || item.EgName == 'start_day'){
335
+        if(Number(val) > 0){
336
+          item.list[1].subValue = val
337
+          returnEvent('appoint',item)
338
+        }else{
339
+          item.radioVal = 'unlimited'
340
+          item.value = 0
319 341
         }
320 342
       }
343
+
321 344
     })
322 345
   }else{
323 346
     ElMessage.error(res.errMsg)

+ 52 - 10
src/components/businessMoudle/gdtList/advert.vue

@@ -24,8 +24,8 @@
24 24
     <div  v-loading="loading">
25 25
       <div class="bMar10 flex">
26 26
         <Dropdown title="批量操作" :list="tableInfo.moreList" @close="dropdownEvent" class="rMar10"
27
-                  :disabledFlag="tableInfo.multipleSelection&&tableInfo.multipleSelection.length == 0"></Dropdown>
28
-        <div>已选 : <span>{{tableInfo.multipleSelection&&tableInfo.multipleSelection.length}}</span></div>
27
+                  :disabledFlag="tableInfo.multipleSelection?.length == 0"></Dropdown>
28
+        <div>已选 : <span>{{tableInfo.multipleSelection?.length}}</span></div>
29 29
         <div  class="lMarauto">
30 30
           <Indicators type="ad_base" @refresh="init"></Indicators>
31 31
         </div>
@@ -99,12 +99,25 @@
99 99
                         <span v-else-if="scope.row[item.key_value] == 'SPEED_MODE_FAST'">加速投放</span>
100 100
                         <span v-else>-</span>
101 101
                       </div>
102
+
102 103
                       <div v-else-if="item.key_value == 'operate'">
103 104
                         <div class="flex">
104
-<!--                          <span class="c-theme pointer" @click="copyEvent(scope.row)">复制</span>-->
105
-                          <span class="c-theme pointer lMar10" @click="goDetial(scope.row)">详情</span>
105
+                          <span class="c-theme pointer" @click="goDetial(scope.row)">详情</span>
106
+                          <span class="lMar10"
107
+                                :class="scope.row.configured_status == 'AD_STATUS_NORMAL' ? 'pointer-drop c-green-opa' : 'pointer c-green'"
108
+                                @click="scope.row.configured_status == 'AD_STATUS_SUSPEND'&&batchPlanEvent(scope.row,1)">启用</span>
109
+                        </div>
110
+                        <div>
111
+                        <span :class="scope.row.configured_status == 'AD_STATUS_SUSPEND' ? 'pointer-drop c-red-opa' : 'pointer c-red'"
112
+                              @click="scope.row.configured_status == 'AD_STATUS_NORMAL'&&batchPlanEvent(scope.row,2)">禁用</span>
113
+                          <Popconfirm key="dele" @confirm="batchPlanEvent(scope.row,3)" :slotFlag="true">
114
+                            <template #con>
115
+                              <span class="pointer lMar10">删除</span>
116
+                            </template>
117
+                          </Popconfirm>
106 118
                         </div>
107 119
                       </div>
120
+
108 121
                       <div class="flex c-theme" v-else-if="item.key_value == 'daily_budget'">
109 122
                         {{scope.row[item.key_value] ? NumberHandle(scope.row[item.key_value]) : '不限'}}
110 123
                       </div>
@@ -176,6 +189,7 @@ import Indicators from './indicators/index.vue'
176 189
 import {commonlistTs} from "@/components/businessMoudle/ts/commonList";
177 190
 import {getCurrentTime} from "@/common/common";
178 191
 import _ from "lodash";
192
+import Popconfirm from '@/components/capsulationMoudle/_popconfirm.vue'
179 193
 
180 194
 
181 195
 const { proxy } = getCurrentInstance() as any;
@@ -210,7 +224,7 @@ const tableInfo = reactive<reactiveTableAndAny>({
210 224
     {value:'4',label:'修改日预算'},
211 225
     {value:'5',label:'修改出价'},
212 226
     {value:'6',label:'深度优化出价'},
213
-    {value:'7',label:'期望roi'},
227
+    {value:'7',label:'期望ROI'},
214 228
     {value:'8',label:'推广日期'},
215 229
     {value:'9',label:'投放时段'},
216 230
     {value:'10',label:'开启一键起量'},
@@ -225,6 +239,16 @@ const tableInfo = reactive<reactiveTableAndAny>({
225 239
   sortType:'',
226 240
 })
227 241
 
242
+const batchPlanEvent = async (row?:any,val?:any) => {
243
+  loading.value = true
244
+  let infos:any = []
245
+  infos.push({
246
+    account_id:row.account_id,
247
+    adgroup_id:row.adgroup_id
248
+  })
249
+  batchEventApi(infos,val)
250
+}
251
+
228 252
 const batchEventApi = async (infos?:any,flag?:any,flagVal?:any,callback?:any) => {
229 253
   const paramsModel = reactive<batchGdt_ads_edit>({
230 254
     infos:JSON.stringify(infos),
@@ -246,8 +270,8 @@ const batchEventApi = async (infos?:any,flag?:any,flagVal?:any,callback?:any) =>
246 270
 //得到新的符合条件的数组
247 271
 const getNewArr = (key:string,val?:any) => {
248 272
   let arr:any = []
249
-  tableInfo.multipleSelection.findIndex(item=>{
250
-    if(item[key] == val){
273
+  tableInfo.multipleSelection.forEach(item=>{
274
+    if(item[key] == val || !item[key]){}else{
251 275
       arr.push(item)
252 276
     }
253 277
   })
@@ -266,9 +290,17 @@ const dropdownEvent = (val: string | number | object) => {
266 290
   if(val == 4){ //修改日预算
267 291
     BatchEditDayBudgetRef.value!.switchShow(true,tableInfo.multipleSelection)
268 292
   }else if(val == 6){ // 深度优化出价
269
-    EditDeepBidRef.value!.switchShow(true,tableInfo.multipleSelection)
293
+    if(getNewArr('deep_bid_amount',0)?.length == 0){
294
+      ElMessage.error('所选暂无深度优化出价')
295
+      return
296
+    }
297
+    EditDeepBidRef.value!.switchShow(true,getNewArr('deep_bid_amount',0))
270 298
   }else if(val == 7){ // 期望roi
271
-    EditExpectedRoiRef.value!.switchShow(true,tableInfo.multipleSelection)
299
+    if(getNewArr('deep_conversion_worth_roi',0)?.length == 0){
300
+      ElMessage.error('所选暂无期望ROI')
301
+      return
302
+    }
303
+    EditExpectedRoiRef.value!.switchShow(true,getNewArr('deep_conversion_worth_roi',0))
272 304
   }else if(val == 10){ // 开启一键起量
273 305
     if(getNewArr('auto_acquisition_enabled',0)?.length == 0){
274 306
       ElMessage.error('所选暂无关闭状态的一键起量')
@@ -435,6 +467,17 @@ const singleChooseCheckboxEvent = (idx:number,row:any)=>{
435 467
   }
436 468
 }
437 469
 
470
+//清空
471
+const clearEvent = () => {
472
+  nextTick(()=>{
473
+    InputRef_text.value!.value = ''
474
+    acRef.value!.value = []
475
+    statusRef.value!.value = ''
476
+    timeRef.value!.dateVal = ''
477
+    init()
478
+  })
479
+}
480
+
438 481
 
439 482
 const {
440 483
   init_acList,
@@ -443,7 +486,6 @@ const {
443 486
   acRef,
444 487
   statusRef,
445 488
   InputRef_text,
446
-  clearEvent,
447 489
   tableHeaderStyle,
448 490
   init_ad_statusList
449 491
 } = listTs()

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

@@ -8,7 +8,7 @@
8 8
       :dialog-title="title">
9 9
     <template v-slot:content>
10 10
       <div class="dialogBox" v-loading="loading">
11
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
11
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
12 12
         <RadioGroup :radioList="RadioList.list"
13 13
                     :echoVal="RadioList.radioVal"
14 14
                     :title="RadioList.name"

+ 1 - 1
src/components/businessMoudle/gdtList/advertBatch/editBid.vue

@@ -7,7 +7,7 @@
7 7
       :dialog-title="title">
8 8
     <template v-slot:content>
9 9
       <div class="dialogBox" v-loading="loading">
10
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
10
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
11 11
         <Input ref="nameRef" title="修改出价" :placeholderTxt="title"/>
12 12
       </div>
13 13
     </template>

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

@@ -8,7 +8,7 @@
8 8
       :dialog-title="title">
9 9
     <template v-slot:content>
10 10
       <div class="dialogBox" v-loading="loading">
11
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
11
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
12 12
         <RadioGroup :radioList="RadioList.list"
13 13
                     :echoVal="RadioList.radioVal"
14 14
                     :title="RadioList.name"

+ 2 - 2
src/components/businessMoudle/gdtList/advertBatch/editExpectedRoi.vue

@@ -8,7 +8,7 @@
8 8
       :dialog-title="title">
9 9
     <template v-slot:content>
10 10
       <div class="dialogBox" v-loading="loading">
11
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
11
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
12 12
         <RadioGroup :radioList="RadioList.list"
13 13
                     :echoVal="RadioList.radioVal"
14 14
                     :title="RadioList.name"
@@ -92,7 +92,7 @@ const confirmEvent = async () => {
92 92
     }
93 93
   }else {
94 94
     pageInfo.chooseList.forEach(i=>{
95
-      if(!i.deep_bid_amount_edit){
95
+      if(!i.deep_conversion_worth_roi_edit){
96 96
         isKong = true
97 97
       }
98 98
     })

+ 1 - 1
src/components/businessMoudle/gdtList/advertBatch/editPromoteDate.vue

@@ -7,7 +7,7 @@
7 7
       :dialog-title="title">
8 8
     <template v-slot:content>
9 9
       <div class="dialogBox" v-loading="loading">
10
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
10
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
11 11
         <!-- 投放日期 -->
12 12
         <MyRadio :info="RadioList" :fillBack="props.dataFillBack['date_model']" @change="radioChange">
13 13
           <!-- 投放日期 -->

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

@@ -8,6 +8,7 @@
8 8
       :dialog-title="title">
9 9
     <template v-slot:content>
10 10
       <div class="dialogBox" v-loading="loading">
11
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
11 12
         <!-- 投放时段 -->
12 13
         <MyRadio :info="RadioList" :fillBack="props.dataFillBack['time_series_type']"
13 14
                  @change="radioChange">

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

@@ -8,7 +8,7 @@
8 8
       :dialog-title="title">
9 9
     <template v-slot:content>
10 10
       <div class="dialogBox" v-loading="loading">
11
-        <div class="bMar20 f13">已选{{pageInfo.chooseList?.length || 0}}条广告</div>
11
+        <div class="bMar20 f13">已选 <span class="f-wei-600">{{pageInfo.chooseList?.length || 0}}</span> 条广告</div>
12 12
         <RadioGroup :radioList="RadioList.list"
13 13
                     :echoVal="RadioList.radioVal"
14 14
                     :title="RadioList.name"

+ 16 - 6
src/components/businessMoudle/gdtList/plan.vue

@@ -117,7 +117,6 @@
117 117
                               <span class="pointer lMar10">删除</span>
118 118
                             </template>
119 119
                           </Popconfirm>
120
-
121 120
                         </div>
122 121
                       </div>
123 122
                       <div class="flex c-theme pointer" v-else-if="item.key_value == 'daily_budget'" @click="editPlanEvent(scope.row)">
@@ -235,7 +234,6 @@ const batchPlanEvent = async (row?:any,val?:any) => {
235 234
     campaign_id:row.campaign_id
236 235
   })
237 236
   batchPlanApi(arr,val)
238
-
239 237
 }
240 238
 const dropdownEvent = (val: string | number | object) => {
241 239
   loading.value = true
@@ -292,6 +290,12 @@ const init = async (page?:any,totalPages?:any) => {
292 290
     if(totalPages){
293 291
       tableInfo.tableList_all = res.rst.data.list
294 292
     }else{
293
+      tableInfo.total = res.rst.pageInfo.total
294
+      tableInfo.totalPages = res.rst.pageInfo.total
295
+      if(!res.rst.data){
296
+        tableInfo.tableList = []
297
+        return
298
+      }
295 299
       tableInfo.summary = res.rst.data.summary
296 300
       tableInfo.summary[0].campaign_name = '合计(缓存时间:' + getCurrentTime() + ')'
297 301
       tableInfo.descol = []
@@ -304,8 +308,6 @@ const init = async (page?:any,totalPages?:any) => {
304 308
       tableInfo.descol = res.rst.data.explain;
305 309
       tableInfo.descol.splice(1,0,{label:'操作',key_value:'operate',disabled:1,sub:[{label:'',key_value:'operate',disabled:1}]})
306 310
       tableInfo.tableList = res.rst.data.list
307
-      tableInfo.total = res.rst.pageInfo.total
308
-      tableInfo.totalPages = res.rst.pageInfo.total
309 311
     }
310 312
   }else{
311 313
     ElMessage.error(res.errMsg)
@@ -369,7 +371,16 @@ const singleChooseCheckboxEvent = (idx:number,row:any)=>{
369 371
     tableInfo.chooseAll = false
370 372
   }
371 373
 }
372
-
374
+//清空
375
+const clearEvent = () => {
376
+  nextTick(()=>{
377
+    InputRef_text.value!.value = ''
378
+    acRef.value!.value = []
379
+    statusRef.value!.value = ''
380
+    timeRef.value!.dateVal = ''
381
+    init()
382
+  })
383
+}
373 384
 
374 385
 const {
375 386
   init_acList,
@@ -378,7 +389,6 @@ const {
378 389
   acRef,
379 390
   statusRef,
380 391
   InputRef_text,
381
-  clearEvent,
382 392
   tableHeaderStyle,
383 393
   planEditIptRef,
384 394
   TargetEditRef,

+ 7 - 6
src/components/businessMoudle/gdtList/ts/list.ts

@@ -3,6 +3,7 @@ import {getCurrentInstance, nextTick, reactive, ref} from "vue";
3 3
 import {adqParam, reactiveTableAndAny} from "@/api/ApiModel";
4 4
 import {Api} from "@/api/api";
5 5
 import {ElMessage} from "element-plus";
6
+import http from "@/http/http";
6 7
 export function listTs(){
7 8
     const { proxy } = getCurrentInstance() as any;
8 9
 // 全局方法定义
@@ -66,12 +67,12 @@ export function listTs(){
66 67
 
67 68
 //清空
68 69
     const clearEvent = () => {
69
-      nextTick(()=>{
70
-          InputRef_text.value!.value = ''
71
-          acRef.value!.value = []
72
-          statusRef.value!.value = ''
73
-          timeRef.value!.dateVal = ''
74
-      })
70
+        nextTick(()=>{
71
+            InputRef_text.value!.value = ''
72
+            acRef.value!.value = []
73
+            statusRef.value!.value = ''
74
+            timeRef.value!.dateVal = ''
75
+        })
75 76
     }
76 77
 
77 78
     //打开自定义指标