预览
diff --git a/core/core-frontend/src/viewsnew/TemplateResource/templateinfo.vue b/core/core-frontend/src/viewsnew/TemplateResource/templateinfo.vue
new file mode 100644
index 0000000..0982ba4
--- /dev/null
+++ b/core/core-frontend/src/viewsnew/TemplateResource/templateinfo.vue
@@ -0,0 +1,463 @@
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+

+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue b/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue
index 325c0c0..e22eb1e 100644
--- a/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue
+++ b/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue
@@ -5,6 +5,7 @@ import { ElMessage,ElMessageBox } from 'element-plus-secondary'
import { useI18n } from '@/hooks/web/useI18n'
import { publicTree } from '@/utils/validate';
import { moduleList,moduleAdd,moduleUpdate,moduleDel,moduleCopy } from '@/api/application/module'
+import TemplateCreate from '@/viewsnew/TemplateResource/templateinfo.vue'
const emit = defineEmits(['handleNodeClick'])
const { t } = useI18n()
const router = useRouter()
@@ -57,7 +58,7 @@ const dataInfo:any =ref({
})
const treeData:any=ref([])// 树数据
const defaultProps = { label: "name" }
-
+const templatedialog = ref(false)
watch(() => props.projectInfo, val => { // 初始化数据
projectInfo.value = val
getInit()
@@ -259,7 +260,14 @@ function delTreeClic(){ // 删除
})
}
-
+const templateinfo = ref({})
+function templateAdd(){
+ templateinfo.value = dataInfo.value
+ templatedialog.value = true
+}
+function templatedialogClose(){
+ templatedialog.value = false
+}
@@ -354,6 +362,7 @@ function delTreeClic(){ // 删除
>
新建目录
新建模块
+
使用模板创建模块
复制
@@ -363,6 +372,9 @@ function delTreeClic(){ // 删除
+
+
+
@@ -558,14 +570,14 @@ function delTreeClic(){ // 删除
}
.ed-select__popper.ed-popper{
background: rgb(41,41,41) !important;
- color: #fff;
- border:1px solid #434343;
+ color: #fff !important;
+ border:1px solid #434343 !important;
}
.ed-select-dropdown__item{
- color: #F2F4F5;
+ color: #F2F4F5 !important;
}
.ed-select-dropdown__item.hover, .ed-select-dropdown__item:hover{
- background-color: rgba(255, 255, 255, .1)
+ background-color: rgba(255, 255, 255, .1) !important;
}
.ed-select .ed-input__wrapper:hover {
box-shadow: none;