| | |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getCateInfor() |
| | | // this.getCateInfor() |
| | | // for (let i = 0; i < this.contactList.length; i++) { |
| | | // this.formDat[i] = this.contactList[i]; |
| | | // } |
| | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | const id = row.userId; |
| | | alert(id) |
| | | // alert(id) |
| | | this.$router.push("/familymodel/jiagenwang/personInfo/" + id); |
| | | }, |
| | | |
| | |
| | | }).catch(() => {}); |
| | | }, |
| | | /** 导出按钮操作 */ |
| | | // handleExport() { |
| | | // this.download('/self/user/export/genealogy', { |
| | | // ...this.queryParams |
| | | // }, `zGenealogy_${new Date().getTime()}.xlsx`) |
| | | // }, |
| | | |
| | | handleExport() { |
| | | const Ids = this.ids; |
| | | |
| | | if(Ids.length==0) |
| | | { |
| | | this.download('/self/user/export/genealogy', { |
| | | ...this.queryParams |
| | | }, `zGenealogy_${new Date().getTime()}.xlsx`) |
| | | }else{ |
| | | this.download('/self/user/export/genealogy/'+Ids, { |
| | | |
| | | }, `zGenealogy_${new Date().getTime()}.xlsx`) |
| | | } |
| | | }, |
| | | |
| | | /** 导入操作*/ |
| | | // handleEnport(params){ |
| | | // var file = params.file; |