From 43bb1026f5e6b04e790662361711c40f3499c2a9 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 10 七月 2024 16:02:35 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index 0e798e6..14a7cbf 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -104,9 +104,9 @@
           </el-row>
           <el-row :gutter="20">
             <el-col :span="20">
-              <el-form-item label="闂涓绘棬" prop="questiontitle">
+              <el-form-item label="闂涓绘棬" prop="scriptTopic">
                 <el-input
-                  v-model="indexform.questiontitle"
+                  v-model="indexform.scriptTopic"
                   placeholder="璇疯緭鍏ラ棶棰樹富鏃�"
                   maxlength="80"
                 />
@@ -256,7 +256,7 @@
           </el-row>
           <el-row>
             <el-col :span="24">
-              <el-form-item label="闂鍙橀噺" prop="questionText">
+              <el-form-item label="闂鍙橀噺" prop="scriptContent">
                 <div style="display: flex; margin-bottom: 10px">
                   <div
                     v-for="item in variablelist"
@@ -274,15 +274,15 @@
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="闂鏂囨湰" prop="questionText">
+              <el-form-item label="闂鏂囨湰" prop="scriptContent">
                 <el-input
                   :rows="2"
                   type="textarea"
-                  id="questionText"
+                  id="scriptContent"
                   show-word-limit
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  v-model.sync="indexform.questionText"
-                  @focus="handleInput('questionText')"
+                  v-model.sync="indexform.scriptContent"
+                  @focus="handleInput('scriptContent')"
                 />
               </el-form-item> </el-col
           ></el-row>
@@ -694,7 +694,7 @@
           .confirm('鏄惁娣诲姞"' + res.rows[0].targetname + '"鎸囨爣鐨勯�夐」锛�')
           .then(() => {
             this.indexform.valueType = res.rows[0].valueType;
-            this.indexform.questiontitle = res.rows[0].targetname;
+            this.indexform.scriptTopic = res.rows[0].targetname;
             this.indexform.targetname = res.rows[0].targetname;
             this.indexform.targetdesc = res.rows[0].targetdesc;
             this.indexform.isAvailable = "0";
@@ -911,8 +911,8 @@
       let inputValueArr = "";
       let el = document.querySelector("#" + this.currentInputId);
       //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛�
-      if (this.currentInputId == "questionText") {
-        inputValueArr = this.indexform.questionText.split("");
+      if (this.currentInputId == "scriptContent") {
+        inputValueArr = this.indexform.scriptContent.split("");
       } else if (this.currentInputId == "noMatchText") {
         inputValueArr = this.indexform.noMatchText.split("");
       } else if (this.currentInputId == "slienceText") {
@@ -933,8 +933,8 @@
       // 鎶婃暟缁勯噸鏂拌浆鎹负瀛楃涓插苟璧嬪��
       inputValueArr = inputValueArr.join("");
       console.log(inputValueArr);
-      if (this.currentInputId == "questionText") {
-        this.indexform.questionText = inputValueArr;
+      if (this.currentInputId == "scriptContent") {
+        this.indexform.scriptContent = inputValueArr;
       } else if (this.currentInputId == "noMatchText") {
         this.indexform.noMatchText = inputValueArr;
       } else if (this.currentInputId == "slienceText") {

--
Gitblit v1.9.3