index.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. export const projectData = {
  2. props: {
  3. // 视图数据源
  4. tableData: {
  5. type: Array,
  6. default: () => {
  7. return []
  8. }
  9. },
  10. // 分页信息
  11. queryParams: {
  12. type: Object,
  13. default: () => {
  14. return {
  15. current: 1,
  16. size: 10
  17. }
  18. }
  19. },
  20. // 栏位
  21. column: {
  22. type: Array,
  23. default: () => {
  24. return []
  25. }
  26. },
  27. //专利号
  28. projectId: {
  29. default: 0
  30. },
  31. //选择专利
  32. refresh: {
  33. default: false
  34. },
  35. patentNoList: {
  36. type: Array,
  37. default: () => {
  38. return []
  39. }
  40. },
  41. outside: {
  42. default: false
  43. },
  44. },
  45. data() {
  46. return {
  47. }
  48. },
  49. mounted() {
  50. },
  51. methods: {
  52. // 点击专利号
  53. handleClick(row, index) {
  54. var location = (index + 1) + ((this.queryParams.current - 1) * this.queryParams.size)
  55. this.$emit('clickPatentNo', row, location)
  56. },
  57. changeSelect(patent) {
  58. const index1 = this.patentNoList.indexOf(patent.patentNo)
  59. if (index1 === -1) {
  60. this.patentNoList.push(patent.patentNo)
  61. } else {
  62. this.patentNoList.splice(index1, 1)
  63. }
  64. this.$emit('addSelect', patent.patentNo)
  65. }
  66. },
  67. }
  68. import { mapGetters } from "vuex"
  69. export const handleData = {
  70. // mixins: [highlight],
  71. props: {
  72. },
  73. data() {
  74. return {
  75. //专利类型
  76. patentType: {
  77. 1: '发明',
  78. 8: '发明',
  79. 2: '实用新型',
  80. 9: '实用新型',
  81. 3: '外观',
  82. },
  83. // 专利状态
  84. simpleStatus: {
  85. 1: '有效',
  86. 2: '无效',
  87. 3: '审中',
  88. },
  89. // 法律状态(暂定)
  90. legalStatus: {
  91. 1: '有效',
  92. 2: '无效',
  93. 3: '审中',
  94. },
  95. }
  96. },
  97. computed: {
  98. ...mapGetters(['highlight'])
  99. },
  100. mounted() {
  101. },
  102. methods: {
  103. getCustomView(row,field){
  104. var data = row.customFields
  105. if(data && data.length>0){
  106. var fieldId = field.value
  107. var fieldType = field.type
  108. var obj = data.find(item=>{
  109. return item.field == fieldId && item.fieldType == fieldType
  110. })
  111. if(obj){
  112. var arr = obj.fieldValueVOS
  113. var text = arr.map(item=>item.value).join('<br>')
  114. return this.getViewDom(text, null)
  115. }
  116. return ''
  117. }
  118. return ''
  119. },
  120. getView(row, key, type, prop, data) {
  121. var obj = {
  122. type: type ? type : 'String',
  123. value: key
  124. }
  125. if (row) {
  126. const change2 = row.change2
  127. const change = row.change
  128. switch (key) {
  129. case "title":
  130. // prop = !change ? "content" : "contentOut"
  131. // obj.type = 'Object'
  132. var arr = row.title
  133. if (!arr) {
  134. text = ''
  135. break
  136. }
  137. if (!change) {
  138. var obj = arr.find(item => {
  139. return item.if_origin
  140. })
  141. var text = ''
  142. if (obj) {
  143. text = obj.text_content
  144. }
  145. } else {
  146. var obj = arr.find(item => {
  147. return !item.if_origin && item.language == 'CN'
  148. })
  149. var text = ''
  150. if (obj) {
  151. text = obj.text_content
  152. }
  153. }
  154. break
  155. case "abstractStr":
  156. // prop = !change2 ? "content" : "contentOut"
  157. // obj.type = 'Object'
  158. var arr = row.abstractStr
  159. if (!arr) {
  160. text = ''
  161. break
  162. }
  163. if (!change2) {
  164. var obj = arr.find(item => {
  165. return item.if_origin
  166. })
  167. var text = ''
  168. if (obj) {
  169. text = obj.text_content
  170. }
  171. } else {
  172. var obj = arr.find(item => {
  173. return !item.if_origin && item.language == 'CN'
  174. })
  175. var text = ''
  176. if (obj) {
  177. text = obj.text_content
  178. }
  179. }
  180. break;
  181. case "mipc"://ipc
  182. case 'inventor'://发明人
  183. case 'applicant'://申请人
  184. case 'rightHolder'://权利人
  185. let ipcArr = []
  186. for (let k in row[key]) {
  187. ipcArr.push(row[key][k])
  188. }
  189. // row[`${key}2`] = ipcArr
  190. // obj.value = `${key}2`
  191. // obj.type = 'Array'
  192. // var text = this.$commonJS.getColumnData(row, obj, prop, data)
  193. var text = ipcArr.join('、')
  194. break;
  195. case 'legalStatus'://法律状态
  196. case 'simpleStatus'://专利状态
  197. case 'patentType'://专利类型
  198. var text = this[key][row[key]]
  199. break;
  200. default:
  201. var text = this.$commonJS.getColumnData(row, obj, prop, data)
  202. break
  203. }
  204. // var text = this.$commonJS.getColumnData(row, obj, prop, data)
  205. // console.log(text,key);
  206. return this.getViewDom(text, type)
  207. }
  208. },
  209. getViewDom(text, field,) {
  210. if (!text) {
  211. return ""
  212. }
  213. var obj = null
  214. switch (field) {
  215. case '权利要求原文':
  216. obj = text.find(item => {
  217. return item.if_origin
  218. })
  219. if(obj){
  220. var currentText = obj.text_content
  221. text = currentText.replace(/(\t)+/g,'<br/>')
  222. }else{
  223. text = ''
  224. }
  225. break;
  226. case '权利要求译文':
  227. obj = text.find(item => {
  228. return item.if_origin == false
  229. })
  230. if(obj){
  231. var currentText = obj.text_content
  232. text = currentText.replace(/(\t)+/g,'<br/>')
  233. }else{
  234. text = ''
  235. }
  236. break;
  237. case '说明书文本原文':
  238. obj = text.find(item => {
  239. return item.if_origin
  240. })
  241. if(obj){
  242. text = obj.text_content.replace(/(\r\n)+/g,'<br/>')
  243. }else {
  244. text = ''
  245. }
  246. break;
  247. case '说明书文本译文':
  248. obj = text.find(item => {
  249. return item.if_origin == false
  250. })
  251. if(obj){
  252. text = obj.text_content.replace(/(\r\n)+/g,'<br/>')
  253. }else {
  254. text = ''
  255. }
  256. break;
  257. default:
  258. break;
  259. }
  260. if (!text) {
  261. return ""
  262. }
  263. if (this.patent && this.patent.patentNo && field) {
  264. // SET_PATENT_OPINION_CONTRAST
  265. var arr = ['piZhuContrastList', 'contrastList', 'opinionContrastList']
  266. arr.forEach((item, index) => {
  267. if (this.highlight[item].length > 0) {
  268. text = this.getObject(item, index, text, field)
  269. }
  270. });
  271. }
  272. if (!this.highlight.patentHightLight.ifEnable || !text) {
  273. return text
  274. }
  275. try {
  276. this.highlight.patentHightLight.configs.map(item => {
  277. const keywords = item.keywords.split(';')
  278. for (let keyword of keywords) {
  279. if (!keyword) {
  280. continue
  281. }
  282. let sText = text
  283. let num = -1
  284. const rStr = new RegExp(keyword, "g")
  285. const rHtml = new RegExp("\<.*?\>", "ig")
  286. const sKey = `<span style="background: ${item.color};color: #fff">${keyword}</span>`
  287. const aHtml = sText.match(rHtml)
  288. sText = sText.replace(rHtml, '{~}')
  289. sText = sText.replace(rStr, sKey)
  290. sText = sText.replace(/{~}/g, () => {
  291. num++
  292. return aHtml[num]
  293. })
  294. text = sText
  295. }
  296. })
  297. } catch (e) {
  298. }
  299. // console.log(text);
  300. return text
  301. },
  302. getObject(key, index, text, field) {
  303. var arr1 = ['color', 'Type', 'Id', 'column', 'index', 'text', 'remark', 'temNode', 'selectType']
  304. var obj = {
  305. // 'piZhuContrastList': ['color', 'scratchType', 'id', 'scratchField', 'position', 'text', 'remark'],
  306. 'piZhuContrastList': ['markColor', 'markType', 'id', 'markSelectField', 'markSite', 'markSelectText', 'markNoteText'],
  307. 'contrastList': ['markColor', 'markType', 'id', 'fieldName', 'position', 'evidenceText'],
  308. // 'opinionContrastList': ['color', 'scratchType', 'id', 'scratchField', 'position', 'content'],
  309. 'opinionContrastList': ['markColor', 'markType', 'id', 'scratchField', 'position', 'content'],
  310. }
  311. var selectType = ['p', 'c', 'o']
  312. var row = this.highlight[key]
  313. if (row.length > 0) {
  314. for (let i = 0; i < row.length; i++) {
  315. if (row[i].patentNo == this.patent.patentNo || (key == 'contrastList'&& (this.patent.patentNo != this.signPatentNo) && this.evidence && row[i].literatureId == this.evidence.id)) {
  316. if (row[i][obj[key][3]].indexOf(field) != -1) {
  317. var a = {}
  318. a.Type = 1
  319. obj[key].forEach((item, index1) => {
  320. if (item) {
  321. if (arr1[index1] == 'index') {
  322. a[arr1[index1]] = Number(row[i][item])
  323. } else {
  324. a[arr1[index1]] = row[i][item]
  325. }
  326. }
  327. });
  328. a.temNode = text
  329. a.selectType = selectType[index]
  330. text = this.AddClass1(a);
  331. }
  332. }
  333. }
  334. return text
  335. }
  336. },
  337. //切换原文译文
  338. handleChange(row, key) {
  339. if(!this.haveTranslatedText(row, key)){
  340. this.$message.warning('无译文')
  341. return
  342. }
  343. switch (key) {
  344. case "title":
  345. this.$set(row, 'change', !row.change)
  346. break
  347. case "abstractStr":
  348. this.$set(row, 'change2', !row.change2)
  349. // row.change2 = !row.change2
  350. break
  351. }
  352. },
  353. //判断是否有译文
  354. haveTranslatedText(row,key){
  355. var arr = row[key]
  356. if (!arr) {
  357. return ''
  358. }
  359. var obj = arr.find(item => {
  360. return !item.if_origin && item.language == 'CN'
  361. })
  362. var text = ''
  363. if (obj) {
  364. text = obj.text_content
  365. }
  366. return text
  367. },
  368. },
  369. }
  370. export const highlight = {
  371. data() {
  372. return {
  373. }
  374. },
  375. computed: {
  376. // piZhuContrastList() {
  377. // return this.$store.state.highlight.piZhuContrastList
  378. // },
  379. // contrastList() {
  380. // return this.$store.state.highlight.contrastList
  381. // },
  382. // opinionContrastList() {
  383. // return this.$store.state.highlight.opinionContrastList
  384. // },
  385. },
  386. mounted() {
  387. window.mouseenter1 = this.mouseenter1
  388. window.mouseleave1 = this.mouseleave1
  389. },
  390. methods: {
  391. mouseenter1(e, id, selectType) {
  392. var dom = document.getElementsByClassName(id)
  393. var message = this.getMessage(id, selectType)
  394. // 普通for循环可以拿到dom节点,forEach是拿不到dom节点
  395. for (let i = 0; i < dom.length - 1; i++) {
  396. dom[i].classList.add('greenColor')
  397. this.getChildNodesAdd(dom[i].childNodes)
  398. }
  399. // e.target是获取当前的,dom获取的是所有的class相同的节点
  400. e.target.parentNode.classList.add("pizhuLightHeigh");
  401. if (message.remark) {
  402. e.target.parentNode.appendChild(this.addPara(message.remark, e));
  403. }
  404. },
  405. getMessage(id, selectType) {
  406. var Id = id.substring(1, id.length)
  407. var messageItem = {}
  408. if (selectType == 'p') {//批注
  409. var messageItem = this.highlight.piZhuContrastList.find(item => {
  410. return item.id == Id
  411. })
  412. } else if (selectType == 'c') {//对比
  413. var messageItem = this.highlight.contrastList.find(item => {
  414. return item.id == Id
  415. })
  416. } else if (selectType == 'o') {//
  417. var messageItem = this.highlight.opinionContrastList.find(item => {
  418. return item.id == Id
  419. })
  420. }
  421. return messageItem
  422. },
  423. // 添加背景色
  424. getChildNodesAdd(dom) {
  425. if (dom.length > 0) {
  426. for (let m = 0; m < dom.length; m++) {
  427. if (dom[m].nodeType == 1) {
  428. dom[m].classList.add('greenColor')
  429. }
  430. if (dom[m].childNodes.length > 0) {
  431. this.getChildNodesAdd(dom[m].childNodes)
  432. }
  433. }
  434. }
  435. },
  436. addPara(val, e) {
  437. //创建div标签
  438. var p = document.createElement("div");
  439. //添加class
  440. p.classList.add('showPiZhu')
  441. if (e.clientY - 200 < 200 && e.clientX + 200 > document.documentElement.clientWidth) {
  442. p.setAttribute('style', 'left:-200px')
  443. } else if ((e.clientX + 200 > document.documentElement.clientWidth && e.clientY + 200 > document.documentElement.clientHeight) || e.clientX + 200 > document.documentElement.clientWidth) {
  444. p.setAttribute('style', 'bottom:25px;left:-200px;')
  445. } else if ((e.clientY + 200 > document.documentElement.clientHeight && e.clientX - 200 < 200) || (e.clientY + 200 > document.documentElement.clientHeight && e.clientX - 200 > 200)) {
  446. p.setAttribute('style', 'bottom:20px;left:10px')
  447. }
  448. //创建文本节点
  449. var text = document.createTextNode(val);
  450. //将文本节点追加到元素节点中
  451. p.appendChild(text);
  452. return p
  453. },
  454. mouseleave1(e, id, selectType) {
  455. var dom = document.getElementsByClassName(id)
  456. e.target.parentNode.classList.remove("pizhuLightHeigh");
  457. var message = this.getMessage(id, selectType)
  458. if (message.remark) {
  459. document.getElementsByClassName('showPiZhu')[0].remove()
  460. }
  461. for (let i = 0; i < dom.length - 1; i++) {
  462. dom[i].classList.remove('greenColor')
  463. this.getChildNodesRemove(dom[i].childNodes)
  464. }
  465. },
  466. // 删除背景色
  467. getChildNodesRemove(dom) {
  468. if (dom.length > 0) {
  469. for (let m = 0; m < dom.length; m++) {
  470. if (dom[m].nodeType == 1) {
  471. dom[m].classList.remove('greenColor')
  472. }
  473. if (dom[m].childNodes.length > 0) {
  474. this.getChildNodesRemove(dom[m].childNodes)
  475. }
  476. }
  477. }
  478. },
  479. AddClass1(selectObject) {
  480. let el = selectObject.temNode;
  481. // 将当前页面获取到的字符串进行处理,返回当前页面所有的标签及文本
  482. var splitStrings = this.SplitHtmlTag1(el);
  483. let bgColor = selectObject.color;
  484. if (!bgColor) {
  485. selectObject.color = 'yellow'
  486. }
  487. // 添加线及高亮(2:波浪线,0:下划线,1:高亮)
  488. var style = ''
  489. switch (selectObject.Type + '') {
  490. case '0'://下划线
  491. style = `text-decoration-line: underline;text-decoration-color: ${selectObject.color}`
  492. break;
  493. case '1'://高亮
  494. style = `background-color:${selectObject.color}`
  495. break;
  496. case '2'://波浪线
  497. style = `text-decoration-line: underline;text-decoration-style: wavy ;text-decoration-color: ${selectObject.color}`
  498. break;
  499. case '5'://加粗
  500. style = `font-weight: bold;`
  501. break;
  502. }
  503. let startTag = `<span class="${selectObject.selectType + selectObject.Id}" id="${selectObject.selectType + selectObject.Id}" style="${style}">`
  504. //图标
  505. var a = 'icon-xinxi3'
  506. switch (selectObject.selectType) {
  507. case 'p'://批注
  508. a = 'iconfont icon-xinxi3'
  509. break;
  510. case 'c'://对比
  511. a = 'el-icon-location-outline'
  512. break;
  513. case 'o'://陈述意见
  514. a = 'iconfont icon-xinxi2'
  515. break;
  516. case 'r'://特征
  517. break
  518. }
  519. var imgTag = `<span class="${selectObject.selectType + selectObject.Id}" style="background-color:white !important;"><i class="${a}" style="vertical-align: super;background-color:white !important;" onclick="vm.selectMark('${selectObject.selectType + selectObject.Id}','${selectObject.selectType}')" onmouseenter="mouseenter1(event,'${selectObject.selectType + selectObject.Id}','${selectObject.selectType}')" onmouseleave="mouseleave1(event,'${selectObject.selectType + selectObject.Id}','${selectObject.selectType}')"></i></span>`
  520. if (selectObject.selectType == 'r') {//特征
  521. imgTag = `<span class="${selectObject.selectType + selectObject.Id}" style="background-color:white !important;"><i class="el-icon-delete" style="vertical-align: super;background-color:white !important;" onclick="deleteFeature('${selectObject.selectType + selectObject.Id}','${selectObject.selectType}')"></i></span>`
  522. }
  523. if(!selectObject.selectType){
  524. imgTag = ''
  525. }
  526. let endTag = '</span>';
  527. let elText = '';
  528. splitStrings.forEach(function (item) {
  529. if (item.type == 'text') {
  530. elText = elText + item.text;
  531. }
  532. });
  533. let Indexs = [];
  534. let i = 0
  535. if (selectObject.index < 0) {
  536. let pattern = new RegExp(selectObject.text.replace(/[\r\n]/g, "").replace(/\ +/g, ""), "g");
  537. while ((match = pattern.exec(elText)) != null) {
  538. Indexs[i] = match;
  539. i++;
  540. }
  541. } else {
  542. Indexs[i] = [selectObject.text];
  543. Indexs[i].index = selectObject.index;
  544. }
  545. Indexs.forEach(function (match) {
  546. let currentIndex = 0;
  547. let temSplitStrings = new Array();
  548. splitStrings.forEach(function (item) {
  549. if (item.type == 'text') {
  550. if (item.text) {
  551. if (match.index >= currentIndex && match.index < (currentIndex + item.text.length)) {
  552. if ((match.index + match[0].length) <= (currentIndex + item.text.length) && item.text.indexOf(match[0]) != -1) {
  553. if (match.index > currentIndex) {
  554. temSplitStrings.push({ text: item.text.substring(0, match.index - currentIndex), type: 'text' });
  555. }
  556. temSplitStrings.push({ text: startTag, type: 'tag' });
  557. temSplitStrings.push({ text: match[0], type: 'text' });
  558. temSplitStrings.push({ text: imgTag, type: 'tag' });
  559. // }
  560. temSplitStrings.push({ text: endTag, type: 'tag' });
  561. if ((match.index + match[0].length) < (currentIndex + item.text.length)) {
  562. temSplitStrings.push({ text: item.text.substring((match.index + match[0].length) - currentIndex), type: 'text' });
  563. }
  564. } else {
  565. if (item.text.indexOf(match[0]) != -1) {
  566. if (match.index > currentIndex) {
  567. temSplitStrings.push({ text: item.text.substring(0, match.index - currentIndex), type: 'text' });
  568. }
  569. if (temSplitStrings.length > 1) {
  570. temSplitStrings.push({ text: startTag, type: 'tag' });
  571. } else {
  572. temSplitStrings.push({ text: startTag, type: 'tag' });
  573. }
  574. temSplitStrings.push({ text: item.text.substring(match.index - currentIndex), type: 'text' });
  575. temSplitStrings.push({ text: endTag, type: 'tag' });
  576. } else {
  577. // console.log(temSplitStrings,match.index,item.text,currentIndex,match[0])
  578. // debugger
  579. temSplitStrings.push({ text: item.text.substring(0, match.index - currentIndex), type: 'text' });
  580. temSplitStrings.push({ text: startTag, type: 'tag' });
  581. temSplitStrings.push({ text: item.text.substring(match.index - currentIndex, item.text.length), type: 'text' });
  582. // temSplitStrings.push({ text: imgTag, type: 'tag' });
  583. temSplitStrings.push({ text: endTag, type: 'tag' });
  584. // return false
  585. // temSplitStrings.push(item);
  586. }
  587. }
  588. } else {
  589. if ((match.index + match[0].length) <= (currentIndex + item.text.length) && (match.index + match[0].length) > currentIndex) {
  590. temSplitStrings.push({ text: startTag, type: 'tag' });
  591. temSplitStrings.push({ text: item.text.substring(0, match.index + match[0].length - currentIndex), type: 'text' });
  592. temSplitStrings.push({ text: imgTag, type: 'tag' });
  593. temSplitStrings.push({ text: endTag, type: 'tag' });
  594. if ((match.index + match[0].length) < (currentIndex + item.text.length)) {
  595. temSplitStrings.push({ text: item.text.substring((match.index + match[0].length - currentIndex)), type: 'text' });
  596. }
  597. } else {
  598. if (match.index < currentIndex && (match.index + match[0].length) >= (currentIndex + item.text.length)) {
  599. temSplitStrings.push({ text: startTag, type: 'tag' });
  600. temSplitStrings.push(item);
  601. temSplitStrings.push({ text: endTag, type: 'tag' });
  602. } else {
  603. temSplitStrings.push(item);
  604. }
  605. }
  606. }
  607. currentIndex = currentIndex + item.text.length;
  608. } else {
  609. temSplitStrings.push(item);
  610. }
  611. } else {
  612. temSplitStrings.push(item);
  613. }
  614. });
  615. splitStrings = temSplitStrings;
  616. });
  617. let temInnerHtml = '';
  618. splitStrings.forEach(function (item) {
  619. temInnerHtml = temInnerHtml + item.text;
  620. });
  621. return temInnerHtml;
  622. },
  623. SplitHtmlTag1(el) {
  624. let temInnerHtml = el.trim();
  625. let pattern = /<[^>]+>/g;
  626. let Indexs = [];
  627. let i = 0
  628. var match = null
  629. while ((match = pattern.exec(temInnerHtml)) != null) {
  630. Indexs[i] = match;
  631. i++;
  632. }
  633. var splitStrings = new Array();
  634. i = 0;
  635. var currentIndex = 0;
  636. for (var index = 0; index < Indexs.length; index++) {
  637. if (Indexs[index].index > currentIndex) {
  638. splitStrings[i] = { "text": temInnerHtml.substring(currentIndex, Indexs[index].index), "type": "text" };
  639. i++;
  640. splitStrings[i] = { "text": Indexs[index][0], "type": "tag" };
  641. i++;
  642. } else {
  643. splitStrings[i] = { "text": Indexs[index][0], "type": "tag" };
  644. i++;
  645. }
  646. currentIndex = Indexs[index].index + Indexs[index][0].length;
  647. }
  648. if (currentIndex < temInnerHtml.length) {
  649. splitStrings[i] = { "text": temInnerHtml.substring(currentIndex, temInnerHtml.length), "type": "text" };
  650. }
  651. return splitStrings;
  652. },
  653. },
  654. }