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 8bfd11c0
authored
Mar 15, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新客自动拉群调试
1 parent
d9e5c81c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
linkwe-ui/src/views/communityOperating/newCustomer/aev.vue
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
linkwe-ui/src/views/communityOperating/newCustomer/aev.vue
View file @
8bfd11c
...
...
@@ -95,7 +95,7 @@ export default {
},
// 选择二维码确认按钮
submitSelectQrCode
(
data
)
{
debugger
//
debugger
this
.
form
.
groupCodeId
=
data
.
id
this
.
form
.
qrCode
=
data
.
codeUrl
this
.
$refs
.
form
.
validateField
(
'qrCode'
)
...
...
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
View file @
8bfd11c
...
...
@@ -77,7 +77,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
i
d
)
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
newGroupI
d
)
},
/** 删除按钮操作 */
remove
(
id
)
{
...
...
@@ -98,7 +98,7 @@ export default {
},
download
(
data
)
{
let
name
=
data
.
activityScene
+
'-'
+
data
.
newGroupId
+
'.png'
download
(
i
d
).
then
((
res
)
=>
{
download
(
data
.
newGroupI
d
).
then
((
res
)
=>
{
if
(
res
!=
null
)
{
let
blob
=
new
Blob
([
res
],
{
type
:
'application/zip'
})
let
url
=
window
.
URL
.
createObjectURL
(
blob
)
...
...
@@ -111,8 +111,8 @@ export default {
})
},
/** 批量下载 */
downloadBatch
(
qrCode
)
{
this
.
$confirm
(
'是否确认下载所有图片吗?'
,
'警告'
,
{
downloadBatch
()
{
this
.
$confirm
(
'是否确认下载所有
活码
图片吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
...
...
@@ -209,9 +209,15 @@ export default {
</el-tooltip>
</div>
<div>
<el-button
type=
"primary"
@
click=
"download()"
>
批量下载
</el-button>
<el-button
type=
"primary"
:disabled=
"!ids.length"
@
click=
"downloadBatch()"
>
批量下载
</el-button
>
<el-button
v-hasPermi=
"['customerManage:customer:export']"
:disabled=
"!ids.length"
type=
"cyan"
@
click=
"remove()"
>
批量删除
</el-button
...
...
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