Commit c7d9bd65 by e

123

parent fcbbb753
...@@ -81,14 +81,16 @@ export default class Index extends Vue { ...@@ -81,14 +81,16 @@ export default class Index extends Vue {
private ed_id: string = ""; private ed_id: string = "";
created() { created() {
const id_no = this.$route.query.id_no as string; // const id_no = this.$route.query.id_no as string;
// this.id_no = window.atob(encodeURI(id_no)); // this.id_no = window.atob(encodeURI(id_no));
this.sp_id = this.$route.query.sp_id as string; // this.sp_id = this.$route.query.sp_id as string;
let params = { let params = {
spId: "85", spId: "85",
idNo: "51090219750505229X" idNo: "51090219750505229X"
}; };
console.log(params);
// 通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据) // 通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
this.$server.EmployeeService.getDispatchInfo(params) this.$server.EmployeeService.getDispatchInfo(params)
.then(res => { .then(res => {
......
...@@ -61,15 +61,17 @@ export default class SelectIdentity extends Vue { ...@@ -61,15 +61,17 @@ export default class SelectIdentity extends Vue {
} }
private toIndex_click(): void { private toIndex_click(): void {
this.ChooseCompany(); //this.ChooseCompany();
// if (this.dispatch_list && this.dispatch_list.length > 1) { console.log(this.dispatch_list);
// this.ChooseCompany();
// } if (this.dispatch_list && this.dispatch_list.length > 1) {
this.ChooseCompany();
}
// if (this.dispatch_list && this.dispatch_list.length == 1) { if (this.dispatch_list && this.dispatch_list.length == 1) {
// const sp_id: string = this.dispatch_list[0].id as string; const sp_id: string = this.dispatch_list[0].id as string;
// this.toIndex(sp_id); this.toIndex(sp_id);
// } }
} }
private async getUserInfo() { private async getUserInfo() {
......
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