|
|
@@ -6,7 +6,8 @@
|
|
|
<el-input v-model="keyword" placeholder="搜索服务类型..." prefix-icon="el-icon-search" style="width:200px" clearable @keyup.enter.native="handleSearch" @clear="handleSearch" />
|
|
|
<el-button style="float: right; margin-left: 10px" type="primary" size="small" @click="handleCreate">+ 添加类型</el-button>
|
|
|
</div>
|
|
|
- <el-table :data="filteredData" stripe>
|
|
|
+ <div style="overflow:auto;max-height:calc(100vh - 300px);">
|
|
|
+ <el-table :data="filteredData" stripe style="max-height:calc(100vh - 300px);">
|
|
|
<el-table-column prop="id" label="ID" width="80"></el-table-column>
|
|
|
<el-table-column prop="name" label="类型名称"></el-table-column>
|
|
|
<el-table-column prop="icon" label="图标" width="100">
|
|
|
@@ -35,6 +36,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ </div>
|
|
|
</el-card>
|
|
|
|
|
|
<el-dialog :visible.sync="dialogVisible" :title="isEdit ? '编辑类型' : '添加类型'" width="500px">
|