Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doc_phone
Project
Project
Details
Activity
Releases
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
jiangyipeng
doc_phone
Commits
e49e8632
Commit
e49e8632
authored
May 27, 2020
by
jiangyipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f47160d9
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
index.html
public/html/dist/index.html
+1
-1
app.2c07f4a44cf6e5b0072b.js.map
public/html/dist/static/js/app.2c07f4a44cf6e5b0072b.js.map
+0
-1
app.c645385019aae5975efb.js
public/html/dist/static/js/app.c645385019aae5975efb.js
+2
-2
app.c645385019aae5975efb.js.map
public/html/dist/static/js/app.c645385019aae5975efb.js.map
+1
-0
manifest.f99cf827c593c896d635.js.map
.../html/dist/static/js/manifest.f99cf827c593c896d635.js.map
+1
-1
ddLogin.js
public/html/src/assets/js/ddLogin.js
+3
-2
No files found.
public/html/dist/index.html
View file @
e49e8632
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><script
src=
https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js
></script><title>
doc
</title><link
href=
./static/css/app.79ec67043b2d0f27abb2f9b496be3186.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.f99cf827c593c896d635.js
></script><script
type=
text/javascript
src=
./static/js/vendor.77c8694682b600976327.js
></script><script
type=
text/javascript
src=
./static/js/app.2c07f4a44cf6e5b0072b.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><script
src=
https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js
></script><title>
doc
</title><link
href=
./static/css/app.79ec67043b2d0f27abb2f9b496be3186.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.f99cf827c593c896d635.js
></script><script
type=
text/javascript
src=
./static/js/vendor.77c8694682b600976327.js
></script><script
type=
text/javascript
src=
./static/js/app.c645385019aae5975efb.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
public/html/dist/static/js/app.2c07f4a44cf6e5b0072b.js.map
deleted
100644 → 0
View file @
f47160d9
This diff is collapsed.
Click to expand it.
public/html/dist/static/js/app.
2c07f4a44cf6e5b0072
b.js
→
public/html/dist/static/js/app.
c645385019aae5975ef
b.js
View file @
e49e8632
webpackJsonp
([
6
],{
"+cgv"
:
function
(
n
,
e
){},
"02pT"
:
function
(
n
,
e
){},
"1H7Z"
:
function
(
n
,
e
){},
"3IMD"
:
function
(
n
,
e
){},
"3f40"
:
function
(
n
,
e
){},
"4qOc"
:
function
(
n
,
e
){},
FhoU
:
function
(
n
,
e
){},
I22p
:
function
(
n
,
e
,
t
){
"use strict"
;
var
o
=
t
(
"//Fk"
),
i
=
t
.
n
(
o
),
r
=
t
(
"mtWM"
),
a
=
t
.
n
(
r
),
c
=
t
(
"mw3O"
),
u
=
t
.
n
(
c
),
f
=
{
config
:
"index.php/login/index/config"
,
getSsoToken
:
"index.php/login/index/getSsoToken"
,
folderList
:
"index.php/api/index/folderList"
,
articleList
:
"index.php/api/index/articleList"
,
articleDetail
:
"index.php/api/index/articleDetail"
,
articleEdit
:
"index.php/api/index/articleEdit"
},
s
=
new
(
t
(
"7+uW"
).
a
);
a
.
a
.
interceptors
.
request
.
use
(
function
(
n
){
return
n
},
function
(
n
){
return
i
.
a
.
reject
(
n
)}),
a
.
a
.
interceptors
.
response
.
use
(
function
(
n
){
return
0
!==
n
.
data
.
err_code
&&
s
.
$notify
({
type
:
"danger"
,
duration
:
2
e3
,
message
:
n
.
data
.
err_msg
}),
n
.
data
},
function
(
n
){
return
i
.
a
.
reject
(
n
)});
var
d
=
function
(
n
,
e
){
var
t
=
f
[
n
];
return
a
()({
method
:
"post"
,
baseURL
:
"http://doc-phone.linanquan.com/"
,
url
:
t
,
data
:
u
.
a
.
stringify
(
e
)})};
e
.
a
=
{
config
:
function
(
n
){
return
d
(
"config"
,
n
)},
getSsoToken
:
function
(
n
){
return
d
(
"getSsoToken"
,
n
)},
folderList
:
function
(
n
){
return
d
(
"folderList"
,
n
)},
articleList
:
function
(
n
){
return
d
(
"articleList"
,
n
)},
articleDetail
:
function
(
n
){
return
d
(
"articleDetail"
,
n
)},
articleEdit
:
function
(
n
){
return
d
(
"articleEdit"
,
n
)}}},
Lorf
:
function
(
n
,
e
){},
NHnr
:
function
(
n
,
e
,
t
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
t
(
"cOrn"
);
var
o
=
t
(
"77gS"
),
i
=
(
t
(
"MY4N"
),
t
(
"0zAV"
)),
r
=
(
t
(
"nOaS"
),
t
(
"pIDD"
)),
a
=
(
t
(
"Ny/I"
),
t
(
"7Tnr"
)),
c
=
(
t
(
"3Lne"
),
t
(
"SSsa"
)),
u
=
(
t
(
"4yKu"
),
t
(
"wolx"
)),
f
=
t
(
"7+uW"
),
s
=
{
render
:
function
(){
var
n
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
n
;
return
e
(
"div"
,{
attrs
:{
id
:
"app"
}},[
e
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
d
=
t
(
"VU/8"
)({
name
:
"App"
},
s
,
!
1
,
function
(
n
){
t
(
"Lorf"
)},
null
,
null
).
exports
,
l
=
t
(
"/ocq"
),
p
=
t
(
"mvHQ"
),
g
=
t
.
n
(
p
),
h
=
t
(
"I22p"
),
m
=
{
config
:
function
(
n
){
h
.
a
.
config
().
then
(
function
(
e
){
0
==
e
.
err_code
&&
(
console
.
log
(
"config::"
,
e
),
n
(
e
.
data
))})},
getSsoToken
:
function
(
n
){
h
.
a
.
getSsoToken
({
code
:
n
}).
then
(
function
(
n
){
0
==
n
.
err_code
&&
(
alert
(
g
()(
n
)),
console
.
log
(
"config::"
,
n
))})},
getCode
:
function
(){
this
.
config
(
function
(
n
){
dd
.
ready
(
function
(){
dd
.
runtime
.
permission
.
requestAuthCode
({
corpId
:
n
.
corpId
,
onSuccess
:
function
(
n
){
alert
(
111
),
this
.
getSsoToken
(
n
.
code
)},
onFail
:
function
(
n
){
alert
(
g
()(
n
)),
this
.
getSsoToken
(
n
.
code
)}})})})}},
x
=
t
(
"NYxO"
);
f
.
a
.
use
(
x
.
a
);
var
v
=
new
x
.
a
.
Store
({
state
:{
user_info
:
null
},
mutations
:{
userInfo
:
function
(
n
,
e
){
n
.
user_info
=
e
}}});
f
.
a
.
use
(
l
.
a
);
var
S
=
new
l
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(){
return
t
.
e
(
0
).
then
(
t
.
bind
(
null
,
"2NXm"
))},
children
:[{
path
:
"folder"
,
name
:
"folder"
,
component
:
function
(){
return
t
.
e
(
2
).
then
(
t
.
bind
(
null
,
"C0Ug"
))}},{
path
:
"folder2"
,
name
:
"folder2"
,
component
:
function
(){
return
t
.
e
(
1
).
then
(
t
.
bind
(
null
,
"M+ft"
))}},{
path
:
"wangeditor"
,
name
:
"wangeditor"
,
component
:
function
(){
return
t
.
e
(
4
).
then
(
t
.
bind
(
null
,
"5DMK"
))}},{
path
:
"test"
,
name
:
"test"
,
component
:
function
(){
return
t
.
e
(
3
).
then
(
t
.
bind
(
null
,
"Y7I0"
))}}]}]});
S
.
beforeEach
(
function
(
n
,
e
,
t
){
v
.
state
.
user_info
||
m
.
getCode
(),
t
()});
var
L
=
S
,
T
=
t
(
"G0J2"
),
b
=
t
.
n
(
T
);
t
(
"3f40"
),
t
(
"4qOc"
),
t
(
"+cgv"
);
f
.
a
.
use
(
b
.
a
,{
placeholder
:
"请输入内容"
,
modules
:{
toolbar
:[[{
color
:[]}],[
"bold"
,
"italic"
,
"underline"
,
"strike"
],[{
header
:
1
},{
header
:
2
}],[{
header
:[
1
,
2
,
3
,
4
,
5
,
6
,
!
1
]}]]}}),
f
.
a
.
use
(
u
.
a
),
f
.
a
.
use
(
c
.
a
),
f
.
a
.
use
(
a
.
a
),
f
.
a
.
use
(
r
.
a
),
f
.
a
.
use
(
i
.
a
),
f
.
a
.
use
(
o
.
a
),
f
.
a
.
config
.
productionTip
=!
1
,
new
f
.
a
({
el
:
"#app"
,
router
:
L
,
components
:{
App
:
d
},
template
:
"<App/>"
})},
T2s0
:
function
(
n
,
e
){},
WRFY
:
function
(
n
,
e
){},
WpgC
:
function
(
n
,
e
){},
hW8u
:
function
(
n
,
e
){},
"n/tq"
:
function
(
n
,
e
){},
nsZj
:
function
(
n
,
e
){},
px3J
:
function
(
n
,
e
){},
qpP9
:
function
(
n
,
e
){}},[
"NHnr"
]);
webpackJsonp
([
6
],{
"+cgv"
:
function
(
n
,
e
){},
"02pT"
:
function
(
n
,
e
){},
"1H7Z"
:
function
(
n
,
e
){},
"3IMD"
:
function
(
n
,
e
){},
"3f40"
:
function
(
n
,
e
){},
"4qOc"
:
function
(
n
,
e
){},
FhoU
:
function
(
n
,
e
){},
I22p
:
function
(
n
,
e
,
t
){
"use strict"
;
var
o
=
t
(
"//Fk"
),
i
=
t
.
n
(
o
),
r
=
t
(
"mtWM"
),
a
=
t
.
n
(
r
),
c
=
t
(
"mw3O"
),
u
=
t
.
n
(
c
),
f
=
{
config
:
"index.php/login/index/config"
,
getSsoToken
:
"index.php/login/index/getSsoToken"
,
folderList
:
"index.php/api/index/folderList"
,
articleList
:
"index.php/api/index/articleList"
,
articleDetail
:
"index.php/api/index/articleDetail"
,
articleEdit
:
"index.php/api/index/articleEdit"
},
s
=
new
(
t
(
"7+uW"
).
a
);
a
.
a
.
interceptors
.
request
.
use
(
function
(
n
){
return
n
},
function
(
n
){
return
i
.
a
.
reject
(
n
)}),
a
.
a
.
interceptors
.
response
.
use
(
function
(
n
){
return
0
!==
n
.
data
.
err_code
&&
s
.
$notify
({
type
:
"danger"
,
duration
:
2
e3
,
message
:
n
.
data
.
err_msg
}),
n
.
data
},
function
(
n
){
return
i
.
a
.
reject
(
n
)});
var
d
=
function
(
n
,
e
){
var
t
=
f
[
n
];
return
a
()({
method
:
"post"
,
baseURL
:
"http://doc-phone.linanquan.com/"
,
url
:
t
,
data
:
u
.
a
.
stringify
(
e
)})};
e
.
a
=
{
config
:
function
(
n
){
return
d
(
"config"
,
n
)},
getSsoToken
:
function
(
n
){
return
d
(
"getSsoToken"
,
n
)},
folderList
:
function
(
n
){
return
d
(
"folderList"
,
n
)},
articleList
:
function
(
n
){
return
d
(
"articleList"
,
n
)},
articleDetail
:
function
(
n
){
return
d
(
"articleDetail"
,
n
)},
articleEdit
:
function
(
n
){
return
d
(
"articleEdit"
,
n
)}}},
Lorf
:
function
(
n
,
e
){},
NHnr
:
function
(
n
,
e
,
t
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
t
(
"cOrn"
);
var
o
=
t
(
"77gS"
),
i
=
(
t
(
"MY4N"
),
t
(
"0zAV"
)),
r
=
(
t
(
"nOaS"
),
t
(
"pIDD"
)),
a
=
(
t
(
"Ny/I"
),
t
(
"7Tnr"
)),
c
=
(
t
(
"3Lne"
),
t
(
"SSsa"
)),
u
=
(
t
(
"4yKu"
),
t
(
"wolx"
)),
f
=
t
(
"7+uW"
),
s
=
{
render
:
function
(){
var
n
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
n
;
return
e
(
"div"
,{
attrs
:{
id
:
"app"
}},[
e
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
d
=
t
(
"VU/8"
)({
name
:
"App"
},
s
,
!
1
,
function
(
n
){
t
(
"Lorf"
)},
null
,
null
).
exports
,
l
=
t
(
"/ocq"
),
p
=
t
(
"mvHQ"
),
g
=
t
.
n
(
p
),
h
=
t
(
"I22p"
),
m
=
{
config
:
function
(
n
){
h
.
a
.
config
().
then
(
function
(
e
){
0
==
e
.
err_code
&&
(
console
.
log
(
"config::"
,
e
),
n
(
e
.
data
))})},
getSsoToken
:
function
(
n
){
h
.
a
.
getSsoToken
({
code
:
n
}).
then
(
function
(
n
){
0
==
n
.
err_code
&&
(
alert
(
g
()(
n
)),
console
.
log
(
"config::"
,
n
))})},
getCode
:
function
(){
var
n
=
this
;
this
.
config
(
function
(
e
){
dd
.
ready
(
function
(){
dd
.
runtime
.
permission
.
requestAuthCode
({
corpId
:
e
.
corpId
,
onSuccess
:
function
(
e
){
alert
(
111
),
n
.
getSsoToken
(
e
.
code
)},
onFail
:
function
(
e
){
alert
(
g
()(
e
)),
n
.
getSsoToken
(
e
.
code
)}})})})}},
x
=
t
(
"NYxO"
);
f
.
a
.
use
(
x
.
a
);
var
v
=
new
x
.
a
.
Store
({
state
:{
user_info
:
null
},
mutations
:{
userInfo
:
function
(
n
,
e
){
n
.
user_info
=
e
}}});
f
.
a
.
use
(
l
.
a
);
var
S
=
new
l
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(){
return
t
.
e
(
0
).
then
(
t
.
bind
(
null
,
"2NXm"
))},
children
:[{
path
:
"folder"
,
name
:
"folder"
,
component
:
function
(){
return
t
.
e
(
2
).
then
(
t
.
bind
(
null
,
"C0Ug"
))}},{
path
:
"folder2"
,
name
:
"folder2"
,
component
:
function
(){
return
t
.
e
(
1
).
then
(
t
.
bind
(
null
,
"M+ft"
))}},{
path
:
"wangeditor"
,
name
:
"wangeditor"
,
component
:
function
(){
return
t
.
e
(
4
).
then
(
t
.
bind
(
null
,
"5DMK"
))}},{
path
:
"test"
,
name
:
"test"
,
component
:
function
(){
return
t
.
e
(
3
).
then
(
t
.
bind
(
null
,
"Y7I0"
))}}]}]});
S
.
beforeEach
(
function
(
n
,
e
,
t
){
v
.
state
.
user_info
||
m
.
getCode
(),
t
()});
var
L
=
S
,
T
=
t
(
"G0J2"
),
b
=
t
.
n
(
T
);
t
(
"3f40"
),
t
(
"4qOc"
),
t
(
"+cgv"
);
f
.
a
.
use
(
b
.
a
,{
placeholder
:
"请输入内容"
,
modules
:{
toolbar
:[[{
color
:[]}],[
"bold"
,
"italic"
,
"underline"
,
"strike"
],[{
header
:
1
},{
header
:
2
}],[{
header
:[
1
,
2
,
3
,
4
,
5
,
6
,
!
1
]}]]}}),
f
.
a
.
use
(
u
.
a
),
f
.
a
.
use
(
c
.
a
),
f
.
a
.
use
(
a
.
a
),
f
.
a
.
use
(
r
.
a
),
f
.
a
.
use
(
i
.
a
),
f
.
a
.
use
(
o
.
a
),
f
.
a
.
config
.
productionTip
=!
1
,
new
f
.
a
({
el
:
"#app"
,
router
:
L
,
components
:{
App
:
d
},
template
:
"<App/>"
})},
T2s0
:
function
(
n
,
e
){},
WRFY
:
function
(
n
,
e
){},
WpgC
:
function
(
n
,
e
){},
hW8u
:
function
(
n
,
e
){},
"n/tq"
:
function
(
n
,
e
){},
nsZj
:
function
(
n
,
e
){},
px3J
:
function
(
n
,
e
){},
qpP9
:
function
(
n
,
e
){}},[
"NHnr"
]);
//# sourceMappingURL=app.2c07f4a44cf6e5b0072b.js.map
//# sourceMappingURL=app.c645385019aae5975efb.js.map
\ No newline at end of file
\ No newline at end of file
public/html/dist/static/js/app.c645385019aae5975efb.js.map
0 → 100644
View file @
e49e8632
This diff is collapsed.
Click to expand it.
public/html/dist/static/js/manifest.f99cf827c593c896d635.js.map
View file @
e49e8632
This diff is collapsed.
Click to expand it.
public/html/src/assets/js/ddLogin.js
View file @
e49e8632
...
@@ -21,6 +21,7 @@ export default {
...
@@ -21,6 +21,7 @@ export default {
},
},
//获取微应用免登授权码
//获取微应用免登授权码
getCode
(){
getCode
(){
let
_this
=
this
;
this
.
config
((
data
)
=>
{
this
.
config
((
data
)
=>
{
dd
.
ready
(
function
()
{
dd
.
ready
(
function
()
{
dd
.
runtime
.
permission
.
requestAuthCode
({
dd
.
runtime
.
permission
.
requestAuthCode
({
...
@@ -28,11 +29,11 @@ export default {
...
@@ -28,11 +29,11 @@ export default {
onSuccess
:
function
(
info
)
{
onSuccess
:
function
(
info
)
{
alert
(
111
)
alert
(
111
)
// code = info.code // 通过该免登授权码可以获取用户身份
// code = info.code // 通过该免登授权码可以获取用户身份
this
.
getSsoToken
(
info
.
code
);
_
this
.
getSsoToken
(
info
.
code
);
},
},
onFail
:
function
(
info
)
{
onFail
:
function
(
info
)
{
alert
(
JSON
.
stringify
(
info
))
alert
(
JSON
.
stringify
(
info
))
this
.
getSsoToken
(
info
.
code
);
_
this
.
getSsoToken
(
info
.
code
);
},
},
});
});
});
});
...
...
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