Browse Source

'改我的项目下绑定账号'

魏志佳 4 years ago
parent
commit
238d00aad7
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/modules/advertiser/ProjectMemberList.vue

+ 5 - 5
src/views/modules/advertiser/ProjectMemberList.vue

@@ -168,12 +168,12 @@
             <span style="color:red;" v-if="loginType == 'bytedance'">*重要:如存在一户多开情况,请勾选所有子账号进行授权!!!</span>
           </a-form-item>
           <a-form-item
-            label="本代理商开户:"
+            label="开户代理商:"
             :label-col="{ xs: { span: 24 }, sm: { span: 5 } }"
             :wrapper-col="{ xs: { span: 24 }, sm: { span: 16 } }"
             v-if="loginType == 'kuaishou'"
           >
-            <a-radio-group buttonStyle="outline" v-model="agentType">
+            <a-radio-group buttonStyle="outline" v-model="id">
               <!-- <a-radio-button value="0">否</a-radio-button>
               <a-radio-button value="1">是</a-radio-button> -->
               <a-radio-button v-for="item in authConfigList" :key="item.id" :value='item.id'>{{item.agentName}}</a-radio-button>
@@ -436,7 +436,7 @@ export default {
       accountName: '',
       password: '',
       loginType: 'kuaishou',
-      agentType: undefined,
+      id: undefined,
       form: this.$form.createForm(this),
       record: '',
       systemType: '不限',
@@ -829,7 +829,7 @@ export default {
             params.authorizationType = this.loginType
             if (this.loginType == 'kuaishou') {
               params.mediaId = this.mediaId
-              params.agentType = this.agentType
+              params.id = this.id
             } else if (this.loginType == 'bytedance') {
               params.mediaId = 1
             }
@@ -896,7 +896,7 @@ export default {
         console.log(res)
         this.authConfigList=res.result;
         if(res.result.length>0){
-          this.agentType=res.result[0].id
+          this.id=res.result[0].id
         }
         
       })