需求确认
原能力
确认目的地、时间、人数、预算、偏好和必到地点,记录条件的优先级。(细化版 p.10–11)
首选项目
SurveyJS Form Library(MIT(Form Library))。 SurveyJS Form Library
匹配范围
分步表单采集目的地、时段、预算及必到地点。
源码
SurveyJS Form Library · class SurveyModel
packages/survey-core/src/survey.ts · 241–254 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
export class SurveyModel extends SurveyElementCore
implements
ISurvey,
ISurveyData,
ISurveyVariables,
ISurveyDataGetEditingObj,
ISurveyImpl,
ISurveyTriggerOwner,
ISurveyErrorOwner,
ISurveyTimerText {
public static readonly TemplateRendererComponentName: string =
"sv-template-renderer";
// public static get cssType(): string {
// return surveyCss.currentType;
实现与验收要点
自然需求抽取、优先级与本人确认。