瀏覽代碼

修复机构认证无法显示能力的问题

sunjh 6 年之前
父節點
當前提交
098e583c9a
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      src/components/authen/AgencyAuthentication.vue

+ 7 - 6
src/components/authen/AgencyAuthentication.vue

@@ -23,10 +23,10 @@
           <el-input v-if="isModifyMode" v-model="authentication.name"></el-input>
           <!--<span v-if="!isModifyMode">{{authentication.name}}</span>-->
         </el-form-item>
-        <el-form-item label="机构电话" prop="name">
-          <el-input v-if="isModifyMode" v-model="authentication.mobile"></el-input>
-          <!--<span v-if="!isModifyMode">{{authentication.name}}</span>-->
-        </el-form-item>
+        <!--<el-form-item label="机构电话" prop="name">-->
+          <!--<el-input v-if="isModifyMode" v-model="authentication.mobile"></el-input>-->
+          <!--&lt;!&ndash;<span v-if="!isModifyMode">{{authentication.name}}</span>&ndash;&gt;-->
+        <!--</el-form-item>-->
         <el-form-item label="对公账户" prop="name">
           <el-input v-if="isModifyMode" v-model="authentication.bankAccount"></el-input>
           <!--<span v-if="!isModifyMode">{{authentication.bankAccount}}</span>-->
@@ -151,10 +151,11 @@ export default {
         evaluationAgencyName: this.authentication.name,
         bankAccount: this.authentication.bankAccount,
         address: this.authentication.address,
-        abilities: this.authentication.ability,
-        resources: this.authentication.resource,
+        evaluationAgencyAbilityList: this.authentication.ability,
+        evaluationAgencyResourceList: this.authentication.resource,
         agencyPhoto: this.authentication.photoUrl,
       }
+      console.log(newAuthentication)
       Http.post(Apis.USER.SUBMIT_AGENCY_AUTHENTICATION_INFO.replace('{userId}', this.user.userVO.id), newAuthentication).then((res) => {
         console.log(res)
         notify('success', '认证信息上传成功')