Quellcode durchsuchen

Merge branch 'master' into feature/work-jyf

jiayufei vor 4 Jahren
Ursprung
Commit
bdf1635ab2
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11 0
      src/views/modules/account-config/components/configuration-modal.vue

+ 11 - 0
src/views/modules/account-config/components/configuration-modal.vue

@@ -1395,6 +1395,7 @@ export default {
                 creativeThirdIndustryIds: [{required: true, message: '请选择', trigger: 'change'}]
             },
             configForm: {
+                adAppType: '',
                 adDirectionalFlag: 'add',
                 adInterestActionMode: 'UNLIMITED',
                 creativeDisplayMode: 'CREATIVE_DISPLAY_MODE_CTR',
@@ -1513,9 +1514,17 @@ export default {
         },
         NewAdExternalUrl() {
             return this.configForm.adExternalUrl;
+        },
+        NewPlatformLoadingType() {
+            return this.platformLoadingType;
         }
     },
     watch: {
+        NewPlatformLoadingType(newVal, oldVal) {
+            if (newVal) {
+                this.configForm.adAppType = newVal;
+            }
+        },
         NewAdExternalUrl(newVal, oldVal) {
             if (newVal && this.configForm.accountId) {
                 const paramsData = {
@@ -2006,6 +2015,7 @@ export default {
                 this.configForm.adDownloadUrl = '';
                 this.configForm.adPackage = '';
                 this.configForm.adConvertId = '';
+                this.configForm.adAppType = '';
                 this.$refs.ruleForm.clearValidate(['adDownloadUrl']);
                 this.$refs.ruleForm.clearValidate(['adPackage']);
             }
@@ -2084,6 +2094,7 @@ export default {
                         this.configForm.adPackage = detailData.adPackage || '';
                         this.configForm.adConvertType = detailData.adConvertType || '';
                         this.configForm.adDistrict = detailData.adDistrict || 'NONE';
+                        this.configForm.adAppType = detailData.adAppType;
                         if (detailData.adDownloadType === 'DOWNLOAD_URL') {
                             this.handleGetPackage();
                         }