标签:core 字段 code 多个 logic any bcf logs 数组
<pre> 问卷逻辑设置:问卷跳转和问卷展现 1.问卷展现 修改js中displayconstraint_list,displayconstraint_id_list displayconstraint_id_list 格式如下: "displayconstraint_id_list": [ "58745ada3fcf57bcf97c4d4d", //logicId "58745ada3fcf57bcf97c4d4e", "587492203fcf576fc7237810" ] displayconstraint_list 格式如下: "displayconstraint_list": [ { "_id": { "$oid": "139" //logicId }, "option_id_list": [ //optionId,多个则用数组表示 "3509", "3510", ], "score_range": [ //为空 ], "display_question_id_list": [ //需要展现的questionId,为pg_logic表jumpId字段 "1689", "1696", "1690" ], "project_id": 99, //naireId "question_id": "1685" //questionId } ], 2.问卷跳转 修改js中jumpconstraint_list和jumpconstraint_id_list jumpconstraint_list格式如下: "jumpconstraint_list": [ { "jump_to_qid": "1703", //jumpId "option_id": "any", //optionId "project_id": "99", //naireId "question_id": "1696", //questionId "_id": { "$oid": "137" //logicId } }, { "jump_to_qid": "1689", "option_id": "any", "project_id": "99", "question_id": "1729", "_id": { "$oid": "138" } } ] jumpconstraint_id_list格式如下: "jumpconstraint_id_list": ["138"] //logicId </pre>
标签:core 字段 code 多个 logic any bcf logs 数组
原文地址:http://www.cnblogs.com/lizhihui/p/6293957.html