WFADLMOXAOK6T5N\Administrator před 4 roky
rodič
revize
86d390cc55

+ 2 - 0
client/pages/servant/servantsettings/servantsettings.js

@@ -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);
       });
       });