From 05aec1e9986fbe3e907259bb1a1396f129bd0fa1 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 06 二月 2026 14:14:48 +0800
Subject: [PATCH] 优化

---
 admin/src/views/business/category.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/admin/src/views/business/category.vue b/admin/src/views/business/category.vue
index 58bf7fb..9c48bea 100644
--- a/admin/src/views/business/category.vue
+++ b/admin/src/views/business/category.vue
@@ -5,6 +5,9 @@
       <el-form-item label="鍚嶇О" prop="name">
         <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ュ悕绉�" @keypress.enter.native="search"></el-input>
       </el-form-item>
+      <el-form-item label="鎴樺尯缂栫爜" prop="detail">
+        <el-input v-model="searchForm.detail" placeholder="璇疯緭鍏ユ垬鍖虹紪鐮�" @keypress.enter.native="search"></el-input>
+      </el-form-item>
       <section>
         <el-button type="primary" @click="search">鎼滅储</el-button>
         <el-button @click="reset">閲嶇疆</el-button>
@@ -76,6 +79,7 @@
       // 鎼滅储
       searchForm: {
         name: '',
+        detail: '',
         type: 0
       }
     }
@@ -91,11 +95,12 @@
   },
   methods: {
     synchronization() {
-      this.$dialog.deleteConfirm('纭鍚屾鎴樺尯淇℃伅鍚楋紵')
+      this.$dialog.actionConfirmButton('纭鍚屾鎴樺尯淇℃伅鍚楋紵')
         .then(() => {
           syncZhanQu()
             .then(res=>{
               if (res.code === 200) {
+                this.search()
                 this.$message.success('鍚屾鎴愬姛锛�')
               }
             })

--
Gitblit v1.9.3