| | |
| | | import Vue from "vue"; |
| | | |
| | | import Cookies from "js-cookie"; |
| | | |
| | | import "babel-polyfill"; |
| | | import Element from "element-ui"; |
| | | import "./assets/styles/element-variables.scss"; |
| | | |
| | |
| | | import directive from "./directive"; // directive |
| | | import plugins from "./plugins"; // plugins |
| | | import { download } from "@/utils/request"; |
| | | import Print from 'vue-print-nb' |
| | | import Print from "vue-print-nb"; |
| | | |
| | | import JsonExcel from 'vue-json-excel'; |
| | | |
| | | Vue.component('downloadExcel', JsonExcel); |
| | | import JsonExcel from "vue-json-excel"; |
| | | |
| | | Vue.component("downloadExcel", JsonExcel); |
| | | |
| | | import "./assets/icons"; // icon |
| | | import "./permission"; // permission control |
| | |
| | | // 分页组件 |
| | | import Pagination from "@/components/Pagination"; |
| | | // 分页组件 |
| | | |
| | | // import { monitorZoom } from "@/utils/devicePixelRatio.js"; |
| | | // const m = monitorZoom(); |
| | | // if (window.screen.width * window.devicePixelRatio >= 3840) { |
| | | // document.body.style.zoom = 100 / (Number(m) / 2); // 屏幕为 4k 时 |
| | | // } else { |
| | | // document.body.style.zoom = 100 / Number(m); |
| | | // } |
| | | |
| | | // 自定义表格工具组件 |
| | | import RightToolbar from "@/components/RightToolbar"; |
| | |
| | | Vue.prototype.download = download; |
| | | Vue.prototype.handleTree = handleTree; |
| | | Vue.prototype.$echarts = echarts; |
| | | import VueBarcode from 'vue-barcode'; |
| | | Vue.component('barcode',VueBarcode); |
| | | import VueBarcode from "vue-barcode"; |
| | | Vue.component("barcode", VueBarcode); |
| | | // 全局组件挂载 |
| | | Vue.component("DictTag", DictTag); |
| | | Vue.component("Pagination", Pagination); |