Skip to content

wiajs/lib

Repository files navigation

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/lib

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();
  });

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published