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
e46ac1d6
Commit
e46ac1d6
authored
Jul 20, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
ac57fd3d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
30 deletions
+45
-30
salutatory.vue
src/views/enterprise/salutatory.vue
+1
-1
detail.vue
...views/salesleads/actCodeManage/attractFlowLink/detail.vue
+21
-14
index.vue
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
+1
-1
info.vue
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
+4
-2
detail.vue
...eads/actCodeManage/attractFlowLink/landingPage/detail.vue
+18
-12
No files found.
src/views/enterprise/salutatory.vue
View file @
e46ac1d6
...
@@ -248,7 +248,7 @@ export default {
...
@@ -248,7 +248,7 @@ export default {
this
.
welcomeId
=
item
.
welcomeId
;
this
.
welcomeId
=
item
.
welcomeId
;
},
},
goLinkDetail
(
row
)
{
goLinkDetail
(
row
)
{
console
.
log
(
row
)
;
this
.
dialogVisible
=
false
;
if
(
row
.
type
==
2
)
{
if
(
row
.
type
==
2
)
{
this
.
$router
.
push
(
'/actCodeDetail?hmId='
+
row
.
referId
);
this
.
$router
.
push
(
'/actCodeDetail?hmId='
+
row
.
referId
);
}
else
{
}
else
{
...
...
src/views/salesleads/actCodeManage/attractFlowLink/detail.vue
View file @
e46ac1d6
<
template
>
<
template
>
<div
class=
"p-20"
>
<div
class=
"p-20"
v-loading=
"loading"
>
<el-form
label-width=
"100px"
:model=
"form"
size=
"small"
:rules=
"rules"
ref=
"form"
>
<el-form
label-width=
"100px"
:model=
"form"
size=
"small"
:rules=
"rules"
ref=
"form"
>
<dm-sub-title
type=
"line"
>
基础信息
</dm-sub-title>
<dm-sub-title
type=
"line"
>
基础信息
</dm-sub-title>
<div
class=
"section"
>
<div
class=
"section"
>
...
@@ -164,6 +164,7 @@ export default {
...
@@ -164,6 +164,7 @@ export default {
},
},
link
:
'link'
,
link
:
'link'
,
landingLoading
:
false
,
landingLoading
:
false
,
loading
:
false
,
landingData
:
[],
landingData
:
[],
total
:
0
,
total
:
0
,
landingForm
:
{},
landingForm
:
{},
...
@@ -264,25 +265,31 @@ export default {
...
@@ -264,25 +265,31 @@ export default {
});
});
},
},
getDetail
()
{
getDetail
()
{
linkDetail
({
linkId
:
this
.
$route
.
params
.
id
}).
then
(
res
=>
{
this
.
loading
=
true
;
const
{
result
}
=
res
.
data
;
linkDetail
({
linkId
:
this
.
$route
.
params
.
id
})
if
(
result
)
{
.
then
(
res
=>
{
const
{
link
,
page
}
=
result
;
const
{
result
}
=
res
.
data
;
link
.
customRuleJson
=
JSON
.
parse
(
link
.
customRuleJson
);
if
(
result
)
{
link
.
storeRuleJson
=
JSON
.
parse
(
link
.
storeRuleJson
);
const
{
link
,
page
}
=
result
;
link
.
storeList
=
link
.
storeList
?
link
.
storeList
:
[];
link
.
customRuleJson
=
JSON
.
parse
(
link
.
customRuleJson
);
this
.
form
=
link
;
link
.
storeRuleJson
=
JSON
.
parse
(
link
.
storeRuleJson
);
this
.
landingForm
=
page
;
link
.
storeList
=
link
.
storeList
?
link
.
storeList
:
[];
this
.
getStoreList
();
this
.
form
=
link
;
}
this
.
landingForm
=
page
;
console
.
log
(
result
);
this
.
getStoreList
();
});
}
console
.
log
(
result
);
})
.
finally
(
_
=>
{
this
.
loading
=
false
;
});
},
},
saveTagPop
(
data
)
{
saveTagPop
(
data
)
{
const
{
tagItemId
,
tagItemName
}
=
data
;
const
{
tagItemId
,
tagItemName
}
=
data
;
this
.
form
.
memberLabelName
=
tagItemName
;
this
.
form
.
memberLabelName
=
tagItemName
;
this
.
form
.
memberLabelId
=
tagItemId
;
this
.
form
.
memberLabelId
=
tagItemId
;
this
.
form
.
memberLabelStatus
=
1
;
this
.
form
.
memberLabelStatus
=
1
;
this
.
$refs
.
form
.
validateField
(
'memberLabelId'
);
},
},
handleTagCloseTag
()
{
handleTagCloseTag
()
{
this
.
form
.
memberLabelName
=
''
;
this
.
form
.
memberLabelName
=
''
;
...
...
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
View file @
e46ac1d6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"flex flex-space-between m-b-16"
>
<div
class=
"flex flex-space-between m-b-16"
>
<div
class=
"flex flex-align-center"
>
<div
class=
"flex flex-align-center"
>
<el-input
placeholder=
"请输入
模板
ID/名称、创建人"
class=
"w-260"
v-model=
"form.searchParams"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"getList"
>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i>
</el-input>
<el-input
placeholder=
"请输入
链接
ID/名称、创建人"
class=
"w-260"
v-model=
"form.searchParams"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"getList"
>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i>
</el-input>
<el-select
class=
"m-l-10 w-160"
v-model=
"form.linkType"
placeholder=
"全部类型"
@
change=
"getList"
clearable
@
clear=
"clear"
>
<el-select
class=
"m-l-10 w-160"
v-model=
"form.linkType"
placeholder=
"全部类型"
@
change=
"getList"
clearable
@
clear=
"clear"
>
<el-option
v-for=
"item in options"
:key=
"item.key"
:label=
"item.label"
:value=
"item.key"
>
</el-option>
<el-option
v-for=
"item in options"
:key=
"item.key"
:label=
"item.label"
:value=
"item.key"
>
</el-option>
</el-select>
</el-select>
...
...
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
View file @
e46ac1d6
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"fixed-tab"
v-if=
"scrollTop >
300
"
>
<div
class=
"fixed-tab"
v-if=
"scrollTop >
= fixedHeight
"
>
<el-tabs
v-model=
"activeName"
type=
"card"
>
<el-tabs
v-model=
"activeName"
type=
"card"
>
<el-tab-pane
label=
"详情信息"
name=
"first"
>
<div></div>
</el-tab-pane>
<el-tab-pane
label=
"详情信息"
name=
"first"
>
<div></div>
</el-tab-pane>
<el-tab-pane
label=
"数据统计"
name=
"second"
>
<el-tab-pane
label=
"数据统计"
name=
"second"
>
...
@@ -115,6 +115,7 @@ export default {
...
@@ -115,6 +115,7 @@ export default {
mixins
:
[
mixin
],
mixins
:
[
mixin
],
data
()
{
data
()
{
return
{
return
{
fixedHeight
:
280
,
filters
,
filters
,
statisticsClerk
,
statisticsClerk
,
loading
:
false
,
loading
:
false
,
...
@@ -277,11 +278,12 @@ export default {
...
@@ -277,11 +278,12 @@ export default {
.fixed-tab
{
.fixed-tab
{
position
:
absolute
;
position
:
absolute
;
top
:
8
0px
;
top
:
11
0px
;
z-index
:
1
;
z-index
:
1
;
padding-bottom
:
0
;
padding-bottom
:
0
;
height
:
40px
;
height
:
40px
;
background
:
white
;
background
:
white
;
width
:
calc
(
100%
-
180px
);
}
}
.welcome-left-view
{
.welcome-left-view
{
width
:
639px
;
width
:
639px
;
...
...
src/views/salesleads/actCodeManage/attractFlowLink/landingPage/detail.vue
View file @
e46ac1d6
<
template
>
<
template
>
<div>
<div>
<div
class=
"daily-set-content"
>
<div
class=
"daily-set-content"
v-loading=
"loading"
>
<el-form
label-width=
"100px"
ref=
"form"
:model=
"form"
:rules=
"rules"
class=
"form"
>
<el-form
label-width=
"100px"
ref=
"form"
:model=
"form"
:rules=
"rules"
class=
"form"
>
<el-form-item
label=
"模板名称"
prop=
"pageName"
required
>
<el-form-item
label=
"模板名称"
prop=
"pageName"
required
>
<el-input
show-word-limit
placeholder=
"请输入模板名称"
type=
"text"
v-model=
"form.pageName"
maxlength=
"20"
class=
"w-340"
></el-input>
<el-input
show-word-limit
placeholder=
"请输入模板名称"
type=
"text"
v-model=
"form.pageName"
maxlength=
"20"
class=
"w-340"
></el-input>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
</div>
</div>
<div
class=
"footBtn"
>
<div
class=
"footBtn"
>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"save"
:loading=
"btnLoading"
>
保存
</el-button>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -77,6 +77,7 @@ export default {
...
@@ -77,6 +77,7 @@ export default {
isEdit
:
this
.
$route
.
meta
.
type
==
'edit'
,
isEdit
:
this
.
$route
.
meta
.
type
==
'edit'
,
isAdd
:
this
.
$route
.
meta
.
type
==
'add'
,
isAdd
:
this
.
$route
.
meta
.
type
==
'add'
,
loading
:
false
,
loading
:
false
,
btnLoading
:
false
,
rules
:
{
rules
:
{
merchantPhoneNumber
:
[{
validator
:
merchantPhoneNumberVal
}]
merchantPhoneNumber
:
[{
validator
:
merchantPhoneNumberVal
}]
}
}
...
@@ -92,12 +93,17 @@ export default {
...
@@ -92,12 +93,17 @@ export default {
methods
:
{
methods
:
{
getDetail
()
{
getDetail
()
{
console
.
log
(
this
.
$route
);
console
.
log
(
this
.
$route
);
guidePageDetail
({
pageId
:
this
.
$route
.
params
.
id
}).
then
(
res
=>
{
this
.
loading
=
true
;
if
(
res
.
data
.
result
)
{
guidePageDetail
({
pageId
:
this
.
$route
.
params
.
id
})
const
result
=
res
.
data
.
result
;
.
then
(
res
=>
{
this
.
form
=
result
;
if
(
res
.
data
.
result
)
{
}
const
result
=
res
.
data
.
result
;
});
this
.
form
=
result
;
}
})
.
finally
(
_
=>
{
this
.
loading
=
false
;
});
},
},
getEchoEnterpriseInfo
()
{
getEchoEnterpriseInfo
()
{
wxEnterpriseList
({}).
then
(
res
=>
{
wxEnterpriseList
({}).
then
(
res
=>
{
...
@@ -111,18 +117,18 @@ export default {
...
@@ -111,18 +117,18 @@ export default {
});
});
},
},
guidePageEdit
()
{
guidePageEdit
()
{
this
.
l
oading
=
true
;
this
.
btnL
oading
=
true
;
guidePageEdit
(
this
.
form
)
guidePageEdit
(
this
.
form
)
.
then
(
_
=>
{
.
then
(
_
=>
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
this
.
$message
.
success
(
'保存成功'
);
this
.
$message
.
success
(
'保存成功'
);
})
})
.
finally
(
_
=>
{
.
finally
(
_
=>
{
this
.
l
oading
=
false
;
this
.
btnL
oading
=
false
;
});
});
},
},
guidePageSave
()
{
guidePageSave
()
{
this
.
l
oading
=
true
;
this
.
btnL
oading
=
true
;
guidePageSave
(
this
.
form
)
guidePageSave
(
this
.
form
)
.
then
(
_
=>
{
.
then
(
_
=>
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
...
@@ -130,7 +136,7 @@ export default {
...
@@ -130,7 +136,7 @@ export default {
this
.
$message
.
success
(
'保存成功'
);
this
.
$message
.
success
(
'保存成功'
);
})
})
.
finally
(
_
=>
{
.
finally
(
_
=>
{
this
.
l
oading
=
false
;
this
.
btnL
oading
=
false
;
});
});
},
},
save
()
{
save
()
{
...
...
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