From c4926e25f0d61c621e781c54659b76bd9e6f54ab Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期三, 18 十月 2023 20:15:13 +0800
Subject: [PATCH] feat: 产品类别表单非必填项添加兜底展示
---
src/views/overview/index.vue | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/views/overview/index.vue b/src/views/overview/index.vue
index 8f1df84..baee3a7 100644
--- a/src/views/overview/index.vue
+++ b/src/views/overview/index.vue
@@ -1,7 +1,7 @@
<template>
<div class="rightContent">
<div class="top">
- <SearchCommonView :show-add="false" :placeholder="'璇疯緭鍏ヤ骇鍝佸悕绉�'" :amount-view="false" @searchClick="getList" />
+ <SearchCommonView :show-add="false" :placeholder="'璇疯緭鍏ヤ笟鍔$被鍨�'" :amount-view="false" @searchClick="getList" />
</div>
<div class="content">
<div class="list-view">
@@ -63,7 +63,8 @@
editConfig: {
visible: false,
title: "鏂板缓",
- infomation: {}
+ infomation: {},
+ keyword: ""
}
}
},
@@ -73,6 +74,8 @@
methods: {
getList(val) {
console.log(val)
+ this.keyword = val
+ this.getData()
},
labelClick(item) {
console.log(item)
@@ -83,7 +86,7 @@
},
async getData() {
await getOperationType({
- keyword: "",
+ keyword: this.keyword,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize
}).then((res) => {
@@ -106,7 +109,7 @@
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.content {
- height: calc(100% - 130px);
+ height: calc(100% - 112px);
background: #fff;
border-radius: 12px;
.list-view {
@@ -183,4 +186,8 @@
}
}
}
+
+.btn-pager {
+ margin-top: 0;
+}
</style>
--
Gitblit v1.8.0