@wiajs/lib

1.2.1 • Public • Published

English | Chinese

Wia Libs

Libs for wia applications.

See wia components documentation for detailed description.

install

You will need Node.js installed on your system.

First, install

$ npm install @wiajs/component

To use

Excel Export

import ExcelExport from '@wiajs/lib/excelExport';

  _.name('btnExcel').click(ev => {
    const head = ['银行流水', '入账金额', '入账时间', '入账名称', '入账账号', '摘要'];
    const excel = new ExcelExport(head, _data, {
      title: `${txStartDate.val()}${$.date('MM-dd', txEndDate.val())} 客户结算表`,
      fileName: `客户结算v${$.date('yyMMdd')}`,
    });
    excel.save();
  });

Readme

Keywords

Package Sidebar

Install

npm i @wiajs/lib

Weekly Downloads

152

Version

1.2.1

License

MIT

Unpacked Size

2.13 MB

Total Files

145

Last publish

Collaborators

  • walteryu
  • sibylyu