DecisionQuestions

向决策模型提出的问题,只读:每个问题的类型和说明,以及“是”和“否”、每个选项或每个等级的含义。

查看源码
  1. is_invoice是/否
    Is this document an invoice or a receipt?
    是
    It asks for or confirms a payment
    否
    Anything else
  2. team4 个选项选择
    Which team should handle it?
    finance
    Invoices, refunds and payments
    legal
    Contracts and data requests
    support
    Questions about using Kaeso
    sales
    Plans and quotes
  3. urgency3 个等级评分
    How soon does it need an answer?
    0
    This month: Nothing waits on it
    1
    This week: Someone waits, but not today
    2
    Today: Work is blocked until it is answered
  4. total边界框
    Where is the total on the receipt?
import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";

属性

  • aria-label
    string

    列表的无障碍名称(默认为“问题”,使用提供方的语言)。

  • layout
    "list" = list

    问题列表,问题之间有一条细线。

  • questions
    readonly DecisionQuestion[]

    按发送时的样子显示的问题:类型、名称、说明,以及“是”和“否”、各选项或各等级的含义。