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
73061d80
Commit
73061d80
authored
Aug 03, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
7fa1b50e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
api.js
src/api/api.js
+2
-1
salutatory.vue
src/views/enterprise/salutatory.vue
+5
-6
detail.vue
...views/salesleads/actCodeManage/attractFlowLink/detail.vue
+0
-0
index.vue
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
+2
-1
info.vue
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
+1
-1
detail.vue
...eads/actCodeManage/attractFlowLink/landingPage/detail.vue
+4
-3
list.vue
...sleads/actCodeManage/attractFlowLink/landingPage/list.vue
+2
-3
No files found.
src/api/api.js
View file @
73061d80
...
...
@@ -76,7 +76,7 @@ Vue.axios.interceptors.request.use(
Vue
.
axios
.
interceptors
.
response
.
use
(
data
=>
{
removePending
(
data
.
config
);
//在一个ajax响应后再执行一下取消操作,把已经完成的请求从pending中移除
if
(
data
.
status
&&
data
.
status
==
200
&&
(
data
.
data
.
errorCode
!=
1
||
data
.
data
.
code
!=
1
)
)
{
if
(
data
.
status
&&
data
.
status
==
200
&&
data
.
data
.
errorCode
!=
1
&&
data
.
data
.
code
!=
0
)
{
if
(
data
.
data
.
errorCode
==
4
)
{
if
(
window
.
location
.
href
.
indexOf
(
'gic-error'
)
!=
-
1
)
{
return
false
;
...
...
@@ -86,6 +86,7 @@ Vue.axios.interceptors.response.use(
if
(
data
.
data
.
errorCode
==
10
||
data
.
data
.
errorCode
==
7
)
{
window
.
location
.
href
=
gicHost
+
'/haoban-3/#/index'
;
}
Message
.
error
({
message
:
data
.
data
.
message
});
return
data
;
}
return
data
;
...
...
src/views/enterprise/salutatory.vue
View file @
73061d80
...
...
@@ -211,11 +211,11 @@ export default {
let
str
=
''
;
if
(
result
)
{
if
(
result
.
qrCodeReferNum
&&
result
.
linkReferNum
)
{
str
=
`当前
模板已关联状态为正常的活码(
${
result
.
qrCodeReferNum
}
)、链接(
${
result
.
linkReferNum
}
),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,取消
关联后才可删除该模板`
;
str
=
`当前
欢迎语已关联状态为正常的活码(
${
result
.
qrCodeReferNum
}
)、链接(
${
result
.
linkReferNum
}
),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除
关联后才可删除该模板`
;
}
else
if
(
result
.
qrCodeReferNum
)
{
str
=
`当前
模板已关联状态为正常的活码(
${
result
.
qrCodeReferNum
}
),请确认相关活码是否不再使用该欢迎语,取消
关联后才可删除该模板`
;
str
=
`当前
欢迎语已关联状态为正常的活码(
${
result
.
qrCodeReferNum
}
),请确认相关活码是否不再使用该欢迎语,解除
关联后才可删除该模板`
;
}
else
if
(
result
.
linkReferNum
)
{
str
=
`当前
模板已关联链接(
${
result
.
linkReferNum
}
),请确认相关链接已投放结束,取消
关联后才可删除该模板`
;
str
=
`当前
欢迎语已关联链接(
${
result
.
linkReferNum
}
),请确认相关链接已投放结束,解除
关联后才可删除该模板`
;
}
this
.
$confirm
(
str
,
'无法删除该欢迎语'
,
{
confirmButtonText
:
'关联详情'
,
...
...
@@ -248,11 +248,10 @@ export default {
this
.
welcomeId
=
item
.
welcomeId
;
},
goLinkDetail
(
row
)
{
this
.
dialogVisible
=
false
;
if
(
row
.
type
==
2
)
{
this
.
$router
.
push
(
'/actCodeDetail?hmId='
+
row
.
referId
);
window
.
open
(
`/haoban-3/#/actCodeDetail?hmId='
${
row
.
referId
}
`
);
}
else
{
this
.
$router
.
push
(
`
/attractFlowLinkInfo/
${
row
.
referId
}
`
);
window
.
open
(
`/haoban-3/#
/attractFlowLinkInfo/
${
row
.
referId
}
`
);
}
},
/**
...
...
src/views/salesleads/actCodeManage/attractFlowLink/detail.vue
View file @
73061d80
This diff is collapsed.
Click to expand it.
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
View file @
73061d80
...
...
@@ -147,7 +147,8 @@ export default {
pageNum
:
1
,
linkType
:
''
,
searchParams
:
''
,
dateRange
:
[]
dateRange
:
[],
sortColumn
:
''
},
options
:
[
{
...
...
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
View file @
73061d80
...
...
@@ -221,7 +221,7 @@ export default {
let
link
=
document
.
createElement
(
'a'
);
let
url
=
img
.
getAttribute
(
'src'
);
link
.
setAttribute
(
'href'
,
url
);
link
.
setAttribute
(
'download'
,
`
${
this
.
link
.
linkId
}
_
${
this
.
link
.
name
}
.png`
);
link
.
setAttribute
(
'download'
,
`
${
this
.
link
.
shortCode
}
_
${
this
.
link
.
name
}
.png`
);
link
.
click
();
},
goEdit
()
{
...
...
src/views/salesleads/actCodeManage/attractFlowLink/landingPage/detail.vue
View file @
73061d80
...
...
@@ -125,7 +125,7 @@ export default {
this
.
btnLoading
=
true
;
guidePageEdit
(
this
.
form
)
.
then
(
_
=>
{
this
.
$router
.
push
(
'/ladingPageList'
);
this
.
$router
.
go
(
-
1
);
this
.
$message
.
success
(
'保存成功'
);
})
.
finally
(
_
=>
{
...
...
@@ -136,7 +136,7 @@ export default {
this
.
btnLoading
=
true
;
guidePageSave
(
this
.
form
)
.
then
(
_
=>
{
this
.
$router
.
push
(
'/ladingPageList'
);
this
.
$router
.
go
(
-
1
);
this
.
$route
.
meta
.
refresh
=
true
;
this
.
$message
.
success
(
'保存成功'
);
})
...
...
@@ -160,6 +160,7 @@ export default {
<
style
type=
"text/scss"
lang=
"scss"
scoped
>
.daily-set-content
{
padding
:
20px
;
margin-bottom
:
56px
;
}
.form
{
float
:
left
;
...
...
@@ -182,7 +183,7 @@ export default {
margin-bottom
:
20px
;
}
.footBtn
{
width
:
100%
;
width
:
calc
(
100vw
-
190px
)
;
height
:
56px
;
background
:
#ffffff
;
box-shadow
:
1px
-2px
8px
0px
rgba
(
220
,
223
,
230
,
0.6
);
...
...
src/views/salesleads/actCodeManage/attractFlowLink/landingPage/list.vue
View file @
73061d80
...
...
@@ -170,7 +170,7 @@ export default {
guidePageRelation
({
pageId
:
item
.
pageId
}).
then
(
res
=>
{
const
{
totalCount
}
=
res
.
data
.
result
;
if
(
totalCount
)
{
this
.
$confirm
(
`当前模板已关联链接(
${
totalCount
}
),请确认投放链接已投放结束,
取消
关联后才可删除该模板`
,
'无法删除该模板'
,
{
this
.
$confirm
(
`当前模板已关联链接(
${
totalCount
}
),请确认投放链接已投放结束,
解除
关联后才可删除该模板`
,
'无法删除该模板'
,
{
confirmButtonText
:
'关联详情'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
@@ -198,8 +198,7 @@ export default {
this
.
$router
.
push
(
`/ladingPageEdit/
${
item
.
pageId
}
`
);
},
goLinkDetail
(
referId
)
{
this
.
dialogVisible
=
false
;
this
.
$router
.
push
(
`/attractFlowLinkInfo/
${
referId
}
`
);
window
.
open
(
`/haoban-3/#/attractFlowLinkInfo/
${
referId
}
`
);
}
}
};
...
...
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