Ver Fonte

'提交智能投放'

魏志佳 há 4 anos atrás
pai
commit
70ec943fa2
3 ficheiros alterados com 12 adições e 12 exclusões
  1. 2 2
      src/utils/request.js
  2. 8 8
      src/views/modules/autoLaunch/configLaunchInfo.vue
  3. 2 2
      vue.config.js

+ 2 - 2
src/utils/request.js

@@ -16,8 +16,8 @@ else if (process.env.NODE_ENV == 'debug') {
 else if (process.env.NODE_ENV == 'production') { 
   
   // axios.defaults.baseURL = 'http://192.168.1.251/jeecg-boot';
-  // axios.defaults.baseURL = 'http://139.186.151.174:8804/jeecg-boot';     
-  axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
+  axios.defaults.baseURL = 'http://139.186.151.174:8804/jeecg-boot';     
+  // axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
 }
 const service = axios.create({
 //   baseURL: '/jeecg-boot', // api base_url

+ 8 - 8
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -843,11 +843,11 @@
                         </a-form-item>
                         </div>
                     </div>
-                    <div class="row-item"  v-if="whiteList.actionbar_click_url_switch&&getFormData('generalTrack')==1">
+                    <!-- <div class="row-item"  v-if="whiteList.actionbar_click_url_switch&&getFormData('generalTrack')==1">
                         <div class="hint-item"></div>
                         <div class="label-item">
                         <div class="text-item">第三方ActionBar点击监控链接</div>
-                        <!-- <div class="required-item"></div> -->
+                        <div class="required-item"></div>
                         </div>
                         <div class="input-item">
                             <a-form-item  >
@@ -864,7 +864,7 @@
                                 <span style="color: red; position: relative; top: -10px">仅加白使用</span>
                             </a-form-item>        
                         </div>
-                    </div>
+                    </div> -->
                     <div class="row-item" v-if="whiteList.creative_category_switch==1">
                         <div class="hint-item"></div>
                         <div class="label-item">
@@ -1652,7 +1652,7 @@ export default {
             
             // this.getPageList(val)
             if(this.getFormData('singleAppid')==0){
-                if(val.indexOf(0)>-1){
+                if(val&&val.indexOf(0)>-1){
                     let appidArr=this.appList.map(item=>{
                         return item.appId
                     })
@@ -2094,9 +2094,9 @@ export default {
                 appId:undefined,
                 platformOs:e.target.value
             })
-            if(this.getFormData('campaignType')==2 || this.getFormData('campaignType')==7){
-                this.appIdChange(this.getFormData('appId'))
-            }
+            // if(this.getFormData('campaignType')==2 || this.getFormData('campaignType')==7){
+            //     this.appIdChange(this.getFormData('appId'))
+            // }
             
             if(this.sysType==1){
                 this.appList=this.appListAll.filter(item=>{
@@ -2194,7 +2194,7 @@ export default {
                     this.description=res.result.description
                     
                     //  res.result.creativeTag=res.result.creativeTag?res.result.creativeTag:[]
-
+                    this.sysType=res.result.platformOs
                     let fngetIsActivate=new Promise((resolve,reject)=>{
                         getAction('/kuaishou/batch/getIsActivate', {
                             accountId: this.accountId

+ 2 - 2
vue.config.js

@@ -68,7 +68,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.1.8:8081', //请求本地 需要jeecg-boot后台项目  蒙蒙
         // target: 'http://192.168.0.59:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.1.188:8088', //请求本地 需要jeecg-boot后台项目  英豪
@@ -80,7 +80,7 @@ module.exports = {
         // target: 'http://192.168.1.219:8080', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要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后台项目