The realization idea of exporting excel table with the separation of front and rear ends

after the front end clicks the export button to send the request for exporting the form to the background, the background returns the form to the front end
the front end is developed using vue.js, and the background development language is php

Php
Mar.12,2021

send the request parameters to the background, and the background generates a file link or file response to you. Then use window.open to open this link


decoupling the Excel export from the front and rear ends to recommend a previously used component, SpreadJS.
1.SpreadJS, which is pure front-end, has no coupling with the back-end, and can be completely combined with any background.
2. VUE
3 is supported. Provides pure front-end export, which converts Excel into Excel blob stream and downloads it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b389be-2c123.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b389be-2c123.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?