Commit 9a06fa8c authored by 罗林杰's avatar 罗林杰

修改互要微信

parent 9395e780
......@@ -384,9 +384,7 @@ export default {
againConfirm(){
const form = {
targetId: this.targetId,
type: '1',
againRequest: '1',
wxOpenid: this.userInfo.wxOpenid
type: '1'
}
wantWeChatTask(form).then(res=>{
if (res.data.code == 200){
......@@ -400,6 +398,12 @@ export default {
title: res.data.message,
icon: 'none'
})
} else if (res.data.code == 1007){
uni.showToast({
title: res.data.message,
icon: 'none'
})
this.getWxTask()
} else {
this.isMessageConfirm = true;
this.tipMsg = res.data.message;
......@@ -410,9 +414,7 @@ export default {
applyPayConfirm(){
const form = {
targetId: this.targetId,
type: '1',
againRequest: '0',
wxOpenid: this.userInfo.wxOpenid
type: '1'
}
wantWeChatTask(form).then(res=>{
if (res.data.code == 200){
......@@ -426,6 +428,12 @@ export default {
title: res.data.message,
icon: 'none'
})
} else if (res.data.code == 1007){
uni.showToast({
title: res.data.message,
icon: 'none'
})
this.getWxTask()
} else {
this.isMessageConfirm = true;
this.tipMsg = res.data.message;
......@@ -466,9 +474,7 @@ export default {
const form = {
targetId: this.targetId,
status: '2',
type: '2',
againRequest: '0',
wxOpenid: this.userInfo.wxOpenid
type: '2'
}
wantWeChatTask(form).then(res=>{
if (res.data.code == 200){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment