From 6429b95aa66bfbb214bcadb248b8b7ca5e754368 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 18 一月 2026 23:17:41 +0800
Subject: [PATCH] 修改相关代码

---
 src/views/archiveManager/archiveMaterial/index.vue |   38 ++++++++++++++++++++++++--------------
 1 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/src/views/archiveManager/archiveMaterial/index.vue b/src/views/archiveManager/archiveMaterial/index.vue
index 0ca1e00..c2b232c 100644
--- a/src/views/archiveManager/archiveMaterial/index.vue
+++ b/src/views/archiveManager/archiveMaterial/index.vue
@@ -21,20 +21,14 @@
                 type="textarea"
                 rows="2"
                     v-auto-height="{ minRows: 2, maxRows: 10 }"
-
                 v-model="form.creator"
                 placeholder="璇疯緭鍏ヨ矗浠昏��"
-                @input="handleCreatorInput"
-                @focus="showCreatorSuggestions = true"
+                  @focus="(e) => e.target.select()"
 
-                        @keydown.up.prevent="handleKeyUp"
-                        @keydown.down.prevent="handleKeyDown"
-                        @keydown.enter.prevent="handleKeyEnter"
-                        ref="creatorInput"
               />
               <!-- 涓嬫媺寤鸿妗� -->
               <div
-                v-if="showCreatorSuggestions && creatorSuggestions.length > 0"
+                v-if="showCreatorSuggestions && creatorSuggestions.length > 0 && false"
                 class="title-suggestions"
               >
                 <div
@@ -60,13 +54,11 @@
                 rows="2"
                 v-model="form.title"
                 placeholder="璇疯緭鍏ユ枃浠堕鍚�"
-                @input="handleTitleInput"
-                @focus="showTitleSuggestions = true"
-                @blur="handleTitleBlur"
+                @focus="(e) => e.target.select()"
               />
               <!-- 涓嬫媺寤鸿妗� -->
               <div
-                v-if="showTitleSuggestions && titleSuggestions.length > 0"
+                v-if="showTitleSuggestions && titleSuggestions.length > 0  && false"
                 class="title-suggestions"
               >
                 <div
@@ -822,6 +814,9 @@
 import { updateStatusById } from "@/api/system/records"
 
 import {delArchiverecordstouserByReIdAndUid} from "@/api/system/archiverecordstouser"
+
+
+
   export default {
     name: "Materials",
     data() {
@@ -1070,6 +1065,18 @@
       }
     },
     methods: {
+    handleTabKey (event) {
+     // 榛樿琛屼负
+     event.preventDefault()
+
+     // 鎵嬪姩鍏ㄩ��
+     const textarea = event.target
+     textarea.select()
+
+     // 濡傛灉闇�瑕佸垏鎹㈠埌涓嬩竴涓厓绱狅紝鍙互鎵嬪姩瑙﹀彂
+     // const focusableElements = getFocusableElements()
+     // moveFocusToNextElement()
+   },
       // 杈撳叆浜嬩欢锛堢ず渚嬶細鍙牴鎹緭鍏ュ唴瀹硅繃婊ゅ缓璁垪琛級
           handleCreatorInput(val) {
             // 閲嶇疆閫変腑绱㈠紩
@@ -1135,12 +1142,15 @@
         this.$refs.upload.clearFiles();
         // 鍏抽棴涓婁紶瀵硅瘽妗�
         this.importDialogVisible = false;
+      //  alert(123)
         // 鍒锋柊鍒楄〃鏁版嵁
-        getFileCount(recordId).then(response=>{
+        getFileCount(this.recordId).then(response=>{
           this.fileCut = response.length
+    //      alert(98)
          // alert(this.fileCut)
+         this.getList();
         })
-        this.getList();
+
       }
     },
      // 鎵撳紑瀵煎叆瀵硅瘽妗�

--
Gitblit v1.9.1