Commit fc50c436 authored by hanfeng's avatar hanfeng

屏蔽车辆信息下载

parent 2ee1058f
...@@ -148,4 +148,15 @@ export function username(id) { ...@@ -148,4 +148,15 @@ export function username(id) {
url: 'api/admin/public/app/userinfo-by-username?name='+id, url: 'api/admin/public/app/userinfo-by-username?name='+id,
method: 'get' method: 'get'
}); });
} }
\ No newline at end of file
/**
* 用户详情
* @param obj
*/
export function getOne(id) {
return fetch({
url: '/api/admin/appUsersManage/user_info/'+id,
method: 'get',
});
}
...@@ -533,7 +533,8 @@ ...@@ -533,7 +533,8 @@
setDisable, setDisable,
setAvailable, setAvailable,
deleteUser, deleteUser,
userPosition userPosition,
getOne
} from 'src/api/admin/userManagement/index'; } from 'src/api/admin/userManagement/index';
import {getToken} from 'src/utils/auth'; import {getToken} from 'src/utils/auth';
import {mapGetters} from 'vuex'; import {mapGetters} from 'vuex';
...@@ -1103,9 +1104,12 @@ ...@@ -1103,9 +1104,12 @@
* @param row * @param row
*/ */
viewDetails(row) { viewDetails(row) {
this.userDetails = row getOne(row.userId).then(res=>{
this.detailsDialogFormVisible = true this.userDetails=res.data
this.getBoolean(this.userDetails.certificationStatus) this.detailsDialogFormVisible = true
this.getBoolean(this.userDetails.certificationStatus)
})
} }
, ,
/** /**
...@@ -1433,9 +1437,12 @@ ...@@ -1433,9 +1437,12 @@
this.listQuery.registrationTimeEnd = undefined this.listQuery.registrationTimeEnd = undefined
this.listQuery.registrationTimeBegin = undefined this.listQuery.registrationTimeBegin = undefined
this.listQuery.postionState = undefined this.listQuery.postionState = undefined
this.listQuery.realName =undefined
if(this.listQuery){ if(this.listQuery){
localStorage.setItem("userList", JSON.stringify(this.listQuery)); localStorage.setItem("userList", JSON.stringify(this.listQuery));
} }
this.getList();
}, },
change() { change() {
this.$forceUpdate() this.$forceUpdate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment