From 8a980bd32dc2dc70f90447eb6ba293a06a2d881c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 28 十一月 2023 18:11:36 +0800
Subject: [PATCH] 提交信息

---
 src/views/system/label/index.vue |   31 +++++++++++++++++++++++++------
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/src/views/system/label/index.vue b/src/views/system/label/index.vue
index 513af3e..f910400 100644
--- a/src/views/system/label/index.vue
+++ b/src/views/system/label/index.vue
@@ -326,17 +326,32 @@
 
 <script>
 import {
+  changetagcategory,
   toamendtag,
+  toamendtagcategory,
   addapitag,
+  addtagcategory,
   detailstag,
   deletetag,
-  changetagcategory,
-  toamendtagcategory,
-  addtagcategory,
   deletetagcategory,
+  exporttag,
   listtag,
   tagclassifylist,
 } from "@/api/system/label";
+import {
+  listbase_tag,
+  getbase_tag,
+  addbase_tag,
+  updatebase_tag,
+  delbase_tag,
+} from "@/api/smartorpor/base_tag";
+import {
+  listbase_tagcategory,
+  getbase_tagcategory,
+  addbase_tagcategory,
+  updatebase_tagcategory,
+  delbase_tagcategory,
+} from "@/api/smartorpor/base_tagcategory";
 
 import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -509,9 +524,10 @@
 
   methods: {
     /** 鏌ヨ鏍囩鍒楄〃 */
-    getList() {
+    getList(row) {
+      console.log(row);
+      console.log(this.queryParams);
       listtag(this.addDateRange(this.queryParams)).then((response) => {
-        console.log(response);
         this.total = response.total;
         this.userList = response.rows;
       });
@@ -545,11 +561,14 @@
       if (this.lstamendtag) {
         toamendtag(this.addDateRange(this.tagform)).then((response) => {
           console.log(response);
+          this.lstamendtagVisible = false;
           this.getList();
         });
       } else {
         addapitag(this.addDateRange(this.tagform)).then((response) => {
           console.log(response);
+          this.lstamendtagVisible = false;
+
           this.getList();
         });
       }
@@ -641,7 +660,7 @@
       this.$modal
         .confirm('纭瑕�"' + text + '""' + row.tagname + '"鏍囩鍚楋紵')
         .then(function () {
-          return changetagcategory(row.tagid, row.isupload);
+          return toamendtag(row);
         })
         .then(() => {
           this.$modal.msgSuccess(text + "鎴愬姛");

--
Gitblit v1.9.3