SHARE
TWEET

ExampleCSV

evg_rz_gf Nov 18th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             downloadReport() {
  2.                 this.$http
  3.                     .get( this.getReportUrl() )
  4.                     .then( response => {
  5.                         let name =
  6.                             'Инвентаризация_' +
  7.                             this.act.storage.name.split( ' ' ).join( '_' ) + '_' +
  8.                             moment( this.act.date ).format( 'DD.MM.YYYY HH:mm' );
  9.  
  10.                         CSV.download( response.data, name );
  11.                     } );
  12.             },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top