Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
639e320f
Unverified
提交
639e320f
authored
6月 30, 2021
作者:
fit2cloud-chenyw
提交者:
GitHub
6月 30, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #110 from dataease/pr@dev@feat_组织管理增加可拖拽移动功能
feat: 组织管理增加可拖拽移动功能
上级
1f86ce17
8acf0c3f
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
10 行增加
和
2 行删除
+10
-2
ShiroServiceImpl.java
.../java/io/dataease/auth/service/impl/ShiroServiceImpl.java
+1
-0
XDeptServer.java
...src/main/java/io/dataease/plugins/server/XDeptServer.java
+7
-0
axios.js
frontend/public/axios.js
+0
-0
index.html
frontend/public/index.html
+1
-1
request.js
frontend/src/utils/request.js
+1
-1
没有找到文件。
backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
浏览文件 @
639e320f
...
@@ -38,6 +38,7 @@ public class ShiroServiceImpl implements ShiroService {
...
@@ -38,6 +38,7 @@ public class ShiroServiceImpl implements ShiroService {
filterChainDefinitionMap
.
put
(
"/link/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/link/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/index.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/index.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/link.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/link.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/axios.map"
,
ANON
);
//验证链接
//验证链接
filterChainDefinitionMap
.
put
(
"/api/link/validate**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/api/link/validate**"
,
ANON
);
...
...
backend/src/main/java/io/dataease/plugins/server/XDeptServer.java
浏览文件 @
639e320f
...
@@ -7,6 +7,7 @@ import io.dataease.plugins.common.entity.XpackGridRequest;
...
@@ -7,6 +7,7 @@ import io.dataease.plugins.common.entity.XpackGridRequest;
import
io.dataease.plugins.config.SpringContextUtil
;
import
io.dataease.plugins.config.SpringContextUtil
;
import
io.dataease.plugins.xpack.dept.dto.request.XpackCreateDept
;
import
io.dataease.plugins.xpack.dept.dto.request.XpackCreateDept
;
import
io.dataease.plugins.xpack.dept.dto.request.XpackDeleteDept
;
import
io.dataease.plugins.xpack.dept.dto.request.XpackDeleteDept
;
import
io.dataease.plugins.xpack.dept.dto.request.XpackMoveDept
;
import
io.dataease.plugins.xpack.dept.dto.response.XpackDeptTreeNode
;
import
io.dataease.plugins.xpack.dept.dto.response.XpackDeptTreeNode
;
import
io.dataease.plugins.xpack.dept.dto.response.XpackSysDept
;
import
io.dataease.plugins.xpack.dept.dto.response.XpackSysDept
;
import
io.dataease.plugins.xpack.dept.service.DeptXpackService
;
import
io.dataease.plugins.xpack.dept.service.DeptXpackService
;
...
@@ -77,4 +78,10 @@ public class XDeptServer {
...
@@ -77,4 +78,10 @@ public class XDeptServer {
DeptXpackService
deptService
=
SpringContextUtil
.
getBean
(
DeptXpackService
.
class
);
DeptXpackService
deptService
=
SpringContextUtil
.
getBean
(
DeptXpackService
.
class
);
return
deptService
.
searchTree
(
deptId
);
return
deptService
.
searchTree
(
deptId
);
}
}
@PostMapping
(
"/move"
)
public
void
move
(
@RequestBody
XpackMoveDept
xpackMoveDept
){
DeptXpackService
deptService
=
SpringContextUtil
.
getBean
(
DeptXpackService
.
class
);
deptService
.
move
(
xpackMoveDept
);
}
}
}
frontend/public/axios.js
0 → 100644
浏览文件 @
639e320f
差异被折叠。
点击展开。
frontend/public/index.html
浏览文件 @
639e320f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<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>
<script
src=
"
axios
.js"
></script>
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
</head>
</head>
<body>
<body>
...
...
frontend/src/utils/request.js
浏览文件 @
639e320f
import
axios
from
'axios'
//
import axios from 'axios'
// import { MessageBox, Message } from 'element-ui'
// import { MessageBox, Message } from 'element-ui'
import
store
from
'@/store'
import
store
from
'@/store'
import
{
$alert
,
$error
}
from
'./message'
import
{
$alert
,
$error
}
from
'./message'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论