| | |
| | | |
| | | // 分页组件 |
| | | import Pagination from '@/components/Pagination' |
| | | // 自定义表格工具组件 |
| | | import RightToolbar from '@/components/RightToolbar' |
| | | // 富文本组件 |
| | | import Editor from "@/components/Editor" |
| | | // 文件上传组件 |
| | | import FileUpload from "@/components/FileUpload" |
| | | // 图片上传组件 |
| | | import ImageUpload from "@/components/ImageUpload" |
| | | // 图片预览组件 |
| | | import ImagePreview from "@/components/ImagePreview" |
| | | // 自定义树选择组件 |
| | | import TreeSelect from '@/components/TreeSelect' |
| | | // 字典标签组件 |
| | | import DictTag from '@/components/DictTag' |
| | | //Echarts图表 |
| | | import EchartsArea from '@/components/EchartsArea' |
| | | |
| | | //自定义文件上传 |
| | | import UploadFile from "@/components/UploadFile" |
| | | //多张图片上传 |
| | | import UploadIcons from "@/components/UploadIcons" |
| | | |
| | | |
| | | //数据持久化 |
| | |
| | | app.config.globalProperties.handleTree = handleTree |
| | | app.config.globalProperties.addDateRange = addDateRange |
| | | app.config.globalProperties.selectDictLabel = selectDictLabel |
| | | app.config.globalProperties.selectDictLabels = selectDictLabels |
| | | app.config.globalProperties.selectDictLabels = selectDictLabels |
| | | |
| | | // 全局组件挂载 |
| | | app.component('EchartsArea', EchartsArea) |
| | | app.component('DictTag', DictTag) |
| | | app.component('Pagination', Pagination) |
| | | app.component('TreeSelect', TreeSelect) |
| | | app.component('FileUpload', FileUpload) |
| | | app.component('UploadFile', UploadFile) |
| | | app.component('UploadIcons', UploadIcons) |
| | | app.component('ImageUpload', ImageUpload) |
| | | app.component('ImagePreview', ImagePreview) |
| | | app.component('RightToolbar', RightToolbar) |
| | | app.component('Editor', Editor) |
| | | |
| | | |
| | | import { addActiveRoute } from '@/utils/index' |