main.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // The Vue build version to load with the `import` command
  2. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  3. import Vue from 'vue'
  4. import App from './App'
  5. import router from './router'
  6. import ElementUI from 'element-ui'
  7. import store from './store'
  8. import './utils/G_websign.js'
  9. // import './utils/Loadwebsign.js'
  10. import {WebSeal,GetSealData,GetWebObj,SetSealDataEx,SetSealData,ShowSeal} from '@/utils/websign_main.js'
  11. import './utils/G_websign.css'
  12. import 'element-ui/lib/theme-chalk/index.css'
  13. import './style/font/iconfont.css'
  14. import './style/style.css'
  15. import './style/font/style.css'
  16. import './style/style.scss'
  17. import 'font-awesome/css/font-awesome.min.css'
  18. import VueQuillEditor from 'vue-quill-editor'
  19. import Print from '@/utils/print.js'
  20. // require styles 引入样式
  21. import 'quill/dist/quill.core.css'
  22. import 'quill/dist/quill.snow.css'
  23. import 'quill/dist/quill.bubble.css'
  24. Vue.use(VueQuillEditor)
  25. Vue.use(Print);
  26. import '@/permission'
  27. import { library } from '@fortawesome/fontawesome-svg-core'
  28. import { faFileWord } from '@fortawesome/free-solid-svg-icons'
  29. //1.引入时间处理函数
  30. import utils from './utils/index'
  31. //2.将时间处理函数方法绑定到全局
  32. Vue.prototype.$utils = utils
  33. Vue.prototype.$WebSeal = WebSeal
  34. Vue.prototype.$GetSealData = GetSealData
  35. Vue.prototype.$GetWebObj = GetWebObj
  36. Vue.prototype.$SetSealDataEx = SetSealDataEx
  37. Vue.prototype.$SetSealData = SetSealData
  38. Vue.prototype.$ShowSeal = ShowSeal
  39. Vue.use(ElementUI)
  40. Vue.config.productionTip = false
  41. /* eslint-disable no-new */
  42. new Vue({
  43. router,
  44. store,
  45. render: h => h(App)
  46. }).$mount("#app")
  47. /*
  48. new Vue({
  49. el: '#app',
  50. router,
  51. store,
  52. components: { App },
  53. template: '<App/>'
  54. })
  55. */