xsh преди 3 години
родител
ревизия
59dda567dd
променени са 3 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 1 1
      src/components/newTable/NewTable.vue
  2. 1 1
      src/views/Video/AreaAdmin.vue
  3. 4 2
      src/views/Video/CameraBrand.vue

+ 1 - 1
src/components/newTable/NewTable.vue

@@ -108,7 +108,7 @@ export default {
   .header>.left>span {
     margin-left: 28px;
     position: absolute;
-    width: 50px;
+    width: 120px;
     bottom: 5px;
   }
 </style>

+ 1 - 1
src/views/Video/AreaAdmin.vue

@@ -3,7 +3,7 @@
     <!-- 查询   -->
     <query-conditions :formItems="searchList" @getQueryParams="handleQuery"></query-conditions>
     <!--  表格   -->
-    <new-table :title="title" :listData="areaList" :tableItems="tableItems" :shows="tableShows" @selectionChange="selectionChange">
+    <new-table :height="600" :title="title" :listData="areaList" :tableItems="tableItems" :shows="tableShows" @selectionChange="selectionChange">
       <template v-slot:right>
         <div>
           <el-button size="mini" type="primary"  v-if="hasPerm('area:add')" @click="dialogVisible = true">添加区域</el-button>

+ 4 - 2
src/views/Video/CameraBrand.vue

@@ -3,7 +3,7 @@
     <!-- 查询   -->
     <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>
         <div>
           <el-button size="mini" type="primary"  v-if="hasPerm('brand:add')" @click="dialogVisible = true">添加品牌</el-button>
@@ -70,13 +70,15 @@
 <script>
 import QueryConditions from "@/components/bioSafety/QueryConditions";
 import NewTable from "@/components/newTable/NewTable";
+import TableFooter from "@/components/TableFooter";
 import {brandList, addBarand, delBarand, editBarand } from '../../utils/api.js';
 import {arrToIds} from "@/utils";
 export default {
   name: "CameraBrand",
   components: {
     QueryConditions,
-    NewTable
+    NewTable,
+    TableFooter
   },
   data() {
     return {