浏览代码

分支备份

朱鑫波 4 年之前
父节点
当前提交
9034b9e8de
共有 2 个文件被更改,包括 32 次插入3 次删除
  1. 30 1
      src/views/modules/kuaishouapp/account/stepForm/Step2.vue
  2. 2 2
      vue.config.js

+ 30 - 1
src/views/modules/kuaishouapp/account/stepForm/Step2.vue

@@ -120,6 +120,16 @@
         </a-checkbox-group>
       </a-form-item>
 
+      <a-form-item label="投放范围" :labelCol="{ lg: { span: 7 }, sm: { span: 7 } }"
+        :wrapperCol="{ lg: { span: 10 }, sm: { span: 17 } }"
+        v-if="allianceAccount">
+        <a-radio-group buttonStyle="solid" v-model="allForm.allianceAccount">
+          <a-radio-button value="1">默认</a-radio-button>
+          <a-radio-button value="2">联盟广告</a-radio-button>
+        </a-radio-group>
+      </a-form-item>
+
+
       <div style="text-align:center;font-size:16px;margin-bottom:10px">
         目标人群
       </div>
@@ -487,6 +497,7 @@
 
     data() {
       return {
+        allianceAccount:false,
         tongbuLoading: false,
         convert: false,
         convertId: "",
@@ -534,7 +545,8 @@
           fail: [],
           success: [],
           sceneId: [7],
-          appStore: ['huawei', 'oppo', 'vivo', 'xiaomi', 'meizu', 'smartisan']
+          appStore: ['huawei', 'oppo', 'vivo', 'xiaomi', 'meizu', 'smartisan'],
+          allianceAccount:false
         },
         convertType: '1',
         dataList: []
@@ -996,6 +1008,23 @@
           this.allForm.groupTypeData = res.result
         }
       })
+
+      getAction('/kuaishou/batch/getWhiteList',{
+        accountId:localStorage.getItem('accountId')
+      }).then(res=>{
+        if(res.success){
+          console.log(res)
+          if(res.result){
+            if(res.result.alliance_account == 1){
+              this.allianceAccount = true
+            }else{
+              this.allianceAccount = false
+            }
+          }else{
+            this.allianceAccount = false
+          }
+        }
+      })
       getAction('/kuaishou/batch/getProjectMaxBid', {
         accountId: localStorage.getItem('accountId')
       }).then(res => {

+ 2 - 2
vue.config.js

@@ -58,7 +58,7 @@ module.exports = {
     open : true,
     proxy: {
       '/jeecg-boot': {
-        //  target: 'http://192.168.1.8:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
+         target: 'http://192.168.1.8:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
         // target: 'http://192.168.0.59:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.1.72:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
@@ -69,7 +69,7 @@ module.exports = {
         // target: 'http://192.168.1.51:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.170:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
-         target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
+        //  target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
          // target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目