Browse Source

禁用选项

朱鑫波 4 years ago
parent
commit
74316572ed
2 changed files with 5 additions and 5 deletions
  1. 3 3
      src/views/modules/autoLaunch/configLaunchInfo.vue
  2. 2 2
      vue.config.js

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

@@ -34,11 +34,11 @@
                 <div class="input-item">
                 <div class="input-item">
                     <a-form-item >
                     <a-form-item >
                         <a-radio-group   v-decorator="['campaignType',{initialValue:2 }]" @change="campaignTypeChange">
                         <a-radio-group   v-decorator="['campaignType',{initialValue:2 }]" @change="campaignTypeChange">
-                            <a-radio-button :value="2">提升应用安装</a-radio-button>
+                            <a-radio-button :value="2" :disabled="editRecordId!==''">提升应用安装</a-radio-button>
                             <a-radio-button :value="3" :disabled='true'>获取电商下单</a-radio-button>                                   
                             <a-radio-button :value="3" :disabled='true'>获取电商下单</a-radio-button>                                   
                             <a-radio-button :value="4" :disabled='true'>推广品牌活动</a-radio-button>                                   
                             <a-radio-button :value="4" :disabled='true'>推广品牌活动</a-radio-button>                                   
-                            <a-radio-button :value="5">收集销售线索</a-radio-button>                                   
-                            <a-radio-button :value="7">提高应用活跃</a-radio-button>                                   
+                            <a-radio-button :value="5" :disabled="editRecordId!==''">收集销售线索</a-radio-button>                                   
+                            <a-radio-button :value="7" :disabled="editRecordId!==''">提高应用活跃</a-radio-button>                                   
                         </a-radio-group>
                         </a-radio-group>
                     </a-form-item>
                     </a-form-item>
                 </div>
                 </div>

+ 2 - 2
vue.config.js

@@ -69,7 +69,7 @@ module.exports = {
     proxy: {
     proxy: {
       '/jeecg-boot': {
       '/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.3:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
+          // target: 'http://192.168.1.3:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
         // target: 'http://192.168.0.59:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.0.59:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.1.188:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.1.188:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
@@ -80,7 +80,7 @@ module.exports = {
         // target: 'http://192.168.1.219:8080', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.219:8080', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要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: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目