From f7d045b0a8355b0ababd480c8aa195ff6d42bdfd Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 四月 2025 11:19:01 +0800
Subject: [PATCH] 工单业务

---
 admin/src/views/business/categoryDcaLocaltion.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/business/categoryDcaLocaltion.vue b/admin/src/views/business/categoryDcaLocaltion.vue
index 16d83c9..79ee9fc 100644
--- a/admin/src/views/business/categoryDcaLocaltion.vue
+++ b/admin/src/views/business/categoryDcaLocaltion.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>
@@ -17,7 +17,7 @@
       <div
         style="width: 100%; height: 50px; background: rgba(242, 242, 242, 1); line-height: 50px; text-align: center; font-size: 14px;">
         DCA浜嬩欢浣嶇疆</div>
-      <div style="width: 100%; height: calc(100vh - 170px); overflow-y: scroll;">
+      <div style="width: 100%; height: calc(100vh - 130px); overflow-y: scroll;">
         <Tree :list="treeList" :alllist="treeList"  :defaultProps="{ name: 'name', status: 'fsStatus', children: 'childList', id: 'id' }"
           @callback="callback" />
       </div>
@@ -30,10 +30,11 @@
                        v-permissions="['business:category:create']">鏂板缓</el-button></li>
         <li><el-button type="danger" @click="deleteByIdInBatch(true,getfindTreePage)" icon="el-icon-delete" v-permissions="['business:category:delete']">鎵归噺鍒犻櫎</el-button></li>
       </ul>
-      <el-table   v-loading="isWorking.search" :data="tableData.list" stripe @selection-change="handleSelectionChange">
+      <el-table  :height="tableHeightNew" v-loading="isWorking.search" :data="tableData.list" stripe @selection-change="handleSelectionChange">
         <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