Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
f137177a
Commit
f137177a
authored
Jan 22, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销员新增业绩字段
parent
66a0a25a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
src/pages/index/index.vue
+20
-10
No files found.
src/pages/index/index.vue
View file @
f137177a
...
@@ -247,6 +247,10 @@ export default {
...
@@ -247,6 +247,10 @@ export default {
offlineShopName
:
getQueryVariable
(
this
.
link
,
"offlineShopName"
),
offlineShopName
:
getQueryVariable
(
this
.
link
,
"offlineShopName"
),
});
});
}
}
this
.
saveSpokesmanShareGoodsLog
({
link
:
this
.
link
,
type
:
2
});
this
.
page
=
""
;
this
.
page
=
""
;
this
.
params
=
""
;
this
.
params
=
""
;
}
else
if
(
options
.
from
&&
options
.
from
==
"h5login"
)
{
}
else
if
(
options
.
from
&&
options
.
from
==
"h5login"
)
{
...
@@ -388,7 +392,10 @@ export default {
...
@@ -388,7 +392,10 @@ export default {
}
}
this
.
params
+=
params
this
.
params
+=
params
log
.
info
(
"存入商品分享日志"
,
this
.
page
+
this
.
params
);
log
.
info
(
"存入商品分享日志"
,
this
.
page
+
this
.
params
);
this
.
saveSpokesmanShareGoodsLog
(
this
.
page
+
this
.
params
);
this
.
saveSpokesmanShareGoodsLog
({
link
:
this
.
page
+
this
.
params
,
type
:
1
});
}
}
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
withoutScene
=
true
;
this
.
withoutScene
=
true
;
...
@@ -635,32 +642,35 @@ export default {
...
@@ -635,32 +642,35 @@ export default {
url
=
beforeUrl
+
nextUrl
;
url
=
beforeUrl
+
nextUrl
;
return
url
;
return
url
;
},
},
saveSpokesmanShareGoodsLog
(
link
)
{
saveSpokesmanShareGoodsLog
(
{
link
,
type
}
)
{
let
query
=
{};
let
query
=
{};
if
(
getQueryVariable
(
link
,
"spokesmanGroupId"
))
{
if
(
getQueryVariable
(
link
,
"spokesmanGroupId"
))
{
query
.
spokesmanGroupId
=
getQueryVariable
(
link
,
"spokesmanGroupId"
)
query
.
spokesmanGroupId
=
getQueryVariable
(
link
,
"spokesmanGroupId"
)
}
}
if
(
getQueryVariable
(
link
,
"spokesmanRelId"
))
{
if
(
getQueryVariable
(
link
,
"spokesmanRelId"
))
{
query
.
spokesmanRelId
=
getQueryVariable
(
link
,
"spokesmanRelId"
)
query
.
spokesmanRelId
=
getQueryVariable
(
link
,
"spokesmanRelId"
)
}
}
if
(
getQueryVariable
(
link
,
"userId"
))
{
if
(
getQueryVariable
(
link
,
"userId"
))
{
query
.
userId
=
getQueryVariable
(
link
,
"userId"
)
query
.
userId
=
getQueryVariable
(
link
,
"userId"
)
}
}
if
(
getQueryVariable
(
link
,
"productId"
))
{
if
(
getQueryVariable
(
link
,
"productId"
))
{
query
.
productId
=
getQueryVariable
(
link
,
"productId"
)
query
.
productId
=
getQueryVariable
(
link
,
"productId"
)
}
}
if
(
getQueryVariable
(
link
,
"terminalProductId"
))
{
if
(
getQueryVariable
(
link
,
"terminalProductId"
))
{
query
.
terminalProductId
=
getQueryVariable
(
link
,
"terminalProductId"
)
query
.
terminalProductId
=
getQueryVariable
(
link
,
"terminalProductId"
)
}
}
if
(
getQueryVariable
(
link
,
"mixid"
))
{
if
(
getQueryVariable
(
link
,
"mixid"
))
{
query
.
mixid
=
getQueryVariable
(
link
,
"mixid"
)
query
.
mixid
=
getQueryVariable
(
link
,
"mixid"
)
}
}
if
(
getQueryVariable
(
link
,
"spokesmanShopId"
))
{
if
(
getQueryVariable
(
link
,
"spokesmanShopId"
))
{
query
.
spokesmanShopId
=
getQueryVariable
(
link
,
"spokesmanShopId"
)
query
.
spokesmanShopId
=
getQueryVariable
(
link
,
"spokesmanShopId"
)
}
}
if
(
getQueryVariable
(
link
,
"timeStamp"
))
{
if
(
getQueryVariable
(
link
,
"timeStamp"
))
{
query
.
timeStamp
=
getQueryVariable
(
link
,
"timeStamp"
)
query
.
timeStamp
=
getQueryVariable
(
link
,
"timeStamp"
)
}
}
if
(
type
)
{
query
.
sharingMethods
=
type
;
}
console
.
log
(
"saveSpokesmanShareGoodsLog"
,
query
)
console
.
log
(
"saveSpokesmanShareGoodsLog"
,
query
)
goods
.
saveSpokesmanShareGoodsLog
(
query
);
goods
.
saveSpokesmanShareGoodsLog
(
query
);
}
}
...
...
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