|  | @@ -48,7 +48,13 @@
 | 
											
												
													
														|  |          <el-table-column prop="user_name" label="用户名" width="180" />
 |  |          <el-table-column prop="user_name" label="用户名" width="180" />
 | 
											
												
													
														|  |          <el-table-column prop="real_name" label="姓名" width="180" />
 |  |          <el-table-column prop="real_name" label="姓名" width="180" />
 | 
											
												
													
														|  |          <el-table-column prop="user_type_name" label="用户类型" width="120" />
 |  |          <el-table-column prop="user_type_name" label="用户类型" width="120" />
 | 
											
												
													
														|  | -        <el-table-column prop="org_count" label="服务机构数量" width="110" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <el-table-column label="加入的机构数量" width="150">
 | 
											
												
													
														|  | 
 |  | +          <template slot-scope="{ row }">
 | 
											
												
													
														|  | 
 |  | +            <span class="link" @click="showUserOrgList(row.id, row.user_name)">
 | 
											
												
													
														|  | 
 |  | +              {{ row.org_count }}
 | 
											
												
													
														|  | 
 |  | +            </span>
 | 
											
												
													
														|  | 
 |  | +          </template>
 | 
											
												
													
														|  | 
 |  | +        </el-table-column>
 | 
											
												
													
														|  |          <el-table-column prop="phone" label="手机号" width="150" />
 |  |          <el-table-column prop="phone" label="手机号" width="150" />
 | 
											
												
													
														|  |          <el-table-column prop="email" label="邮箱" />
 |  |          <el-table-column prop="email" label="邮箱" />
 | 
											
												
													
														|  |          <el-table-column fixed="right" width="80">
 |  |          <el-table-column fixed="right" width="80">
 | 
											
										
											
												
													
														|  | @@ -76,14 +82,23 @@
 | 
											
												
													
														|  |        @current-change="changePage"
 |  |        @current-change="changePage"
 | 
											
												
													
														|  |        @size-change="changePageSize"
 |  |        @size-change="changePageSize"
 | 
											
												
													
														|  |      />
 |  |      />
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    <org-list
 | 
											
												
													
														|  | 
 |  | +      ref="orgList"
 | 
											
												
													
														|  | 
 |  | +      :user-id="userId"
 | 
											
												
													
														|  | 
 |  | +      :cur-user-name="curUserName"
 | 
											
												
													
														|  | 
 |  | +      @orgListClose="orgListClose"
 | 
											
												
													
														|  | 
 |  | +    />
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  | 
 |  | +import OrgList from './OrgList.vue';
 | 
											
												
													
														|  |  import { pageQueryUserList } from '@/api/list';
 |  |  import { pageQueryUserList } from '@/api/list';
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: 'AccountManager',
 |  |    name: 'AccountManager',
 | 
											
												
													
														|  | 
 |  | +  components: { OrgList },
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  |        org_id: '',
 |  |        org_id: '',
 | 
											
										
											
												
													
														|  | @@ -107,7 +122,9 @@ export default {
 | 
											
												
													
														|  |        user_list: [],
 |  |        user_list: [],
 | 
											
												
													
														|  |        page_capacity: 10,
 |  |        page_capacity: 10,
 | 
											
												
													
														|  |        total_count: 0,
 |  |        total_count: 0,
 | 
											
												
													
														|  | -      cur_page: 1
 |  | 
 | 
											
												
													
														|  | 
 |  | +      cur_page: 1,
 | 
											
												
													
														|  | 
 |  | +      userId: '',
 | 
											
												
													
														|  | 
 |  | +      curUserName: ''
 | 
											
												
													
														|  |      };
 |  |      };
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
										
											
												
													
														|  | @@ -140,6 +157,17 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      handleShow(i, row) {
 |  |      handleShow(i, row) {
 | 
											
												
													
														|  |        console.log(i, row);
 |  |        console.log(i, row);
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    showUserOrgList(id, user_name) {
 | 
											
												
													
														|  | 
 |  | +      this.userId = id;
 | 
											
												
													
														|  | 
 |  | +      this.curUserName = user_name;
 | 
											
												
													
														|  | 
 |  | +      this.$refs.orgList.show();
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    orgListClose() {
 | 
											
												
													
														|  | 
 |  | +      this.userId = '';
 | 
											
												
													
														|  | 
 |  | +      this.curUserName = '';
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
										
											
												
													
														|  | @@ -186,6 +214,10 @@ export default {
 | 
											
												
													
														|  |        font-size: 20px;
 |  |        font-size: 20px;
 | 
											
												
													
														|  |        font-weight: 400;
 |  |        font-weight: 400;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    .link {
 | 
											
												
													
														|  | 
 |  | +      cursor: pointer;
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |