Kaynağa Gözat

头条 人群包 页面

jiayufei 4 yıl önce
ebeveyn
işleme
be96307606

+ 2 - 2
src/views/modules/account-config/account-config-server.js

@@ -1,2 +1,2 @@
-// export const urlAcount = 'http://118.24.244.213:8080';
-export const urlAcount = 'http://192.168.1.43:8080';
+export const urlAcount = 'http://118.24.244.213:8080';
+// export const urlAcount = 'http://192.168.1.43:8080';

+ 1 - 1
src/views/modules/account-config/account-config.vue

@@ -396,7 +396,7 @@ export default {
         handleInitTable() {
             const paramsData = {
                 accountId: this.acountId,
-                logingUserId: this.userInfo().id,
+                loginUserId: this.userInfo().id,
                 pageNo: this.tablePag.page,
                 pageSize: this.tablePag.size
             };

+ 3 - 0
src/views/modules/account-config/components/configuration-modal.less

@@ -99,6 +99,9 @@
             }
             .dp-link-end {
                 display: inline-block;
+                .ant-form-item-control {
+                    width: 250px !important;
+                }
             }
             .campaign-cnt-class {
                 display: inline-block;

+ 140 - 76
src/views/modules/account-config/components/configuration-modal.vue

@@ -26,8 +26,9 @@
                         class="common-input"
                         v-model="configForm.dpLinkStartIndex"
                         :disabled="modalTitle === 'edit'"
-                        :min="0"
+                        :min="1"
                         placeholder="请输入"
+                        @change="handleDplinkStart"
                     />
                     <span>~</span>
                 </a-form-model-item>
@@ -38,6 +39,7 @@
                         :disabled="modalTitle === 'edit'"
                         :min="getEndIndex"
                         placeholder="请输入"
+                        @change="handleDplinkEnd"
                     />
                 </a-form-model-item>
                 <a-form-model-item label="预算方式">
@@ -140,46 +142,42 @@
                         <a-radio-button value="EXTERNAL_URL">落地页</a-radio-button>
                     </a-radio-group>
                 </a-form-model-item>
-                <div v-if="configForm.adDownloadType === 'EXTERNAL_URL'">
-                    <a-form-model-item label="落地页链接" prop="adExternalUrl">
-                        <a-input
-                            class="common-input-long"
-                            :disabled="modalTitle === 'edit'"
-                            v-model="configForm.adExternalUrl"
-                            placeholder="请输入落地页链接"
-                            allow-clear
-                        />
-                    </a-form-model-item>
-                    <a-form-model-item label="直达链接内容">
-                        <a-input
-                            class="common-input-long"
-                            v-model="configForm.adOpenUrl"
-                            placeholder="请输入直达链接内容"
-                            allow-clear
-                        />
-                    </a-form-model-item>
-                </div>
-                <div v-if="configForm.adDownloadType === 'DOWNLOAD_URL'">
-                    <a-form-model-item label="下载链接" prop="adDownloadUrl">
-                        <a-input
-                            class="common-input-long"
-                            :disabled="modalTitle === 'edit'"
-                            v-model="configForm.adDownloadUrl"
-                            placeholder="请输入下载链接"
-                            allow-clear
-                            @change="handleDownloadLink"
-                        />
-                    </a-form-model-item>
-                    <a-form-model-item label="应用包名" prop="adPackage">
-                        <a-input
-                            class="common-input-long"
-                            :disabled="modalTitle === 'edit'"
-                            v-model="configForm.adPackage"
-                            placeholder="请输入应用包名"
-                            allow-clear
-                        />
-                    </a-form-model-item>
-                </div>
+                <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="落地页链接" prop="adExternalUrl">
+                    <a-input
+                        class="common-input-long"
+                        :disabled="modalTitle === 'edit'"
+                        v-model="configForm.adExternalUrl"
+                        placeholder="请输入落地页链接"
+                        allow-clear
+                    />
+                </a-form-model-item>
+                <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="直达链接内容">
+                    <a-input
+                        class="common-input-long"
+                        v-model="configForm.adOpenUrl"
+                        placeholder="请输入直达链接内容"
+                        allow-clear
+                    />
+                </a-form-model-item>
+                <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="下载链接" prop="adDownloadUrl">
+                    <a-input
+                        class="common-input-long"
+                        :disabled="modalTitle === 'edit'"
+                        v-model="configForm.adDownloadUrl"
+                        placeholder="请输入下载链接"
+                        allow-clear
+                        @change="handleDownloadLink"
+                    />
+                </a-form-model-item>
+                <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="应用包名" prop="adPackage">
+                    <a-input
+                        class="common-input-long"
+                        :disabled="modalTitle === 'edit'"
+                        v-model="configForm.adPackage"
+                        placeholder="请输入应用包名"
+                        allow-clear
+                    />
+                </a-form-model-item>
             </div>
             <div class="separate-module-con">
                 <p class="rock-title">优化目标</p>
@@ -261,7 +259,7 @@
                             <a-radio-group v-model="configForm.adDistrict" button-style="solid">
                                 <a-radio-button value="NONE">不限</a-radio-button>
                                 <a-radio-button value="CITY">按省市</a-radio-button>
-                                <a-radio-button value="COUNTY">按区县</a-radio-button>
+                                <a-radio-button value="COUNTY" disabled>按区县</a-radio-button>
                             </a-radio-group>
                         </a-form-model-item>
                         <div v-if="configForm.adDistrict === 'CITY'" class="adver-position-radio selected-city-arr">
@@ -355,14 +353,7 @@
                             </div>
                         </div>
                         <a-form-model-item label="网络">
-                            <a-radio-group v-model="configForm.adAc" button-style="solid">
-                                <a-radio-button value="NONE">不限</a-radio-button>
-                                <a-radio-button value="WIFI">Wi-Fi</a-radio-button>
-                                <a-radio-button value="2G">2G</a-radio-button>
-                                <a-radio-button value="3G">3G</a-radio-button>
-                                <a-radio-button value="4G">4G</a-radio-button>
-                            </a-radio-group>
-                            <!-- <radio-check v-model="configForm.adSelectAge" :options="adAcList" @change="getAgeSelect"></radio-check> -->
+                            <radio-check v-model="configForm.adSelectAc" :options="adAcList" @change="getAgeSelect"></radio-check>
                         </a-form-model-item>
                         <a-form-model-item label="已安装用户">
                             <a-radio-group v-model="configForm.adHideIfExists" button-style="solid">
@@ -519,7 +510,7 @@
                     <a-radio-group v-model="configForm.adBidCreateType" button-style="solid" @change="handleBiddingMethod">
                         <a-radio-button value="FIX">固定出价</a-radio-button>
                         <a-radio-button value="RAND">随机出价</a-radio-button>
-                        <a-radio-button value="STEP">阶出价</a-radio-button>
+                        <a-radio-button value="STEP">阶出价</a-radio-button>
                     </a-radio-group>
                 </a-form-model-item>
                 <a-form-model-item v-if="configForm.adBidCreateType === 'FIX'" label="目标转化出价" :prop="configForm.launchTarget === 'OCPM' ? 'adCpaBid' : ''">
@@ -551,7 +542,7 @@
                             :min="0.1"
                             :max="10000"
                             placeholder="请输入"
-                        />
+                        />
                     </a-form-model-item>
                 </div>
                 <div v-if="configForm.adBidCreateType === 'STEP'">
@@ -572,13 +563,14 @@
                             :min="0.1"
                             :max="10000"
                             placeholder="请输入"
-                        />
+                        />
                     </a-form-model-item>
                     <a-form-model-item label="浮动间隔" prop="adStepBid">
                         <a-input-number
                             class="common-input"
                             v-model="configForm.adStepBid"
                             placeholder="请输入"
+                            @blur="handleFloatingInterval"
                         /> 元
                     </a-form-model-item>
                 </div>
@@ -811,7 +803,8 @@ export default {
         };
         let adMinBidValidator = (rule, value, callback) => {
             const finallyResult = Number(this.configForm.adMaxBid);
-            if (finallyResult !== '' && value && Number(value) < finallyResult) {
+            if (finallyResult && value && Number(value) < finallyResult) {
+                this.$refs['ruleForm'].clearValidate(['adMaxBid']);
                 callback();
             }
             else {
@@ -820,7 +813,8 @@ export default {
         };
         let adMaxBidValidator = (rule, value, callback) => {
             const finallyResult = Number(this.configForm.adMinBid);
-            if (finallyResult !== '' && value && Number(value) > finallyResult) {
+            if (finallyResult && value && Number(value) > finallyResult) {
+                this.$refs['ruleForm'].clearValidate(['adMinBid']);
                 callback();
             }
             else {
@@ -829,8 +823,30 @@ export default {
         };
         return {
             directionalData: [],
+            platformLoadingType: '',
             selectPackageTabs: '1',
-            adAcList: [],
+            adAcList: [
+                {
+                    value: 'NONE',
+                    label: '不限'
+                },
+                {
+                    value: 'WIFI',
+                    label: 'WI-FI'
+                },
+                {
+                    value: '2G',
+                    label: '2G'
+                },
+                {
+                    value: '3G',
+                    label: '3G'
+                },
+                {
+                    value: '4G',
+                    label: '4G'
+                },
+            ],
             adHideIfConvertedDataOption: [ // 过滤已转化用户option
                 {
                     id: 'NO_EXCLUDE',
@@ -869,7 +885,7 @@ export default {
             regionCityListUrl: 'ctop/bytedanceAreaInfo/list',
             defaultAdBudget: '',
             adBudgetShowTitle: false,
-            adBudgetNum: 0,
+            adBudgetNum: 1,
             campaignStatus: false,
             detailData: {},
             modalTitle: '',
@@ -1006,15 +1022,15 @@ export default {
                 adDownloadUrl: '', // 下载链接
                 accountBudget: 0, // 账户日预算
                 accountId: undefined, // 账户
-                dpLinkStartIndex: 0,
-                dpLinkEndIndex: 0,
+                dpLinkStartIndex: 1,
+                dpLinkEndIndex: 2,
                 accountBudgetMode: '1', // 预算方式
                 campaignLandingType: 'APP', // 推广目标
                 advertisingType: '1', // 广告类型
                 campaignName: '', // 广告组名称
                 adName: '', // 广告计划名称
-                campaignCnt: 0, // 广告组计划数量
-                campaignAdCnt: 0, // 广告计划数量
+                campaignCnt: 1, // 广告组计划数量
+                campaignAdCnt: 1, // 广告计划数量
                 launchTarget: 'OCPM', // 投放目标
                 adDownloadType: 'EXTERNAL_URL', // 下载方式
                 adExternalUrl: '', // 落地页链接
@@ -1032,20 +1048,21 @@ export default {
                 customPerson: 'NONE', // 定向-自定义
                 adSuperiorPopularityType: 'NONE', // 定向-媒体定向
                 adPlatform: 'NONE', // 定向-平台
-                adAc: 'NONE', // 定向-网络
+                adSelectAc: ['NONE'],
+                adAc: '', // 定向-网络
                 adHideIfExists: '0', // 定向-已安装用户
                 adHideIfConverted: 'NO_EXCLUDE', // 定向-已转化用户
                 adAutoExtendEnabled: '0', // 定向-智能播放
                 adAndroidVersion: 'NONE', // 定向-安卓版本
                 androidChangeValue: '', // 安卓版本-自定义
                 adSmartBidType: 'SMART_BID_CUSTOM', // 投放场景
-                adBudget: 0, // 预算
+                adBudget: 1, // 预算
                 adScheduleType: 'SCHEDULE_FROM_NOW', // 投放时间
                 launchDateRange: [], // 设置开始和结束时间
                 launchTimeInterval: 'buxian', // 投放时段
                 scheduleTimeData: str, // 指定时段选择
                 adPricing: 'PRICING_OCPM', // 付费方式
-                adCpaBid: 0, // 目标转化出价
+                adCpaBid: 0.1, // 目标转化出价
                 creativeActionTrackUrl: '', // 监测地址
                 creativeMaterialMode: 'STATIC_ASSEMBLE', // 创意方式
                 creativeImageMode: 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL', // 创意内容
@@ -1069,7 +1086,7 @@ export default {
             return this.configForm.accountId ? '请选择已有定向包名称' : '请选择广告账户';
         },
         getEndIndex() {
-            return Number(this.configForm.dpLinkStartIndex);
+            return Number(this.configForm.dpLinkStartIndex) + 1;
         },
         getSource() {
             if (this.configForm.campaignLandingType !== 'APP' || (this.configForm.campaignLandingType === 'APP' && this.configForm.adDownloadType === 'EXTERNAL_URL')) {
@@ -1115,6 +1132,11 @@ export default {
                 this.handleGetOptimizationObjective(paramsData);
             }
         },
+        platformLoadingType(newVal, oldVal) {
+            if (newVal && this.configForm.accountId) {
+                this.handleGetAdAudiencePackage();
+            }
+        },
         NewAountId(newVal, oldVal) {
             if (newVal && this.configForm.adPackage) {
                 const paramsData = {
@@ -1129,10 +1151,12 @@ export default {
                 };
                 this.handleGetOptimizationObjective(paramsData);
             }
+            if (newVal && this.platformLoadingType) {
+                this.handleGetAdAudiencePackage();
+            }
             if (newVal) {
                 this.handleGetCreativeClassification();
                 this.handleGetAdvertiserStrategy();
-                this.handleGetAdAudiencePackage();
                 this.handleDirectionalList();
             }
             else {
@@ -1156,6 +1180,15 @@ export default {
     methods: {
         ...mapGetters(['nickname', 'avatar', 'userInfo']),
         moment,
+        handleDplinkStart(e) {
+            this.configForm.dpLinkStartIndex = Math.round(e);
+        },
+        handleDplinkEnd(e) {
+            this.configForm.dpLinkEndIndex = Math.round(e);
+        },
+        handleFloatingInterval(e) {
+            this.configForm.adStepBid = Number(Number(e.target.value).toFixed(2));
+        },
         handleDirectionalList() {
             const paramsData = {
                 accountId: this.configForm.accountId
@@ -1198,12 +1231,23 @@ export default {
             this.configForm.adRetargetingTagsExclude = list && list.join(',');
         },
         handleDirectionalLogic(e) {
-            console.log(e.target.value, 'e--e--e--e--e--e--e--e');
             const selectValue = e.target.value;
+            this.handleDirectionalList();
+            if (selectValue === '1') {
+                this.$refs.exclude.aloneInput = '';
+            }
+            else if (selectValue === '2') {
+                this.$refs.direct.aloneInput = '';
+            }
+            else if (selectValue === '3') {
+                this.$refs.direct.aloneInput = '';
+                this.$refs.exclude.aloneInput = '';
+            }
         },
         handleGetAdAudiencePackage() {
             const params = {
-                accountId: this.configForm.accountId
+                accountId: this.configForm.accountId,
+                landingType: this.configForm.adDownloadType === 'DOWNLOAD_URL' ? this.platformLoadingType : 'EXTERNAL'
             };
             getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', params)
                 .then(result => {
@@ -1224,10 +1268,10 @@ export default {
             defaultData.forEach(item => {
                 item.replaceSex = item.audience.gender === 'NONE' ? '不限' : item.audience.gender === 'GENDER_FEMALE' ? '女' : '男';
                 item.replaceEnabled = item.audience.auto_extend_enabled === 1 ? '开启' : '不开启';
-                item.replacePlate = item.audience.platform.length ? item.audience.platform.join(',') : '暂无';
-                item.replaceCitys = item.audience.cityNames.length ? item.audience.cityNames.join(',') : '暂无';
+                item.replacePlate = item.audience.platform && item.audience.platform.length ? item.audience.platform.join(',') : '暂无';
+                item.replaceCitys = item.audience.cityNames && item.audience.cityNames.length ? item.audience.cityNames.join(',') : '暂无';
                 this.ageArr.forEach(val => {
-                    if (item.audience.age && item.audience.age.includes(val.value)) {
+                    if (item.audience.age && item.audience.age.length && item.audience.age.includes(val.value)) {
                         ageUpdateList.push(val.label);
                     }
                 });
@@ -1347,13 +1391,16 @@ export default {
         },
         handleGetPackage() {
             const params = {
-                urlPath: this.configForm.adDownloadUrl,
-                downloadType: 'android'
+                urlPath: this.configForm.adDownloadUrl
             };
             getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getPackageNameByUrl', params)
                 .then(result => {
                     if (result.code === 0) {
                         this.configForm.adPackage = result.result.package || '';
+                        this.platformLoadingType = result.result.platform || '';
+                        // if (result.result.platform === '') {
+
+                        // }
                     }
                     else {
                         this.$message.error(result.message);
@@ -1395,18 +1442,21 @@ export default {
         },
         handleAdDownLoadType(e) {
             this.optimizationOption = [];
+            this.$refs['ruleForm'].clearValidate(['adDownloadUrl']);
+            this.$refs['ruleForm'].clearValidate(['adExternalUrl']);
+            this.$refs['ruleForm'].clearValidate(['adPackage']);
             if (e.target.value === 'DOWNLOAD_URL') {
                 this.configForm.adExternalUrl = undefined;
                 this.configForm.adOpenUrl = undefined;
                 this.configForm.adConvertId = undefined;
-                this.$refs['ruleForm'].clearValidate(['adExternalUrl']);
             }
             else if (e.target.value === 'EXTERNAL_URL') {
+                console.log(this.configForm.adDownloadUrl, this.configForm.adPackage, '[][][][][][][]]][]][][]]][]');
+                this.configForm.adExternalUrl = undefined;
                 this.configForm.adDownloadUrl = undefined;
                 this.configForm.adPackage = undefined;
                 this.configForm.adConvertId = undefined;
-                this.$refs['ruleForm'].clearValidate(['adDownloadUrl']);
-                this.$refs['ruleForm'].clearValidate(['adPackage']);
+                this.configForm.adOpenUrl = undefined;
             }
         },
         handleCampaignCnt(e) {
@@ -1519,6 +1569,7 @@ export default {
                         this.configForm.adGender = detailData.adGender || 'NONE';
                         this.configForm.adLocationType = detailData.adLocationType;
                         this.configForm.adSelectAge = detailData.adAge.split(',');
+                        this.configForm.adSelectAc = detailData.adAc.split(',');
                         this.configForm.adSuperiorPopularityType = detailData.adSuperiorPopularityType;
                         this.configForm.adPlatform = detailData.adPlatform;
                         this.configForm.adAc = detailData.adAc;
@@ -1883,6 +1934,10 @@ export default {
                 this.$message.error('请选择投放时间');
                 return;
             }
+            if (this.configForm.launchTimeInterval === 'a' && this.configForm.scheduleTimeData === str) {
+                this.$message.error('请选择投放时段');
+                return;
+            }
             if (!this.urlResult) {
                 this.$message.error('请上传图片');
                 return;
@@ -1898,6 +1953,14 @@ export default {
             if (this.campaignStatus) {
                 return;
             }
+            if (this.configForm.adBudget < this.configForm.adCpaBid) {
+                this.isAdCpaBidBlur = true;
+                this.adCpaBidBlurTxt = '出价不能大于预算';
+                return;
+            }
+            else {
+                this.isAdCpaBidBlur = false;
+            }
             if (paramsFormData.adverPosition === 'a') {
                 paramsFormData.creativeSmartInventory = 1;
             }
@@ -1935,6 +1998,7 @@ export default {
             }
             paramsFormData.adCity = paramsFormData.adSelectCity.join(',');
             paramsFormData.adAge = paramsFormData.adSelectAge.join(',');
+            paramsFormData.adAc = paramsFormData.adSelectAc.join(',');
             paramsFormData.productSellingPoints = this.configForm.defaultFormList && this.configForm.defaultFormList.map(item => item.value);
             paramsFormData.creativeThirdIndustryId = paramsFormData.creativeThirdIndustryIds[2];
             paramsFormData.creativeProductImageCode = this.md5Result;

+ 48 - 11
src/views/modules/account-config/components/directional-logic/directional-logic.vue

@@ -4,7 +4,7 @@
             <div class="select-class-left">
                 <a-tabs v-model="selectPackageTabs" @change="handleTabsChange">
                     <a-tab-pane key="1" tab="定向池">
-                        <a-input-search class="input-search" placeholder="请输入账户名或ID" @change="handleSearchPack" />
+                        <a-input-search class="input-search" v-model="directInput" placeholder="请输入账户名或ID" @change="handleSearchPack($event, 'all', 'direct')" />
                         <a-table
                             :columns="columns"
                             :data-source="tableDataAllDirect"
@@ -12,10 +12,13 @@
                             :scroll="{y: 200}"
                             :pagination="false"
                         >
+                            <span slot="acountRelax" slot-scope="text, record">
+                                {{ record.name }}({{ record.key }})
+                            </span>
                         </a-table>
                     </a-tab-pane>
                     <a-tab-pane key="2" tab="排除池">
-                        <a-input-search class="input-search" placeholder="请输入账户名或ID" @change="handleSearchPack" />
+                        <a-input-search class="input-search" v-model="excludeInput" placeholder="请输入账户名或ID" @change="handleSearchPack($event, 'all', 'exclude')" />
                         <a-table
                             :columns="columns"
                             :data-source="tableDataAllExclude"
@@ -23,6 +26,9 @@
                             :scroll="{y: 200}"
                             :pagination="false"
                         >
+                            <span slot="acountRelax" slot-scope="text, record">
+                                {{ record.name }}(record.key)
+                            </span>
                         </a-table>
                     </a-tab-pane>
                 </a-tabs>
@@ -76,7 +82,7 @@
             </div>
         </div>
         <div v-else>
-            <a-input-search class="input-search" placeholder="请输入账户名或ID" @change="handleSearchPack" />
+            <a-input-search class="input-search" v-model="aloneInput" placeholder="请输入账户名或ID" @change="handleSearchPack($event, 'alone')" />
             <div class="tree-select-class">
                 <div class="select-class-left">
                     <a-table
@@ -86,6 +92,9 @@
                         :scroll="{y: 300}"
                         :pagination="false"
                     >
+                        <span slot="acountRelax" slot-scope="text, record">
+                            {{ record.name }}(record.key)
+                        </span>
                     </a-table>
                 </div>
                 <div class="select-class-right">
@@ -145,6 +154,9 @@ export default {
     },
     data() {
         return {
+            aloneInput: '',
+            directInput: '',
+            excludeInput: '',
             selectPackageTabs: '1',
             selectAllRightTabs: '3',
             selectRightData: [],
@@ -154,7 +166,8 @@ export default {
                     title: '人群包',
                     dataIndex: 'name',
                     key: 'name',
-                    ellipsis: true
+                    ellipsis: true,
+                    scopedSlots: {customRender: 'acountRelax'}
                 },
                 {
                     title: '属性',
@@ -374,20 +387,44 @@ export default {
         handleTabsChange(e) {
             this.tableDataAllDirect = [];
             this.tableDataAllExclude = [];
+            this.directInput = '';
+            this.excludeInput = '';
             this.$nextTick(() => {
                 this.tableDataAllDirect = this.updateTableAllDirect;
                 this.tableDataAllExclude = this.updateTableAllExclude;
             });
         },
-        handleSearchPack(e) {
+        handleSearchPack(e, type, style) {
             const value = e.target.value;
-            let defaultList = [];
-            this.updateTreeDataAlone.forEach(item => {
-                if (item.name && item.name.indexOf(value) !== -1) {
-                    defaultList.push(item);
+            if (type === 'alone') {
+                let defaultList = [];
+                this.updateTreeDataAlone.forEach(item => {
+                    if (item.name && item.name.indexOf(value) !== -1) {
+                        defaultList.push(item);
+                    }
+                });
+                this.tableDataAlone = defaultList;
+            }
+            else if (type === 'all') {
+                if (style === 'direct') {
+                    let defaultListOne = [];
+                    this.updateTableAllDirect.forEach(item => {
+                        if (item.name && item.name.indexOf(value) !== -1) {
+                            defaultListOne.push(item);
+                        }
+                    });
+                    this.tableDataAllDirect = defaultListOne;
                 }
-            });
-            this.tableDataAlone = defaultList;
+                else if (style === 'exclude') {
+                    let defaultListTwo = [];
+                    this.updateTableAllExclude.forEach(item => {
+                        if (item.name && item.name.indexOf(value) !== -1) {
+                            defaultListTwo.push(item);
+                        }
+                    });
+                    this.tableDataAllExclude = defaultListTwo;
+                }
+            }
         },
         handleRowSelection(selectedRowKeys, selectedRows) {
             this.tableSelectIds = selectedRowKeys;

+ 3 - 0
src/views/modules/creative-copywrit/creative-copywrit.vue

@@ -2012,6 +2012,9 @@ export default {
             });
             this.titleResult = [];
             this.finallyCheckedResult = [];
+            setTimeout(() => {
+                this.applyTypeOption = [];
+            }, 200);
         },
         handleRecommendCancel() {
             this.recommendVisible = false;