var syptoms="头疼 多尿 呼吸困难"
var SYMPTOMOT=null;
var res_syptoms='';
if(syptoms.indexOf('无症状')!=-1){
res_syptoms=res_syptoms+'01,'
}if(syptoms.indexOf('头疼')!=-1){
res_syptoms=res_syptoms+'02,'
}if(syptoms.indexOf('头晕')!=-1){
res_syptoms=res_syptoms+'03,'
}if(syptoms.indexOf('心悸')!=-1){
res_syptoms=res_syptoms+'04,'
}if(syptoms.indexOf('胸闷')!=-1){
res_syptoms=res_syptoms+'05,'
}if(syptoms.indexOf('胸痛')!=-1){
res_syptoms=res_syptoms+'06,'
}if(syptoms.indexOf('慢性咳嗽')!=-1){
res_syptoms=res_syptoms+'07,'
}if(syptoms.indexOf('咳痰')!=-1){
res_syptoms=res_syptoms+'08,'
}if(syptoms.indexOf('呼吸困难')!=-1){
res_syptoms=res_syptoms+'09,'
}if(syptoms.indexOf('多饮')!=-1){
res_syptoms=res_syptoms+'10,'
}if(syptoms.indexOf('多尿')!=-1){
res_syptoms=res_syptoms+'11,'
}if(syptoms.indexOf('体重下降')!=-1){
res_syptoms=res_syptoms+'12,'
}if(syptoms.indexOf('乏力')!=-1){
res_syptoms=res_syptoms+'13,'
}if(syptoms.indexOf('关节肿痛')!=-1){
res_syptoms=res_syptoms+'14,'
}if(syptoms.indexOf('视力模糊')!=-1){
res_syptoms=res_syptoms+'15,'
}if(syptoms.indexOf('手脚麻木')!=-1){
res_syptoms=res_syptoms+'16,'
}if(syptoms.indexOf('尿急')!=-1){
res_syptoms=res_syptoms+'17,'
}if(syptoms.indexOf('尿痛')!=-1){
res_syptoms=res_syptoms+'18,'
}if(syptoms.indexOf('便秘')!=-1){
res_syptoms=res_syptoms+'19,'
}if(syptoms.indexOf('腹泻')!=-1){
res_syptoms=res_syptoms+'20,'
}if(syptoms.indexOf('恶心呕吐')!=-1){
res_syptoms=res_syptoms+'21,'
}if(syptoms.indexOf('眼花')!=-1){
res_syptoms=res_syptoms+'22,'
}if(syptoms.indexOf('耳鸣')!=-1){
res_syptoms=res_syptoms+'23,'
}if(syptoms.indexOf('乳房胀痛')!=-1){
res_syptoms=res_syptoms+'24,'
}if(res_syptoms==''){
res_syptoms=res_syptoms+'25,';
SYMPTOMOT=syptoms;
}
res_syptoms = res_syptoms.substr(0,res_syptoms.length-1);
console.log(res_syptoms)
console.log(SYMPTOMOT)
console