--- # 视图 views: - name: query_table component: FormWrap options: size: large inline: true columns: - key: begin_end label: 选择时间段 type: daterange labelWidth: 100 placeholder: [ 选择开始时间, 选择结束时间 ] options: clearable: true # defaultTime: [ '00:00:00', '23:59:59' ] - key: otherInfo label: 选择大厅 type: select width: 240 data: cache.halls.data props: value: key label: name options: multiple: true collapseTags: true - key: roleId label: 选择渠道 type: transfer labelWidth: 100 data: cache.ditchs.data props: value: key label: name options: filterable: true titles: [可选, 已选] # buttonTexts: ['To left', 'To right'] template: '{value} - {label}' filterMethod: |- function (query, item) { return item.value.toLowerCase().includes(query.toLowerCase()) || item.label.toLowerCase().includes(query.toLowerCase()) } defaultValues: |- otherInfo: ['00', '88'] begin_end: [{{ 'days' | parseDate }}, {{ 'daye' | parseDate }}] verifyRules: begin_end: - required: true message: 请选择时间段 otherInfo: - required: true message: 请选择大厅 roleId: - required: true message: 请选择渠道 options: assokey: t1 assignment: data: data reset: 重置 emits: - key: exportFile name: 导出到文件 type: dropdown children: - key: xlsx name: Excel 工作簿(.xlsx) command: command:exportFile|xlsx|table_data - key: biff8 name: Excel 97-2004 工作簿(.xls) command: command:exportFile|xls|table_data - key: csv name: CVS UTF-8(.cvs) command: command:exportFile|csv|table_data - key: html name: HTML 文档(.html) command: command:exportFile|html|table_data disabled: |- cache.t1.data: $size: 0 submitName: 查 询 action: method: POST url: /api/v1/{{channel}}/base-data - name: table_data component: Table options: name: 基础数据 assokey: t1 columns: - key: date label: 日期 width: 120 fixed: left - key: add_entry_hall label: 新增进入大厅 width: 150 - key: active_number label: 活跃人数 width: 120 - key: total_recharge label: 充值总额 width: 120 - key: next_day_retention_rate label: 次日留存率 width: 120 - key: 2_day_pay_rate label: 2日付费率 width: 120 - key: 3_day_pay_rate label: 3日付费率 width: 120 - key: 7_day_pay_rate label: 7日付费率 width: 120 - key: recharge label: 充值人数 width: 120 - key: recharge_times label: 充值次数 width: 120 - key: non_new_first_payment label: 非新增首次付费 width: 150 - key: first_day_payment_people label: 首日付费人数 width: 150 - key: first_day_payment_amount label: 首日付费金额 width: 150 - key: bankruptcy label: 破产人数 fixed: right width: 120 - key: number_of_recharges_after_bankruptcy label: 破产后充值人数 fixed: right width: 150 pagination: 10 # key : string # name : string # type : 'button' | 'dropdown' | 'confirm-button' # style ?: 'primary'| 'success'| 'warning'| 'danger'| 'info'| 'text' # disabled ?: boolean | FilterQuery | string # children ?: Omit[] # command ?: string # conditions ?: FilterQuery | string # options ?: any