From 4dc66a6c347a4483e72892ed4195e597b9d43f8f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 29 四月 2024 15:02:28 +0800
Subject: [PATCH] 测试完成

---
 src/views/repositoryai/verbaltrick/particulars/index.vue |   94 ++++++++++++++++------------------------------
 1 files changed, 33 insertions(+), 61 deletions(-)

diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index 662b6e6..8e0978c 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -267,13 +267,13 @@
             <el-col :span="24">
               <el-form-item label="闂鏂囨湰" prop="questionText">
                 <el-input
+                :rows="2"
                   type="textarea"
-                  :rows="2"
-                  placeholder="璇疯緭鍏ュ唴瀹�"
                   id="questionText"
+                  show-word-limit
+                  placeholder="璇疯緭鍏ュ唴瀹�"
                   v-model.sync="indexform.questionText"
                   @focus="handleInput('questionText')"
-                  maxlength="30"
                 />
               </el-form-item> </el-col
           ></el-row>
@@ -290,21 +290,22 @@
                 >
                   <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
                 </el-upload>
-                <!-- <el-input v-model="indexform.userName" maxlength="30" /> -->
+                <!-- <el-input v-model="indexform.userName" maxlength="66"
+                  show-word-limit /> -->
               </el-form-item>
             </el-col></el-row
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="nomatchtext">
+              <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="noMatchText">
                 <el-input
                   type="textarea"
                   :rows="2"
-                  id="nomatchtext"
+                  id="noMatchText"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.nomatchtext"
-                  @focus="handleInput('nomatchtext')"
-                  maxlength="30"
+                  v-model.sync="indexform.noMatchText"
+                  @focus="handleInput('noMatchText')"
+                  show-word-limit
                 />
               </el-form-item> </el-col
           ></el-row>
@@ -326,15 +327,15 @@
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="鏃犲0鏂囨湰" prop="sliencetext">
+              <el-form-item label="鏃犲0鏂囨湰" prop="slienceText">
                 <el-input
                   type="textarea"
                   :rows="2"
-                  id="sliencetext"
+                  id="slienceText"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.sliencetext"
-                  @focus="handleInput('sliencetext')"
-                  maxlength="30"
+                  v-model.sync="indexform.slienceText"
+                  @focus="handleInput('slienceText')"
+                  show-word-limit
                 />
               </el-form-item> </el-col
           ></el-row>
@@ -354,47 +355,18 @@
               </el-form-item>
             </el-col></el-row
           >
+
           <el-row>
             <el-col :span="24">
-              <el-form-item label="閫氱敤搴撴枃鏈�" prop="submoduletext">
+              <el-form-item label="鍚笉娓呮枃鏈�" prop="noClearlyText">
                 <el-input
                   type="textarea"
-                  :rows="2"
-                  id="submoduletext"
-                  placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.submoduletext"
-                  @focus="handleInput('submoduletext')"
-                  maxlength="30"
-                />
-              </el-form-item> </el-col
-          ></el-row>
-          <el-row>
-            <el-col :span="6">
-              <el-form-item label="閫氱敤搴撹闊�" prop="libraryy">
-                <el-upload
-                  class="upload-demo"
-                  action="https://jsonplaceholder.typicode.com/posts/"
-                  :on-change="handleChange"
-                  :file-list="fileList"
-                  :limit="1"
-                  :on-exceed="handleExceed"
-                >
-                  <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
-                </el-upload>
-              </el-form-item>
-            </el-col></el-row
-          >
-          <el-row>
-            <el-col :span="24">
-              <el-form-item label="鍚笉娓呮枃鏈�" prop="noclearlytext">
-                <el-input
-                  type="textarea"
-                  id="noclearlytext"
+                  id="noClearlyText"
                   :rows="2"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  @focus="handleInput('noclearlytext')"
-                  v-model.sync="indexform.noclearlytext"
-                  maxlength="30"
+                  @focus="handleInput('noClearlyText')" 
+                  v-model.sync="indexform.noClearlyText"
+                  show-word-limit
                 />
               </el-form-item> </el-col
           ></el-row>
@@ -921,12 +893,12 @@
       //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛�
       if (this.currentInputId == "questionText") {
         inputValueArr = this.indexform.questionText.split("");
-      } else if (this.currentInputId == "nomatchtext") {
-        inputValueArr = this.indexform.nomatchtext.split("");
-      } else if (this.currentInputId == "sliencetext") {
-        inputValueArr = this.indexform.sliencetext.split("");
-      } else if (this.currentInputId == "noclearlytext") {
-        inputValueArr = this.indexform.noclearlytext.split("");
+      } else if (this.currentInputId == "noMatchText") {
+        inputValueArr = this.indexform.noMatchText.split("");
+      } else if (this.currentInputId == "slienceText") {
+        inputValueArr = this.indexform.slienceText.split("");
+      } else if (this.currentInputId == "noClearlyText") {
+        inputValueArr = this.indexform.noClearlyText.split("");
       } else if (this.currentInputId == "submoduletext") {
         inputValueArr = this.indexform.submoduletext.split("");
       } else {
@@ -943,12 +915,12 @@
       console.log(inputValueArr);
       if (this.currentInputId == "questionText") {
         this.indexform.questionText = inputValueArr;
-      } else if (this.currentInputId == "nomatchtext") {
-        this.indexform.nomatchtext = inputValueArr;
-      } else if (this.currentInputId == "sliencetext") {
-        this.indexform.sliencetext = inputValueArr;
-      } else if (this.currentInputId == "noclearlytext") {
-        this.indexform.noclearlytext = inputValueArr;
+      } else if (this.currentInputId == "noMatchText") {
+        this.indexform.noMatchText = inputValueArr;
+      } else if (this.currentInputId == "slienceText") {
+        this.indexform.slienceText = inputValueArr;
+      } else if (this.currentInputId == "noClearlyText") {
+        this.indexform.noClearlyText = inputValueArr;
       } else if (this.currentInputId == "submoduletext") {
         this.indexform.submoduletext = inputValueArr;
       } else {

--
Gitblit v1.9.3