|
@@ -30,9 +30,11 @@ Page({
|
|
answerstr+=this.servantlist[i].subjectList[j].answer[t].answer+',';
|
|
answerstr+=this.servantlist[i].subjectList[j].answer[t].answer+',';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ console.log(answerstr);
|
|
servantselectedlist.push({answer: [answerstr],customAnswer: this.servantlist[i].subjectList[j].subject,subjectId: this.servantlist[i].subjectList[j].subjectId});
|
|
servantselectedlist.push({answer: [answerstr],customAnswer: this.servantlist[i].subjectList[j].subject,subjectId: this.servantlist[i].subjectList[j].subjectId});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ console.log(servantselectedlist);
|
|
request.httpServicePost(apiUrl.insertNewservantappletservicePath,{employRelationNo:employRelationNo,subjectList:servantselectedlist,subjectType:"SN000002"}).then(data=>{
|
|
request.httpServicePost(apiUrl.insertNewservantappletservicePath,{employRelationNo:employRelationNo,subjectList:servantselectedlist,subjectType:"SN000002"}).then(data=>{
|
|
alert(data);
|
|
alert(data);
|
|
});
|
|
});
|