From deb90a8574955aa0111527a1d2f97b9c60a42bd5 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 2 Feb 2023 18:20:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/qianxinan/AppSignInfo/AppSignInfo.vue | 34 ++++++ project/qianxinan/AppSignInfo/list.vue | 109 ++++++++++++++++++ ui/packages/layout/AiTreeMenu.vue | 14 +-- 3 files changed, 148 insertions(+), 9 deletions(-) create mode 100644 project/qianxinan/AppSignInfo/AppSignInfo.vue create mode 100644 project/qianxinan/AppSignInfo/list.vue diff --git a/project/qianxinan/AppSignInfo/AppSignInfo.vue b/project/qianxinan/AppSignInfo/AppSignInfo.vue new file mode 100644 index 00000000..1be0bbdd --- /dev/null +++ b/project/qianxinan/AppSignInfo/AppSignInfo.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/project/qianxinan/AppSignInfo/list.vue b/project/qianxinan/AppSignInfo/list.vue new file mode 100644 index 00000000..2610922a --- /dev/null +++ b/project/qianxinan/AppSignInfo/list.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/ui/packages/layout/AiTreeMenu.vue b/ui/packages/layout/AiTreeMenu.vue index db1f3b56..d7ead9ad 100644 --- a/ui/packages/layout/AiTreeMenu.vue +++ b/ui/packages/layout/AiTreeMenu.vue @@ -2,7 +2,7 @@
{{ title }} + suffix-icon="iconfont iconSearch" @change="handleSearch" clearable/>
@@ -22,11 +22,6 @@ export default { searchPlaceholder: {type: String, default: "请输入..."}, hideInput: Boolean }, - watch: { - searchText(v) { - this.$emit("update:search", v) - } - }, data() { return { searchText: "", @@ -35,7 +30,8 @@ export default { } }, methods: { - handleSearch() { + handleSearch(v) { + this.$emit("update:search", v) if (this.$slots.default) { this.$emit('search', this.searchText) } @@ -67,7 +63,7 @@ export default { border-bottom: 1px solid #E5E5E5; } - :deep( .searchInput ){ + :deep( .searchInput ) { width: 100%; padding: 8px; box-sizing: border-box; @@ -98,7 +94,7 @@ export default { margin: 0 8px; } - :deep(.el-tree ){ + :deep(.el-tree ) { height: 100%; background: #FAFAFB; From 5b41cd85e00be1341a60f8ff0bbc9d55eb1e278f Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 2 Feb 2023 18:21:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/qianxinan/AppSignInfo/list.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/project/qianxinan/AppSignInfo/list.vue b/project/qianxinan/AppSignInfo/list.vue index 2610922a..fc319855 100644 --- a/project/qianxinan/AppSignInfo/list.vue +++ b/project/qianxinan/AppSignInfo/list.vue @@ -72,18 +72,6 @@ export default { handleAdd(id) { this.$router.push({hash: "#add", query: {id}}) }, - // handleDelete(ids) { - // this.$confirm("是否要删除?").then(() => { - // this.instance.post("/app/appwechatsigninfo/delete", null, { - // params: {ids} - // }).then(res => { - // if (res?.code == 0) { - // this.$message.success("删除成功") - // this.getTableData() - // } - // }) - // }).catch(() => 0) - // }, getDepartments() { this.instance.post("/app/wxcp/wxdepartment/listAll").then(res => { if (res?.data) {