WXL
2024-04-29 4dc66a6c347a4483e72892ed4195e597b9d43f8f
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -270,7 +270,6 @@
                :rows="2"
                  type="textarea"
                  id="questionText"
                  maxlength="66"
                  show-word-limit
                  placeholder="请输入内容"
                  v-model.sync="indexform.questionText"
@@ -298,15 +297,14 @@
          >
          <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="66"
                  v-model.sync="indexform.noMatchText"
                  @focus="handleInput('noMatchText')"
                  show-word-limit
                />
              </el-form-item> </el-col
@@ -329,15 +327,14 @@
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="无声文本" prop="sliencetext">
              <el-form-item label="无声文本" prop="slienceText">
                <el-input
                  type="textarea"
                  :rows="2"
                  id="sliencetext"
                  id="slienceText"
                  placeholder="请输入内容"
                  v-model.sync="indexform.sliencetext"
                  @focus="handleInput('sliencetext')"
                  maxlength="66"
                  v-model.sync="indexform.slienceText"
                  @focus="handleInput('slienceText')"
                  show-word-limit
                />
              </el-form-item> </el-col
@@ -361,15 +358,14 @@
          <el-row>
            <el-col :span="24">
              <el-form-item label="听不清文本" prop="noclearlytext">
              <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="66"
                  @focus="handleInput('noClearlyText')"
                  v-model.sync="indexform.noClearlyText"
                  show-word-limit
                />
              </el-form-item> </el-col
@@ -897,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 {
@@ -919,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 {