From 901be26b0491501afe8eb145392a8d8c307f0138 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 12 十月 2022 16:37:09 +0800 Subject: [PATCH] 新增施工交付其他交付功能 --- src/main.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 29c4022..6227835 100644 --- a/src/main.js +++ b/src/main.js @@ -4,7 +4,7 @@ import Element from 'element-ui' import './assets/styles/element-variables.scss' - +import '@/assets/styles/custom.scss' // 鑷畾涔夋牱寮� import '@/assets/styles/index.scss' // global css import '@/assets/styles/ruoyi.scss' // ruoyi css import App from './App' @@ -35,7 +35,10 @@ import VueMeta from 'vue-meta' // 瀛楀吀鏁版嵁缁勪欢 import DictData from '@/components/DictData' - +// 寮瑰嚭灞傜粍浠� +import Dialog from '@/components/Dialog/index' +//涓嬭浇闄勪欢 +import { downFile } from '@/utils/down.js' // 鍏ㄥ眬鏂规硶鎸傝浇 Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey @@ -46,6 +49,7 @@ Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree +Vue.prototype.downFile = downFile // 鍏ㄥ眬缁勪欢鎸傝浇 Vue.component('DictTag', DictTag) @@ -54,6 +58,7 @@ Vue.component('Editor', Editor) Vue.component('FileUpload', FileUpload) Vue.component('ImageUpload', ImageUpload) +Vue.component('Dialog', Dialog) Vue.use(directive) Vue.use(plugins) -- Gitblit v1.9.1