Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
92af9d18
Commit
92af9d18
authored
Jul 28, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 创建链接
parent
936a2f55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
addTemp.vue
src/views/message/addTemp.vue
+16
-10
No files found.
src/views/message/addTemp.vue
View file @
92af9d18
...
...
@@ -141,16 +141,19 @@
<
el
-
form
-
item
label
=
"选择链接:"
>
<
div
class
=
"flex"
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.wxEnterpriseId"
@
change
=
"getlinkOptions()"
v
-
show
=
"entepriseList.length > 1"
>
<
el
-
option
v
-
for
=
"el in entepriseList"
:
key
=
"el.wxEnterpriseId"
:
value
=
"el.wxEnterpriseId"
:
label
=
"el.corpName"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.linkType"
@
change
=
"getlinkOptions()"
>
<
el
-
option
label
=
"专用链接"
:
value
=
"1"
><
/el-option
>
<
el
-
option
label
=
"通用链接"
:
value
=
"2"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.hmLinkId"
filterable
placeholder
=
"请选择"
remote
:
remote
-
method
=
"getlinkOptions"
:
loading
=
"linkOptionsLoading"
>
<
el
-
option
v
-
for
=
"item in linkOptions"
:
key
=
"item.shortCode"
:
label
=
"item.name"
:
value
=
"item.shortCode"
>
<
/el-option
>
<
/el-select
>
<
div
class
=
"flex"
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.wxEnterpriseId"
@
change
=
"getlinkOptions()"
v
-
show
=
"entepriseList.length > 1"
>
<
el
-
option
v
-
for
=
"el in entepriseList"
:
key
=
"el.wxEnterpriseId"
:
value
=
"el.wxEnterpriseId"
:
label
=
"el.corpName"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.linkType"
@
change
=
"getlinkOptions()"
>
<
el
-
option
label
=
"专用链接"
:
value
=
"1"
><
/el-option
>
<
el
-
option
label
=
"通用链接"
:
value
=
"2"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.hmLinkId"
filterable
placeholder
=
"请选择"
remote
:
remote
-
method
=
"getlinkOptions"
:
loading
=
"linkOptionsLoading"
>
<
el
-
option
v
-
for
=
"item in linkOptions"
:
key
=
"item.shortCode"
:
label
=
"item.name"
:
value
=
"item.shortCode"
>
<
/el-option
>
<
/el-select
>
<
/div
>
<
el
-
button
class
=
"ml10"
type
=
"text"
@
click
=
"createLink"
>
创建链接
<
/el-button
>
<
/div
>
<
/el-form-item
>
<
/div
>
...
...
@@ -344,6 +347,9 @@ export default {
this
.
getEntepriseList
();
}
,
methods
:
{
createLink
()
{
window
.
open
(
`${window.location.origin
}
/api-auth/login-for-haoban?requestProject=1&hbPage=attractFlowLink`
);
}
,
getlinkOptions
(
searchName
)
{
const
{
linkType
,
wxEnterpriseId
}
=
this
.
link
;
this
.
link
.
hmLinkId
=
''
;
...
...
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