# vue-report **Repository Path**: lichangjian115/vue-report ## Basic Information - **Project Name**: vue-report - **Description**: vue elementui excel报表设计器插件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2022-08-31 - **Last Updated**: 2022-08-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-element-excel > 此插件 使用vue 基于element-ui,样式使用less语法,使用前应确保相关依赖已安装 ## 共包含四个插件: > [报表设计插件](#design) > [报表填报插件](#fill) > [报表展示插件](#show) > [公式设计插件](#calculation) ## 安装 vue-element-excel ``` bash npm i vue-element-excel ``` ## 全量引入 ```javascript // main.js import Vue from 'vue' import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import VueExcel from 'vue-element-excel' Vue.use(ElementUI); Vue.use(VueExcel); ``` ## 按需引入 ```javascript import Vue from 'vue' import ElementUI from 'element-ui'; import {DesignTable, EditTable, ShowTable,Calculation} from './lib'//按需引入 Vue.use(ElementUI); Vue.use(DesignTable);//design(设计) Vue.use(EditTable);//edit(填报) Vue.use(ShowTable);//show(展示) Vue.use(Calculation);//公式 ``` ## 调用 > 报表设计 ![报表设计效果图](https://raw.githubusercontent.com/HelloWoed/vue-report/master/static/images/design.png) ```html ``` ```javascript ``` > 报表填报 ![报表填报效果图](https://raw.githubusercontent.com/HelloWoed/vue-report/master/static/images/fill.png) ```html ``` ```javascript ``` > 报表展示 ![报表展示效果图](https://raw.githubusercontent.com/HelloWoed/vue-report/master/static/images/show.png) ```html ``` ```javascript ``` > 公式编辑器 ![公式编辑效果图](https://raw.githubusercontent.com/HelloWoed/vue-report/master/static/images/calc.png) ```html ``` ```javascript ```