From f5c5172d558053b92a0cfdbe27ce08063d01f4cd Mon Sep 17 00:00:00 2001
From: aihe <961836564@qq.com>
Date: Fri, 24 May 2024 12:40:41 +0800
Subject: [PATCH] uu
---
.../buns-country-sheet/buns-country-sheet.vue | 101 ----------
.../buns-paytype-sheet/buns-paytype-sheet.vue | 172 ------------------
.../buns-stockroom-sheet.vue | 149 ---------------
components/buns-way-sheet/buns-way-sheet.vue | 109 -----------
components/tpx-select/tpx-select.vue | 33 +++-
pages/post/post.vue | 5 +-
6 files changed, 31 insertions(+), 538 deletions(-)
delete mode 100644 components/buns-country-sheet/buns-country-sheet.vue
delete mode 100644 components/buns-paytype-sheet/buns-paytype-sheet.vue
delete mode 100644 components/buns-stockroom-sheet/buns-stockroom-sheet.vue
delete mode 100644 components/buns-way-sheet/buns-way-sheet.vue
diff --git a/components/buns-country-sheet/buns-country-sheet.vue b/components/buns-country-sheet/buns-country-sheet.vue
deleted file mode 100644
index 3165857..0000000
--- a/components/buns-country-sheet/buns-country-sheet.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/buns-paytype-sheet/buns-paytype-sheet.vue b/components/buns-paytype-sheet/buns-paytype-sheet.vue
deleted file mode 100644
index fa94139..0000000
--- a/components/buns-paytype-sheet/buns-paytype-sheet.vue
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{caCurrent.item.title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 管理月结卡
-
-
-
-
-
-
-
-
-
-
-
-
- 确认
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/buns-stockroom-sheet/buns-stockroom-sheet.vue b/components/buns-stockroom-sheet/buns-stockroom-sheet.vue
deleted file mode 100644
index e709f81..0000000
--- a/components/buns-stockroom-sheet/buns-stockroom-sheet.vue
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 确认
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/buns-way-sheet/buns-way-sheet.vue b/components/buns-way-sheet/buns-way-sheet.vue
deleted file mode 100644
index 27594d8..0000000
--- a/components/buns-way-sheet/buns-way-sheet.vue
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/tpx-select/tpx-select.vue b/components/tpx-select/tpx-select.vue
index 59603ec..8b1cc8a 100644
--- a/components/tpx-select/tpx-select.vue
+++ b/components/tpx-select/tpx-select.vue
@@ -14,7 +14,10 @@
-
+
+
+
+
-
+
+
+
+
t.title?.indexOf?.(this.keyword) > -1)
+ // }
return list
},
+ filDataSearchParam() {
+ let filedName = this.searchFiledName
+ return {
+ ...this.searchParam,
+ [filedName]: this.keyword,
+ }
+ },
filDatacheckedList() {
let list = (this.getListFun ? this.resObject.checkedList : this.checkedList)
if(Array.isArray(list) && this.transKeyVal) {
@@ -70,6 +86,11 @@
filResObject() {
let res = this.getListFun ? this.resObject : { list: this.list, total: this.list.length }
return res
+ },
+ showKeyWord() {
+ // 查接口的列表才有搜索
+ let bl = !!this.getListFun
+ return bl
}
},
components: {
@@ -175,7 +196,10 @@
return {
componentId: uni.$u.guid(20),
show: false,
- modeEnum: Object.assign({}, modeEnum)
+ modeEnum: Object.assign({}, modeEnum),
+ keyword: '',
+ // searchFiledName: this.transKeyVal?.['searchKey'] || '_searchValue',
+ searchFiledName: this.transKeyVal?.['titleKey'] || '_searchValue'
}
},
created() {
@@ -225,6 +249,9 @@
},
handleRootClick() {
uni.$emit(selectDropEventName, this.componentId)
+ },
+ handleKeyWordChange(val) {
+
}
}
}
diff --git a/pages/post/post.vue b/pages/post/post.vue
index 9f48c01..6e6cd30 100644
--- a/pages/post/post.vue
+++ b/pages/post/post.vue
@@ -184,10 +184,7 @@
-
-
-
-
+