Kaynağa Gözat

自动投放 1.4

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

+ 0 - 8
src/views/modules/account-config/account-config.vue

@@ -498,8 +498,6 @@ export default {
             getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/list', paramsData).then(result => {
                 if (result.code === 0) {
                     result.result.records.forEach(item => {
-                        // item.show = false;
-                        // item.visible = false;
                         if (item.accountBudgetMode === '1') {
                             item.accountBudget = '不限';
                         }
@@ -536,12 +534,6 @@ export default {
                 }
             });
         },
-        // handleBudgetPopover(record) {
-        //     record.show = false;
-        // },
-        // handleModPopover(record) {
-        //     record.visible = false;
-        // },
         handleQueryList(event) {
             event.preventDefault();
             this.controlLoading = true;

+ 10 - 7
src/views/modules/account-config/components/configuration-modal.vue

@@ -317,7 +317,7 @@
                             激励视频
                             <a-tooltip placement="top">
                                 <template slot="title">
-                                    <span>特定场景下用户通过观看视频广告以换取游戏应用内虚拟奖励的广告</span>
+                                    <span>特定场景下用户通过观看视频广告以换取游戏/应用内虚拟奖励的广告</span>
                                 </template>
                                 <a-icon type="question-circle"/>
                             </a-tooltip>
@@ -805,14 +805,14 @@
                             <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO">横版视频</a-radio-button>
                         </a-radio-group>
                     </a-form-model-item>
-                    <a-form-model-item v-if="isTAwemeStatus" label="行动号召">
+                    <a-form-model-item label="行动号召">
                         <a-radio-group v-model="configForm.creativeEnablePersonalAction" button-style="solid">
                             <a-radio-button :value="true">开启智能优选</a-radio-button>
                             <a-radio-button :value="false">关闭智能优选</a-radio-button>
                         </a-radio-group>
                         <span class="especial-label">*</span>
                     </a-form-model-item>
-                    <div v-if="isTAwemeStatus" class="adver-position-radio">
+                    <div class="adver-position-radio">
                         <a-form-model-item prop="creativeCallToAction">
                             <a-select
                                 class="common-input-long"
@@ -837,7 +837,7 @@
                         />
                     </a-form-model-item>
                     <a-form-model-item label="搭配试玩">
-                        <a-radio-group v-model="configForm.collocationPlay" button-style="solid">
+                        <a-radio-group v-model="configForm.collocationPlay" button-style="solid" disabled>
                             <a-radio-button value="a">不启用</a-radio-button>
                             <a-radio-button value="b">启用</a-radio-button>
                         </a-radio-group>
@@ -877,14 +877,14 @@
                             <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL">大图竖图</a-radio-button>
                         </a-radio-group>
                     </a-form-model-item>
-                    <a-form-model-item v-if="isTAwemeStatus" label="行动号召">
+                    <a-form-model-item label="行动号召">
                         <a-radio-group v-model="configForm.creativeEnablePersonalAction" button-style="solid">
                             <a-radio-button :value="true">开启智能优选</a-radio-button>
                             <a-radio-button :value="false">关闭智能优选</a-radio-button>
                         </a-radio-group>
                         <span class="especial-label">*</span>
                     </a-form-model-item>
-                    <div v-if="isTAwemeStatus" class="adver-position-radio">
+                    <div class="adver-position-radio">
                         <a-form-model-item prop="creativeCallToAction">
                             <a-select
                                 class="common-input-long"
@@ -1878,9 +1878,13 @@ export default {
                 }
                 if (newVal.length === 1 && newVal[0] === 'INVENTORY_UNION_SLOT') {
                     this.configForm.adUnionVideoType = 'REWARDED_VIDEO';
+                    this.$nextTick(() => {
+                        this.configForm.creativeEnablePersonalAction = true;
+                    });
                 }
                 else {
                     this.configForm.adUnionVideoType = '';
+                    this.configForm.creativeEnablePersonalAction = '';
                 }
             }
             else {
@@ -1905,7 +1909,6 @@ export default {
             });
         },
         handleViedoListClick(data) {
-            console.log(data, 'data--data');
             this.landingPageShowData = data;
             this.configForm.creativeWebUrl = data.creativeWebUrl;
             this.weburlModel = '';

+ 2 - 2
src/views/modules/headline-view/headline-view-server.js

@@ -3,8 +3,8 @@
  * @author jiayufei
  */
 
-export const urlAcount = 'http://118.24.244.213:8080'; // 线上
+// export const urlAcount = 'http://118.24.244.213:8080'; // 线上
 // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
 // export const urlAcount = 'http://192.168.1.43:8080'; // 子安
-// export const urlAcount = 'http://139.186.165.84:8080'; // 测试
+export const urlAcount = 'http://139.186.165.84:8080'; // 测试
 // export const urlAcount = 'http://192.168.1.8:8080'; // 学超

+ 2 - 0
src/views/modules/user-manage-operation/user-manage-operation.vue

@@ -89,6 +89,7 @@
 			</span>
 		</a-table>
 		<a-pagination
+			v-if="userInfo().realname === '管理员'"
 			class="pagin-table-class"
 			:total="totalAll"
 			:show-total="total => `共 ${totalAll} 条`"
@@ -207,6 +208,7 @@ export default {
     },
 	mounted() {
 		this.handleGetDataInit();
+		console.log(this.userInfo(), '-------');
 	},
     methods: {
 		...mapGetters(['userInfo']),

+ 2 - 2
vue.config.js

@@ -87,8 +87,8 @@ module.exports = {
         // target: 'http://192.168.1.251/', //请求本地 需要jeecg-boot后台项目 
         // target:'http://118.24.244.213:8804',
         // target: 'http://192.168.1.43:8806', // 子安
-        // target: 'http://192.168.1.8:8806', // 学超
-       target:'http://139.186.165.84:8806', //测试
+        target: 'http://192.168.1.8:8806', // 学超
+      //  target:'http://139.186.165.84:8806', //测试
         // target:'http://apipre.tjyourong.com.cn', //预生产
 
         ws: false,