Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
baba9cdf
Commit
baba9cdf
authored
Jul 15, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e60c8808
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
QRCode.vue
pages/teamLeader/components/QRCode.vue
+7
-11
No files found.
pages/teamLeader/components/QRCode.vue
View file @
baba9cdf
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
props
:[
'TCIDs'
],
props
:[
'TCIDs'
],
data
()
{
data
()
{
return
{
return
{
currencyVisible
:
tru
e
,
currencyVisible
:
fals
e
,
list
:
[],
list
:
[],
current
:
0
,
current
:
0
,
indicatorDots
:
true
,
indicatorDots
:
true
,
...
@@ -100,14 +100,16 @@ export default {
...
@@ -100,14 +100,16 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
currencyVisible
=
true
},
},
methods
:
{
methods
:
{
changeHandler
(
i
)
{
changeHandler
(
i
)
{
this
.
current
=
i
.
detail
.
current
;
this
.
current
=
i
.
detail
.
current
;
},
},
getTem
(
TCIDs
){
getTem
(
TCIDs
){
uni
.
showLoading
()
uni
.
showLoading
({
title
:
"正在生成"
,
});
this
.
apipost
(
"dmcstatistics_post_GetExtendLeaderAllStatics"
,{
this
.
apipost
(
"dmcstatistics_post_GetExtendLeaderAllStatics"
,{
TCIDs
:
TCIDs
,
TCIDs
:
TCIDs
,
NewCombinationNum
:
''
NewCombinationNum
:
''
...
@@ -116,7 +118,7 @@ export default {
...
@@ -116,7 +118,7 @@ export default {
this
.
BaseInfo
=
res
.
data
.
BaseInfo
this
.
BaseInfo
=
res
.
data
.
BaseInfo
this
.
TCIDsList
=
this
.
TCIDs
.
split
(
','
)
this
.
TCIDsList
=
this
.
TCIDs
.
split
(
','
)
this
.
TCIDsList
.
forEach
((
x
,
index
)
=>
{
this
.
TCIDsList
.
forEach
((
x
,
index
)
=>
{
this
.
init
(
x
,
index
)
this
.
init
(
x
)
});
});
}
}
})
})
...
@@ -133,6 +135,7 @@ export default {
...
@@ -133,6 +135,7 @@ export default {
TCNUMS
:
this
.
BaseInfo
[
findIndex
].
TCNUMS
TCNUMS
:
this
.
BaseInfo
[
findIndex
].
TCNUMS
})
})
if
(
this
.
list
.
length
==
this
.
TCIDsList
.
length
)
{
if
(
this
.
list
.
length
==
this
.
TCIDsList
.
length
)
{
this
.
currencyVisible
=
true
this
.
list
.
forEach
((
x
,
i
)
=>
{
this
.
list
.
forEach
((
x
,
i
)
=>
{
this
.
drawCtx
(
i
)
this
.
drawCtx
(
i
)
})
})
...
@@ -146,9 +149,6 @@ export default {
...
@@ -146,9 +149,6 @@ export default {
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
},
},
drawCtx
(
i
)
{
drawCtx
(
i
)
{
// uni.showLoading({
// title: "正在生成",
// });
let
ctx
=
uni
.
createCanvasContext
(
`firstCanvas_
${
i
}
`
,
this
);
let
ctx
=
uni
.
createCanvasContext
(
`firstCanvas_
${
i
}
`
,
this
);
let
that
=
this
;
let
that
=
this
;
ctx
.
drawImage
(
that
.
list
[
i
].
Url
,
0
,
0
,
250
,
250
);
//绘制图
ctx
.
drawImage
(
that
.
list
[
i
].
Url
,
0
,
0
,
250
,
250
);
//绘制图
...
@@ -181,14 +181,10 @@ export default {
...
@@ -181,14 +181,10 @@ export default {
},
200
)
},
200
)
},
},
preservation
(){
preservation
(){
uni
.
showLoading
({
title
:
"正在生成"
,
});
let
that
=
this
;
let
that
=
this
;
uni
.
canvasToTempFilePath
({
uni
.
canvasToTempFilePath
({
canvasId
:
`firstCanvas_
${
that
.
current
}
`
,
canvasId
:
`firstCanvas_
${
that
.
current
}
`
,
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
uni
.
hideLoading
();
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"正在保存"
,
title
:
"正在保存"
,
});
});
...
...
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