|
|
<!--:style="{'height':height+'px','max-height':height+'px','overflow':'auto'}"-->
|
|
|
<div class="container tree-config" :style="{'height':height+'px','max-height':height+'px','overflow':'auto'}">
|
|
|
<el-row :gutter="5">
|
|
|
<div class="container" :style="{'height':height+'px','max-height':height+'px'}">
|
|
|
<el-row :gutter="5" >
|
|
|
<el-col :span="4" >
|
|
|
<cm-res-type-tree-view :treeData="treeData" :show-tools="true"></cm-res-type-tree-view>
|
|
|
<div class="cm-card" :style="{'min-height':height+'px','height':'100%'}">
|
|
|
<el-tree :data="treeData" :default-expanded-keys="[1]" @node-click="handleNodeClick"/>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="20" >
|
|
|
<div class="card-item">
|
|
|
<div style="padding: 3px 6px;text-align: right">
|
|
|
<el-button type="primary" @click="showDialog">配置</el-button>
|
|
|
</div>
|
|
|
<el-table :data="tableData" style="width: 100%">
|
|
|
<el-table-column fixed prop="date" label="Date" width="150" />
|
|
|
<el-table-column prop="name" label="Name" width="120" />
|
|
|
<el-table-column prop="state" label="State" width="120" />
|
|
|
<el-table-column prop="city" label="City" width="120" />
|
|
|
<el-table-column prop="address" label="Address" width="600" />
|
|
|
<el-table-column prop="zip" label="Zip" width="120" />
|
|
|
<el-table-column fixed="right" label="Operations" width="120">
|
|
|
<template #default>
|
|
|
<el-button type="text" size="small" @click="handleClick">Detail</el-button>
|
|
|
<el-button type="text" size="small">Edit</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div class="cm-card" :style="{'min-height':height+'px','height':'100%'}" >
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<el-dialog top="2vh" :title="dialog.title" v-model="dialogVisible" custom-class="config-dialog" width="80%" destroy-on-close>
|
|
|
<tree-config></tree-config>
|
|
|
</el-dialog>
|
|
|
|
|
|
</div> |
...
|
...
|
|