Commit deab79e4 by cocomilk2012

update

parent 8b96a220
Showing with 6 additions and 4 deletions
......@@ -15,8 +15,8 @@
>
<img src="../assets/images/agent/dispatch-employee.png" alt />
<div class="si-child-desc">
<h4>我是派遣员工</h4>
<p>可查看编辑自己的劳务派遣员工档案信息</p>
<h4>我是派遣人员</h4>
<p>可查看编辑自己的劳务派遣人员档案信息</p>
</div>
</a>
<a
......@@ -123,7 +123,7 @@ export default class SelectIdentity extends Vue {
.then(res => {
console.log("getDispatchList res=", res);
this.dispatch_list = res;
this.loading.clear();
})
.catch(err => {
console.log("err=", err);
......@@ -132,13 +132,15 @@ export default class SelectIdentity extends Vue {
async created() {
this.loading=Toast.loading({
duration:0,
message: "加载中...",
forbidClick: true
});
await this.getUserInfo();
if (this.id_no) {
await this.getDispatchList();
// await this.getDispatchList();
}
this.loading.clear();
}
}
</script>
......
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