| | |
| | | import request from '@/utils/request' |
| | | |
| | | // 查询数据 |
| | | export function listMarry(query) { |
| | | export function listMarry() { |
| | | return request({ |
| | | url: '/marrySelf', |
| | | method: 'get', |
| | | params: query |
| | | // params: query |
| | | }) |
| | | } |
| | | |
| | |
| | | store.dispatch('GenerateRoutes').then(accessRoutes => { |
| | | // 根据roles权限生成可访问的路由表 |
| | | // alert(90) |
| | | // alert(90) |
| | | |
| | | console.log(accessRoutes) |
| | | router.addRoutes(accessRoutes) // 动态添加可访问路由表 |
| | | // console.log(router) |
| | |
| | | getList() { |
| | | this.loading = true; |
| | | //个人信息 |
| | | listMarry(this.queryParams).then(response => { |
| | | listMarry().then(response => { |
| | | |
| | | if(response.data.length === 0){ |
| | | this.loading = false; |
| | |
| | | this.$set(row, 'isEdit', false); |
| | | this.$set(this.editStatus, row.id, false); |
| | | }, |
| | | |
| | | handleSelectionChange() |
| | | {}, |
| | | //隔行变色 |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if (rowIndex % 2 == 0) { |
| | |
| | | this.getSex(); |
| | | |
| | | this.getAllIn() |
| | | alert(34) |
| | | |
| | | const userId = row.userId || this.ids; |
| | | this.cuid= row.userId || this.ids; |
| | | alert(345) |
| | | |
| | | let clanId = this.$store.state.user.clanId |
| | | this.allInfo2 = [] |
| | | //alert(this.form.sex) |
| | |
| | | // this.rt = response.roleIds[0] |
| | | let _this = this |
| | | // alert(response.data.roles[0].roleName) |
| | | |
| | | if(response.data.role!=102) |
| | | { |
| | | return |
| | | } |
| | | // console.log(response.data.role) |
| | | // if(response.data.role!=102) |
| | | // { |
| | | // return |
| | | // } |
| | | getIndividual(userId).then(response => { |
| | | |
| | | |
| | | // console.log('++++++++-----0000((((((9999))))))') |
| | | console.log(response.data,'getIndividualgetIndividualgetIndividual') |
| | |
| | | _this.zinfid = response.data.userId |
| | | // alert(78) |
| | | } |
| | | else{ |
| | | _this.$set(_this.form,'role',2); |
| | | } |
| | | } |
| | | ); |
| | | |