From daeaadd1ca23beaa4a435aa908bf548e6322041d Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 25 五月 2023 19:06:58 +0800 Subject: [PATCH] 处理分类树问题以及搭建组件布局 --- Source/UBCS-WEB/src/main.js | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/main.js b/Source/UBCS-WEB/src/main.js index 64c165c..054fbb3 100644 --- a/Source/UBCS-WEB/src/main.js +++ b/Source/UBCS-WEB/src/main.js @@ -32,6 +32,16 @@ import Torelationpackage from "@/views/modeling/Torelationpackage" import originalRange from "@/views/modeling/originalRange" import originalLink from "@/views/modeling/originalLink" +import classifyTrees from "@/components/Tree/classifyTrees" +import classifyTreeform from "@/components/Tree/classifyTreeform" +import TemplatePro from "@/components/Tree/TemplatePro" +import attrCrud from "@/components/Tree/attrCrud" +import formulaEditor from "@/components/code-dialog-page/formulaEditor" +import referConfigCrudDialog from "@/components/code-dialog-page/referConfigCrudDialog" +import referConfigFormDialog from "@/components/code-dialog-page/referConfigFormDialog" +import businessAdd from "@/views/modeling/BusinessAdd" +import TableCrud from "@/components/Crud/Crud" + // 娉ㄥ唽鍏ㄥ眬crud椹卞姩 window.$crudCommon = crudCommon; // 鍔犺浇Vue鎷撳睍 @@ -40,6 +50,7 @@ Vue.use(Element, { i18n: (key, value) => i18n.t(key, value) }); + Vue.use(window.AVUE, { size: 'small', tableSize: 'small', @@ -60,6 +71,18 @@ Vue.component('Torelationpackage',Torelationpackage) Vue.component('originalRange',originalRange) Vue.component('originalLink',originalLink) +Vue.component('classifyTrees',classifyTrees) +Vue.component('classifyTreeform',classifyTreeform) +Vue.component('TemplatePro',TemplatePro) +Vue.component('formulaEditor',formulaEditor) +Vue.component('referConfigCrudDialog',referConfigCrudDialog) +Vue.component('referConfigFormDialog',referConfigFormDialog) +Vue.component('businessAdd',businessAdd) +Vue.component('attrCrud',attrCrud) +Vue.component('TableCrud',TableCrud) + + + // 鍔犺浇鐩稿叧url鍦板潃 Object.keys(urls).forEach(key => { Vue.prototype[key] = urls[key]; -- Gitblit v1.9.3