Browse Source

页面优化调整

master
李磊 3 years ago
parent
commit
6583ad8a05
  1. 26
      src/components/drawerDialog/index.vue

26
src/components/drawerDialog/index.vue

@ -1,12 +1,20 @@
<template>
<div class="drawerRoot">
<el-drawer
title="编辑模板"
:visible.sync="drawer"
size="90%"
:destroy-on-close="true"
:before-close="(done) => { $emit('closeTemplateDrawer') }"
@open="open"
>
<template slot="title" width="100%">
<el-col :span="12">
编辑模板
<el-tag>
{{ formTemplate.tempName }}
</el-tag>
</el-col>
</template>
<div class="root">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="基本信息" name="0">
@ -237,7 +245,7 @@
<el-table-column
align="center"
label="表格模式"
width="150"
width="80"
prop="tableMode"
>
<template slot-scope="scope">
@ -249,7 +257,7 @@
<el-table-column
align="center"
label="写入模式"
width="150"
width="80"
prop="writeMode"
>
<template slot-scope="scope">
@ -309,7 +317,7 @@
<el-table-column
align="center"
label="操作"
width="150"
width="100"
fixed="right"
>
<template slot-scope="scope">
@ -363,23 +371,23 @@
<el-table-column
property="field"
label="列名"
width="150"
min-width="150"
align="center"
/>
<el-table-column
property="indexFromRight"
label="排序"
width="90"
width="60"
align="center"
/>
<el-table-column
property="modeName"
label="模式"
width="150"
width="80"
align="center"
/>
<el-table-column align="center" label="操作" width="190" fixed="right">
<el-table-column align="center" label="操作" min-width="100" fixed="right">
<template slot-scope="scope">
<el-button
type="primary"
@ -1073,6 +1081,8 @@ export default {
.root {
padding: 0 30px;
height: auto;
}
>>> .el-drawer__body {
overflow-y: scroll;
}
.boxRoot {

Loading…
Cancel
Save