Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
0bda4eb0
提交
0bda4eb0
authored
5月 11, 2021
作者:
fit2cloud-chenyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 插件管理v0.01
上级
2703e881
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
23 行增加
和
7 行删除
+23
-7
ShiroServiceImpl.java
.../java/io/dataease/auth/service/impl/ShiroServiceImpl.java
+5
-0
package.json
frontend/package.json
+1
-0
index.html
frontend/public/index.html
+2
-1
main.js
frontend/src/main.js
+3
-1
index.vue
frontend/src/views/system/systemParamSettings/index.vue
+12
-5
没有找到文件。
backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
浏览文件 @
0bda4eb0
...
@@ -46,7 +46,12 @@ public class ShiroServiceImpl implements ShiroService {
...
@@ -46,7 +46,12 @@ public class ShiroServiceImpl implements ShiroService {
filterChainDefinitionMap
.
put
(
"/chart/view/getData/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/chart/view/getData/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/system/ui/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/PluginDemo.js"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/DeXPack.js"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/auth/test"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/xpack/test"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/auth/login"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/auth/login"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/auth/validateName"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/auth/validateName"
,
ANON
);
...
...
frontend/package.json
浏览文件 @
0bda4eb0
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
"umy-ui"
:
"^1.1.6"
,
"umy-ui"
:
"^1.1.6"
,
"vcolorpicker"
:
"^1.1.0"
,
"vcolorpicker"
:
"^1.1.0"
,
"vue"
:
"2.6.10"
,
"vue"
:
"2.6.10"
,
"vue-axios"
:
"3.2.4"
,
"vue-clipboard2"
:
"0.3.1"
,
"vue-clipboard2"
:
"0.3.1"
,
"vue-codemirror"
:
"^4.0.6"
,
"vue-codemirror"
:
"^4.0.6"
,
"vue-i18n"
:
"7.3.2"
,
"vue-i18n"
:
"7.3.2"
,
...
...
frontend/public/index.html
浏览文件 @
0bda4eb0
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico">-->
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<script
src=
"https://unpkg.com/axios/dist/axios.min.js"
></script>
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
</head>
</head>
<body>
<body>
...
...
frontend/src/main.js
浏览文件 @
0bda4eb0
...
@@ -3,7 +3,8 @@ import Cookies from 'js-cookie'
...
@@ -3,7 +3,8 @@ import Cookies from 'js-cookie'
import
'@/styles/index.scss'
// global css
import
'@/styles/index.scss'
// global css
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
import
Fit2CloudUI
from
'fit2cloud-ui'
import
Fit2CloudUI
from
'fit2cloud-ui'
import
axios
from
'axios'
import
VueAxios
from
'vue-axios'
import
i18n
from
'./lang'
// internationalization
import
i18n
from
'./lang'
// internationalization
import
App
from
'./App'
import
App
from
'./App'
import
store
from
'./store'
import
store
from
'./store'
...
@@ -59,6 +60,7 @@ Vue.use(ElementUI, {
...
@@ -59,6 +60,7 @@ Vue.use(ElementUI, {
Vue
.
use
(
Fit2CloudUI
,
{
Vue
.
use
(
Fit2CloudUI
,
{
i18n
:
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
)
i18n
:
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
)
})
})
Vue
.
use
(
VueAxios
,
axios
)
Vue
.
use
(
filter
)
Vue
.
use
(
filter
)
Vue
.
use
(
directives
)
Vue
.
use
(
directives
)
Vue
.
use
(
message
)
Vue
.
use
(
message
)
...
...
frontend/src/views/system/systemParamSettings/index.vue
浏览文件 @
0bda4eb0
<
template
>
<
template
>
<el-card>
<el-card>
<el-tabs
v-model=
"activeName"
class=
"system-setting"
>
<ui-setting
v-if=
"!test"
/>
<!--
<el-tabs
v-model=
"activeName"
class=
"system-setting"
>
<el-tab-pane
label=
"显示设置"
name=
"ui"
>
<el-tab-pane
label=
"显示设置"
name=
"ui"
>
<ui-setting
/>
<ui-setting
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"$t('system_parameter_setting.mailbox_service_settings')"
name=
"email"
>
<el-tab-pane
:label=
"$t('system_parameter_setting.mailbox_service_settings')"
name=
"email"
>
<email-setting
/>
<email-setting
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
-->
<async-component
v-if=
"test"
url=
"http://localhost:8081/PluginDemo.js"
@
execute-axios=
"executeAxios"
/>
</el-card>
</el-card>
</
template
>
</
template
>
<
script
>
<
script
>
import
EmailSetting
from
'./EmailSetting'
import
UiSetting
from
'./UiSetting'
import
UiSetting
from
'./UiSetting'
import
AsyncComponent
from
'@/components/AsyncComponent'
export
default
{
export
default
{
name
:
'SystemParameterSetting'
,
name
:
'SystemParameterSetting'
,
components
:
{
components
:
{
UiSetting
,
UiSetting
,
EmailSetting
AsyncComponent
// 'MsDisplay': display.default,
// 'MsDisplay': display.default,
// 'MsAuth': auth.default
// 'MsAuth': auth.default
},
},
data
()
{
data
()
{
return
{
return
{
activeName
:
'ui'
activeName
:
'ui'
,
test
:
false
}
}
},
},
methods
:
{
methods
:
{
// hasLicense
// hasLicense
executeAxios
(
options
)
{
console
.
log
(
options
)
}
}
}
}
}
</
script
>
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论