|
|
@@ -86,7 +86,7 @@
|
|
|
</el-row>
|
|
|
<el-table
|
|
|
style="width: 100%"
|
|
|
- height="calc(100% - 100px)"
|
|
|
+ height="calc(100% - 160px)"
|
|
|
:data="left.data"
|
|
|
@selection-change="handleLeftSelectionChange"
|
|
|
>
|
|
|
@@ -167,7 +167,7 @@
|
|
|
>
|
|
|
</el-row>
|
|
|
<el-table
|
|
|
- height="calc(100% - 100px)"
|
|
|
+ height="calc(100% - 160px)"
|
|
|
:data="right.data"
|
|
|
@selection-change="handleRightSelectionChange"
|
|
|
>
|
|
|
@@ -277,6 +277,9 @@ export default {
|
|
|
this.orgTree();
|
|
|
},
|
|
|
},
|
|
|
+ // computed: {
|
|
|
+ // ...mapGetters(["orgId"]),
|
|
|
+ // },
|
|
|
data() {
|
|
|
return {
|
|
|
orgs: [],
|
|
|
@@ -355,7 +358,7 @@ export default {
|
|
|
orgTree() {
|
|
|
console.log("orgTree",22,this.left)
|
|
|
//获取所有机构列表
|
|
|
- if(!this.orgs || this.orgs.length==0){
|
|
|
+ if(!this.orgs || this.orgs.length==0){
|
|
|
this.getAllOrgs();
|
|
|
}
|
|
|
this.initHistorySelectOrg();
|
|
|
@@ -524,10 +527,10 @@ export default {
|
|
|
|
|
|
|
|
|
},
|
|
|
- getAllOrgs() {
|
|
|
- selectOrgList({}).then((result) => {
|
|
|
+ getAllOrgs() {
|
|
|
+ selectOrgList({orgId:this.$store.getters.orgId,checkSub:true,time:new Date()}).then((result) => {
|
|
|
this.orgs = result;
|
|
|
- this.initHistorySelectOrg();
|
|
|
+ this.initHistorySelectOrg();
|
|
|
});
|
|
|
},
|
|
|
leftSearch() {
|