| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div style="margin-bottom: 10px"> |
| | | <el-form> |
| | | <el-form-item label="分类名称"> |
| | | <el-input style="width: 20%" v-model="data.queryParams.name "></el-input> |
| | | <el-button type="primary" style="margin-left: 30px" @click="getList">查询</el-button> |
| | | <el-button plain @click="reset">重置</el-button> |
| | | <el-button type="success" plain @click="openDialog('addFirst',{})">添加</el-button> |
| | | <div> |
| | | <el-form style="display: flex;flex-wrap: wrap"> |
| | | <el-form-item> |
| | | <el-button type="primary" plain @click="openDialog('addFirst',{})" icon="Plus"> 添加</el-button> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | </div> |
| | | <!-- <div style="margin-bottom: 10px">--> |
| | | <!-- <el-form>--> |
| | | <!-- <el-form-item label="分类名称">--> |
| | | <!-- <el-input style="width: 20%" v-model="data.queryParams.name "></el-input>--> |
| | | <!-- <el-button type="primary" style="margin-left: 30px" @click="getList">查询</el-button>--> |
| | | <!-- <el-button plain @click="reset">重置</el-button>--> |
| | | <!-- <el-button type="success" plain @click="openDialog('addFirst',{})">添加</el-button>--> |
| | | <!-- </el-form-item>--> |
| | | |
| | | <!-- </el-form>--> |
| | | <!-- </div>--> |
| | | <!-- 表格数据 --> |
| | | <el-table v-loading="loading" :data="dataList" :border="true" row-key="id"> |
| | | <el-table-column label="序号" type="index" align="center" width="80" /> |