| | |
| | | </el-aside> |
| | | |
| | | <el-main> |
| | | <basic-container> |
| | | <basic-container cardBodyStyle="padding-bottom:0;"> |
| | | <avue-crud |
| | | ref="crud" |
| | | :data="data" |
| | |
| | | <el-button icon="el-icon-view" plain size="small" type="primary" @click="chekView">查看授权结果</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <div> |
| | | <data-view key="dataView" :btmNode="nodeRow" :data="viewData" :readOnly="true" height="400px"></data-view> |
| | | <div style="margin-top: 15px;"> |
| | | <data-view key="dataView" :btmNode="nodeRow" :data="viewData" :readOnly="true" :height="clientHeight-260-220"></data-view> |
| | | </div> |
| | | <!-- 新增 && 编辑 --> |
| | | <el-dialog |
| | |
| | | :visible.sync="visible" |
| | | append-to-body="true" |
| | | class="avue-dialog" |
| | | width="75%" |
| | | width="70%" |
| | | @close="addDialogClose"> |
| | | <div> |
| | | <data-view key="editView" :btmNode="nodeRow" :data="viewData" :readOnly="false" height="60vh"></data-view> |
| | | <data-view key="editView" :btmNode="nodeRow" :data="viewData" :readOnly="false" :height="clientHeight-340"></data-view> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button size="small" type="primary" @click="addDialogSavaHandler">确 定</el-button> |
| | |
| | | components:{dataView}, |
| | | data:function (){ |
| | | return{ |
| | | clientHeight:Math.max(document.body.clientHeight,700), |
| | | treeOption: { |
| | | height: 'auto', |
| | | defaultExpandAll: true, |
| | |
| | | selectList: [], |
| | | option: { |
| | | ...basicOption, |
| | | height:260, |
| | | height:280, |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | |
| | | }, |
| | | //获取下方数据 |
| | | getViewData(row){ |
| | | this.viewData={}; |
| | | this.viewData={ |
| | | oid:row.plOId |
| | | }; |
| | | }, |
| | | // 查看授权结果 |
| | | chekView() { |