Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
65bc10e3
Commit
65bc10e3
authored
Aug 13, 2020
by
panpp
Browse files
store客户端
parent
0bb7660f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/manager/index.ftl
View file @
65bc10e3
...
@@ -276,38 +276,7 @@
...
@@ -276,38 +276,7 @@
getAuthorization
:
function
()
{
getAuthorization
:
function
()
{
},
},
subscribe
:
function
()
{
var
h
=
this
.
$createElement
var
that
=
this
;
ms
.http.get
(
ms
.manager
+
"/lic/info"
)
.then
(
function
(
res
)
{
that
.
$msgbox
({
title
:
'关注公众号接收系统通知'
,
message
:
h
(
'
p
'
,
null
,
[
h
(
'
el-image
'
,
{
attrs
:
{
src
:
'
http
:
//
www
.meczj.com
/
wx
/
employee
/
qrCode
?
code
='
+
encodeURIComponent
(
res
.data
),
},
style
:
{
width
:
"80%"
,
height
:
"300px"
}
}
),
h
(
'
el-alert
'
,
{
props
:
{
title
:
'一人一码,请确认当前登录用户信息再进行绑定,如果绑定错误,请取消关注
铭软
公众号再重新扫码绑定'
,
closable
:
false
},
}
)
]
),
showConfirmButton
:
false
,
center
:
true
})
})
.catch
(
function
(
err
)
{
console
.log
(
err
)
})
},
markMenu
:
function
(
title
,
icon
)
{
markMenu
:
function
(
title
,
icon
)
{
var
menu
=
{
var
menu
=
{
title
:
title
,
title
:
title
,
...
@@ -560,25 +529,12 @@
...
@@ -560,25 +529,12 @@
//获取登录用户信息
//获取登录用户信息
this
.managerGet
()
;
this
.managerGet
()
;
var
that
=
this
;
var
that
=
this
;
ms
.http.get
(
ms
.manager
+
"/upgrader/sync.do"
)
.then
(
function
(
data
)
{
ms
.http.get
(
ms
.manager
+
"/upgrader/sync.do"
)
.then
(
function
(
res
)
{
if
(
data
.syncStoreUrl
!=
undefined
)
{
if
(
res
.result
)
{
data
.syncStoreUrl
+=
"?client=${client}"
;
res
.
data.syncStoreUrl
+=
"
/#/
?client=${client}"
;
that
.mstore
=
data
;
that
.mstore
=
res
.
data
;
}
}
})
})
var
sub
=
{
modelUrl
:
'
http
:
//
store
.i.mingsoft.net
/#/'+
"?client=${client}"
,
modelTitle
:
'
mstore
'
,
isStore
:
true
,
modelModelId
:
'
mstore
'
,
}
this
.editableTabs.push
(
sub
)
this
.currentTab
=
sub
.modelTitle
;
this
.headMenuActive
=
sub
.modelModelId
this
.
$nextTick
(
function
()
{
that
.asideMenuActive
=
sub
.modelId
;
})
},
},
}
)
}
)
</
script
>
</
script
>
...
...
Write
Preview
Supports
Markdown
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