Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
8321f92d
提交
8321f92d
authored
7月 09, 2021
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
全局注册通用组件
上级
da1095e2
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
80 行删除
+11
-80
index-tree.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
+0
-36
index.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
+0
-38
main.js
ruoyi-ui/src/main.js
+11
-2
index.vue
ruoyi-ui/src/views/system/notice/index.vue
+0
-4
没有找到文件。
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
浏览文件 @
8321f92d
...
@@ -258,46 +258,10 @@
...
@@ -258,46 +258,10 @@
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName}, export${BusinessName} } from "@/api/${moduleName}/${businessName}";
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName}, export${BusinessName} } from "@/api/${moduleName}/${businessName}";
import Treeselect from "@riophae/vue-treeselect";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "imageUpload")
import ImageUpload from '@/components/ImageUpload';
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
import FileUpload from '@/components/FileUpload';
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
import Editor from '@/components/Editor';
#break
#end
#end
export default {
export default {
name: "${BusinessName}",
name: "${BusinessName}",
components: {
components: {
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "imageUpload")
ImageUpload,
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
FileUpload,
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
Editor,
#break
#end
#end
Treeselect
Treeselect
},
},
data() {
data() {
...
...
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
浏览文件 @
8321f92d
...
@@ -310,47 +310,9 @@
...
@@ -310,47 +310,9 @@
<script>
<script>
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName}, export${BusinessName} } from "@/api/${moduleName}/${businessName}";
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName}, export${BusinessName} } from "@/api/${moduleName}/${businessName}";
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "imageUpload")
import ImageUpload from '@/components/ImageUpload';
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
import FileUpload from '@/components/FileUpload';
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
import Editor from '@/components/Editor';
#break
#end
#end
export default {
export default {
name: "${BusinessName}",
name: "${BusinessName}",
components: {
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "imageUpload")
ImageUpload,
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
FileUpload,
#break
#end
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
Editor,
#break
#end
#end
},
data() {
data() {
return {
return {
// 遮罩层
// 遮罩层
...
...
ruoyi-ui/src/main.js
浏览文件 @
8321f92d
...
@@ -10,7 +10,7 @@ import '@/assets/styles/ruoyi.scss' // ruoyi css
...
@@ -10,7 +10,7 @@ import '@/assets/styles/ruoyi.scss' // ruoyi css
import
App
from
'./App'
import
App
from
'./App'
import
store
from
'./store'
import
store
from
'./store'
import
router
from
'./router'
import
router
from
'./router'
import
permission
from
'./directive/permission'
import
directive
from
'./directive'
//directive
import
'./assets/icons'
// icon
import
'./assets/icons'
// icon
import
'./permission'
// permission control
import
'./permission'
// permission control
...
@@ -20,6 +20,12 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
...
@@ -20,6 +20,12 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
import
Pagination
from
"@/components/Pagination"
;
import
Pagination
from
"@/components/Pagination"
;
// 自定义表格工具组件
// 自定义表格工具组件
import
RightToolbar
from
"@/components/RightToolbar"
import
RightToolbar
from
"@/components/RightToolbar"
// 富文本组件
import
Editor
from
"@/components/Editor"
// 文件上传组件
import
FileUpload
from
"@/components/FileUpload"
// 图片上传组件
import
ImageUpload
from
"@/components/ImageUpload"
// 字典标签组件
// 字典标签组件
import
DictTag
from
'@/components/DictTag'
import
DictTag
from
'@/components/DictTag'
// 头部标签组件
// 头部标签组件
...
@@ -52,8 +58,11 @@ Vue.prototype.msgInfo = function (msg) {
...
@@ -52,8 +58,11 @@ Vue.prototype.msgInfo = function (msg) {
Vue
.
component
(
'DictTag'
,
DictTag
)
Vue
.
component
(
'DictTag'
,
DictTag
)
Vue
.
component
(
'Pagination'
,
Pagination
)
Vue
.
component
(
'Pagination'
,
Pagination
)
Vue
.
component
(
'RightToolbar'
,
RightToolbar
)
Vue
.
component
(
'RightToolbar'
,
RightToolbar
)
Vue
.
component
(
'Editor'
,
Editor
)
Vue
.
component
(
'FileUpload'
,
FileUpload
)
Vue
.
component
(
'ImageUpload'
,
ImageUpload
)
Vue
.
use
(
permission
)
Vue
.
use
(
directive
)
Vue
.
use
(
VueMeta
)
Vue
.
use
(
VueMeta
)
/**
/**
...
...
ruoyi-ui/src/views/system/notice/index.vue
浏览文件 @
8321f92d
...
@@ -177,13 +177,9 @@
...
@@ -177,13 +177,9 @@
<
script
>
<
script
>
import
{
listNotice
,
getNotice
,
delNotice
,
addNotice
,
updateNotice
}
from
"@/api/system/notice"
;
import
{
listNotice
,
getNotice
,
delNotice
,
addNotice
,
updateNotice
}
from
"@/api/system/notice"
;
import
Editor
from
'@/components/Editor'
;
export
default
{
export
default
{
name
:
"Notice"
,
name
:
"Notice"
,
components
:
{
Editor
}
,
data
()
{
data
()
{
return
{
return
{
// 遮罩层
// 遮罩层
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论