| | |
| | | <el-form |
| | | ref="form" |
| | | :model="form" |
| | | label-width="80px" |
| | | label-width="100px" |
| | | inline |
| | | style="display: flex;justify-content: space-between" |
| | | > |
| | | <div class="elForm"> |
| | | <el-form-item label="编码名称" style=" display: flex;"> |
| | | <div class="elForm" style="justify-content: flex-start"> |
| | | <el-form-item label="编码名称" label-width="70px" style=" display: flex;"> |
| | | <el-input v-model="form.rightname" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="固定字符" style=" display: flex;"> |
| | |
| | | <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | </div> |
| | | </el-form> |
| | | <div |
| | | class="bodyTopFormExpand" |
| | | /> |
| | | </div> |
| | | |
| | | <div style="margin-left: 10px;display: flex"> |
| | |
| | | <!-- <el-divider />--> |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | | class="tableFixed" |
| | | :data="tableData" |
| | | :height="tableHeight" |
| | | border |
| | |
| | | fixed |
| | | /> |
| | | <el-table-column |
| | | prop="right_code" |
| | | label="编码" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="right_name" |
| | | label="编码名称" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="Type" |
| | | label="类型" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 85 |
| | | this.tableHeight = this.mainHeight - 140 |
| | | this.tableHeight = this.mainHeight - 135 |
| | | this.$refs.tableDataRef.doLayout() |
| | | }) |
| | | } |
| | | } |
| | |
| | | .userDialogVisible ::v-deep .el-form-item { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .tableFixed{ |
| | | ::v-deep .el-table__fixed-right{ |
| | | height: 100% !important; |
| | | } |
| | | ::v-deep .el-table__fixed{ |
| | | height: 100% !important; |
| | | } |
| | | } |
| | | </style> |
| | | <style> |
| | | |