|
@@ -43,10 +43,6 @@ export const clewMixins = {
|
|
|
// 选中的题目Y:选中,N:未选中
|
|
// 选中的题目Y:选中,N:未选中
|
|
|
if (customerClueOptionList[i].value == 'Y') {
|
|
if (customerClueOptionList[i].value == 'Y') {
|
|
|
if (customerClueOptionList[i].customerClueItemList) {
|
|
if (customerClueOptionList[i].customerClueItemList) {
|
|
|
- console.log(customerClueOptionList[i].customerClueItemList);
|
|
|
|
|
- if (optionList[val].customerClueName == '填写服务商代码(例:FSQ0000031)') {
|
|
|
|
|
- optionList[val].answerValue = 'FSQ' + optionList[val].answerValue;
|
|
|
|
|
- }
|
|
|
|
|
// 必填校验
|
|
// 必填校验
|
|
|
this.isRequiredFlag(customerClueOptionList[i].customerClueItemList);
|
|
this.isRequiredFlag(customerClueOptionList[i].customerClueItemList);
|
|
|
// 赋值选中题
|
|
// 赋值选中题
|
|
@@ -80,6 +76,12 @@ export const clewMixins = {
|
|
|
if (key == 'customerClueOptionList' || key == 'customerClueItemList') {
|
|
if (key == 'customerClueOptionList' || key == 'customerClueItemList') {
|
|
|
num = num + 1;
|
|
num = num + 1;
|
|
|
}
|
|
}
|
|
|
|
|
+ // 填写服务商代码 answerValue 添加 FSQ
|
|
|
|
|
+ if (key == 'customerClueName') {
|
|
|
|
|
+ if (obj[key] == '填写服务商代码(例:FSQ0000031)') {
|
|
|
|
|
+ obj['answerValue'] = 'FSQ' + obj['answerValue'];
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
copy[key] = this.deepClone(obj[key], num);
|
|
copy[key] = this.deepClone(obj[key], num);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|