|
|
@@ -69,48 +69,190 @@ const options = reactive({
|
|
|
pk: 'id',
|
|
|
rowSelection: { showCheckedAll: true },
|
|
|
showSort: false,
|
|
|
-
|
|
|
+ showSummary: true,
|
|
|
operationColumn: false,
|
|
|
+ summary: [
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'reg',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd2',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd3',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd4',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd5',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd6',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd7',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd8',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd9',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd10',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd11',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd12',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd13',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd14',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd15',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd16',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd17',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd18',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd19',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd20',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd21',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd22',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd23',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd24',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd25',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd26',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd27',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd28',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd29',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd30',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd45',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd60',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd90',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: 'totalRow',
|
|
|
+ dataIndex: 'd120',
|
|
|
+ },
|
|
|
+ ],
|
|
|
})
|
|
|
|
|
|
// SaTable 列配置
|
|
|
const columns = reactive([
|
|
|
- { title: '日期', dataIndex: 'tdate', width: 120, fixed: 'left' },
|
|
|
- { title: '注册数', dataIndex: 'reg', width: 120, fixed: 'left' },
|
|
|
- { title: '1', dataIndex: 'd1', width: 120 },
|
|
|
- { title: '2', dataIndex: 'd2', width: 120 },
|
|
|
- { title: '3', dataIndex: 'd3', width: 120 },
|
|
|
- { title: '4', dataIndex: 'd4', width: 120 },
|
|
|
- { title: '5', dataIndex: 'd5', width: 120 },
|
|
|
- { title: '6', dataIndex: 'd6', width: 120 },
|
|
|
- { title: '7', dataIndex: 'd7', width: 120 },
|
|
|
- { title: '8', dataIndex: 'd8', width: 120 },
|
|
|
- { title: '9', dataIndex: 'd9', width: 120 },
|
|
|
- { title: '10', dataIndex: 'd10', width: 120 },
|
|
|
- { title: '11', dataIndex: 'd11', width: 120 },
|
|
|
- { title: '12', dataIndex: 'd12', width: 120 },
|
|
|
- { title: '13', dataIndex: 'd13', width: 120 },
|
|
|
- { title: '14', dataIndex: 'd14', width: 120 },
|
|
|
- { title: '15', dataIndex: 'd15', width: 120 },
|
|
|
- { title: '16', dataIndex: 'd16', width: 120 },
|
|
|
- { title: '17', dataIndex: 'd17', width: 120 },
|
|
|
- { title: '18', dataIndex: 'd18', width: 120 },
|
|
|
- { title: '19', dataIndex: 'd19', width: 120 },
|
|
|
- { title: '20', dataIndex: 'd20', width: 120 },
|
|
|
- { title: '21', dataIndex: 'd21', width: 120 },
|
|
|
- { title: '22', dataIndex: 'd22', width: 120 },
|
|
|
- { title: '23', dataIndex: 'd23', width: 120 },
|
|
|
- { title: '24', dataIndex: 'd24', width: 120 },
|
|
|
- { title: '25', dataIndex: 'd25', width: 120 },
|
|
|
- { title: '26', dataIndex: 'd26', width: 120 },
|
|
|
- { title: '27', dataIndex: 'd27', width: 120 },
|
|
|
- { title: '28', dataIndex: 'd28', width: 120 },
|
|
|
- { title: '29', dataIndex: 'd29', width: 120 },
|
|
|
- { title: '30', dataIndex: 'd30', width: 120 },
|
|
|
- { title: '45', dataIndex: 'd45', width: 120 },
|
|
|
- { title: '60', dataIndex: 'd60', width: 120 },
|
|
|
- { title: '90', dataIndex: 'd90', width: 120 },
|
|
|
- { title: '120', dataIndex: 'd120', width: 120 },
|
|
|
+ { title: '日期', dataIndex: 'tdate', width: 80, fixed: 'left' },
|
|
|
+ { title: '注册数', dataIndex: 'reg', width: 80, fixed: 'left' },
|
|
|
+ { title: '1', dataIndex: 'd1', width: 80 },
|
|
|
+ { title: '2', dataIndex: 'd2', width: 80 },
|
|
|
+ { title: '3', dataIndex: 'd3', width: 80 },
|
|
|
+ { title: '4', dataIndex: 'd4', width: 80 },
|
|
|
+ { title: '5', dataIndex: 'd5', width: 80 },
|
|
|
+ { title: '6', dataIndex: 'd6', width: 80 },
|
|
|
+ { title: '7', dataIndex: 'd7', width: 80 },
|
|
|
+ { title: '8', dataIndex: 'd8', width: 80 },
|
|
|
+ { title: '9', dataIndex: 'd9', width: 80 },
|
|
|
+ { title: '10', dataIndex: 'd10', width: 80 },
|
|
|
+ { title: '11', dataIndex: 'd11', width: 80 },
|
|
|
+ { title: '12', dataIndex: 'd12', width: 80 },
|
|
|
+ { title: '13', dataIndex: 'd13', width: 80 },
|
|
|
+ { title: '14', dataIndex: 'd14', width: 80 },
|
|
|
+ { title: '15', dataIndex: 'd15', width: 80 },
|
|
|
+ { title: '16', dataIndex: 'd16', width: 80 },
|
|
|
+ { title: '17', dataIndex: 'd17', width: 80 },
|
|
|
+ { title: '18', dataIndex: 'd18', width: 80 },
|
|
|
+ { title: '19', dataIndex: 'd19', width: 80 },
|
|
|
+ { title: '20', dataIndex: 'd20', width: 80 },
|
|
|
+ { title: '21', dataIndex: 'd21', width: 80 },
|
|
|
+ { title: '22', dataIndex: 'd22', width: 80 },
|
|
|
+ { title: '23', dataIndex: 'd23', width: 80 },
|
|
|
+ { title: '24', dataIndex: 'd24', width: 80 },
|
|
|
+ { title: '25', dataIndex: 'd25', width: 80 },
|
|
|
+ { title: '26', dataIndex: 'd26', width: 80 },
|
|
|
+ { title: '27', dataIndex: 'd27', width: 80 },
|
|
|
+ { title: '28', dataIndex: 'd28', width: 80 },
|
|
|
+ { title: '29', dataIndex: 'd29', width: 80 },
|
|
|
+ { title: '30', dataIndex: 'd30', width: 80 },
|
|
|
+ { title: '45', dataIndex: 'd45', width: 80 },
|
|
|
+ { title: '60', dataIndex: 'd60', width: 80 },
|
|
|
+ { title: '90', dataIndex: 'd90', width: 80 },
|
|
|
+ { title: '120', dataIndex: 'd120', width: 80 },
|
|
|
])
|
|
|
|
|
|
// 页面数据初始化
|