|
|
@@ -1,15 +1,42 @@
|
|
|
<template>
|
|
|
<div class="ele-body">
|
|
|
- 舟皿台账
|
|
|
+ <el-card shadow="never" v-loading="loading">
|
|
|
+ <ele-split-layout
|
|
|
+ width="266px"
|
|
|
+ allow-collapse
|
|
|
+ :right-style="{ overflow: 'hidden' }"
|
|
|
+ >
|
|
|
+ <div>
|
|
|
+ <div class="ele-border-lighter sys-organization-list">
|
|
|
+ <AssetTree
|
|
|
+ @handleNodeClick="handleNodeClick"
|
|
|
+ @setDefault="setDefaultList"
|
|
|
+ :type="[2]"
|
|
|
+ ref="treeList"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <template v-slot:content>
|
|
|
+ 11111
|
|
|
+ <!-- <org-user-list
|
|
|
+ v-if="current"
|
|
|
+ :organization-list="data"
|
|
|
+ :organization-id="current.id"
|
|
|
+ /> -->
|
|
|
+ </template>
|
|
|
+ </ele-split-layout>
|
|
|
+ </el-card>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import AssetTree from '@/components/AssetTree';
|
|
|
export default {
|
|
|
- // name: 'boatLedger',
|
|
|
- components: {},
|
|
|
+ components: { AssetTree },
|
|
|
data () {
|
|
|
return {
|
|
|
+ // 加载状态
|
|
|
+ loading: true,
|
|
|
|
|
|
};
|
|
|
},
|
|
|
@@ -17,6 +44,16 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleNodeClick (info) {
|
|
|
+ // this.chooseId = info.id
|
|
|
+ // this.searchForm.classificationIds = [info.id]
|
|
|
+ // this.handleList()
|
|
|
+ },
|
|
|
+
|
|
|
+ setDefaultList(id){
|
|
|
+ // this.searchForm.classificationIds = [id]
|
|
|
+ // this.handleList()
|
|
|
+ },
|
|
|
|
|
|
}
|
|
|
};
|