diff --git a/src/components/OrgTable.vue b/src/components/OrgTable.vue
index a78da50..f6e3f0e 100644
--- a/src/components/OrgTable.vue
+++ b/src/components/OrgTable.vue
@@ -794,15 +794,29 @@ export default {
handleRemove (user, type) {
let delIndex = -1
- this.checkedList.map((checkedItem, chkIndex) => {
- if (user.USID === checkedItem.USID) {
- delIndex = chkIndex
- if (type !== 'table') {
- this.checkedRow([checkedItem])
+ if(this.isShowOrg){
+
+ this.checkedList.map((checkedItem, chkIndex) => {
+ if ( user.id === checkedItem.id ) {
+ delIndex = chkIndex
+ if (type !== 'table') {
+ this.checkedRow([checkedItem])
+ }
+ return false
}
- return false
- }
- })
+ })
+ }else{
+ this.checkedList.map((checkedItem, chkIndex) => {
+ if (user.USID === checkedItem.USID ) {
+ delIndex = chkIndex
+ if (type !== 'table') {
+ this.checkedRow([checkedItem])
+ }
+ return false
+ }
+ })
+ }
+
this.checkedList.splice(delIndex, 1)
this.checkedIdList.splice(delIndex, 1)
},
@@ -826,7 +840,7 @@ export default {
if (this.tableData[i].USID == row.USID && !this.isOrg) {
// console.log(this.tableData[i], '666')
this.$refs.orgTable && this.$refs.orgTable.toggleRowSelection(this.tableData[i])
- }else if (this.tableData[i].id == row.id&& this.isOrg){
+ }else if (this.tableData[i].id == row.id && this.isOrg){
this.$refs.orgTable && this.$refs.orgTable.toggleRowSelection(this.tableData[i])
}
diff --git a/src/views/Login.vue b/src/views/Login.vue
index 6103850..1ba2447 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -136,10 +136,19 @@ export default {
})
return
}else{
+ let routeList=menu.map(item=> item.href)
+ let params
+ if(routeList.indexOf('/report/list')>-1){
+ params={ path: '/report/list', query: { id: 'AEHJB8YNJ3' }}
+ }else if(routeList.indexOf('/report/manager')>-1){
+ params={ path: '/report/manager', query: { id: 'AEHJB8YNJ3' }}
+ }else if(routeList.indexOf('/userCenter/processCenter')>-1){
+ params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
+ }
this.$message.success('登录成功')
this.getMarket().then((resx)=>{
this.$store.commit('setMarketpre', resx)
- this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
+ this.$router.push(params)
}).catch((resx)=>{
this.$store.commit('setMarketpre', '')
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
diff --git a/src/views/System/Org.vue b/src/views/System/Org.vue
index 5597077..6e4615b 100644
--- a/src/views/System/Org.vue
+++ b/src/views/System/Org.vue
@@ -104,7 +104,7 @@