| | |
| | | import '@/utils/filter' |
| | | import '@/utils/validate' |
| | | import Print from 'vue-print-nb' |
| | | import FileSaver from 'file-saver' |
| | | import * as XLSX from 'xlsx'; |
| | | //import XLSX from 'xlsx' //无效导入,XLSX是undefined |
| | | |
| | | // 将excel表格模板设置全局 |
| | | |
| | | // 全局方法挂载 |
| | | Vue.prototype.getDicts = getDicts |
| | |
| | | Vue.prototype.selectDictLabels = selectDictLabels |
| | | Vue.prototype.download = download |
| | | Vue.prototype.handleTree = handleTree |
| | | |
| | | Vue.prototype.$FileSaver = FileSaver |
| | | Vue.prototype.$XLSX = XLSX |
| | | // 全局组件挂载 |
| | | Vue.component('DictTag', DictTag) |
| | | Vue.component('Pagination', Pagination) |