|
@@ -32,6 +32,8 @@ export default {
|
|
|
SellerMobile: "",
|
|
|
PopupMsg: "",
|
|
|
OperationMode: "",
|
|
|
+ SellerName:'',
|
|
|
+ ActivityId:''
|
|
|
},
|
|
|
editIsShow: false, //外呼莫泰框
|
|
|
isCancelShow: false,
|
|
@@ -89,6 +91,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.Ret == 200) {
|
|
|
this.hasPermission = res.Data.HasPermission;
|
|
|
+ this.jurisdictionList.ActivityId = res.Data.ActivityId;
|
|
|
if (this.hasPermission == 1) {
|
|
|
const index = this.collectList.findIndex((item) => item.ActivityId == id);
|
|
|
this.collectList[index].SignupType = type;
|
|
@@ -118,9 +121,10 @@ export default {
|
|
|
}
|
|
|
} else if (this.hasPermission == 2) {
|
|
|
this.jurisdictionList.SellerMobile = res.Data.SellerMobile;
|
|
|
+ this.jurisdictionList.SellerName = res.Data.SellerName;
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.isShowhasPermission = true;
|
|
|
- } else if (this.hasPermission == 3 || this.hasPermission == 4) {
|
|
|
+ } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.applyForIsShow = true;
|
|
|
}
|
|
@@ -172,6 +176,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.Ret == 200) {
|
|
|
this.hasPermission = res.Data.HasPermission;
|
|
|
+ this.jurisdictionList.ActivityId = res.Data.ActivityId;
|
|
|
if (this.hasPermission == 1) {
|
|
|
if ((res.Data.GoFollow && res.Data.SignupStatus !== "Success") || !res.Data.GoFollow) {
|
|
|
this.isShow = true;
|
|
@@ -192,9 +197,10 @@ export default {
|
|
|
});
|
|
|
} else if (this.hasPermission == 2) {
|
|
|
this.jurisdictionList.SellerMobile = res.Data.SellerMobile;
|
|
|
+ this.jurisdictionList.SellerName = res.Data.SellerName;
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.isShowhasPermission = true;
|
|
|
- } else if (this.hasPermission == 3 || this.hasPermission == 4) {
|
|
|
+ } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.applyForIsShow = true;
|
|
|
}
|
|
@@ -289,15 +295,17 @@ export default {
|
|
|
const res = await activity.checkAskActivity({ActivityId:item.ActivityId })
|
|
|
if (res.Ret == 200) {
|
|
|
this.hasPermission = res.Data.HasPermission;
|
|
|
+ this.jurisdictionList.ActivityId = res.Data.ActivityId;
|
|
|
if (this.hasPermission == 1) {
|
|
|
uni.navigateTo({
|
|
|
url: "/activityPages/generationAsk/generationAsk?id=" + item.ActivityId,
|
|
|
});
|
|
|
} else if (this.hasPermission == 2) {
|
|
|
this.jurisdictionList.SellerMobile = res.Data.SellerMobile;
|
|
|
+ this.jurisdictionList.SellerName = res.Data.SellerName;
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.isShowhasPermission = true;
|
|
|
- } else if (this.hasPermission == 3 || this.hasPermission == 4) {
|
|
|
+ } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
|
|
|
this.jurisdictionList.PopupMsg = res.Data.PopupMsg;
|
|
|
this.applyForIsShow = true;
|
|
|
}
|