@@ -107,7 +107,7 @@
//加载数据
getAuthInfo() {
this.showLoading()
- getAgencyAuthInfoCommon(this.user.userVO.id, this.getAuthInfoSuccess, this.getAuthInfoFail)
+ getAgencyAuthInfoCommon(this.userId, this.getAuthInfoSuccess, this.getAuthInfoFail)
},
getAuthInfoSuccess(res) {
this.hideLoading()
@@ -45,12 +45,13 @@
name: 'AgencyList',
});
- goToDetail(userId) {
- this.$router.push({
- name: 'NewAgencyDetail',
- params: {id: userId, type: 0}
- })
- },
+ goToDetail(userId) {
+ this.$router.push({
+ name: 'NewAgencyDetail',
+ path:'/agency/detail',
+ query: {id: userId, type: 0}
+ })
+ },
}
</script>
@@ -179,10 +179,11 @@
this.activePage = index;
this.handleSearchData();
- goToDetail(id) {
this.$router.push({
name: 'NewAgencyDetail',
- params: {id: id, type: 1}
+ query: {id: userId, type: 1}
})
showLoading() {