|
|
@@ -345,12 +345,15 @@ export default {
|
|
|
this.requiredMessage = '请选择' + optionList[val].customerClueName;
|
|
|
return;
|
|
|
} else if (optionList[val].isMust == '0' && optionList[val].searchValue) {
|
|
|
+ // 子级题校验
|
|
|
let customerClueOptionList = optionList[val].customerClueOptionList;
|
|
|
for (let i = 0; i < customerClueOptionList.length; i++) {
|
|
|
+ // 选中的题目Y:选中,N:未选中
|
|
|
if (customerClueOptionList[i].value == 'Y') {
|
|
|
if (customerClueOptionList[i].customerClueItemList) {
|
|
|
// 必填校验
|
|
|
this.isRequiredFlag(customerClueOptionList[i].customerClueItemList);
|
|
|
+ // 赋值选中题
|
|
|
let customerClueItemList =
|
|
|
params.customerClueItemList[val].customerClueOptionList[i].customerClueItemList;
|
|
|
customerClueItemList.push(
|
|
|
@@ -389,7 +392,9 @@ export default {
|
|
|
// console.log(optionList);
|
|
|
for (let i = 0; i < optionList.length; i++) {
|
|
|
if (
|
|
|
- (optionList[i].answerType == 'wb' || optionList[i].answerType == 'wb') &&
|
|
|
+ (optionList[i].answerType == 'wb' ||
|
|
|
+ optionList[i].answerType == 'sz' ||
|
|
|
+ optionList[i].answerType == 'zp') &&
|
|
|
optionList[i].isMust == 0
|
|
|
) {
|
|
|
if (!optionList[i].answerValue) {
|