From 884ad944d947738efe407f7388dd5c32b02fd5a7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 25 四月 2024 11:18:33 +0800
Subject: [PATCH] 2
---
src/views/systemSetting/encodeManage/index.vue | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/src/views/systemSetting/encodeManage/index.vue b/src/views/systemSetting/encodeManage/index.vue
index b069a09..548b941 100644
--- a/src/views/systemSetting/encodeManage/index.vue
+++ b/src/views/systemSetting/encodeManage/index.vue
@@ -4,7 +4,7 @@
<CommonSearch :show-add="false" :amount-view="false" placeholder="璇疯緭鍏ュ叧閿瘝" @searchClick="onFilterSearch">
<template slot="leftButton">
<el-button size="small" type="primary" @click="addBtnClick" >鏂板</el-button>
- <el-button size="small" type="primary" @click="delBtnClick" >鍒犻櫎</el-button>
+ <el-button size="small" type="primary" >鍒犻櫎</el-button>
<el-button size="small" type="primary" @click="addBtnClick" >淇敼</el-button>
<el-button size="small" type="primary" @click="refreshClick">鍒锋柊</el-button>
</template>
@@ -17,7 +17,7 @@
</div>
<div class="edit-sace-label">{{ isEdit ? "閿佸畾淇濆瓨" : "鐣岄潰璁捐" }}</div>
</div> -->
- <div>
+ <div class="list-view">
<SilkTableList
:detail-enter="isEdit"
:silk-table-list="silkTableList"
@@ -30,17 +30,21 @@
>
</SilkTableList>
</div>
+ <div class="btn-pager">
+ <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
+ </div>
</div>
</div>
</template>
<script>
import SilkTableList from "@/views/systemSetting/workshopManage/components/silkTableList"
+import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
name: "encodeManage",
props: {},
components: { SilkTableList },
- mixins: [],
+ mixins: [pageMixin],
computed: {},
data() {
return {
@@ -115,7 +119,6 @@
},
// 鍒犻櫎
clearupProject(data, index) {
- console.log(data)
this.tableData.splice(index, 1)
},
// 淇濆瓨缂栬緫鎸夐挳鍒囨崲
@@ -127,7 +130,6 @@
let propStr = "trends" + this.columnNum
this.tableColumn.splice(2, 0, { label: "", prop: propStr, inputFloat: true, addColumn: true })
this.$set(this.dataObj, propStr, 0)
- console.log(this.tableColumn)
this.silkTableList.tableColumn = this.tableColumn
this.columnNum += 1
},
@@ -183,4 +185,15 @@
}
}
}
+.list-view {
+ height: calc(100% - 60px);
+ overflow: hidden;
+}
+.btn-pager {
+ display: flex;
+ margin-top: 10px;
+ .page {
+ margin-left: auto;
+ }
+}
</style>
--
Gitblit v1.8.0