Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
454c484c
Commit
454c484c
authored
Jun 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
32da27ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
Index.vue
src/components/Index.vue
+14
-4
index.js
src/plug/index.js
+4
-1
No files found.
src/components/Index.vue
View file @
454c484c
...
@@ -100,8 +100,8 @@
...
@@ -100,8 +100,8 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"address"
label=
"数据统计"
width=
"155"
>
<el-table-column
prop=
"address"
label=
"数据统计"
width=
"155"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
用户数:
<span
style=
"color:blue"
>
{{
scope
.
row
.
UserNum
}}
</span></p>
<p>
用户数:
<span
style=
"color:blue"
>
{{
scope
.
row
.
UserNum
}}
</span></p>
<p>
订单数:
<span
style=
"color:red"
>
{{
scope
.
row
.
OrderNum
}}
</span></p>
<p>
订单数:
<span
style=
"color:red"
>
{{
scope
.
row
.
OrderNum
}}
</span></p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"EffectiveDateStr"
label=
"有效期"
width=
"170"
>
<el-table-column
prop=
"EffectiveDateStr"
label=
"有效期"
width=
"170"
>
...
@@ -496,7 +496,7 @@
...
@@ -496,7 +496,7 @@
methods
:
{
methods
:
{
//退出登录
//退出登录
loginOut
()
{
loginOut
()
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"确认要退出系统吗?"
,
function
()
{
that
.
Confirm
(
"确认要退出系统吗?"
,
function
()
{
localStorage
.
removeItem
(
"mall_userInfo"
);
localStorage
.
removeItem
(
"mall_userInfo"
);
location
.
href
=
'/'
;
location
.
href
=
'/'
;
...
@@ -731,9 +731,19 @@
...
@@ -731,9 +731,19 @@
FIndex
:
1
FIndex
:
1
}
}
});
});
}
},
//修改版权
TestMiniApp
()
{
this
.
apipost
(
"/api/Mall/GetGoosPoster"
,
{
goodsId
:
131592
,
path
:
"/Temp/"
},
res
=>
{
console
.
log
(
"Test"
,
res
.
data
);
})
},
},
},
mounted
()
{
mounted
()
{
this
.
TestMiniApp
();
this
.
init
();
this
.
init
();
this
.
getMiniPrograme
();
this
.
getMiniPrograme
();
this
.
getRemoveMiniPrograme
();
this
.
getRemoveMiniPrograme
();
...
...
src/plug/index.js
View file @
454c484c
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
domainUrl
=
''
;
domainUrl
=
"https://mallapi.oytour.com"
;
domainUrl
=
"https://mallapi.oytour.com"
;
//
domainUrl = "https://localhost:5001";
domainUrl
=
"https://localhost:5001"
;
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'testmall.oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'testmall.oytour'
)
!==
-
1
)
{
domainUrl
=
"https://mallapi.oytour.com"
;
domainUrl
=
"https://mallapi.oytour.com"
;
...
@@ -265,6 +265,9 @@ export default {
...
@@ -265,6 +265,9 @@ export default {
MallBaseId
:
MallBaseId
,
MallBaseId
:
MallBaseId
,
TenantId
:
TenantId
,
TenantId
:
TenantId
,
EmpId
:
EmpId
,
EmpId
:
EmpId
,
// MiniAppId:"wxacd9f8cc3480d29e",
// OpenId:"ow_7I5ZQKhAB66yvOTGI35Xk-Kmg",
// UserId:19992,
}
}
return
postData
return
postData
},
},
...
...
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