Browse Source

修改请求方式和番茄小说版位

朱鑫波 3 years ago
parent
commit
c4a3134da5

+ 4 - 2
src/views/modules/account-config/components/configuration-modal.vue

@@ -319,7 +319,9 @@
                             </a-checkbox-group>
                         </div>
                     </div>
-                    <a-form-model-item v-if="configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT'" label="投放形式">
+                    <a-form-model-item v-if="
+                    (configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT')
+                    " label="投放形式">
                         <a-radio-group
                             v-model="configForm.adUnionVideoType"
                             button-style="solid"
@@ -889,7 +891,7 @@
                             </a-radio-group>
                         </a-form-model-item> -->
                     </div>
-                    <div v-else-if="configForm.adUnionVideoType === 'ORIGINAL_VIDEO'">
+                    <div v-else-if="configForm.adUnionVideoType === 'ORIGINAL_VIDEO'||(configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_TOMATO_NOVEL')">
                         <a-form-model-item label="创意内容">
                             <a-radio-group v-model="configForm.creativeImageMode" button-style="solid"  @change="handleChangeCreativeType">
                                 <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>

+ 1 - 1
src/views/modules/autoLaunch/trusteeship/index.vue

@@ -741,7 +741,7 @@ export default {
                 if (res.success) {
                     this.$message.success(res.message)
                     this.tongbuLoading = false
-                    postAction('/hosting/kuaishouHostingTemplate/getVideoList', {
+                    this.getAction('/hosting/kuaishouHostingTemplate/getVideoList', {
                         id: this.ipaginationVideo.id,
                         accountId: this.ipaginationVideo.accountId,
                         pageSize: this.ipaginationVideo.pageSize,