Pārlūkot izejas kodu

限制最大输入

natasha 3 gadi atpakaļ
vecāks
revīzija
c15cb0b64a
54 mainītis faili ar 268 papildinājumiem un 17 dzēšanām
  1. 2 0
      src/components/Adult/common/AudioControlModule.vue
  2. 10 0
      src/components/Adult/common/HzModule.vue
  3. 2 0
      src/components/Adult/common/ImageQuestionModule.vue
  4. 4 0
      src/components/Adult/common/InputRecordModule.vue
  5. 4 0
      src/components/Adult/common/LigatureModule.vue
  6. 12 0
      src/components/Adult/common/NewordPhraseModule.vue
  7. 2 0
      src/components/Adult/common/SelfAssessmentModule.vue
  8. 18 4
      src/components/Adult/common/SentenceModule.vue
  9. 2 0
      src/components/Adult/common/SentenceSegwordChs/components/ClauseresultChs.vue
  10. 6 0
      src/components/Adult/common/SentenceSegwordChs/components/SegbywordChs.vue
  11. 4 0
      src/components/Adult/common/SingleModule.vue
  12. 4 0
      src/components/Adult/common/TextItemModule.vue
  13. 4 4
      src/components/Adult/common/data.js
  14. 2 0
      src/components/Adult/inputModules/ArticleTemChs/components/ArticleChs.vue
  15. 2 0
      src/components/Adult/inputModules/ArticleTemChs/components/ClauseresultChs.vue
  16. 8 0
      src/components/Adult/inputModules/ArticleTemChs/components/CompareTime.vue
  17. 6 0
      src/components/Adult/inputModules/ArticleTemChs/components/SegbywordChs.vue
  18. 6 0
      src/components/Adult/inputModules/CourseStart.vue
  19. 4 0
      src/components/Adult/inputModules/DialogueAnswerChs/index.vue
  20. 2 0
      src/components/Adult/inputModules/DialogueArticleChs/components/ArticleChs.vue
  21. 2 0
      src/components/Adult/inputModules/DialogueArticleChs/components/ClauseresultChs.vue
  22. 2 0
      src/components/Adult/inputModules/DialogueArticleChs/components/CreatetimelistChs.vue
  23. 6 0
      src/components/Adult/inputModules/DialogueArticleChs/components/ParagraphChs.vue
  24. 2 0
      src/components/Adult/inputModules/DialogueArticleChs/components/Pinyin.vue
  25. 6 0
      src/components/Adult/inputModules/DialogueArticleChs/components/RoleChs.vue
  26. 8 0
      src/components/Adult/inputModules/DialogueArticleChs/components/SegbywordChs.vue
  27. 6 0
      src/components/Adult/inputModules/DialogueArticleChs/index.vue
  28. 2 0
      src/components/Adult/inputModules/DialogueTem/components/ArticleChs.vue
  29. 2 0
      src/components/Adult/inputModules/DialogueTem/components/ClauseresultChs.vue
  30. 2 0
      src/components/Adult/inputModules/DialogueTem/components/CreatetimelistChs.vue
  31. 6 0
      src/components/Adult/inputModules/DialogueTem/components/ParagraphChs.vue
  32. 2 0
      src/components/Adult/inputModules/DialogueTem/components/Pinyin.vue
  33. 6 0
      src/components/Adult/inputModules/DialogueTem/components/RoleChs.vue
  34. 8 0
      src/components/Adult/inputModules/DialogueTem/components/SegbywordChs.vue
  35. 6 0
      src/components/Adult/inputModules/DialogueTem/index.vue
  36. 2 0
      src/components/Adult/inputModules/Drag.vue
  37. 4 0
      src/components/Adult/inputModules/InputRecord.vue
  38. 6 0
      src/components/Adult/inputModules/Ligature.vue
  39. 2 0
      src/components/Adult/inputModules/Neword.vue
  40. 10 0
      src/components/Adult/inputModules/Notes.vue
  41. 4 0
      src/components/Adult/inputModules/NumberCombination.vue
  42. 2 0
      src/components/Adult/inputModules/Picture.vue
  43. 21 1
      src/components/Adult/inputModules/PurePreview.vue
  44. 2 0
      src/components/Adult/inputModules/SelfAssessment.vue
  45. 2 0
      src/components/Adult/inputModules/Sentence.vue
  46. 1 1
      src/components/Adult/inputModules/SentenceSegwordChs/components/SegbywordChs.vue
  47. 6 0
      src/components/Adult/inputModules/Single.vue
  48. 2 0
      src/components/Adult/inputModules/Sort.vue
  49. 2 0
      src/components/Adult/inputModules/Sudoku.vue
  50. 6 2
      src/components/Adult/inputModules/ToneSelect.vue
  51. 16 2
      src/components/Adult/inputModules/VoiceMatrix.vue
  52. 2 0
      src/components/Adult/inputModules/ZiLine.vue
  53. 6 1
      src/components/Adult/preview/TableView.vue
  54. 2 2
      src/views/adultInput.vue

+ 2 - 0
src/components/Adult/common/AudioControlModule.vue

@@ -11,6 +11,8 @@
             :autosize="{ minRows: 2 }"
             placeholder="请输入序号"
             v-model="curQueItem.Number"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <img
             @click="romveoptionCon"

+ 10 - 0
src/components/Adult/common/HzModule.vue

@@ -22,6 +22,8 @@
           placeholder="请输入文字"
           v-model="curQueItem.hanzi"
           @blur="onBlur(curQueItem, 'hanzi')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <div class="adult-book-input-item">
           <div v-if="checkList.indexOf('image_single') > -1">
@@ -57,6 +59,8 @@
               :autosize="{ minRows: 2 }"
               placeholder="请输入答案"
               v-model.trim="curQue.correct[0].spell[index]"
+              maxlength="200"
+              show-word-limit
             ></el-input>
           </div>
         </div>
@@ -77,6 +81,8 @@
           placeholder="请输入拼音"
           v-model="curQueItem.pinyin"
           @blur="onBlur(curQueItem, 'pinyin')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <el-button @click="getPinyin(curQueItem)">生成拼音</el-button>
       </div>
@@ -106,6 +112,8 @@
         placeholder="请输入答案"
         v-model="curQue.correct[0].input[index]"
         @blur="onBlurCorrect(curQue.correct[0].input, 0)"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div
@@ -121,6 +129,8 @@
         placeholder="请输入答案"
         v-model="curQue.correct[0].input[1]"
         @blur="onBlurCorrect(curQue.correct[1].input, 1)"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="adult-book-input-item">

+ 2 - 0
src/components/Adult/common/ImageQuestionModule.vue

@@ -10,6 +10,8 @@
         placeholder="请输入序号"
         v-model="curQueItem.number"
         @blur="onBlur(curQueItem, 'number')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <div class="deleteOptionBox">
         <img

+ 4 - 0
src/components/Adult/common/InputRecordModule.vue

@@ -11,6 +11,8 @@
             :autosize="{ minRows: 2 }"
             placeholder="请输入序号"
             v-model="curQueItem.number"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <img
             @click="romveoptionCon"
@@ -30,6 +32,8 @@
             :autosize="{ minRows: 2 }"
             placeholder="请输入答案"
             v-model="curQueItem.answer"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">

+ 4 - 0
src/components/Adult/common/LigatureModule.vue

@@ -42,6 +42,8 @@
               placeholder="请输入序号"
               v-model="curQueItem.Number"
               @blur="curQueItem.Number = curQueItem.Number.trim()"
+              maxlength="200"
+              show-word-limit
             ></el-input>
             <img
               @click="romveoptionCon"
@@ -109,6 +111,8 @@
               placeholder="请输入序号"
               v-model="curQueItem.Number"
               @blur="curQueItem.Number = curQueItem.Number.trim()"
+              maxlength="200"
+              show-word-limit
             ></el-input>
             <img
               @click="romveoptionCon"

+ 12 - 0
src/components/Adult/common/NewordPhraseModule.vue

@@ -11,6 +11,8 @@
             @blur="onBlur(curQueItem, 'new_word')"
             class="adult-book-input"
             :autosize="{ minRows: 2 }"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <el-button type="danger" size="small" @click="deleteGroup2"
             >删除</el-button
@@ -31,12 +33,16 @@
               class="adult-book-input"
               style="width: 200px"
               v-model.trim="curQue.wordTime[curQueItem.index].bg"
+              maxlength="200"
+              show-word-limit
             ></el-input>
             ~
             <el-input
               class="adult-book-input"
               style="width: 200px"
               v-model.trim="curQue.wordTime[curQueItem.index].ed"
+              maxlength="200"
+              show-word-limit
             ></el-input>
           </div>
         </div>
@@ -48,6 +54,8 @@
             @blur="onBlur(curQueItem, 'pinyin')"
             class="adult-book-input"
             :autosize="{ minRows: 2 }"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <el-button type="primary" size="small" @click="getPinyin(curQueItem)"
             >生成拼音</el-button
@@ -77,6 +85,8 @@
             @blur="onBlur(curQueItem, 'cixing')"
             class="adult-book-input"
             :autosize="{ minRows: 2 }"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
 
@@ -95,6 +105,8 @@
                 placeholder="请输入释义"
                 v-model="curQueItem.definition_list[i]"
                 @blur="trimEvent(i)"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               <img
                 @click="deletecn(i)"

+ 2 - 0
src/components/Adult/common/SelfAssessmentModule.vue

@@ -12,6 +12,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.con"
             @blur="curQueItem.con = curQueItem.con.trim()"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <el-checkbox
             style="margin-left: 7px"

+ 18 - 4
src/components/Adult/common/SentenceModule.vue

@@ -10,6 +10,8 @@
         placeholder="请输入序号"
         v-model="curQueItem.number"
         @blur="onBlur(curQueItem, 'number')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <div class="deleteOptionBox">
         <img
@@ -26,9 +28,11 @@
       <div class="adult-book-input-item">
         <span class="adult-book-lable"></span>
         <span v-if="curQue.wordTime&&curQue.wordTime.length > 0" class="lrc">
-          <el-input v-model="curQue.wordTime[index].bg" size="small" />
+          <el-input v-model="curQue.wordTime[index].bg" size="small" maxlength="200"
+            show-word-limit />
           <span> ~ </span>
-          <el-input v-model="curQue.wordTime[index].ed" size="small" />
+          <el-input v-model="curQue.wordTime[index].ed" size="small" maxlength="200"
+            show-word-limit />
           {{ curQue.wordTime[index].text }}
         </span>
       </div>
@@ -41,6 +45,8 @@
         placeholder="请输入句子翻译"
         v-model="curQueItem.en"
         @blur="onBlur(curQueItem, 'en')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="adult-book-input-item" v-if="type == 'recordHZ_inputPY_chs'">
@@ -52,14 +58,18 @@
         v-model="curQueItem.con"
         @blur="onBlur(curQueItem, 'con')"
         @change="forceUpdate"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="adult-book-input-item" v-if="type == 'recordHZ_inputPY_chs'">
       <span class="adult-book-lable"></span>
       <span v-if="curQue.wordTime.length > 0" class="lrc">
-        <el-input v-model="curQue.wordTime[index].bg" size="small" />
+        <el-input v-model="curQue.wordTime[index].bg" size="small" maxlength="200"
+            show-word-limit />
         <span> ~ </span>
-        <el-input v-model="curQue.wordTime[index].ed" size="small" />
+        <el-input v-model="curQue.wordTime[index].ed" size="small" maxlength="200"
+            show-word-limit />
         {{ curQue.wordTime[index].text }}
       </span>
     </div>
@@ -71,6 +81,8 @@
         placeholder="请输入答案"
         v-model="curQueItem.answer"
         @blur="onBlur(curQueItem, 'answer')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div
@@ -103,6 +115,8 @@
                 placeholder="请输入答案"
                 v-model="curQueItem.answer[ansIndex]"
                 @blur="onBlurIndex(ansIndex, 'answer')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               <div class="adult-book-del-icon" @click="delAnswer(ansIndex)">
                 <i class="el-icon-circle-close"></i>

+ 2 - 0
src/components/Adult/common/SentenceSegwordChs/components/ClauseresultChs.vue

@@ -13,6 +13,8 @@
         placeholder="请输入内容"
         v-model="curQue.sentence"
         @blur="onBlur(curQue, 'sentence')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
 
       <el-button type="primary" size="small" @click="sureClause"

+ 6 - 0
src/components/Adult/common/SentenceSegwordChs/components/SegbywordChs.vue

@@ -12,6 +12,8 @@
             placeholder="请输入内容"
             v-model="curQue.seg_words"
             :readonly="true"
+            maxlength="1000"
+            show-word-limit
           ></el-input>
           <el-button type="danger" size="small" @click="proofSegWords"
             >校对</el-button
@@ -47,6 +49,8 @@
             v-model="curQue.seg_words"
             @click="handleChangeWords"
             @blur="onBlur(curQue, 'seg_words')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <div class="NPC-gPinyin">
             <el-button type="danger" size="small" @click="_createPinyin"
@@ -67,6 +71,8 @@
                       v-model="scope.row.pinyin"
                       placeholder="请输入拼音"
                       @blur="onBlur(scope.row, 'pinyin')"
+                      maxlength="200"
+                      show-word-limit
                     ></el-input>
                   </template>
                 </el-table-column>

+ 4 - 0
src/components/Adult/common/SingleModule.vue

@@ -12,6 +12,8 @@
             placeholder="请输入选项序号"
             v-model="curQueItem.number"
             @blur="curQueItem.number = curQueItem.number.trim()"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <el-input
             class="adult-book-input"
@@ -20,6 +22,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.con"
             @blur="curQueItem.con = curQueItem.con.trim()"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <template
             v-if="type == 'single_chs' || type == 'listen_record_single_chs'"

+ 4 - 0
src/components/Adult/common/TextItemModule.vue

@@ -11,6 +11,8 @@
             type="textarea"
             placeholder="请输入题目"
             v-model="curQueItem.number"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <img
             @click="romveoptionCon"
@@ -27,6 +29,8 @@
             type="textarea"
             placeholder="请输入题目"
             v-model="curQueItem.con"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
       </div>

+ 4 - 4
src/components/Adult/common/data.js

@@ -697,10 +697,10 @@ let fnData = [{
     //     type: "play_input_record_chs",
     //     name: "播放+输入+录音",
     // },
-    {
-        type: "drag_chs",
-        name: "拖拽",
-    },
+    // {
+    //     type: "drag_chs",
+    //     name: "拖拽",
+    // },
     {
         type: "sort_chs",
         name: "排序"

+ 2 - 0
src/components/Adult/inputModules/ArticleTemChs/components/ArticleChs.vue

@@ -10,6 +10,8 @@
       placeholder="请输入文章"
       v-model="curQue.article"
       @blur="onBlur(curQue, 'article')"
+      maxlength="5000"
+      show-word-limit
     ></el-input>
     <div>
       <el-button type="primary" size="small" @click="createPara"

+ 2 - 0
src/components/Adult/inputModules/ArticleTemChs/components/ClauseresultChs.vue

@@ -19,6 +19,8 @@
           :readonly="item.isReadonly"
           @change="handleChange(item.para, index)"
           @blur="onBlur(item, 'para')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <el-button
           v-if="item.isReadonly"

+ 8 - 0
src/components/Adult/inputModules/ArticleTemChs/components/CompareTime.vue

@@ -14,6 +14,8 @@
               v-model="item.bg"
               @change="changeTime(item, 'bg')"
               type="text"
+              maxlength="200"
+              show-word-limit
             />
           </td>
           <td>
@@ -21,6 +23,8 @@
               v-model="item.ed"
               @change="changeTime(item, 'ed')"
               type="text"
+              maxlength="200"
+              show-word-limit
             />
           </td>
         </tr>
@@ -64,6 +68,8 @@
                 v-model="item.wordBg"
                 type="text"
                 @change="changeTime(item, 'wordBg')"
+                maxlength="200"
+                show-word-limit
               />
             </td>
             <td>
@@ -71,6 +77,8 @@
                 v-model="item.wordEd"
                 type="text"
                 @change="changeTime(item, 'wordEd')"
+                maxlength="200"
+                show-word-limit
               />
             </td>
           </tr>

+ 6 - 0
src/components/Adult/inputModules/ArticleTemChs/components/SegbywordChs.vue

@@ -25,6 +25,8 @@
           v-model="wordItem.sent_str"
           :readonly="!wordItem.isReadonly"
           @change="handleChange"
+          maxlength="1000"
+          show-word-limit
         ></el-input>
         <el-button
           type="danger"
@@ -73,6 +75,8 @@
             v-model="paraCon.seg_words[sentIndex].sent_str"
             @click="handleChangeWords"
             @blur="onBlurIndex(sentIndex, 'seg_words')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <div class="NPC-gPinyin">
             <el-button type="danger" size="small" @click="_createPinyin"
@@ -97,6 +101,8 @@
                       v-model="scope.row.pinyin"
                       placeholder="请输入拼音"
                       @blur="onBlur(scope.row, 'pinyin')"
+                      maxlength="200"
+                      show-word-limit
                     ></el-input>
                   </template>
                 </el-table-column>

+ 6 - 0
src/components/Adult/inputModules/CourseStart.vue

@@ -21,6 +21,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
       </div>
       <div>
@@ -35,6 +37,8 @@
           placeholder="请输入英文"
           v-model="curQue.en"
           @blur="onBlur(curQue, 'en')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
       </div>
       <div class="adult-book-input-item">
@@ -46,6 +50,8 @@
           placeholder="请输入内容"
           v-model="curQue.con"
           @blur="onBlur(curQue, 'con')"
+          maxlength="5000"
+          show-word-limit
         ></el-input>
       </div>
     </div>

+ 4 - 0
src/components/Adult/inputModules/DialogueAnswerChs/index.vue

@@ -10,6 +10,8 @@
         @blur="onBlur(curQue, 'title')"
         class="adult-book-input"
         :autosize="{ minRows: 2 }"
+        maxlength="500"
+        show-word-limit
       ></el-input>
     </div>
     <div class="adult-book-input-item">
@@ -21,6 +23,8 @@
         @blur="onBlur(curQue, 'guide')"
         class="adult-book-input"
         :autosize="{ minRows: 2 }"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="NPC-Book-model">

+ 2 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/ArticleChs.vue

@@ -9,6 +9,8 @@
       placeholder="请输入文章"
       v-model="curQue.article"
       @blur="onBlur(curQue, 'article')"
+      maxlength="5000"
+      show-word-limit
     ></el-input>
     <div style="margin-top: 10px">
       <el-button type="primary" size="small" @click="createPara"

+ 2 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/ClauseresultChs.vue

@@ -19,6 +19,8 @@
           :readonly="item.isReadonly"
           @change="handleChange(item.para, index)"
           @blur="onBlur(item, 'para')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <el-button
           v-if="item.isReadonly"

+ 2 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/CreatetimelistChs.vue

@@ -13,6 +13,8 @@
         placeholder="请输入内容"
         v-model="item.time_str"
         @blur="onBlur(item, 'time_str')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
   </div>

+ 6 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/ParagraphChs.vue

@@ -35,6 +35,8 @@
           v-model="item.para"
           @blur="onBlur(item, 'para')"
           :readonly="readonly"
+          maxlength="500"
+          show-word-limit
         ></el-input>
         <el-button
           size="small"
@@ -65,6 +67,8 @@
             placeholder="请输入中文"
             v-model="remark.chs"
             @blur="onBlur(remark, 'chs')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">
@@ -76,6 +80,8 @@
             placeholder="请输入英文"
             v-model="remark.en"
             @blur="onBlur(remark, 'en')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
       </div>

+ 2 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/Pinyin.vue

@@ -12,6 +12,8 @@
                 v-model="scope.row.pinyin"
                 placeholder="请输入拼音"
                 @blur="onBlur(scope.row, 'pinyin')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
             </template>
           </el-table-column>

+ 6 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/RoleChs.vue

@@ -10,6 +10,8 @@
         v-model="curRole.role"
         @change="changeRole"
         @blur="onBlur(curRole, 'role')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <span style="margin-right: 10px">或</span>
       <Upload
@@ -27,6 +29,8 @@
         placeholder="请输入内容"
         v-model="curRole.detail.fullName"
         @blur="onBlur(curRole.detail, 'fullName')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <el-button type="danger" @click="segWord(curRole.detail.fullName)"
         >分词</el-button
@@ -40,6 +44,8 @@
         v-model="curRole.detail.seg_words"
         @change="handleChange"
         @blur="onBlur(curRole.detail, 'seg_words')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <el-button type="danger" @click="_createPinyin">生成拼音</el-button>
     </div>

+ 8 - 0
src/components/Adult/inputModules/DialogueArticleChs/components/SegbywordChs.vue

@@ -25,6 +25,8 @@
           v-model="wordItem.sent_str"
           :readonly="!wordItem.isReadonly"
           @change="handleChange"
+          maxlength="1000"
+          show-word-limit
         ></el-input>
         <el-button
           type="danger"
@@ -71,6 +73,8 @@
             :autosize="{ minRows: 1 }"
             placeholder="请输入翻译"
             v-model="paraCon.sentencesEn[sentIndex]"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="NPC-words-box">
@@ -82,6 +86,8 @@
             v-model="paraCon.seg_words[sentIndex].sent_str"
             @click="handleChangeWords"
             @blur="onBlurIndex(sentIndex, 'seg_words')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <div class="NPC-gPinyin">
             <el-button type="danger" size="small" @click="_createPinyin"
@@ -106,6 +112,8 @@
                       v-model="scope.row.pinyin"
                       placeholder="请输入拼音"
                       @blur="onBlur(scope.row, 'pinyin')"
+                      maxlength="200"
+                      show-word-limit
                     ></el-input>
                   </template>
                 </el-table-column>

+ 6 - 0
src/components/Adult/inputModules/DialogueArticleChs/index.vue

@@ -13,6 +13,8 @@
         v-model="curQue.title"
         @blur="onBlur(curQue, 'number')"
         class="adult-book-input"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="Big-Book-img">
@@ -40,6 +42,8 @@
               v-model="artItem.imgNumber"
               size="mini"
               @input="forceUpdate"
+              maxlength="2"
+              show-word-limit
             ></el-input
             >段落的后面
           </p>
@@ -80,6 +84,8 @@
         placeholder="请输入文章提示"
         v-model="curQue.notice"
         @blur="onBlur(curQue, 'notice')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="NPC-Book-role">

+ 2 - 0
src/components/Adult/inputModules/DialogueTem/components/ArticleChs.vue

@@ -9,6 +9,8 @@
       placeholder="请输入文章"
       v-model="curQue.article"
       @blur="onBlur(curQue, 'article')"
+      maxlength="5000"
+      show-word-limit
     ></el-input>
     <div style="margin-top: 10px">
       <el-button type="primary" size="small" @click="createPara"

+ 2 - 0
src/components/Adult/inputModules/DialogueTem/components/ClauseresultChs.vue

@@ -19,6 +19,8 @@
           :readonly="item.isReadonly"
           @change="handleChange(item.para, index)"
           @blur="onBlur(item, 'para')"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <el-button
           v-if="item.isReadonly"

+ 2 - 0
src/components/Adult/inputModules/DialogueTem/components/CreatetimelistChs.vue

@@ -13,6 +13,8 @@
         placeholder="请输入内容"
         v-model="item.time_str"
         @blur="onBlur(item, 'time_str')"
+        maxlength="500"
+        show-word-limit
       ></el-input>
     </div>
   </div>

+ 6 - 0
src/components/Adult/inputModules/DialogueTem/components/ParagraphChs.vue

@@ -35,6 +35,8 @@
           v-model="item.para"
           @blur="onBlur(item, 'para')"
           :readonly="readonly"
+          maxlength="500"
+          show-word-limit
         ></el-input>
         <div>
           <el-button
@@ -73,6 +75,8 @@
             placeholder="请输入中文"
             v-model="remark.chs"
             @blur="onBlur(remark, 'chs')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">
@@ -84,6 +88,8 @@
             placeholder="请输入英文"
             v-model="remark.en"
             @blur="onBlur(remark, 'en')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
       </div>

+ 2 - 0
src/components/Adult/inputModules/DialogueTem/components/Pinyin.vue

@@ -12,6 +12,8 @@
                 v-model="scope.row.pinyin"
                 placeholder="请输入拼音"
                 @blur="onBlur(scope.row, 'pinyin')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
             </template>
           </el-table-column>

+ 6 - 0
src/components/Adult/inputModules/DialogueTem/components/RoleChs.vue

@@ -10,6 +10,8 @@
         v-model="curRole.role"
         @change="changeRole"
         @blur="onBlur(curRole, 'role')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <span style="margin-right: 10px">或</span>
       <Upload
@@ -27,6 +29,8 @@
         placeholder="请输入内容"
         v-model="curRole.detail.fullName"
         @blur="onBlur(curRole.detail, 'fullName')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <el-button type="danger" @click="segWord(curRole.detail.fullName)"
         >分词</el-button
@@ -40,6 +44,8 @@
         v-model="curRole.detail.seg_words"
         @change="handleChange"
         @blur="onBlur(curRole.detail, 'seg_words')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
       <el-button type="danger" @click="_createPinyin">生成拼音</el-button>
     </div>

+ 8 - 0
src/components/Adult/inputModules/DialogueTem/components/SegbywordChs.vue

@@ -25,6 +25,8 @@
           v-model="wordItem.sent_str"
           :readonly="!wordItem.isReadonly"
           @change="handleChange"
+          maxlength="1000"
+          show-word-limit
         ></el-input>
         <el-button
           type="danger"
@@ -72,6 +74,8 @@
             :autosize="{ minRows: 1 }"
             placeholder="请输入翻译"
             v-model="paraCon.sentencesEn[sentIndex]"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="NPC-words-box">
@@ -83,6 +87,8 @@
             v-model="paraCon.seg_words[sentIndex].sent_str"
             @click="handleChangeWords"
             @blur="onBlurIndex(sentIndex, 'seg_words')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <div class="NPC-gPinyin">
             <el-button type="danger" size="small" @click="_createPinyin"
@@ -107,6 +113,8 @@
                       v-model="scope.row.pinyin"
                       placeholder="请输入拼音"
                       @blur="onBlur(scope.row, 'pinyin')"
+                      maxlength="200"
+                      show-word-limit
                     ></el-input>
                   </template>
                 </el-table-column>

+ 6 - 0
src/components/Adult/inputModules/DialogueTem/index.vue

@@ -12,6 +12,8 @@
         placeholder="请输入文章提示"
         v-model="curQue.number"
         @blur="onBlur(curQue, 'number')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="Big-Book-mp3">
@@ -58,6 +60,8 @@
         placeholder="请输入文章提示"
         v-model="curQue.notice"
         @blur="onBlur(curQue, 'notice')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="NPC-Book-role">
@@ -148,6 +152,8 @@
         placeholder="请输入答案"
         v-model="curQue.answer"
         @blur="onBlur(curQue, 'answer')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
 

+ 2 - 0
src/components/Adult/inputModules/Drag.vue

@@ -57,6 +57,8 @@
             placeholder="请输入序号"
             v-model="item.number"
             @blur="onBlur(item, 'number')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <img
             @click="deleteCon(conIndex)"

+ 4 - 0
src/components/Adult/inputModules/InputRecord.vue

@@ -10,6 +10,8 @@
         placeholder="请输入页眉"
         v-model="curQue.guide"
         @blur="onBlur(curQue, 'guide')"
+        maxlength="200"
+        show-word-limit
       ></el-input>
     </div>
     <div class="adult-book-input-item">
@@ -21,6 +23,8 @@
         placeholder="请输入标题"
         v-model="curQue.title"
         @blur="onBlur(curQue, 'title')"
+        maxlength="500"
+        show-word-limit
       ></el-input>
     </div>
 

+ 6 - 0
src/components/Adult/inputModules/Ligature.vue

@@ -10,6 +10,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="curQue.title = curQue.title.trim()"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div
@@ -26,6 +28,8 @@
               placeholder="请输入问题标题"
               v-model="curQue.conTitle"
               @blur="curQue.conTitle = curQue.conTitle.trim()"
+              maxlength="200"
+              show-word-limit
             ></el-input>
           </div>
           <div v-for="(item, index) in curQue.con" :key="index">
@@ -48,6 +52,8 @@
               placeholder="请输入答案标题"
               v-model="curQue.optionTitle"
               @blur="curQue.optionTitle = curQue.optionTitle.trim()"
+              maxlength="200"
+              show-word-limit
             ></el-input>
           </div>
           <div v-for="(item, index) in curQue.option" :key="index">

+ 2 - 0
src/components/Adult/inputModules/Neword.vue

@@ -11,6 +11,8 @@
           @blur="onBlur(curQue, 'title')"
           class="adult-book-input"
           :autosize="{ minRows: 2 }"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div class="adult-book-input-item">

+ 10 - 0
src/components/Adult/inputModules/Notes.vue

@@ -10,6 +10,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div
@@ -26,6 +28,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.number"
             @blur="onBlur(curQueItem, 'number')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <el-button type="danger" size="small" @click="deleteGroup()"
             >删除</el-button
@@ -39,6 +43,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.con"
             @blur="onBlur(curQueItem, 'con')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">
@@ -49,6 +55,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.interpret"
             @blur="onBlur(curQueItem, 'interpret')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">
@@ -60,6 +68,8 @@
             placeholder="请输入内容"
             v-model="curQueItem.note"
             @blur="onBlur(curQueItem, 'note')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
         </div>
         <div class="adult-book-input-item">

+ 4 - 0
src/components/Adult/inputModules/NumberCombination.vue

@@ -11,6 +11,8 @@
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
           :autosize="{ minRows: 2 }"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div
@@ -28,6 +30,8 @@
             placeholder="请输入数字"
             v-model="curQueItem.con"
             @blur="onBlur(curQueItem, 'con')"
+            maxlength="200"
+            show-word-limit
           ></el-input>
           <!-- 
             @input="numberInput(index)"

+ 2 - 0
src/components/Adult/inputModules/Picture.vue

@@ -10,6 +10,8 @@
         placeholder="请输入标题"
         v-model="curQue.title"
         @blur="curQue.title = curQue.title.trim()"
+        maxlength="500"
+        show-word-limit
       ></el-input>
     </div>
     <div

+ 21 - 1
src/components/Adult/inputModules/PurePreview.vue

@@ -14,6 +14,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <template v-if="type == 'listen_record_single_syllable_chs'">
@@ -66,6 +68,8 @@
                 placeholder="请输入序号"
                 v-model="item.number"
                 @blur="onBlur(item, 'number')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               <img
                 @click="deleteOptionOne(index)"
@@ -86,6 +90,8 @@
                 placeholder="请输入英文"
                 v-model="item.en"
                 @blur="onBlur(item, 'en')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               <img
                 @click="deleteOptionOne(index)"
@@ -105,6 +111,8 @@
                 placeholder="请输入拼音"
                 v-model="item.pinyin"
                 @blur="onBlur(item, 'pinyin')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               <img
                 @click="deleteOptionOne(index)"
@@ -122,6 +130,8 @@
                 placeholder="请输入英文"
                 v-model="item.en"
                 @blur="onBlur(item, 'en')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
             </div>
             <div class="adult-book-input-item">
@@ -153,6 +163,8 @@
                   placeholder="请输入生字"
                   v-model="item.con"
                   @blur="onBlur(item, 'con')"
+                  maxlength="200"
+                  show-word-limit
                 ></el-input>
               </div>
               <div class="adult-book-input-item">
@@ -193,9 +205,11 @@
               class="adult-book-input"
               type="textarea"
               :autosize="{ minRows: 2 }"
-              placeholder="请输入拼音"
+              placeholder="请输入序号"
               v-model="item.number"
               @blur="onBlur(item, 'number')"
+              maxlength="200"
+              show-word-limit
             ></el-input>
             <img
               @click="deleteOptionOne(index)"
@@ -223,6 +237,8 @@
                 style="width: 200px"
                 v-model="curQue.wordTime[index].bg"
                 @blur="onBlur(curQue.wordTime[index], 'bg')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
               ~
               <el-input
@@ -231,6 +247,8 @@
                 type="textarea"
                 v-model="curQue.wordTime[index].ed"
                 @blur="onBlur(curQue.wordTime[index], 'ed')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
             </div>
           </div>
@@ -244,6 +262,8 @@
                 placeholder="请输入拼音"
                 v-model="it.pinyin"
                 @blur="onBlur(it, 'pinyin')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
 
               <img

+ 2 - 0
src/components/Adult/inputModules/SelfAssessment.vue

@@ -14,6 +14,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="curQue.title = curQue.title.trim()"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div

+ 2 - 0
src/components/Adult/inputModules/Sentence.vue

@@ -14,6 +14,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <template

+ 1 - 1
src/components/Adult/inputModules/SentenceSegwordChs/components/SegbywordChs.vue

@@ -48,7 +48,7 @@
             v-model="curQue.seg_words"
             @click="handleChangeWords"
             @blur="onBlur(curQue, 'seg_words')"
-            maxlength="500"
+            maxlength="200"
             show-word-limit
           ></el-input>
           <div class="NPC-gPinyin">

+ 6 - 0
src/components/Adult/inputModules/Single.vue

@@ -16,6 +16,8 @@
           placeholder="请输入题号"
           v-model="topic.topicNumber"
           @blur="topic.topicNumber = topic.topicNumber.trim()"
+          maxlength="200"
+          show-word-limit
         ></el-input>
         <img
           @click="deletetopic(toIndex)"
@@ -33,6 +35,8 @@
           placeholder="请输入标题"
           v-model="topic.title"
           @blur="topic.title = topic.title.trim()"
+          maxlength="500"
+          show-word-limit
         ></el-input>
         <img
           @click="deletetopic(toIndex)"
@@ -64,6 +68,8 @@
           placeholder="请输入题目"
           v-model="topic.topic.con"
           @blur="topic.topic.con = topic.topic.con.trim()"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div

+ 2 - 0
src/components/Adult/inputModules/Sort.vue

@@ -14,6 +14,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="curQue.title = curQue.title.trim()"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div

+ 2 - 0
src/components/Adult/inputModules/Sudoku.vue

@@ -11,6 +11,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <p>双击修改为提示</p>

+ 6 - 2
src/components/Adult/inputModules/ToneSelect.vue

@@ -11,6 +11,8 @@
           placeholder="请输入标题"
           v-model="curQue.title"
           @blur="onBlur(curQue, 'title')"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </div>
       <div class="adult-book-input-item">
@@ -72,9 +74,11 @@
         <div class="adult-book-input-item">
           <span class="adult-book-lable"></span>
           <span v-if="curQue.wordTime.length > 0" class="lrc">
-            <el-input v-model="curQue.wordTime[index].bg" size="small" />
+            <el-input v-model="curQue.wordTime[index].bg" size="small" maxlength="200"
+          show-word-limit />
             <span> ~ </span>
-            <el-input v-model="curQue.wordTime[index].ed" size="small" />
+            <el-input v-model="curQue.wordTime[index].ed" size="small" maxlength="200"
+          show-word-limit />
             {{ curQue.wordTime[index].text }}
           </span>
         </div>

+ 16 - 2
src/components/Adult/inputModules/VoiceMatrix.vue

@@ -107,6 +107,8 @@
             :disabled="!curQue.voiceMatrix.isAudioNumber"
             size="small"
             :style="{ width: '60px' }"
+            maxlength="200"
+            show-word-limit
           />
         </div>
         <div class="matrix">
@@ -141,9 +143,11 @@
                   v-if="Object.keys(column.lrc_data).length > 0"
                   class="lrc"
                 >
-                  <el-input v-model="column.lrc_data.begin_time" size="small" />
+                  <el-input v-model="column.lrc_data.begin_time" size="small" maxlength="200"
+        show-word-limit />
                   <span> ~ </span>
-                  <el-input v-model="column.lrc_data.end_time" size="small" />
+                  <el-input v-model="column.lrc_data.end_time" size="small" maxlength="200"
+        show-word-limit />
                   {{ column.lrc_data.text }}
                 </span>
               </div>
@@ -153,6 +157,8 @@
                   v-if="column.type === 'text'"
                   v-model="column.text"
                   size="small"
+                  maxlength="200"
+                  show-word-limit
                 />
 
                 <span v-else-if="column.type === 'connection'">-</span>
@@ -167,11 +173,15 @@
                   <el-input
                     v-model="column.pinyin_english_data.pinyin"
                     size="small"
+                    maxlength="200"
+                    show-word-limit
                   />
                   <span class="pinyin-english-label">英文</span>
                   <el-input
                     v-model="column.pinyin_english_data.english"
                     size="small"
+                    maxlength="200"
+                    show-word-limit
                   />
                 </template>
 
@@ -179,11 +189,15 @@
                   <el-input
                     v-model="column.text_brackets.brackets_outer"
                     size="small"
+                    maxlength="200"
+                    show-word-limit
                   />
                   <span>&nbsp;[&nbsp;</span>
                   <el-input
                     v-model="column.text_brackets.brackets_inner"
                     size="small"
+                    maxlength="200"
+                    show-word-limit
                   />
                   <span>&nbsp;]</span>
                 </template>

+ 2 - 0
src/components/Adult/inputModules/ZiLine.vue

@@ -138,6 +138,8 @@
                 placeholder="请输入标题"
                 v-model="dialogData.number"
                 @blur="onBlur(dialogData, 'number')"
+                maxlength="200"
+                show-word-limit
               ></el-input>
             </div>
             <div v-for="(item, index) in dialogData.list" :key="'h' + index">

+ 6 - 1
src/components/Adult/preview/TableView.vue

@@ -24,7 +24,7 @@
               {{ col.con }}
             </template>
             <template v-else>
-                <div v-html="curQue.Bookanswer[rowIndex][colIndex]" contenteditable="true" placeholder="输入" class="input"></div>
+                <div v-html="curQue.Bookanswer[rowIndex][colIndex]" contenteditable="true" placeholder="输入" class="input" @input="handleMaxlength" ></div>
               <!-- <input type="text" v-model="col.con" /> -->
             </template>
           </td>
@@ -70,6 +70,11 @@ export default {
   //方法集合
   methods: {
     handleWav(data) {},
+    handleMaxlength(e){
+        if(e.target.innerHTML.length>200){
+            e.target.innerHTML = e.target.innerHTML.substring(0, 200);
+        }
+    },
   },
   //生命周期 - 创建完成(可以访问当前this实例)
   created() {

+ 2 - 2
src/views/adultInput.vue

@@ -466,7 +466,7 @@
                   </template>
                   <template v-else> </template>
                 </template>
-                <template v-if="topicIitem.type == 'drag_chs'">
+                <!-- <template v-if="topicIitem.type == 'drag_chs'">
                   <template v-if="topicIitem.is_edit">
                     <Drag
                       :curQue="topicIitem.data"
@@ -476,7 +476,7 @@
                     />
                   </template>
                   <template v-else> </template>
-                </template>
+                </template> -->
                 <template
                   v-if="topicIitem.type == 'checkbox_self_assessment_chs'"
                 >