Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
李伟
cust-app
Commits
40546680
Commit
40546680
authored
Mar 04, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改互换微信逻辑
parent
b28b868c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
4 deletions
+35
-4
info.vue
pagesme/message/info.vue
+35
-4
No files found.
pagesme/message/info.vue
View file @
40546680
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<ELM
ref=
"elmBlack"
:msg=
'tipMsg'
:isConfirm=
"isBlackConfirm"
@
confirm=
"blackConfirm"
></ELM>
<ELM
ref=
"elmBlack"
:msg=
'tipMsg'
:isConfirm=
"isBlackConfirm"
@
confirm=
"blackConfirm"
></ELM>
<ELM
ref=
"elmMessagePay"
:msg=
'tipMsg'
:isConfirm=
"isMessagePayConfirm"
@
confirm=
"messagePayConfirm"
></ELM>
<ELM
ref=
"elmMessagePay"
:msg=
'tipMsg'
:isConfirm=
"isMessagePayConfirm"
@
confirm=
"messagePayConfirm"
></ELM>
<ELM
ref=
"elmApplyPay"
:msg=
'tipMsg'
:isConfirm=
"isApplyPayConfirm"
@
confirm=
"applyPayConfirm"
></ELM>
<ELM
ref=
"elmApplyPay"
:msg=
'tipMsg'
:isConfirm=
"isApplyPayConfirm"
@
confirm=
"applyPayConfirm"
></ELM>
<ELM
ref=
"elmAgain"
:msg=
"tipMsg"
:isConfirm=
"isAgainConfirm"
confirmName=
"申请"
@
confirm=
"a
pplyPay
Confirm"
></ELM>
<ELM
ref=
"elmAgain"
:msg=
"tipMsg"
:isConfirm=
"isAgainConfirm"
confirmName=
"申请"
@
confirm=
"a
gain
Confirm"
></ELM>
</view>
</view>
</template>
</template>
...
@@ -179,11 +179,13 @@ export default {
...
@@ -179,11 +179,13 @@ export default {
this
.
open
()
this
.
open
()
}
else
if
(
this
.
wxTask
.
type
==
'2'
&&
this
.
wxTask
.
status
==
'2'
){
}
else
if
(
this
.
wxTask
.
type
==
'2'
&&
this
.
wxTask
.
status
==
'2'
){
if
(
this
.
wxTask
.
targetId
==
this
.
targetId
){
if
(
this
.
wxTask
.
targetId
==
this
.
targetId
){
this
.
wantWxC
()
this
.
tipMsg
=
"对方已拒绝请求,是否花费"
+
this
.
applyWxPayment
+
"金币再次申请?"
;
}
else
{
this
.
tipMsg
=
"对方已拒绝请求,是否再次申请?"
;
this
.
isAgainConfirm
=
true
;
this
.
isAgainConfirm
=
true
;
this
.
$refs
.
elmAgain
.
showDialog
();
this
.
$refs
.
elmAgain
.
showDialog
();
}
else
{
this
.
tipMsg
=
"已拒绝对方请求"
;
this
.
isConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
}
}
}
}
}
}
...
@@ -381,10 +383,37 @@ export default {
...
@@ -381,10 +383,37 @@ export default {
}
}
})
})
},
},
againConfirm
(){
const
form
=
{
targetId
:
this
.
targetId
,
type
:
'2'
,
againRequest
:
'1'
,
wxOpenid
:
this
.
userInfo
.
wxOpenid
}
wantWeChatTask
(
form
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
this
.
getWxTask
()
uni
.
showToast
({
title
:
'已发送请求'
,
icon
:
'none'
})
}
else
if
(
res
.
data
.
code
==
1005
||
res
.
data
.
code
==
1006
){
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
}
else
{
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elmMessage
.
showDialog
();
}
})
},
applyPayConfirm
(){
applyPayConfirm
(){
const
form
=
{
const
form
=
{
targetId
:
this
.
targetId
,
targetId
:
this
.
targetId
,
type
:
'1'
,
type
:
'1'
,
againRequest
:
'0'
,
wxOpenid
:
this
.
userInfo
.
wxOpenid
wxOpenid
:
this
.
userInfo
.
wxOpenid
}
}
wantWeChatTask
(
form
).
then
(
res
=>
{
wantWeChatTask
(
form
).
then
(
res
=>
{
...
@@ -411,6 +440,7 @@ export default {
...
@@ -411,6 +440,7 @@ export default {
targetId
:
this
.
targetId
,
targetId
:
this
.
targetId
,
status
:
'1'
,
status
:
'1'
,
type
:
'2'
,
type
:
'2'
,
againRequest
:
'0'
,
wxOpenid
:
this
.
userInfo
.
wxOpenid
wxOpenid
:
this
.
userInfo
.
wxOpenid
}
}
wantWeChatTask
(
form
).
then
(
res
=>
{
wantWeChatTask
(
form
).
then
(
res
=>
{
...
@@ -439,6 +469,7 @@ export default {
...
@@ -439,6 +469,7 @@ export default {
targetId
:
this
.
targetId
,
targetId
:
this
.
targetId
,
status
:
'2'
,
status
:
'2'
,
type
:
'2'
,
type
:
'2'
,
againRequest
:
'0'
,
wxOpenid
:
this
.
userInfo
.
wxOpenid
wxOpenid
:
this
.
userInfo
.
wxOpenid
}
}
wantWeChatTask
(
form
).
then
(
res
=>
{
wantWeChatTask
(
form
).
then
(
res
=>
{
...
...
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