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 db62d67a
authored
Apr 25, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
issue相关问题修改
1 parent
c58b4402
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
62 deletions
linkwe-ui/src/api/groupMessage.js
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/api/groupMessage.js
View file @
db62d67
...
@@ -85,7 +85,7 @@ export function getPushResult(params) {
...
@@ -85,7 +85,7 @@ export function getPushResult(params) {
/**
/**
* 同步消息发送结果
* 同步消息发送结果
* @param {*} data
* @param {*} data
* msgid:列表msgid
* msgid
s
:列表msgid
messageId:消息id
messageId:消息id
*/
*/
export
function
syncMsg
(
data
)
{
export
function
syncMsg
(
data
)
{
...
...
linkwe-ui/src/views/customerManage/customer.vue
View file @
db62d67
...
@@ -114,7 +114,7 @@ export default {
...
@@ -114,7 +114,7 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
getListTag
()
{
getListTag
(
refresh
)
{
getListTag
().
then
(({
rows
})
=>
{
getListTag
().
then
(({
rows
})
=>
{
this
.
listTagOneArray
=
[]
this
.
listTagOneArray
=
[]
rows
.
forEach
((
element
)
=>
{
rows
.
forEach
((
element
)
=>
{
...
@@ -122,6 +122,13 @@ export default {
...
@@ -122,6 +122,13 @@ export default {
this
.
listTagOneArray
.
push
(
d
)
this
.
listTagOneArray
.
push
(
d
)
})
})
})
})
if
(
refresh
)
{
this
.
$refs
.
selectTag
.
getList
()
this
.
form
=
{
gourpName
:
''
,
weTags
:
[],
}
}
})
})
},
},
getListOrganization
()
{
getListOrganization
()
{
...
@@ -497,64 +504,6 @@ export default {
...
@@ -497,64 +504,6 @@ export default {
>
>
</div>
</div>
</SelectTag>
</SelectTag>
<!-- <el-dialog
key="
1
"
:title="
tagDialogType
.
title
"
:visible.sync="
dialogVisible
"
>
<div>
<span class="
mr20
">选择分组</span>
<el-select v-model="
selectedGroup
" placeholder="
请选择
">
<el-option label="
所有标签
" value></el-option>
<el-option
v-for="
(
item
,
index
)
in
listTag
"
:key="
index
"
:label="
item
.
gourpName
"
:value="
item
.
groupId
"
></el-option>
</el-select>
<div class="
mt20
">
<el-checkbox-group
v-model="
selectedTag
"
v-if="
tagDialogType
.
type
!==
'remove'
"
>
<template v-for="
(
item
,
index
)
in
listTag
">
<div
class="
bfc
-
d
"
v-show="
item
.
groupId
===
selectedGroup
||
!
selectedGroup
"
:key="
index
"
>
<el-checkbox
:label="
unit
"
v-for="
(
unit
,
unique
)
in
item
.
weTags
"
:key="
index
+
unique
"
>
{{
unit
.
name
}}
<
/el-checkbo
x
>
<
/div
>
<
/template
>
<
/el-checkbox-group
>
<
el
-
checkbox
-
group
v
-
else
v
-
model
=
"selectedTag"
>
<
template
v
-
for
=
"(item, index) in removeTag"
>
<
el
-
checkbox
v
-
if
=
"item.groupId === selectedGroup || !selectedGroup"
:
label
=
"item"
:
key
=
"index"
>
{{
item
.
name
}}
<
/el-checkbo
x
>
<
/template
>
<
/el-checkbox-group
>
<
/div
>
<
div
class
=
"mt20"
v
-
show
=
"tagDialogType.type === 'add'"
>
<
el
-
button
type
=
"primary"
@
click
=
"dialogVisibleAddTag = true"
>
添加标签
<
/el-butto
n
>
<
/div
>
<
/div
>
<
div
slot
=
"footer"
>
<
el
-
button
@
click
=
"dialogVisible = false"
>
取
消
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"submitSelectTag"
>
确
定
<
/el-button
>
<
/div
>
<
/el-dialog> --
>
<!-- 选择添加人弹窗 -->
<!-- 选择添加人弹窗 -->
<SelectUser
<SelectUser
...
@@ -567,7 +516,7 @@ export default {
...
@@ -567,7 +516,7 @@ export default {
<AddTag
<AddTag
:visible.sync="
dialogVisibleAddTag
"
:visible.sync="
dialogVisibleAddTag
"
:form="
form
"
:form="
form
"
@
success
=
"getListTag()"
@success="
getListTag
(
true
)
"
/>
/>
</div>
</div>
</template>
</template>
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
db62d67
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
},
},
syncMsg
(
data
)
{
syncMsg
(
data
)
{
let
{
msgid
,
messageId
}
=
data
let
{
msgid
,
messageId
}
=
data
syncMsg
({
msgid
,
messageId
})
syncMsg
({
msgid
s
:
[
msgid
]
,
messageId
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
this
.
msgSuccess
(
'同步成功'
)
this
.
msgSuccess
(
'同步成功'
)
this
.
getList
()
this
.
getList
()
...
...
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