Commit 63953a61 by cocomilk2012

update

parent 8ac0d11a
Showing with 0 additions and 5 deletions
......@@ -104,8 +104,6 @@ export default class SelectIdentity extends Vue {
private async getUserInfo() {
await this.$server.EmployeeService.getUserInfo({})
.then(res => {
console.log('getUserInfo',res);
if (res.data && res.data.uthStatus && res.data.uthStatus > 0) {
this.id_no = res.data.personalIdCardNo;
......@@ -135,15 +133,12 @@ console.log('getUserInfo',res);
}
async created() {
this.loading = Toast.loading({
duration: 0,
message:'加载中...',
forbidClick: true
});
await this.getUserInfo();
console.log('this.id_no=',this.id_no);
if (this.id_no) {
await this.getDispatchList();
}
......
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 sign in to comment