Sfoglia il codice sorgente

账户配置 列表 快手 更新字段

jiayufei 3 anni fa
parent
commit
619f070855

+ 3 - 1
src/views/modules/autoLaunch/auto-copy-library/auto-copy-library.vue

@@ -353,6 +353,9 @@ export default {
             postAction(url, data).then(result => {
                 if (result.code === 200) {
                     this.$message.success(result.message);
+                    this.advertisingAccount = [];
+                    this.fileList = [];
+                    this.editShowAccountList = [];
                     this.causeVisible = false;
                     this.currencyPag = {
                         page: 1,
@@ -367,7 +370,6 @@ export default {
                 console.log(error, 'eeee');
             }).finally(() => {
                 this.confirmLoading = false;
-                this.editShowAccountList = [];
             });
         },
         handleCauseCancel() {

+ 28 - 0
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -1654,6 +1654,20 @@
                             </a-radio-group>
                         </a-form-item>
                         </div>
+                    </div>
+                    <div class="row-item">
+                        <div class="hint-item"> </div>
+                        <div class="label-item">
+                        <div class="text-item">是否开启系统优选</div>
+                        </div>
+                        <div class="input-item">
+                        <a-form-item>  
+                            <a-radio-group v-decorator="['ctop_ai_kuaishou_advertiser_strategy', { initialValue: 0 }]" :disabled="getProjectIdAccount === 458">
+                                <a-radio-button :value="0">否</a-radio-button>
+                                <a-radio-button :value="1">是</a-radio-button>                            
+                            </a-radio-group>
+                        </a-form-item>
+                        </div>
                     </div> 
                 </div>
              
@@ -1883,6 +1897,7 @@ export default {
     },
     data() {
         return {
+            getProjectIdAccount: '',
             checkCpaBidBloon:false,
             appType: '0',
             uriCheck: false,
@@ -2076,6 +2091,7 @@ export default {
                 //         })
                 //     }
                 // })
+                this.handleGetAcoountId(newValue);
                 this.getAppList()
                 let editRecordId=this.$route.query.id;
                 if(editRecordId){
@@ -2152,6 +2168,18 @@ export default {
     },
     methods: {
         ...mapGetters(['userInfo']),
+        handleGetAcoountId(list) {
+            getAction('/estimatePeopleNumber/getProjectId', {accountId: list}).then(result => {
+                if (result.code === 0) {
+                    this.getProjectIdAccount = result.result && Number(result.result);
+                }
+                else {
+                    this.$message.error(result.message);
+                }
+            }).catch(error => {
+                console.log(error, 'eeee');
+            });
+        },
         keyDown(event){
             if((event.keyCode>=96&&event.keyCode<=105)||(event.keyCode>=109&&event.keyCode<=111)||event.keyCode==46||event.keyCode==45||(event.keyCode>=48&&event.keyCode<=57)){
                 

+ 1 - 1
src/views/modules/autoLaunch/material-pool/material.vue

@@ -39,7 +39,7 @@ export default {
                 },
                 {
                     key: 'autoCopyLibrary',
-                    tab: '文案库'
+                    tab: '文案库管理'
                 }
             ]
         }