|
@@ -7,9 +7,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12" class="right">
|
|
<el-col :span="12" class="right">
|
|
|
- <el-input v-model="conditions.keywords" style="width: 200px;" class="filter-item" prefix-icon="el-icon-search" placeholder="请输入内容" @keyup.enter.native="getData" />
|
|
|
|
|
- <el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-search" @click="getData">查询</el-button>
|
|
|
|
|
- <el-button type="primary" @click="handleAdd">添加</el-button>
|
|
|
|
|
|
|
+ <el-input v-model="conditions.keywords" style="width: 200px;" class="filter-item" prefix-icon="el-icon-search" size="mini" placeholder="请输入内容" @keyup.enter.native="getData" />
|
|
|
|
|
+ <el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-search" size="mini" @click="getData">查询</el-button>
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd">添加</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-table v-loading="listLoading" :data="dataList" fit style="width: 100%">
|
|
<el-table v-loading="listLoading" :data="dataList" fit style="width: 100%">
|
|
@@ -30,7 +30,7 @@
|
|
|
<el-table-column label="操作" align="center" width="230" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" width="230" class-name="small-padding fixed-width">
|
|
|
<template v-slot="{row}">
|
|
<template v-slot="{row}">
|
|
|
<el-button size="mini" @click="handleEdit(row)">修改</el-button>
|
|
<el-button size="mini" @click="handleEdit(row)">修改</el-button>
|
|
|
- <el-button v-if="row.isFixed != 1" size="mini" type="danger" @click="handleDelete(row)">删除</el-button>
|
|
|
|
|
|
|
+ <el-button v-if="row.isFixed !== 1" size="mini" type="danger" @click="handleDelete(row)">删除</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -45,7 +45,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import AppCat from './appCat'
|
|
|
|
|
|
|
+import AppCat from './components/AppCat.vue'
|
|
|
import { getAppCatByPage, deleteAppCatById } from '@/api/system/appCatApi'
|
|
import { getAppCatByPage, deleteAppCatById } from '@/api/system/appCatApi'
|
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
|
|
|
|