From 4e32f1188e9d0cafd3511994d2d13617ca6e08f9 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 15 十二月 2023 11:15:00 +0800
Subject: [PATCH] 完成

---
 src/views/repositoryai/verbaltrick/particulars/index.vue |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index 6c50e91..eaff738 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -396,13 +396,15 @@
                 v-if="inputVisible"
                 @change="handleInputConfirm"
                 filterable
+                allow-create
+                default-first-option
                 placeholder="璇烽�夋嫨"
               >
                 <el-option
-                  v-for="item in optionss"
-                  :key="item.label"
-                  :label="item.label"
-                  :value="item.label"
+                  v-for="item in optionstag"
+                  :key="item.tagname"
+                  :label="item.tagname"
+                  :value="item.tagname"
                 >
                 </el-option>
               </el-select>
@@ -560,6 +562,8 @@
 </template>
 
 <script>
+import { listtag } from "@/api/system/label";
+
 export default {
   data() {
     return {
@@ -591,6 +595,7 @@
       },
       rules: {},
       rulesa: {},
+      optionstag: [],
       xjxsoptions: [
         {
           value: "閫夐」1",
@@ -716,7 +721,9 @@
     };
   },
 
-  created() {},
+  created() {
+    this.gettabList();
+  },
 
   methods: {
     submitForm(formName) {
@@ -807,6 +814,17 @@
       );
     },
     // 鏍囩-----------------
+    gettabList() {
+      const tagqueryParams = {
+        pageNum: 1,
+        pageSize: 1000,
+        tagcategoryid: "0",
+      };
+      listtag(tagqueryParams).then((response) => {
+        console.log(response);
+        this.optionstag = response.rows;
+      });
+    },
     handleClose(tag) {
       this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
     },

--
Gitblit v1.9.3