|
@@ -3,7 +3,7 @@
|
|
<!-- 查询 -->
|
|
<!-- 查询 -->
|
|
<query-conditions :formItems="searchList" @getQueryParams="handleQuery"></query-conditions>
|
|
<query-conditions :formItems="searchList" @getQueryParams="handleQuery"></query-conditions>
|
|
<!-- 表格 -->
|
|
<!-- 表格 -->
|
|
- <new-table :title="title" :listData="brandLists" :tableItems="tableItems" :shows="tableShows" @selectionChange="selectionChange">
|
|
|
|
|
|
+ <new-table :height="600" :title="title" :listData="brandLists" :tableItems="tableItems" :shows="tableShows" @selectionChange="selectionChange">
|
|
<template #right>
|
|
<template #right>
|
|
<div>
|
|
<div>
|
|
<el-button size="mini" type="primary" v-if="hasPerm('brand:add')" @click="dialogVisible = true">添加品牌</el-button>
|
|
<el-button size="mini" type="primary" v-if="hasPerm('brand:add')" @click="dialogVisible = true">添加品牌</el-button>
|
|
@@ -70,13 +70,15 @@
|
|
<script>
|
|
<script>
|
|
import QueryConditions from "@/components/bioSafety/QueryConditions";
|
|
import QueryConditions from "@/components/bioSafety/QueryConditions";
|
|
import NewTable from "@/components/newTable/NewTable";
|
|
import NewTable from "@/components/newTable/NewTable";
|
|
|
|
+import TableFooter from "@/components/TableFooter";
|
|
import {brandList, addBarand, delBarand, editBarand } from '../../utils/api.js';
|
|
import {brandList, addBarand, delBarand, editBarand } from '../../utils/api.js';
|
|
import {arrToIds} from "@/utils";
|
|
import {arrToIds} from "@/utils";
|
|
export default {
|
|
export default {
|
|
name: "CameraBrand",
|
|
name: "CameraBrand",
|
|
components: {
|
|
components: {
|
|
QueryConditions,
|
|
QueryConditions,
|
|
- NewTable
|
|
|
|
|
|
+ NewTable,
|
|
|
|
+ TableFooter
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|