|
@@ -114,8 +114,7 @@ Page({
|
|
|
optionChange({
|
|
|
detail
|
|
|
}) {
|
|
|
- console.log(detail)
|
|
|
- let ftype = Number;
|
|
|
+ let ftype = 1;
|
|
|
const i = this.data.showBtn,
|
|
|
content = (detail == '双向合作') ? '是否确定将“' + this.data.requestList[i].fbrand + '”作为您的“' + detail + '”伙伴' : '是否确定将“' + this.data.requestList[i].fbrand + '”作为您的“' + detail + '合作”伙伴',
|
|
|
that = this;
|
|
@@ -130,6 +129,7 @@ Page({
|
|
|
ftype = 3;
|
|
|
break;
|
|
|
};
|
|
|
+ console.log(ftype)
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
content: content,
|
|
@@ -144,6 +144,7 @@ Page({
|
|
|
"ftype": ftype
|
|
|
}
|
|
|
}).then(res => {
|
|
|
+ console.log(res)
|
|
|
if (res.msg != '成功') return wx.showToast({
|
|
|
title: res.data,
|
|
|
icon: "none"
|