sunjh 6 年 前
コミット
e7772de4cb

+ 8 - 3
src/components/authen/AuthenticationManage.vue

@@ -117,18 +117,23 @@
             <span>{{authInfoDetail.evaluationAgencyResourceList}}</span>
           </el-form-item>
           <el-form-item label="机构Logo:" v-if="authInfoDetail.type == 'agency'">
-            <span>{{authInfoDetail.agencyPhoto}}</span>
+            <span>
+              <el-image
+                style="width: 100px;"
+                :src="authInfoDetail.agencyPhoto"
+                fit="scale-down"></el-image>
+            </span>
           </el-form-item>
         </el-form>
         <div slot="footer" class="dialog-footer">
           <el-button type="info" size="mini" @click="hideAuthDialog()">返回</el-button>
 
           <el-button type="danger" size="mini"
-                     @click="handleAuthenticationReject(authInfoDetail.userId,authInfoDetail.userId)">驳回
+                     @click="handleAuthenticationReject(authInfoDetail.userId,authInfoDetail.type)">驳回
           </el-button>
 
           <el-button type="primary" size="mini"
-                     @click="handleAuthenticationPass(authInfoDetail.userId,authInfoDetail.userId)">通过
+                     @click="handleAuthenticationPass(authInfoDetail.userId,authInfoDetail.type)">通过
           </el-button>
         </div>
       </el-dialog>

+ 18 - 1
src/components/commons/Header.vue

@@ -466,7 +466,24 @@ export default {
       //this.getAuthInfo()
     },
     handleClickAuthPass () {
-
+      if (this.user.userVO.authType == 'agency') {
+        this.$router.push({
+          name: 'AgencyAuthentication',
+          params: {userId: this.user.userVO.id}
+        })
+      }
+      if (this.user.userVO.authType == 'enterprise') {
+        this.$router.push({
+          name: 'EnterpriseAuthentication',
+          params: {userId: this.user.userVO.id}
+        })
+      }
+      if (this.user.userVO.authType == 'personal') {
+        this.$router.push({
+          name: 'IndividualAuthentication',
+          params: {userId: this.user.userVO.id}
+        })
+      }
       //this.getAuthInfo()
     },
     handleClickAuthChecking () {