From df1e8ff8136e947ce90b5b52be46d472ffd73850 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 07 Jun 2022 15:57:20 +0800
Subject: [PATCH] 新增证件管理,证书管理和上岗证管理

---
 src/main.js |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/src/main.js b/src/main.js
index 10c370e..ee9b902 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,13 +12,13 @@
 import "@/store/onresize";
 
 import {
-  loadStyle
+    loadStyle
 } from './util/util'
 import * as urls from '@/config/env';
 import Element from 'element-ui';
 import {
-  iconfontUrl,
-  iconfontVersion
+    iconfontUrl,
+    iconfontVersion
 } from '@/config/env';
 import i18n from './lang'; // Internationalization
 import './styles/common.scss';
@@ -38,31 +38,33 @@
 Vue.use(router);
 Vue.use(VueAxios, axios);
 Vue.use(Element, {
-  i18n: (key, value) => i18n.t(key, value)
+    i18n: (key, value) => i18n.t(key, value)
 });
 Vue.use(window.AVUE, {
-  size: 'small',
-  tableSize: 'small',
-  calcHeight: 65,
-  i18n: (key, value) => i18n.t(key, value)
+    size: 'small',
+    tableSize: 'small',
+    calcHeight: 65,
+    i18n: (key, value) => i18n.t(key, value)
 });
 // 注册全局容器
 Vue.component('basicContainer', basicContainer);
 Vue.component('basicBlock', basicBlock);
 Vue.component('thirdRegister', thirdRegister);
+import Print from '@/assets/js/print';
 
+Vue.use(Print);
 Vue.component('Map', Map);
 
 Vue.component('avueUeditor', avueUeditor);
 // 加载相关url地址
 Object.keys(urls).forEach(key => {
-  Vue.prototype[key] = urls[key];
+    Vue.prototype[key] = urls[key];
 });
 // 加载website
 Vue.prototype.website = website;
 // 动态加载阿里云字体库
 iconfontVersion.forEach(ele => {
-  loadStyle(iconfontUrl.replace('$key', ele));
+    loadStyle(iconfontUrl.replace('$key', ele));
 });
 
 Vue.config.productionTip = false;
@@ -70,10 +72,10 @@
 
 
 var myVue = new Vue({
-  router,
-  store,
-  i18n,
-  render: h => h(App)
+    router,
+    store,
+    i18n,
+    render: h => h(App)
 }).$mount('#app');
 
-export default myVue
+export default myVue
\ No newline at end of file

--
Gitblit v1.9.3