Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6d827318
authored
Mar 06, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
关键词群问题修复
1 parent
5b3f7cf3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
28 deletions
linkwe-pc/src/views/communityOperating/keywords/list.vue
linkwe-pc/src/views/communityOperating/keywords/list.vue
View file @
6d82731
<
script
>
<
script
>
import
{
getList
,
remove
}
from
'@/api/communityOperating/keywords'
import
{
getList
,
remove
}
from
'@/api/communityOperating/keywords'
export
default
{
export
default
{
components
:
{
SelectUser
},
props
:
{},
props
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -14,7 +13,7 @@ export default {
...
@@ -14,7 +13,7 @@ export default {
createBy
:
''
,
// 创建人
createBy
:
''
,
// 创建人
keywords
:
''
,
// 关键词
keywords
:
''
,
// 关键词
beginTime
:
''
,
// 创建开始时间
beginTime
:
''
,
// 创建开始时间
endTime
:
''
,
// 创建结束时间
endTime
:
''
// 创建结束时间
},
},
queryCreateByName
:
''
,
queryCreateByName
:
''
,
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
...
@@ -25,7 +24,7 @@ export default {
...
@@ -25,7 +24,7 @@ export default {
dialogHowToConfig
:
false
,
dialogHowToConfig
:
false
,
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
clipboard
:
null
,
clipboard
:
null
}
}
},
},
watch
:
{
watch
:
{
...
@@ -37,7 +36,7 @@ export default {
...
@@ -37,7 +36,7 @@ export default {
}
else
{
}
else
{
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
},
}
},
},
created
()
{
created
()
{
this
.
getList
(
1
)
this
.
getList
(
1
)
...
@@ -45,7 +44,7 @@ export default {
...
@@ -45,7 +44,7 @@ export default {
'app/setBusininessDesc'
,
'app/setBusininessDesc'
,
`
`
<div>当企业开通聊天工具栏后,用户可点击聊天工具栏中的【关键字群发】,搜索或选择某个关键词下的引导语及群活码,进行一键发送,客户手动扫码进群。</div>
<div>当企业开通聊天工具栏后,用户可点击聊天工具栏中的【关键字群发】,搜索或选择某个关键词下的引导语及群活码,进行一键发送,客户手动扫码进群。</div>
`
,
`
)
)
},
},
mounted
()
{
mounted
()
{
...
@@ -74,7 +73,7 @@ export default {
...
@@ -74,7 +73,7 @@ export default {
goRoute
(
id
)
{
goRoute
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'keywordsAev'
,
path
:
'keywordsAev'
,
query
:
{
id
:
id
},
query
:
{
id
:
id
}
})
})
},
},
// 重置查询参数
// 重置查询参数
...
@@ -91,7 +90,7 @@ export default {
...
@@ -91,7 +90,7 @@ export default {
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
})
})
.
then
(()
=>
{
.
then
(()
=>
{
const
ids
=
this
.
multiSelect
.
map
((
t
)
=>
t
.
taskId
)
const
ids
=
this
.
multiSelect
.
map
((
t
)
=>
t
.
taskId
)
...
@@ -110,7 +109,7 @@ export default {
...
@@ -110,7 +109,7 @@ export default {
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
})
})
.
then
(()
=>
{
.
then
(()
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
...
@@ -140,9 +139,9 @@ export default {
...
@@ -140,9 +139,9 @@ export default {
// 处理多选
// 处理多选
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multiSelect
=
val
this
.
multiSelect
=
val
},
}
},
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -167,7 +166,8 @@ export default {
...
@@ -167,7 +166,8 @@ export default {
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
align=
"right"
></el-date-picker>
align=
"right"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
...
@@ -193,7 +193,8 @@ export default {
...
@@ -193,7 +193,8 @@ export default {
<el-image
<el-image
slot=
"reference"
slot=
"reference"
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image--small"
></el-image>
class=
"code-image--small"
></el-image>
<el-image
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image"
></el-image>
<el-image
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image"
></el-image>
</el-popover>
</el-popover>
</
template
>
</
template
>
...
@@ -243,15 +244,17 @@ export default {
...
@@ -243,15 +244,17 @@ export default {
:total=
"total"
:total=
"total"
:page
.
sync=
"query.pageNum"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
@
pagination=
"getList()"
/>
</div>
</div>
<el-dialog
<el-dialog
title=
"配置方法"
title=
"配置方法"
:visible
.
sync=
"dialogHowToConfig"
:visible
.
sync=
"dialogHowToConfig"
width=
"500px"
width=
"500px"
style=
"margin-bottom: 7vh"
style=
"margin-bottom: 7vh;"
:close-on-click-modal=
"false"
>
:close-on-click-modal=
"false"
>
<div
class=
"help"
>
<div
class=
"help"
>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
1、登录企业微信官方后台,进入应用管理,点击 LinkWeChat,再点击【配置到聊天工具栏】。
</p>
<p>
1、登录企业微信官方后台,进入应用管理,点击 LinkWeChat,再点击【配置到聊天工具栏】。
</p>
...
@@ -274,25 +277,25 @@ export default {
...
@@ -274,25 +277,25 @@ export default {
</template>
</template>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.help
{
.help
{
.step
{
.step
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
}
}
.code-image
{
.code-image
{
width
:
200px
;
width
:
200px
;
height
:
200px
;
height
:
200px
;
}
}
.code-image--small
{
.code-image--small
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
}
}
.overflow-ellipsis
{
.overflow-ellipsis
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.table-desc
{
.table-desc
{
max-width
:
120px
;
max-width
:
120px
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment