Browse Source

出价类型

xiuli.gao 1 year ago
parent
commit
300a0065f5
35 changed files with 50 additions and 46 deletions
  1. 1 1
      dist/assets/index.470fb552.js
  2. 1 1
      dist/assets/index.9f95300d.css
  3. 1 1
      dist/index.html
  4. 1 1
      dist/js/_dialog/_dialog.62ae29d2.js
  5. 1 1
      dist/js/_input/_input.dc61226b.js
  6. 1 1
      dist/js/_select/_select.d9359910.js
  7. 1 1
      dist/js/adTask/index.209ebe11.js
  8. 1 1
      dist/js/api/api.e490c45c.js
  9. 1 1
      dist/js/basisMoudle/accountManage.bf5b45f1.js
  10. 1 1
      dist/js/basisMoudle/error.6b1cae16.js
  11. 1 1
      dist/js/basisMoudle/home.cc08cb81.js
  12. 1 1
      dist/js/basisMoudle/login.e81227d5.js
  13. 1 1
      dist/js/businessMoudle/adqManage.ede04a0b.js
  14. 1 1
      dist/js/collectClip/index.ddd7da22.js
  15. 0 1
      dist/js/configArea/index.7114e14a.js
  16. 1 0
      dist/js/configArea/index.dedb73dd.js
  17. 1 1
      dist/js/gdtList/index.37ae784d.js
  18. 1 1
      dist/js/index/index.b02f4fb7.js
  19. 1 1
      dist/js/index/index.a5204bdf.js
  20. 1 1
      dist/js/layout/index.2d07a996.js
  21. 1 1
      dist/js/layout/index_head.4c9bfcff.js
  22. 1 1
      dist/js/materialBlock/materialBlock.dad48acf.js
  23. 1 1
      dist/js/materialLibrary/index.ceadc2f5.js
  24. 1 1
      dist/js/menuPermission/menuList.52bfd25d.js
  25. 1 1
      dist/js/miniprogram/index.e93bb6a8.js
  26. 1 0
      dist/js/noData/noData.7a7e9fc2.js
  27. 0 1
      dist/js/noData/noData.f93f6ef4.js
  28. 1 1
      dist/js/tableInfo/tableInfo.679af895.js
  29. 1 1
      dist/js/taskList/index.d674765b.js
  30. 1 1
      dist/js/timeScreen/timeScreen.d3a8d427.js
  31. 1 1
      dist/js/weekTime/weekTime.2aa545de.js
  32. 1 1
      src/components/businessMoudle/batchGdt/configArea/basicInfo/index.vue
  33. 18 13
      src/components/businessMoudle/batchGdt/configArea/basicInfo/ts/fillBack.ts
  34. 1 2
      src/components/businessMoudle/batchGdt/configArea/originalityBasic/index.vue
  35. 1 1
      src/components/businessMoudle/batchGdt/previewArea/index.vue

File diff suppressed because it is too large
+ 1 - 1
dist/assets/index.470fb552.js


File diff suppressed because it is too large
+ 1 - 1
dist/assets/index.9f95300d.css


+ 1 - 1
dist/index.html

@@ -6,7 +6,7 @@
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
7 7
     <title>广告系统</title>
8 8
       <script src="//open.thunderurl.com/thunder-link.js"></script>
9
-    <script type="module" crossorigin src="./assets/index.470fb552.js"></script>
9
+    <script type="module" crossorigin src="./assets/index.2d4025b3.js"></script>
10 10
     <link rel="modulepreload" href="./js/@vue/@vue.e7eafc10.js">
11 11
     <link rel="modulepreload" href="./js/vue-router/vue-router.647267ed.js">
12 12
     <link rel="modulepreload" href="./js/axios/axios.27022086.js">

File diff suppressed because it is too large
+ 1 - 1
dist/js/_dialog/_dialog.62ae29d2.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/_input/_input.dc61226b.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/_select/_select.d9359910.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/adTask/index.209ebe11.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/api/api.e490c45c.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/accountManage.bf5b45f1.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/error.6b1cae16.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/home.cc08cb81.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/login.e81227d5.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/businessMoudle/adqManage.ede04a0b.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/collectClip/index.ddd7da22.js


File diff suppressed because it is too large
+ 0 - 1
dist/js/configArea/index.7114e14a.js


File diff suppressed because it is too large
+ 1 - 0
dist/js/configArea/index.dedb73dd.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/gdtList/index.37ae784d.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/index/index.b02f4fb7.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/index/index.a5204bdf.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/layout/index.2d07a996.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/layout/index_head.4c9bfcff.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/materialBlock/materialBlock.dad48acf.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/materialLibrary/index.ceadc2f5.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/menuPermission/menuList.52bfd25d.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/miniprogram/index.e93bb6a8.js


File diff suppressed because it is too large
+ 1 - 0
dist/js/noData/noData.7a7e9fc2.js


File diff suppressed because it is too large
+ 0 - 1
dist/js/noData/noData.f93f6ef4.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/tableInfo/tableInfo.679af895.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/taskList/index.d674765b.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/timeScreen/timeScreen.d3a8d427.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/weekTime/weekTime.2aa545de.js


+ 1 - 1
src/components/businessMoudle/batchGdt/configArea/basicInfo/index.vue

@@ -122,7 +122,7 @@
122 122
           </template>
123 123
         </MyRadio>
124 124
         <!-- 出价类型 -->
125
-        <MyRadio v-if="form.bid_scene == 'BID_SCENE_UNKNOWN'" :info="scheduleBidInfo.smart_bid_type"
125
+        <MyRadio v-if="((form.bid_mode == 'BID_MODE_OCPM' || form.bid_mode == 'BID_MODE_OCPC') && form.bid_scene == 'BID_SCENE_UNKNOWN') || (form.bid_mode != 'BID_MODE_OCPM' && form.bid_mode != 'BID_MODE_OCPC')" :info="scheduleBidInfo.smart_bid_type"
126 126
           @change="(val) => { onChangeKey({ val: val['smart_bid_type'], key: 'smart_bid_type' }) }"
127 127
           :fillBack="props.dataFillBack['smart_bid_type']">
128 128
         </MyRadio>

+ 18 - 13
src/components/businessMoudle/batchGdt/configArea/basicInfo/ts/fillBack.ts

@@ -200,6 +200,13 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
200 200
           params['smart_bid_type'] = data.smart_bid_type //出价类型
201 201
         }
202 202
       } else {
203
+        params['smart_bid_type'] = data.smart_bid_type //出价类型
204
+        params['bid_way'] = data.bid_way //优化目标出价方式
205
+        if(data.bid_way == '1') {
206
+          params['bid_amount'] = data.bid_amount //出价
207
+        }else{
208
+          params['bid_range'] = data.bid_range //出价范围
209
+        }
203 210
         params['bid_scene'] = 'BID_SCENE_UNKNOWN'
204 211
       }
205 212
       console.log('params', params)
@@ -268,7 +275,6 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
268 275
             obj = params.deep_conversion_worth_spec
269 276
             name = '期望ROI'
270 277
           }
271
-          console.log(obj,'00000')
272 278
           if (!obj || obj == '' || JSON.parse(obj).target == '') {
273 279
             ElMessage.error('请选择深度优化目标')
274 280
             return
@@ -418,18 +424,17 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
418 424
           copywriting.push(`起量预算:${data.auto_acquisition_amount}元`)
419 425
         }
420 426
       }
421
-
422
-      if (data.smart_bid_type == 'SMART_BID_TYPE_CUSTOM') {//手动出价
423
-        if (data.bid_way == '1') {
424
-          copywriting.push(`出价:${params.bid_amount}元`)
425
-        } else {
426
-          let arr = data.bid_range && data.bid_range.split('-') || []
427
-          let bid_range_min = ''
428
-          let bid_range_max = ''
429
-          if (arr.length > 0) bid_range_min = arr[0]
430
-          if (arr.length > 1) bid_range_max = arr[1]
431
-          copywriting.push(`出价范围:${bid_range_min}元-${bid_range_max}元`)
432
-        }
427
+    }
428
+    if (data.smart_bid_type == 'SMART_BID_TYPE_CUSTOM') {//手动出价
429
+      if (data.bid_way == '1') {
430
+        copywriting.push(`出价:${params.bid_amount}元`)
431
+      } else {
432
+        let arr = data.bid_range && data.bid_range.split('-') || []
433
+        let bid_range_min = ''
434
+        let bid_range_max = ''
435
+        if (arr.length > 0) bid_range_min = arr[0]
436
+        if (arr.length > 1) bid_range_max = arr[1]
437
+        copywriting.push(`出价范围:${bid_range_min}元-${bid_range_max}元`)
433 438
       }
434 439
     }
435 440
     copywriting.push(`一方数据跑量加强:${data.ecom_pkam_switch == '1' ? '开启' : '关闭'}`)

+ 1 - 2
src/components/businessMoudle/batchGdt/configArea/originalityBasic/index.vue

@@ -193,8 +193,7 @@ const radioChange = (obj: object) => {
193 193
     }
194 194
     if (i == 'originalityForm' && obj['originalityForm'] && obj['originalityForm'] != '') {//创意形式
195 195
       if (form_main['originalityForm'] != obj[i]) {
196
-        templateCurr.value = templateType[obj[i]][0]
197
-        getAdcreativeTemplateInfo()
196
+        onClickTemplate(templateType[obj[i]][0])
198 197
       }
199 198
     }
200 199
     form_main[i] = obj[i]

+ 1 - 1
src/components/businessMoudle/batchGdt/previewArea/index.vue

@@ -422,7 +422,7 @@ const adTaskEvent = (task_id) => {
422 422
             confirmButtonText: '去计划列表',
423 423
             cancelButtonText: '继续创建',
424 424
           }).then(() => {
425
-            router.push({ path: '/gdtList?type=plan' })
425
+            router.push({ path: '/gdtList', query: {type: 'plan'} })
426 426
           }).catch(() => {
427 427
             emit('continueCreate')
428 428
           })