Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
dcb560a6
Commit
dcb560a6
authored
Jul 20, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
58b28a1a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
119 deletions
+69
-119
api.js
src/api/api.js
+8
-8
detail.vue
...views/salesleads/actCodeManage/attractFlowLink/detail.vue
+13
-10
index.vue
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
+2
-2
welcomesItem.vue
src/views/salesleads/components/welcomesItem.vue
+46
-99
No files found.
src/api/api.js
View file @
dcb560a6
...
...
@@ -91,14 +91,14 @@ Vue.axios.interceptors.response.use(
return
data
;
},
err
=>
{
//
if (err.response.status == 502) {
//
window.location.href = gicHost + '/gic-web/#/login?ishb=1';
//
Message.error({ message: '服务异常⊙﹏⊙∥' });
//
}
//
if (err.response.status != 403) {
//
window.location.href = gicHost + '/gic-web/#/login?ishb=1';
//
Message.error({ message: '登录失效!' });
//
}
if
(
err
.
response
.
status
==
502
)
{
window
.
location
.
href
=
gicHost
+
'/gic-web/#/login?ishb=1'
;
Message
.
error
({
message
:
'服务异常⊙﹏⊙∥'
});
}
if
(
err
.
response
.
status
!=
403
)
{
window
.
location
.
href
=
gicHost
+
'/gic-web/#/login?ishb=1'
;
Message
.
error
({
message
:
'登录失效!'
});
}
return
Promise
.
resolve
(
err
);
}
);
...
...
src/views/salesleads/actCodeManage/attractFlowLink/detail.vue
View file @
dcb560a6
...
...
@@ -102,7 +102,7 @@
</div>
<dm-sub-title
type=
"line"
>
欢迎语设置
</dm-sub-title>
<div
class=
"section"
>
<welcomeItem
@
getWelcomeId=
"getWelcomeId"
:welcomeIdP=
"form.welcomeId"
ref=
"welcomeItem"
:welcomeTyp
e=
"link"
></welcomeItem>
<welcomeItem
:welcomeId
.
sync=
"form.welcomeId"
:welcomeType
.
sync=
"welcomeType"
ref=
"welcomeItem"
welcomeNam
e=
"link"
></welcomeItem>
</div>
<dm-sub-title
type=
"line"
>
落地页配置
</dm-sub-title>
<div
class=
"section flex"
style=
"margin-bottom: 40px;"
>
...
...
@@ -162,7 +162,7 @@ export default {
pageNum
:
1
,
pageSize
:
20
},
link
:
'link'
,
welcomeType
:
1
,
landingLoading
:
false
,
loading
:
false
,
landingData
:
[],
...
...
@@ -178,10 +178,10 @@ export default {
storeData
:
[],
form
:
{
linkType
:
1
,
memberLabelName
:
''
,
memberLabelId
:
''
,
//
memberLabelName: '测试标签值名称重复- 温州青童时代店',
//
memberLabelId: 'edd3901afd1e418d93fdc3b50bb24784',
//
memberLabelName: '',
//
memberLabelId: '',
memberLabelName
:
'测试标签值名称重复- 温州青童时代店'
,
memberLabelId
:
'edd3901afd1e418d93fdc3b50bb24784'
,
storeList
:
[],
name
:
''
,
pageId
:
''
,
...
...
@@ -275,10 +275,12 @@ export default {
link
.
storeRuleJson
=
JSON
.
parse
(
link
.
storeRuleJson
);
link
.
storeList
=
link
.
storeList
?
link
.
storeList
:
[];
this
.
form
=
link
;
if
(
!
this
.
form
.
welcomeId
)
{
this
.
welcomeType
=
2
;
}
this
.
landingForm
=
page
;
this
.
getStoreList
();
}
console
.
log
(
result
);
})
.
finally
(
_
=>
{
this
.
loading
=
false
;
...
...
@@ -300,9 +302,7 @@ export default {
this
.
form
.
storeList
=
val
;
this
.
$refs
.
form
.
validateField
(
'storeList'
);
},
getWelcomeId
(
e
)
{
this
.
form
.
welcomeId
=
e
;
},
getList
()
{
this
.
landingLoading
=
true
;
guidePageList
(
this
.
landingPage
)
...
...
@@ -360,6 +360,9 @@ export default {
data
.
storeRuleJson
=
JSON
.
stringify
(
data
.
storeRuleJson
);
data
.
customRuleJson
=
JSON
.
stringify
(
data
.
customRuleJson
);
data
.
wxEnterpriseId
=
this
.
wxEnterpriseId
;
if
(
this
.
welcomeType
==
2
)
{
data
.
welcomeId
=
''
;
}
delete
data
.
memberLabelStatus
;
this
.
$refs
.
form
.
validate
(
val
=>
{
if
(
!
val
)
{
...
...
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
View file @
dcb560a6
...
...
@@ -92,11 +92,11 @@ const tableHead = [
},
{
label
:
'今日点击人次'
,
prop
:
'click
Num
'
,
prop
:
'click
Times
'
,
width
:
'130'
,
sortable
:
'custom'
,
formatter
:
function
(
row
)
{
return
`<span>
${
row
.
click
Num
?
row
.
clickNum
:
'- -'
}
</span>`
;
return
`<span>
${
row
.
click
Times
?
row
.
clickTimes
:
'- -'
}
</span>`
;
}
},
{
...
...
src/views/salesleads/components/welcomesItem.vue
View file @
dcb560a6
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