| | |
| | | |
| | | |
| | | import { Notification, MessageBox, Message, Loading } from 'element-ui' |
| | | |
| | | import {getAllInfo} from "@/api/system/user" |
| | | //在system/note/index.js中导入接口函数 --接好了 |
| | | import {listFamilyevent,enload, delFamilyevent , addFamilyevent , uploadPic, |
| | | share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | // alert(this.$store.state.user.clanId) |
| | | this.listRoot = [] |
| | | let clanId = this.$store.state.user.clanId |
| | | getAllInfo(clanId).then(response => { |
| | | this.listRoot = response.data; |
| | | const kon = {} |
| | | console.log(response.data,'userListuserListuserList99999999999999') |
| | | this.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | console.log(this.userList,'userListuserListuserList99999999999999') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | import { listRole, getRole, delRole, addRole, updateRole, dataScope, changeRoleStatus, deptTreeSelect } from "@/api/system/role"; |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | import {getInfo} from "@/api/login"; |
| | | |
| | | import {getAllInfo} from "@/api/system/user" |
| | | |
| | | //在system/note/index.js中导入接口函数 |
| | | import {listPet,enload, getPetInfo, delPet,addPet, uploadPic1, |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | listUserAll(this.queryParams1).then(response => { |
| | | let clanId = this.$store.state.user.clanId |
| | | getAllInfo(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | | this.listRoot.forEach(element => { |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | if(value != undefined){ |
| | | this.sex = value |
| | | } |
| | | alert(this.sex) |
| | | // alert(this.sex) |
| | | const tpfid = this.pOID |
| | | let clanId = this.$store.state.user.clanId |
| | | // 新增a=1,修改a=2 |
| | |
| | | else{ |
| | | let clanId = this.$store.state.user.clanId |
| | | this.allInfo2 = [] |
| | | alert(this.form.sex) |
| | | //alert(this.form.sex) |
| | | addPO(this.form.sex, clanId).then(response =>{ |
| | | for(let i in response.data[0]){ |
| | | this.allInfo2.push({'nickName':response.data[0][i],'userId': parseInt(i)}) |
| | |
| | | }) |
| | | if(this.form.isMyFamily=="0") |
| | | this.isshowMri = true |
| | | this.getAllIn() |
| | | } |
| | | }, |
| | | getAllIn(){ |
| | |
| | | console.log(response) |
| | | console.log('-------00000000000000000-----------') |
| | | this.allInfo = response.data; |
| | | this.fathorInfo = [] |
| | | this.motherInfo = [] |
| | | console.log(response.data,'allInfoallInfoallInfoallInfo') |
| | | for(var i = 0; i < this.allInfo.length; i++) |
| | | { |
| | |
| | | this.motherInfo.push(this.allInfo[i]) |
| | | } |
| | | // alert(98) |
| | | //console.log(this.fathorInfo) |
| | | //console.log('----sdfdsfds') |
| | | console.log(this.fathorInfo) |
| | | console.log('----sdfdsfds') |
| | | |
| | | console.log(this.motherInfo) |
| | | }) |
| | | }, |
| | | getRole(value){ |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | listUserAll(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |