浏览代码

渠道号修改-取消重置的功能

朱鑫波 3 年之前
父节点
当前提交
d2ef8a8aea

+ 4 - 1
src/views/modules/autoLaunch/channelManage/itemList.vue

@@ -258,6 +258,7 @@
             :visible="visibleDownLoad"
             @ok="handleOkImport"
             @cancel="
+                downLoading = false
                 visibleDownLoad = false
                 projectIdDownLoad = ''
                 cancel()
@@ -691,6 +692,7 @@ export default {
                     }
                 })
             } else {
+                this.downLoading = false
                 this.$message.error('请上传文件')
             }
 
@@ -752,7 +754,8 @@ export default {
                 keyword: data.keyword,
                 itemName: data.itemName,
                 pageNo: this.ipagination.current,
-                pageSize: this.ipagination.pageSize
+                pageSize: this.ipagination.pageSize,
+                userId: this.userInfo().id
             }
             this.dataSource = []
             this.dataLoading = true

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

@@ -378,7 +378,7 @@
                         </div>
                     </div>
 
-                    <div class="row-item" v-if="channelData&&channelData.channel.usageLevel&&channelData.list&&channelData.list.length>0&&channelData.channel.usageLevel=='plan'">
+                    <div class="row-item" v-if="channelData&&channelData.channel.usageLevel&&channelData.list&&channelData.list.length>0">
                         <div class="hint-item"></div>
                         <div class="label-item">
                             <div class="text-item">渠道号选择</div>
@@ -1988,8 +1988,8 @@ export default {
     data() {
         return {
             formItemLayout: {
-                labelCol: { span: 4 },
-                wrapperCol: { span: 20 }
+                labelCol: { span: 5 },
+                wrapperCol: { span: 19 }
             },
             getProjectIdAccount: '',
             checkCpaBidBloon:false,
@@ -2304,6 +2304,8 @@ export default {
                     this.$message.error('未选择账户不可开启')
                 }
                
+            }else{
+                this.channelData = null
             }
         },
         handleGetAcoountId(list) {
@@ -2828,6 +2830,9 @@ export default {
                     
                 }
                
+           }else{
+               this.useChannel = false
+               this.channelData = null
            }
         },
         disabledDate(current) {