Browse Source

修改评论

xuzuoyun 5 năm trước cách đây
mục cha
commit
8da6e170fe

+ 1 - 0
public/index.html

@@ -288,6 +288,7 @@
 </div>
 
 <!-- update_begin author:sunjianlei date:20190524 for: 去指定页面的加载动画 -->
+<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
 <script>
   // 去指定页面的加载动画
   if (location.href.indexOf('online/desform/pureview') !== -1) {

+ 11 - 13
src/views/modules/Statistics/Statistics.vue

@@ -34,17 +34,7 @@
 .vm-video-list .ant-comment-inner {
   padding: 0;
 }
-.vm-video-list .bg:after {
-  content: '';
-  width: 110%;
-  height: 110%;
-  position: absolute;
-  left: -5%;
-  top: -5%;
-  background: inherit;
-  filter: blur(20px);
-  z-index: 2;
-}
+
 </style>
 <template>
   <div class="vm-video-list">
@@ -71,13 +61,21 @@ export default {
 
   data: function() {
     return {
-      title: '报表统计'
+      title: '报表统计',
+      statistics:[]
     }
   },
   methods: {},
   watch: {},
   mounted: function() {
-    this.$nextTick(() => {})
+    this.$nextTick(() => {
+        getAccountReport().then(res=>{
+            if(res.code == 0){
+                console.log(res)
+                // this.statistics = res
+            }
+        })
+    })
   }
 }
 </script>

+ 78 - 71
src/views/modules/bytedance/model/InternalModel.vue

@@ -12,7 +12,7 @@
             optionFilterProp="children"
             style="width: 200px"
           >
-            <a-select-option v-for="user in userList" :key="user.id" :value="user.id">{{user.accountName}}</a-select-option>
+            <a-select-option v-for="user in userList" :key="user.accountId" :value="user.accountId">{{user.accountName}}</a-select-option>
           </a-select>
       </a-form-item>
 
@@ -57,19 +57,6 @@
         </a-select>
       </a-form-item>
 
-
-      <!--<a-form-item
-        label="广告类别"
-        :labelCol="labelCol"
-        :wrapperCol="wrapperCol">
-        <a-radio-group v-model="adCategory">
-          <a-radio-button value="1">售卖</a-radio-button>
-          <a-radio-button value="2">换量</a-radio-button>
-          <a-radio-button value="4">配送</a-radio-button>
-          <a-radio-button value="5">内广</a-radio-button>
-          <a-radio-button value="7">补量</a-radio-button>
-        </a-radio-group>
-      </a-form-item>-->
       <a-form-item
         label="投放目标"
         :labelCol="labelCol"
@@ -144,8 +131,8 @@
           optionFilterProp="children"
           style="width: 200px"
         >
-          <a-select-option value="AD_CONVERT_TYPE_INSTALL_FINISH">安装完成</a-select-option>
-          <a-select-option value="AD_CONVERT_TYPE_DOWNLOAD_FINiSH">下载完成</a-select-option>
+          <a-select-option value="15">安装完成</a-select-option>
+          <a-select-option value="4">下载完成</a-select-option>
         </a-select>
       </a-form-item>
 
@@ -165,39 +152,12 @@
         </a-select>
       </a-form-item>
 
-      <!--<a-form-item
-        label="直达链接"
-        v-if="showOpenUrlStatus"
-        :labelCol="labelCol"
-        :wrapperCol="wrapperCol">
-        <a-radio-group>
-          <a-radio-button value="disabled">不启用</a-radio-button>
-          <a-radio-button value="enabled">启用</a-radio-button>
-        </a-radio-group>
-      </a-form-item>-->
-
-<!--      <a-form-item-->
-<!--        label="直达链接生成方式"-->
-<!--        :labelCol="labelCol"-->
-<!--        :wrapperCol="wrapperCol">-->
-<!--        <a-radio-group>-->
-<!--          <a-radio-button value="auto_create" disabled>自动生成</a-radio-button>-->
-<!--          <a-radio-button value="hand_create">手动生成</a-radio-button>-->
-<!--        </a-radio-group>-->
-<!--      </a-form-item>-->
-<!--      <a-form-item-->
-<!--        label="跳转app链接"-->
-<!--        :labelCol="labelCol"-->
-<!--        :wrapperCol="wrapperCol">-->
-<!--        <a-input v-model="redirectUrl"></a-input>-->
-<!--      </a-form-item>-->
       <a-form-item
         label="出价方式"
         :labelCol="labelCol"
         :wrapperCol="wrapperCol">
         <a-radio-group v-model="bidType">
           <a-radio-button value="0">手动</a-radio-button>
-<!--          <a-radio-button value="1">保守</a-radio-button>-->
           <a-radio-button value="2" v-if="deliveryTarget==='11'">自动</a-radio-button>
         </a-radio-group>
 
@@ -290,6 +250,38 @@
       </a-form-item>
 
       <a-form-item
+        label="创意模板"
+        :labelCol="labelCol"
+        :wrapperCol="wrapperCol">
+        <a-select
+          v-model="creativeTemplateId"
+          style="width: 300px">
+          <a-select-option v-for="template in creativeTemplateList" :key="template.id" :value="template.id">{{template.name}}</a-select-option>
+        </a-select>
+      </a-form-item>
+
+      <a-form-item label="创意方式" :labelCol="labelCol" :wrapperCol="wrapperCol">
+        <a-radio-group v-model="creativeType">
+          <a-radio-button value="customize">自定义创意</a-radio-button>
+          <a-radio-button value="program">程序化创意</a-radio-button>
+        </a-radio-group>
+      </a-form-item>
+      <a-form-item label="素材添加方式" :labelCol="labelCol" :wrapperCol="wrapperCol">
+        <a-radio-group v-model="materialAddType">
+          <a-radio-button value="customize">自定义上传</a-radio-button>
+          <!--<a-radio-button value="program">程序化创意</a-radio-button>-->
+        </a-radio-group>
+      </a-form-item>
+      <material :creativeType.sync="creativeType" :accountId.sync="accountId" ref="material"></material>
+
+      <a-form-item label="应用下载详情页" :labelCol="labelCol" :wrapperCol="wrapperCol">
+        <a-input v-model="webUrl"></a-input>
+      </a-form-item>
+      <a-form-item label="应用名" :labelCol="labelCol" :wrapperCol="wrapperCol">
+        <a-input v-model="appName"></a-input>
+      </a-form-item>
+
+      <a-form-item
         label="迭代数量"
         :labelCol="labelCol"
         :wrapperCol="wrapperCol">
@@ -310,10 +302,12 @@
 
 <script>
   import {deleteAction, postAction, getAction} from '@/api/manage'
+  import UploadToAli from '@femessage/upload-to-ali'
   import pick from 'lodash.pick'
   import jq from 'jquery'
   import moment from 'moment';
   import AFormItem from "ant-design-vue/es/form/FormItem";
+  import material from '../../../template/creative/modules/material'
 
   let dateQuantumRangeConst = '';
   export default {
@@ -321,6 +315,10 @@
     components: {AFormItem},
     data() {
       return {
+        webUrl:'',
+        appName:'',
+        creativeType:'customize',
+        materialAddType:'customize',
         userOrientationId:null,
         userOrientationList:[],
         loading:false,
@@ -351,6 +349,8 @@
         simpleDeliverytarget:'',
         activeConvertList:[],
         deliverytargetId:null,
+        creativeTemplateList:[],
+        creativeTemplateId:null,
         templateName: '', //模板名称
         deliveryRange: '1',//投放范围
         deliveryForm: '1',//投放形式
@@ -394,15 +394,21 @@
           userAllocationList:'/template/bind/login/list',
           dictListUrl: 'toutiao/dictitem/list',
           insertUrl: 'test/create',
-          convertList:'template/convert/list/url/ng',
-          userOrentationList:'ctop/byteDanceUserOrientationTemplate/list'
+          convertList:'template/convert/list/url',
+          userOrentationList:'ctop/byteDanceUserOrientationTemplate/list',
+          creativeTemplateList:'/ctop/bytedanceCreativeLaunchTemplate/list'
         }
       }
     },
+    components: {
+      AFormItem,
+      UploadToAli,
+      material
+    },
     methods: {
       refreshConvertApiId(){
         let params = {};
-        getAction(this.url.convertList+'?bindAccountId='+this.accountId+'&urlId='+this.urlId ,params).then((res)=>{
+        getAction(this.url.convertList+'?accountId='+this.accountId+'&urlId='+this.urlId ,params).then((res)=>{
           console.log(res);
           if(res.code == 0){
             this.activeConvertList = res.data.active_convert_list;
@@ -455,10 +461,6 @@
         });
       },
       edit(record) {
-        // this.form.resetFields();
-
-        // this.time[0] = record.startDate
-        // this.time[1] = record.endDate
         this.model = Object.assign({}, record);
         this.visible = true;
         this.id = record.id
@@ -493,10 +495,6 @@
             load_time_table('table_time_selected1', dateQuantumRangeConst);
           });
         }
-        // this.$nextTick(() => {
-        //   this.form.setFieldsValue(pick(this.model, 'name', 'convertPrice', 'priceType', 'dateQuantum', 'flowDateType', 'budgetPriceMode', 'flowControlMode', 'bidType','budgetPrice','startDate','endDate'))
-        //   //时间格式化
-        // });
       },
       close() {
         this.$emit('close');
@@ -596,32 +594,34 @@
         params.itratorNum = this.itratorNum;
         params.templateName = this.templateName;
         params.convertId = this.convertId;
+        params.simpleDeliverytarget = this.simpleDeliverytarget;
+        params.convertType = this.convertType;
         if (this.time != [] && this.time.length == 2) {
           params.startDate = moment(this.time[0]).format('YYYY-MM-DD HH:mm')
           params.endDate = moment(this.time[1]).format('YYYY-MM-DD HH:mm')
         }
-
+        params.creativeTemplateId = this.creativeTemplateId;
+        params.creativeType = this.creativeType;
+        params.materialAddType = this.materialAddType;
+        var dataCreatives = this.$refs.material.HorizontalLargeImageListBig.concat(
+          this.$refs.material.HorizontalLargeImageListHeng,
+          this.$refs.material.HorizontalLargeImageListShu,
+          this.$refs.material.HorizontalLargeImageListZu,
+          this.$refs.material.HorizontalLargeImageListSmall,
+          this.$refs.material.HorizontalLargeImageListBigShu
+        )
+        console.log(dataCreatives)
+        params.creatives = dataCreatives
+        if (this.creativeType == 'program') {
+          params.titles = this.$refs.material.titleData
+        }
+        params.webUrl = this.webUrl;
+        params.appName = this.appName;
         params.dateQuantumRange = this.dateQuantumRange;
         params.urlId = this.urlId;
         e.preventDefault()
         this.form.validateFields((err, values) => {
           if (!err) {
-          /*  console.log('Received values of form: ', values);
-
-            this.dateQuantumRange = jq("#table_time_selected1_time_num").val();
-            params.id = this.id;
-            params.name = this.name;
-            params.bidType = this.bidType;
-            params.flowControlMode = this.flowControlMode;
-            params.budgetPrice = this.budgetPrice;
-            params.budgetPriceMode = this.budgetPriceMode;
-            params.flowDateType = this.flowDateType;
-
-            params.dateQuantum = this.dateQuantum;
-            params.priceType = this.priceType;
-            params.convertPrice = this.convertPrice;
-            params.filterType = this.filterType;
-            params.dateQuantumRange = this.dateQuantumRange;*/
             this.loading = true;
             console.log(params)
              postAction(this.url.insertUrl, params).then((res) => {
@@ -684,6 +684,13 @@
           this.userOrientationList = res.result.records
         }
       });
+      params = {};
+      params.pageSize = '1000';
+      getAction(this.url.creativeTemplateList, params).then((res) => {
+        if (res.success) {
+          this.creativeTemplateList = res.result.records
+        }
+      });
     }
   }
 

+ 47 - 25
src/views/modules/video/video.vue

@@ -148,7 +148,15 @@
 import ARow from 'ant-design-vue/es/grid/Row'
 import ACol from 'ant-design-vue/es/grid/Col'
 import axios from 'axios'
-import { getLoginQr, getUserList, getLoginStatus, getVideoList, getCommentList, commentDelete,getAccountReport } from '@api/video.js'
+import {
+  getLoginQr,
+  getUserList,
+  getLoginStatus,
+  getVideoList,
+  getCommentList,
+  commentDelete,
+  getAccountReport
+} from '@api/video.js'
 export default {
   name: 'videoList',
   components: {
@@ -181,6 +189,7 @@ export default {
   methods: {
     handleChange(value) {
       this.ksid = value
+      this.dataShow = []
       this.getVideoList(value, null)
       //   this.getTest()
     },
@@ -212,39 +221,52 @@ export default {
       })
     },
     getVideoList(ksid, pcursor) {
-      if (pcursor) {
-      } else {
-        this.dataShow = []
-      }
+      var that = this
       getVideoList({ ksid: ksid, pcursor: pcursor }).then(res => {
         if (res.code == 0) {
-          var data = res.result.data.publicFeeds.list
+          var data = res.result.data.publicFeeds.list.map(item => {
+            return {
+              ...item,
+              commentList: []
+            }
+          })
           this.pcursor = res.result.data.publicFeeds.pcursor
-          for (let i = 0; i < data.length; i++) {
-            this.getCommentList(ksid, data[i].photoId).then(dataOne => {
-              if (dataOne) {
-                var a = { ...data[i], ...dataOne }
-              } else {
-                var a = { ...data[i], commentList: [] }
-              }
+          this.dataShow.push(...data)
+          var i = 0
+          //   for (let i = 0; i < data.length; i++) {
+          setInterval(() => {
+            if (i < that.dataShow.length) {
+              setTimeout(
+                that.getCommentList(ksid, that.dataShow[i].photoId).then(dataOne => {
+                  console.log(dataOne)
+                  if (dataOne) {
+                    that.dataShow[i].commentList = dataOne
+                  }
+                  //   commentList
+                  i++
+                }),
+                0
+              )
+            } else {
+            }
+          }, 10000)
 
-              //   commentList
-              this.dataShow.push(a)
-            })
-          }
-          // this.dataShow.push(...data)
+          //   }
         }
       })
     },
     getCommentList(ksid, photoId) {
       return new Promise(function(resolve) {
-        getCommentList({ ksid: ksid, photoId: photoId }).then(res => {
+        getCommentList({ ksid: ksid, photoId: photoId, pcursor: null }).then(res => {
           if (res.code == 0) {
-            resolve(res.result.data.shortVideoCommentList)
+            resolve(res.result.data.shortVideoCommentList.commentList)
           }
         })
       })
     },
+    sleep(d) {
+      return new Promise(resolve => setTimeout(resolve, d))
+    },
     remove(allItem, item, index) {
       console.log(allItem, item)
       allItem.commentList.splice(index, 1)
@@ -309,16 +331,16 @@ export default {
         // 其他时候把下拉刷新置为true
         _this.pullRefreshss = true
       }
-    },
+    }
   },
   watch: {},
   mounted: function() {
     this.$nextTick(() => {
       var that = this
       this.getUserList()
-      getAccountReport().then(res=>{
-          console.log(res)
-      })
+      //   getAccountReport().then(res => {
+      //     console.log(res)
+      //   })
       window.setInterval(() => {
         if (that.showCode) {
           setTimeout(function() {
@@ -347,7 +369,7 @@ export default {
       }, 1000)
       window.onscroll = function() {
         if (that.ksid) {
-          if (that.pcursor != 'nor_mal') {
+          if (that.pcursor != 'no_more') {
             that.scrollChange()
           }
         }

+ 41 - 201
src/views/template/creative/create.vue

@@ -185,163 +185,9 @@
       <a-form-item label="素材添加方式" :labelCol="labelCol" :wrapperCol="wrapperCol">
         <a-radio-group v-model="materialAddType">
           <a-radio-button value="customize">自定义上传</a-radio-button>
-          <!--<a-radio-button value="program">程序化创意</a-radio-button>-->
-        </a-radio-group>
-      </a-form-item>
-      <!-- <a-form-item label="选择素材类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
-        <a-radio-group v-model="materialType" @change="materialTypeChange">
-          <a-badge
-            :count="HorizontalLargeImageListBig.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE">大图横图</a-radio-button>
-          </a-badge>
-          <a-badge
-            :count="HorizontalLargeImageListShu.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO">横版视频</a-radio-button>
-          </a-badge>
-          <a-badge
-            :count="HorizontalLargeImageListHeng.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>
-          </a-badge>
-          <a-badge
-            :count="HorizontalLargeImageListZu.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_GROUP">组图</a-radio-button>
-          </a-badge>
-          <a-badge
-            :count="HorizontalLargeImageListSmall.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_SMALL">小图</a-radio-button>
-          </a-badge>
-          <a-badge
-            :count="HorizontalLargeImageListBigShu.length"
-            :numberStyle="{backgroundColor: '#52c41a'} "
-          >
-            <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL">大图竖图</a-radio-button>
-          </a-badge>
+          <a-radio-button value="program">程序化创意</a-radio-button>
         </a-radio-group>
-      </a-form-item>-->
-      <!-- 创建大图横图创意 -->
-      <!-- <a-form-item
-        label="创建创意"
-        :labelCol="labelCol"
-        :wrapperCol="wrapperCol"
-        v-if="createLargeImageCreativeCon"
-      >
-        <a-layout>
-          <a-layout-content style="padding:10px;">
-            <div :style="{ marginBottom: '16px' }">
-              <a-button @click="addCreative()" :disabled="count">添加创意</a-button>
-              <span
-                style="color:black;margin-left:10px"
-                v-if="creativeType == 'customize'"
-              >{{countMany}}/10</span>
-              <span
-                style="color:black;margin-left:10px"
-                v-else-if="creativeType == 'program'"
-              >视频数量:{{vadioMany}}/12 图片数量:{{imgMany}}/10</span>
-            </div>
-            <a-row>
-              <a-col :span="8" v-for="(item,index) of HorizontalLargeImageList" :key="index">
-                <a-card title :ref="item">
-                  <a-icon
-                    type="close"
-                    style="float:right;cursor: pointer;"
-                    @click="deleteCreative(index)"
-                  />
-                  <div style="clear:both"></div>
-                  <div class="dynamically_add_form_item">
-                    <a-form-item class label="素材上传" :labelCol="labelCol" :wrapperCol="wrapperCol">
-                      <upload-to-ali
-                        v-model="item.vadioUrl"
-                        :customDomain="customDomain"
-                        preview
-                        :region="region"
-                        :bucket="bucket"
-                        :accept="acceptImage"
-                        :size="102400"
-                        :accessKeyId="accessKeyId"
-                        :accessKeySecret="accessKeySecret"
-                      ></upload-to-ali>
-                    </a-form-item>
-                    <a-form-item
-                      label="创意标题"
-                      :labelCol="labelCol"
-                      :wrapperCol="wrapperCol"
-                      v-if="creativeType == 'customize'"
-                    >
-                      <a-input v-model="item.text" class="rending" @change="judge(item)"></a-input>
-                    </a-form-item>
-                    <a-form-item
-                      label="动态词包"
-                      :labelCol="labelCol"
-                      :wrapperCol="wrapperCol"
-                      v-if="creativeType == 'customize'"
-                    >
-                      <a-tag
-                        v-for="(itemTag,indexTag) of tags"
-                        :key="indexTag"
-                        v-show="indexTag<item.many"
-                        @click="getChange(item,itemTag,index)"
-                      >{{itemTag.name}}</a-tag>
-                      <span @click="showElseClick(item)">{{item.showElse?"更多":"收起"}}</span>
-                    </a-form-item>
-                    <a-form-item
-                      label="封面上传"
-                      :labelCol="labelCol"
-                      :wrapperCol="wrapperCol"
-                      v-if="creativeType == 'program'&&(materialType=='CREATIVE_IMAGE_MODE_VIDEO_VERTICAL'||materialType=='CREATIVE_IMAGE_MODE_VIDEO')"
-                    >
-                      <upload-to-ali
-                        v-model="item.imageUrl"
-                        :customDomain="customDomain"
-                        preview
-                        :region="region"
-                        :bucket="bucket"
-                        :accept="acceptImage"
-                        :size="102400"
-                        :accessKeyId="accessKeyId"
-                        :accessKeySecret="accessKeySecret"
-                      ></upload-to-ali>
-                    </a-form-item>
-                  </div>
-                </a-card>
-              </a-col>
-            </a-row>
-          </a-layout-content>
-        </a-layout>
       </a-form-item>
-      <a-form-item
-        v-if="creativeType == 'program'"
-        label="程序化创意标题"
-        :labelCol="labelCol"
-        :wrapperCol="wrapperCol"
-      >
-        <a-button @click="addTitle">添加创意标题</a-button>
-        <br />
-        <div v-for="(item,index) of titleData" :key="index">
-          <a-input style="width:55%" v-model="item.text" class="rending-all"></a-input>
-          <a-icon
-            type="delete"
-            style="margin-left:20px;cursor: pointer;"
-            v-show="titleData.length>1"
-            @click="tetleDetele(index)"
-          />
-          <br />
-          <a-tag
-            v-for="(itemTag,indexTag) of tags"
-            :key="indexTag"
-            @click="getChangeAllTitle(item,itemTag,index)"
-          >{{itemTag.name}}</a-tag>
-        </div>
-      </a-form-item>-->
       <material :creativeType.sync="creativeType" :accountId.sync="accountId" ref="material"></material>
       <a-form-item label="应用下载详情页" :labelCol="labelCol" :wrapperCol="wrapperCol">
         <a-input v-model="webUrl"></a-input>
@@ -766,54 +612,48 @@ export default {
       return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
     },
     handleSubmit(e) {
-      e.preventDefault()
+      e.preventDefault();
       this.form.validateFields((err, values) => {
         if (!err) {
-          console.log('Received values of form: ', values)
-          let params = {}
-          params.campaignId = this.campaignId
-          params.deliveryRange = this.deliveryRange
-          params.userorentationId = this.userorentationId
-          params.budgetId = this.budgetId
-          params.deliverytargetId = this.deliverytargetId
-          params.horizonImageUrl = this.horizonImageUrl
-          params.horizonImageCreativeText = this.horizonImageCreativeText
-          params.horizonVideoUrl = this.horizonVideoUrl
-          params.horizonVideoCoverImageUrl = this.horizonVideoCoverImageUrl
-          params.horizonVideoCreativeText = this.horizonVideoCreativeText
-          params.verticalVideoUrl = this.verticalVideoUrl
-          params.verticalVideoCoverImageUrl = this.verticalVideoCoverImageUrl
-          params.verticalVideoCreativeText = this.verticalVideoCreativeText
-          params.groupImageUrl = this.groupImageUrl
-          params.groupImageCreativeText = this.groupImageCreativeText
-          params.smallImageUrl = this.smallImageUrl
-          params.smallImageCreativeText = this.smallImageCreativeText
-          params.verticalImageUrl = this.verticalImageUrl
-          params.verticalImageCreativeText = this.verticalImageCreativeText
-          params.planId = this.planId
-          params.accountId = this.accountId
-          params.advertiseLocation = this.advertiseLocation
-          params.inventoryType = this.inventoryType
-          params.sceneInventory = this.sceneInventory
-          params.creativeType = this.creativeType
-          params.customize = this.customize
-          params.webUrl = this.webUrl
-          params.appName = this.appName
-          params.isCommentDisable = this.isCommentDisable
-          params.creativeDisplayMode = this.creativeDisplayMode
-          params.adCategory = this.adCategory
-          params.adKeywords = this.adKeywords
-          params.name = this.name
-          params.convertId = this.convertId
-          params.iteratorNum = this.iteratorNum
-
-          //   var dataCreatives = this.HorizontalLargeImageListBig.concat(
-          //     this.HorizontalLargeImageListHeng,
-          //     this.HorizontalLargeImageListShu,
-          //     this.HorizontalLargeImageListZu,
-          //     this.HorizontalLargeImageListSmall,
-          //     this.HorizontalLargeImageListBigShu
-          //   )
+          console.log('Received values of form: ', values);
+          let params = {};
+          params.campaignId = this.campaignId;
+          params.deliveryRange = this.deliveryRange;
+          params.userorentationId = this.userorentationId;
+          params.budgetId = this.budgetId;
+          params.deliverytargetId = this.deliverytargetId;
+          params.horizonImageUrl = this.horizonImageUrl;
+          params.horizonImageCreativeText = this.horizonImageCreativeText;
+          params.horizonVideoUrl = this.horizonVideoUrl;
+          params.horizonVideoCoverImageUrl = this.horizonVideoCoverImageUrl;
+          params.horizonVideoCreativeText = this.horizonVideoCreativeText;
+          params.verticalVideoUrl = this.verticalVideoUrl;
+          params.verticalVideoCoverImageUrl = this.verticalVideoCoverImageUrl;
+          params.verticalVideoCreativeText = this.verticalVideoCreativeText;
+          params.groupImageUrl = this.groupImageUrl;
+          params.groupImageCreativeText = this.groupImageCreativeText;
+          params.smallImageUrl = this.smallImageUrl;
+          params.smallImageCreativeText = this.smallImageCreativeText;
+          params.verticalImageUrl = this.verticalImageUrl;
+          params.verticalImageCreativeText = this.verticalImageCreativeText;
+          params.planId = this.planId;
+          params.accountId = this.accountId;
+          params.advertiseLocation = this.advertiseLocation;
+          params.inventoryType = this.inventoryType;
+          params.sceneInventory = this.sceneInventory;
+          params.creativeType = this.creativeType;
+          params.customize = this.customize;
+          params.webUrl = this.webUrl;
+          params.appName = this.appName;
+          params.isCommentDisable = this.isCommentDisable;
+          params.creativeDisplayMode = this.creativeDisplayMode;
+          params.adCategory = this.adCategory;
+          params.adKeywords = this.adKeywords;
+          params.name = this.name;
+          params.convertId = this.convertId;
+          params.iteratorNum = this.iteratorNum;
+          params.simpleDeliverytarget = this.simpleDeliverytarget;
+          params.convertType = this.convertType;
           var dataCreatives = this.$refs.material.HorizontalLargeImageListBig.concat(
             this.$refs.material.HorizontalLargeImageListHeng,
             this.$refs.material.HorizontalLargeImageListShu,

+ 1 - 1
src/views/template/userorientation/modules/ByteDanceUserOrientationTemplateModal.vue

@@ -121,7 +121,7 @@
         <a-form-item label="手机品牌" :labelCol="labelCol" :wrapperCol="wrapperCol">
           <a-radio-group @change="changeMobileBrandType" v-model="isMobileBrand">
             <a-radio-button value="NONE">不限</a-radio-button>
-            <a-radio-button value="BRAND">按品牌</a-radio-button>
+            <a-radio-button v-if="platformType != 'IOS'" value="BRAND">按品牌</a-radio-button>
           </a-radio-group>
           <br />
           <a-select

+ 3 - 2
vue.config.js

@@ -64,8 +64,9 @@ module.exports = {
          }
        },*/
       '/jeecg-boot': {
-        // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
-        target: 'http://localhost:8080', //请求本地 需要jeecg-boot后台项目
+        target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
+        // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
+        // target: 'http://192.168.43.23:8080', //请求本地 需要jeecg-boot后台项目
         ws: false,
         changeOrigin: true
       },