From 71c893964b732f2026fccc573502a1b503f985fd Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 15 四月 2025 11:15:12 +0800
Subject: [PATCH] 代码初始化
---
admin/src/views/business/categorySheLocaltion.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/business/categorySheLocaltion.vue b/admin/src/views/business/categorySheLocaltion.vue
index ab86ac3..6d2242a 100644
--- a/admin/src/views/business/categorySheLocaltion.vue
+++ b/admin/src/views/business/categorySheLocaltion.vue
@@ -8,7 +8,7 @@
</el-form-item>
<section>
<el-button type="primary" @click="search">鎼滅储</el-button>
- <el-button type="primary" @click="refresh">鏄剧ず椤跺眰</el-button>
+ <el-button type="primary" @click="refresh">鏄剧ず鍏ㄩ儴</el-button>
<el-button @click="reset">閲嶇疆</el-button>
</section>
</el-form>
@@ -34,6 +34,7 @@
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="name" label="鍚嶇О" min-width="100px"></el-table-column>
<el-table-column prop="parentName" label="鐖剁骇" min-width="150px"></el-table-column>
+ <el-table-column prop="namePath" label="瀹屾暣璺緞" min-width="150px"></el-table-column>
<el-table-column prop="editorName" label="鎿嶄綔浜�" min-width="100px"></el-table-column>
<el-table-column prop="editDate" label="鏈�鍚庢搷浣滄椂闂�" min-width="150px"></el-table-column>
<el-table-column v-if="containPermissions(['business:category:update', 'business:category:delete' ])" label="鎿嶄綔" min-width="280">
@@ -91,6 +92,12 @@
this.getfindTreePage()
},
methods: {
+ refresh () {
+ this.searchForm.parentId = null
+ this.searchForm.isRoot = null
+ this.getfindTreePage()
+ this.handlePageChange()
+ },
handlePageChangeDo () {
this.searchForm.isRoot = 1
this.searchForm.parentId = null
--
Gitblit v1.9.3