| | |
| | | getList1() { |
| | | this.loading1 = true; |
| | | let userId = this.$store.state.user.userId |
| | | alert(userId) |
| | | // alert(userId) |
| | | |
| | | showShareUser(userId, 2013).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | |
| | | share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData |
| | | } from "@/api/clean/index"; |
| | | import {listUserAll} from "@/api/root/index"; |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | |
| | | // import {Message} from "element-ui"; |
| | | import { Notification, MessageBox, Message, Loading } from 'element-ui' |
| | | |
| | |
| | | dicts: ['sys_normal_disable'], |
| | | data() { |
| | | return { |
| | | // 分享给谁的list |
| | | // 分享给谁的lis |
| | | total1:0, |
| | | searchQuery: undefined, |
| | | listRoot: [], |
| | | open1:false, |
| | |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | showShareUser(userId, 2020).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | getCateInfor() |
| | | { |
| | | let _this = this |
| | | getCategory().then(response=>{ |
| | | // getCategory().then(response=>{ |
| | | |
| | | response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{ |
| | | _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]}) |
| | | }) |
| | | }) |
| | | // response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{ |
| | | // _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]}) |
| | | // }) |
| | | // }) |
| | | }, |
| | | |
| | | handleRemove(file) { |
| | |
| | | } from "@/api/collection/index"; |
| | | import {listUserAll} from "@/api/root/index"; |
| | | import {Message} from "element-ui"; |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | |
| | | export default { |
| | | name: "index", |
| | |
| | | return row.id |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | |
| | | |
| | | showShareUser(userId, 2018).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | import {getInfo} from "@/api/login"; |
| | | import { Notification, MessageBox, Message, Loading } from 'element-ui' |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | |
| | | //导入接口函数 |
| | | import {getContactList,enload, addContact, delContact,uploadPic, |
| | |
| | | return row.id |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | |
| | | |
| | | showShareUser(userId, 2021).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | } from "@/api/device/index"; |
| | | import {listUserAll} from "@/api/root/index"; |
| | | import { Notification, MessageBox, Message, Loading } from 'element-ui' |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | |
| | | export default { |
| | | name: "Role", |
| | |
| | | data() { |
| | | return { |
| | | // 分享给谁的list |
| | | total1: 0, |
| | | listRoot: [], |
| | | open1:false, |
| | | open2:false, |
| | |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | showShareUser(userId, 2017).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | import {getInfo} from "@/api/login"; |
| | | |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | //导入接口函数 |
| | | import {listDoctor,enload,getDoctor, addDoctor,updateDoctor, delDoctor,uploadPic,listType, |
| | | share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData |
| | |
| | | return row.id |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | showShareUser(userId, 2019).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | } from "@/api/economy/index"; |
| | | import { Notification, MessageBox, Message, Loading } from 'element-ui' |
| | | import {listUserAll} from "@/api/root/index"; |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | export default { |
| | | name: "Role", |
| | | dicts: ['sys_normal_disable'], |
| | | data() { |
| | | return { |
| | | // 分享给谁的list |
| | | total1:0, |
| | | listRoot: [], |
| | | open1:false, |
| | | open2:false, |
| | |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | showShareUser(userId, 2023).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | getCateInfor() |
| | | { |
| | | let _this = this |
| | | getCategory().then(response=>{ |
| | | // getCategory().then(response=>{ |
| | | |
| | | response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{ |
| | | _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]}) |
| | | }) |
| | | }) |
| | | // response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{ |
| | | // _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]}) |
| | | // }) |
| | | // }) |
| | | }, |
| | | // 取消按钮 |
| | | cancel() { |
| | |
| | | plain |
| | | icon="el-icon-top">分享相关</el-button> |
| | | <template #dropdown> |
| | | <el-button size="mini" type="primary" |
| | | plain |
| | | icon="el-icon-top">分享相关</el-button> |
| | | <el-dropdown-menu> |
| | | <el-dropdown-item :disabled="multiple" icon="el-icon-top" style="height: 32px;width:240px;color: #0099ff;" @click.native="handleShare">分享</el-dropdown-item> |
| | | |
| | |
| | | import { listRole, getRole, delRole, addRole, updateRole, dataScope, changeRoleStatus, deptTreeSelect } from "@/api/system/role"; |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | |
| | | |
| | | //在system/note/index.js中导入接口函数 |
| | |
| | | data() { |
| | | return { |
| | | // 分享给谁的list |
| | | total1:0, |
| | | listRoot: [], |
| | | open1:false, |
| | | open2:false, |
| | |
| | | }, |
| | | getList1() { |
| | | 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.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | let userId = this.$store.state.user.userId |
| | | showShareUser(userId, 2002).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" border :data="petList,PetNoteList" ref="table2" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"> |
| | | <el-table v-loading="loading" border :data="petList" ref="table2" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> |
| | |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | import {getInfo} from "@/api/login"; |
| | | import {getAllInfo} from "@/api/system/user" |
| | | |
| | | import {showShareUser} from "@/api/bignote/index"; |
| | | //在system/note/index.js中导入接口函数 |
| | | import {listPet,enload, getPetInfo, delPet,addPet, uploadPic1, |
| | | share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData |
| | |
| | | data() { |
| | | return { |
| | | // 分享给谁的list |
| | | total1:0, |
| | | |
| | | PetNoteList:[], |
| | | listRoot: [], |
| | | open1:false, |
| | | open2:false, |
| | |
| | | return row.id |
| | | }, |
| | | getList1() { |
| | | this.loading1 = true; |
| | | this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] |
| | | this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] |
| | | let clanId = this.$store.state.user.clanId |
| | | getAllInfo(this.queryParams1).then(response => { |
| | | this.listRoot = response.data.data; |
| | | const kon = {} |
| | | this.listRoot.forEach(element => { |
| | | kon[element['nickName']] = element['userId'] |
| | | }) |
| | | for(let i in kon){ |
| | | this.userOptions.push({label: i,value: kon[i]}) |
| | | } |
| | | for(let i in this.userOptions){ |
| | | this.userList.push(this.userOptions[i].value) |
| | | } |
| | | console.log(this.userList,'userListuserListuserList') |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | }, |
| | | let userId = this.$store.state.user.userId |
| | | |
| | | |
| | | showShareUser(userId, 2022).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | | console.log("--------------------") |
| | | response.data.forEach(element =>{ |
| | | this.userOptions.push({label: element.oldName,value: element.userId}) |
| | | }) |
| | | }) |
| | | |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | | const shareList = {} |
| | |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | listPetnote(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | console.log(response.data) |
| | | this.PetNoteList = response.data.data; |
| | | |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | }, |
| | | |
| | | handleRemove(file) { |