Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
11717c3b
Commit
11717c3b
authored
Oct 12, 2019
by
sgjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加资源文件
parent
49c90cc0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
pom.xml
pom.xml
+5
-0
ms.http.js
src/main/webapp/static/plugins/ms/1.0.0/ms.http.js
+3
-1
ms.util.js
src/main/webapp/static/plugins/ms/1.0.0/ms.util.js
+9
-0
vue-ueditor-wrap.min.js
...p/static/plugins/vue-ueditor-wrap/vue-ueditor-wrap.min.js
+0
-0
No files found.
pom.xml
View file @
11717c3b
...
@@ -55,6 +55,11 @@
...
@@ -55,6 +55,11 @@
<artifactId>
ms-mpeople
</artifactId>
<artifactId>
ms-mpeople
</artifactId>
<version>
1.0.10
</version>
<version>
1.0.10
</version>
</dependency>
</dependency>
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-upgrader
</artifactId>
<version>
1.0.11
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<resources>
<resources>
...
...
src/main/webapp/static/plugins/ms/1.0.0/ms.http.js
View file @
11717c3b
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
axios
.
interceptors
.
response
.
use
(
axios
.
interceptors
.
response
.
use
(
function
(
response
)
{
function
(
response
)
{
//登录失效
//登录失效
if
(
response
.
data
.
bizCode
==
"401"
)
{
if
(
response
.
data
.
bizCode
==
"401"
&&
ms
.
isLoginRedirect
)
{
window
.
parent
.
location
.
href
=
ms
.
base
+
"/"
+
ms
.
login
+
"?backurl="
+
encodeURIComponent
(
window
.
parent
.
location
.
href
);
window
.
parent
.
location
.
href
=
ms
.
base
+
"/"
+
ms
.
login
+
"?backurl="
+
encodeURIComponent
(
window
.
parent
.
location
.
href
);
return
;
return
;
}
}
...
@@ -170,4 +170,5 @@
...
@@ -170,4 +170,5 @@
window
.
ms
=
{};
window
.
ms
=
{};
}
}
window
.
ms
.
http
=
http
;
window
.
ms
.
http
=
http
;
window
.
ms
.
isLoginRedirect
=
true
;
}());
}());
\ No newline at end of file
src/main/webapp/static/plugins/ms/1.0.0/ms.util.js
View file @
11717c3b
...
@@ -20,6 +20,15 @@
...
@@ -20,6 +20,15 @@
log
(
e
.
message
);
log
(
e
.
message
);
}
}
}
}
//树形数据组织
function
treeData
(
source
,
id
,
parentId
,
children
)
{
let
cloneData
=
JSON
.
parse
(
JSON
.
stringify
(
source
))
return
cloneData
.
filter
(
father
=>
{
let
branchArr
=
cloneData
.
filter
(
child
=>
father
[
id
]
==
child
[
parentId
]);
branchArr
.
length
>
0
?
father
[
children
]
=
branchArr
:
''
return
father
[
parentId
]
==
0
// 如果第一层不是parentId=0,请自行修改
})
}
//日期处理
//日期处理
var
date
=
{
var
date
=
{
...
...
src/main/webapp/static/plugins/vue-ueditor-wrap/vue-ueditor-wrap.min.js
0 → 100644
View file @
11717c3b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment