|
|
@@ -4041,7 +4041,7 @@ export default {
|
|
|
// 且只可输入:汉字、数字、字母、标点符号, 特殊字符:空格、换行、表情等不可输入
|
|
|
dhwbFormatter(value) {
|
|
|
return value.replace(
|
|
|
- /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030|\s*/gi,
|
|
|
+ /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030|\s*/gi,
|
|
|
''
|
|
|
);
|
|
|
},
|
|
|
@@ -4175,14 +4175,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- // // dhwb 初始化内容校验
|
|
|
- // if (collectionItemLists[q].answerType == 'dhwb') {
|
|
|
- // this.DHWBsizeComparison(collectionItemLists[q], 'A');
|
|
|
- // }
|
|
|
- // // sz 初始化内容校验
|
|
|
- // if (collectionItemLists[q].answerType == 'sz') {
|
|
|
- // this.SZsizeComparison(collectionItemLists[q], 'A');
|
|
|
- // }
|
|
|
+ // dhwb 初始化内容校验
|
|
|
+ if (collectionItemLists[q].answerType == 'dhwb') {
|
|
|
+ this.DHWBsizeComparison(collectionItemLists[q], 'A');
|
|
|
+ }
|
|
|
+ // sz 初始化内容校验
|
|
|
+ if (collectionItemLists[q].answerType == 'sz') {
|
|
|
+ this.SZsizeComparison(collectionItemLists[q], 'A');
|
|
|
+ }
|
|
|
if (
|
|
|
collectionItemLists[q].answerType == 'duox' ||
|
|
|
collectionItemLists[q].answerType == 'dx'
|
|
|
@@ -4219,14 +4219,14 @@ export default {
|
|
|
listchild[qq1].answerValue = '';
|
|
|
}
|
|
|
}
|
|
|
- // // dhwb 初始化内容校验
|
|
|
- // if (listchild[qq1].answerType == 'dhwb') {
|
|
|
- // this.DHWBsizeComparison(listchild[qq1]);
|
|
|
- // }
|
|
|
- // // sz 初始化内容校验
|
|
|
- // if (listchild[qq1].answerType == 'sz') {
|
|
|
- // this.SZsizeComparison(listchild[qq1]);
|
|
|
- // }
|
|
|
+ // dhwb 初始化内容校验
|
|
|
+ if (listchild[qq1].answerType == 'dhwb') {
|
|
|
+ this.DHWBsizeComparison(listchild[qq1]);
|
|
|
+ }
|
|
|
+ // sz 初始化内容校验
|
|
|
+ if (listchild[qq1].answerType == 'sz') {
|
|
|
+ this.SZsizeComparison(listchild[qq1]);
|
|
|
+ }
|
|
|
if (listchild[qq1].answerType == 'sm') {
|
|
|
listchild[qq1].success = false;
|
|
|
if (listchild[qq1].collectionOptionList[0].answerValue != null) {
|
|
|
@@ -4367,14 +4367,14 @@ export default {
|
|
|
list3[l3].collectionItems[l3q].answerValue = '';
|
|
|
}
|
|
|
}
|
|
|
- // // dhwb 初始化内容校验
|
|
|
- // if (list3[l3].collectionItems[l3q].answerType == 'dhwb') {
|
|
|
- // this.DHWBsizeComparison(list3[l3].collectionItems[l3q]);
|
|
|
- // }
|
|
|
- // // sz 初始化内容校验
|
|
|
- // if (list3[l3].collectionItems[l3q].answerType == 'sz') {
|
|
|
- // this.SZsizeComparison(list3[l3].collectionItems[l3q]);
|
|
|
- // }
|
|
|
+ // dhwb 初始化内容校验
|
|
|
+ if (list3[l3].collectionItems[l3q].answerType == 'dhwb') {
|
|
|
+ this.DHWBsizeComparison(list3[l3].collectionItems[l3q]);
|
|
|
+ }
|
|
|
+ // sz 初始化内容校验
|
|
|
+ if (list3[l3].collectionItems[l3q].answerType == 'sz') {
|
|
|
+ this.SZsizeComparison(list3[l3].collectionItems[l3q]);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// console.log(list3[l3])
|
|
|
@@ -5122,11 +5122,9 @@ export default {
|
|
|
this.filterCollectionInfos(collectionItemList.collectionOptionList[x]);
|
|
|
}
|
|
|
} else {
|
|
|
- // dhwb 初始化内容校验
|
|
|
if (collectionItemList.answerType == 'dhwb') {
|
|
|
this.DHWBsizeComparison(collectionItemList, type);
|
|
|
}
|
|
|
- // sz 初始化内容校验
|
|
|
if (collectionItemList.answerType == 'sz') {
|
|
|
this.SZsizeComparison(collectionItemList, type);
|
|
|
}
|