|
@@ -1,13 +1,19 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <u-modal v-model="show" :content-style="{ fontSize: '32rpx' }" @confirm="contentBtn" :show-title="false" confirm-text="知道了" :confirm-style="{ fontWeight: '700' }">
|
|
|
+ <!-- <u-modal v-model="show"
|
|
|
+ :content-style="{ fontSize: '32rpx' }"
|
|
|
+ @confirm="contentBtn"
|
|
|
+ :show-title="false"
|
|
|
+ confirm-text="知道了"
|
|
|
+ :confirm-style="{ fontWeight: '700' }"
|
|
|
+ >
|
|
|
<view class="slot-content">
|
|
|
<rich-text :nodes="content"></rich-text>
|
|
|
</view>
|
|
|
- </u-modal>
|
|
|
+ </u-modal> -->
|
|
|
|
|
|
<!-- 关注公众号 -->
|
|
|
- <u-modal
|
|
|
+ <!-- <u-modal
|
|
|
v-model="goFollowShow"
|
|
|
:content-style="{ fontSize: '32rpx' }"
|
|
|
@confirm="goFollowShowBtn"
|
|
@@ -21,10 +27,10 @@
|
|
|
<view class="slot-content">
|
|
|
<rich-text :nodes="accounts"></rich-text>
|
|
|
</view>
|
|
|
- </u-modal>
|
|
|
+ </u-modal> -->
|
|
|
|
|
|
- <u-modal
|
|
|
- v-model="cancelShow"
|
|
|
+ <!-- <u-modal
|
|
|
+ v-model="cancelcancelShow"
|
|
|
:content="canceltext"
|
|
|
:content-style="{ fontSize: '32rpx', lineHeight: '80rpx' }"
|
|
|
:confirm-style="{ fontWeight: '700' }"
|
|
@@ -33,10 +39,10 @@
|
|
|
:show-title="false"
|
|
|
:show-cancel-button="true"
|
|
|
:cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
|
|
|
- ></u-modal>
|
|
|
+ ></u-modal> -->
|
|
|
|
|
|
<!-- 立即申请 -->
|
|
|
- <u-modal
|
|
|
+ <!-- <u-modal
|
|
|
v-model="applyIsShow"
|
|
|
:content-style="{ fontSize: '32rpx' }"
|
|
|
@confirm="applyIsShowBtn"
|
|
@@ -50,47 +56,51 @@
|
|
|
<view class="slot-content">
|
|
|
<rich-text :nodes="jurisdictionText"></rich-text>
|
|
|
</view>
|
|
|
- </u-modal>
|
|
|
+ </u-modal> -->
|
|
|
|
|
|
- <!-- 拨打电话 -->
|
|
|
- <u-modal
|
|
|
- v-model="showhasPermission"
|
|
|
+ <!-- <u-modal v-model="showRelation" confirm-text="知道了" :confirm-style="{ fontWeight: '700' }" :content="contentRelation"></u-modal> -->
|
|
|
+
|
|
|
+ <!-- <u-modal
|
|
|
+ v-model="isModalShow"
|
|
|
:content-style="{ fontSize: '32rpx' }"
|
|
|
- @confirm="showhasPermissionBtn"
|
|
|
+ @confirm="gmailboxBindingDlgBtn"
|
|
|
:show-cancel-button="true"
|
|
|
- confirm-text="提交申请"
|
|
|
- @cancel="showhasPermissionCancel"
|
|
|
+ :confirm-text="confirmText"
|
|
|
+ @cancel="cancelMailboxBindingDlg"
|
|
|
:show-title="false"
|
|
|
:cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
|
|
|
:confirm-style="{ fontWeight: '700' }"
|
|
|
>
|
|
|
<view class="slot-content">
|
|
|
- <block v-if="jurisdictionList.isAudioVideo == 2">
|
|
|
- <text>您暂无权限查看此视频</text>
|
|
|
- <text>若想查看可以联系对口销售</text>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <text>您暂无权限参加此活动</text>
|
|
|
- <text>若想参加可以联系对口销售</text>
|
|
|
- </block>
|
|
|
+ <rich-text :nodes="content"></rich-text>
|
|
|
+ </view>
|
|
|
+ </u-modal> -->
|
|
|
|
|
|
- <view
|
|
|
- >{{ jurisdictionList.SellerName }} : <text @click="mobileDial" class="seller-mobile"> {{ jurisdictionList.SellerMobile }}</text></view
|
|
|
- >
|
|
|
- <text>申请开通对应的试用权限</text>
|
|
|
+ <u-modal
|
|
|
+ v-model="isModalShow"
|
|
|
+ :content-style="{ fontSize: '32rpx' }"
|
|
|
+ @confirm="confirmModal"
|
|
|
+ :show-cancel-button="true"
|
|
|
+ :confirm-text="confirmText"
|
|
|
+ :cancel-text="editIsShowDlg ? '前去修改' : '取消'"
|
|
|
+ @cancel="cancelModal"
|
|
|
+ :show-title="false"
|
|
|
+ :cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
|
|
|
+ :confirm-style="{ fontWeight: '700' }"
|
|
|
+ >
|
|
|
+ <view class="slot-content">
|
|
|
+ <rich-text :nodes="content"></rich-text>
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
- <u-modal v-model="showRelation" confirm-text="知道了" :confirm-style="{ fontWeight: '700' }" :content="contentRelation"></u-modal>
|
|
|
-
|
|
|
<!-- 修改手机号 -->
|
|
|
- <u-modal
|
|
|
+
|
|
|
+ <!-- <u-modal
|
|
|
width="650"
|
|
|
v-model="editIsShowDlg"
|
|
|
:content-style="{ fontSize: '32rpx' }"
|
|
|
@confirm="GoOutboundMobileBtn"
|
|
|
:show-cancel-button="true"
|
|
|
confirm-text="无需修改"
|
|
|
- cancel-text="前去修改"
|
|
|
cancel-color="#3385FF"
|
|
|
@cancel="GoOutboundMobileIsGo"
|
|
|
:show-title="false"
|
|
@@ -99,21 +109,33 @@
|
|
|
<view class="slot-content">
|
|
|
<rich-text :nodes="editIsShowAccounts"></rich-text>
|
|
|
</view>
|
|
|
- </u-modal>
|
|
|
-
|
|
|
+ </u-modal> -->
|
|
|
+ <!-- 拨打电话 -->
|
|
|
<u-modal
|
|
|
- v-model="mailboxBindingDlg"
|
|
|
+ v-model="showhasPermission"
|
|
|
:content-style="{ fontSize: '32rpx' }"
|
|
|
- @confirm="gmailboxBindingDlgBtn"
|
|
|
+ @confirm="showhasPermissionBtn"
|
|
|
:show-cancel-button="true"
|
|
|
- confirm-text="设置"
|
|
|
- @cancel="cancelMailboxBindingDlg"
|
|
|
+ confirm-text="提交申请"
|
|
|
+ @cancel="showhasPermissionCancel"
|
|
|
:show-title="false"
|
|
|
:cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
|
|
|
:confirm-style="{ fontWeight: '700' }"
|
|
|
>
|
|
|
<view class="slot-content">
|
|
|
- <rich-text :nodes="mailboxText"></rich-text>
|
|
|
+ <block v-if="jurisdictionList.isAudioVideo == 2">
|
|
|
+ <text>您暂无权限查看此视频</text>
|
|
|
+ <text>若想查看可以联系对口销售</text>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <text>您暂无权限参加此活动</text>
|
|
|
+ <text>若想参加可以联系对口销售</text>
|
|
|
+ </block>
|
|
|
+
|
|
|
+ <view
|
|
|
+ >{{ jurisdictionList.SellerName }} : <text @click="mobileDial" class="seller-mobile"> {{ jurisdictionList.SellerMobile }}</text></view
|
|
|
+ >
|
|
|
+ <text>申请开通对应的试用权限</text>
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
</view>
|
|
@@ -130,17 +152,14 @@ export default {
|
|
|
applyIsShow: false,
|
|
|
showRelation: false,
|
|
|
showhasPermission: false,
|
|
|
- contentRelation: "申请已提交,请等待销售人员与您联系",
|
|
|
- content: "",
|
|
|
accounts: "",
|
|
|
- canceltext: "",
|
|
|
jurisdictionText: "",
|
|
|
hasPermissionText: "",
|
|
|
editIsShowAccounts: "",
|
|
|
editIsShowDlg: false,
|
|
|
mailboxBindingDlg: false,
|
|
|
- mailboxText: "您当前绑定的联系方式为邮箱,请先设置您的外呼号码",
|
|
|
isShowAlert: false, //获取权限弹窗是否展示免费月卡接口
|
|
|
+ contentType: "",
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
@@ -219,63 +238,48 @@ export default {
|
|
|
isShow() {
|
|
|
this.show = this.isShow;
|
|
|
},
|
|
|
- signupType() {
|
|
|
- if (this.signupStatus !== "Success") return;
|
|
|
- if (this.signupType == 1) {
|
|
|
- this.content = `${this.countryCode}-${this.mobileEdit}<br/>预约成功,已加入您的活动日程 <br/><br/> 请关注【查研观向小助手】公众号,及时获取活动信息变更提醒
|
|
|
-
|
|
|
-`;
|
|
|
- this.accounts = `
|
|
|
- ${this.countryCode}-${this.mobileEdit}<br/>
|
|
|
- 预约成功,已加入您的活动日程<br/><br/>
|
|
|
-
|
|
|
- 想要及时获取活动时间变更通知,请关注【查研观向小助手】公众号
|
|
|
- `;
|
|
|
- } else if (this.signupType == 999) {
|
|
|
- this.content = "设置成功<br /> <br/>请关注【查研观向小助手】公众号,会前15分钟为您推送微信提醒";
|
|
|
- this.accounts = `设置成功,会前15分钟会为您推送微信消息提醒<br/><br/>
|
|
|
- 请关注【查研观向小助手】公众号,以获取微信消息提醒`;
|
|
|
- } else if (this.signupType == "summaryIsHandel") {
|
|
|
- this.content = "会议纪要预约成功 <br/><br/> 请关注【查研观向小助手】公众号,若有调研纪要发布/更新,将及时为您推送微信消息";
|
|
|
- this.accounts = `
|
|
|
- 会议纪要预约成功<br/><br/>
|
|
|
-
|
|
|
- 请关注【查研观向小助手】公众号,若有调研纪要发布/更新,将及时为您推送微信消息 `;
|
|
|
- } else {
|
|
|
- this.content = `报名成功,已加入您的活动日程 <br/><br/> 请关注【查研观向小助手】公众号,${this.signupType == "CClass" ? "及时获取活动信息变更提醒" : "会前1小时为您推送微信提醒"}`;
|
|
|
- this.accounts = `
|
|
|
- 报名成功,已加入您的活动日程<br/><br/>
|
|
|
-
|
|
|
- 想要及时获取活动时间变更通知,请关注【查研观向小助手】公众号 `;
|
|
|
- }
|
|
|
- },
|
|
|
- signupStatus() {
|
|
|
- if (this.signupStatus == "Success") return;
|
|
|
- if (this.signupStatus == "FullStarffed") {
|
|
|
- this.content = "此活动报名人数已满,请留意下期活动";
|
|
|
- } else if (this.signupStatus == "TwoPeople") {
|
|
|
- this.content = "单机构最多2人报名同一活动,您所在机构报名人数已满";
|
|
|
- } else if (this.signupStatus == "BreakPromise") {
|
|
|
- this.content = "由于爽约次数过多,您暂时被限制报名资格";
|
|
|
- } else if (this.signupStatus == "Overtime") {
|
|
|
- this.content = "活动开始前1小时内无法预约,请联系对口销售处理";
|
|
|
- }
|
|
|
- },
|
|
|
- "idTypeCancel.type": {
|
|
|
- handler: function () {
|
|
|
- if (this.idTypeCancel.type == 1) {
|
|
|
- this.canceltext = "您要取消此次活动预约外呼吗?";
|
|
|
+ signupType: {
|
|
|
+ handler(newVal) {
|
|
|
+ if (this.signupStatus !== "Success") return;
|
|
|
+ if (this.show) {
|
|
|
+ this.contentType =
|
|
|
+ newVal == 1
|
|
|
+ ? `${this.countryCode}-${this.mobileEdit}<br/>预约成功,已加入您的活动日程 <br/><br/> 请关注【查研观向小助手】公众号,及时获取活动信息变更提醒`
|
|
|
+ : newVal == 999
|
|
|
+ ? "设置成功<br /> <br/>请关注【查研观向小助手】公众号,会前15分钟为您推送微信提醒"
|
|
|
+ : newVal == "summaryIsHandel"
|
|
|
+ ? "会议纪要预约成功 <br/><br/> 请关注【查研观向小助手】公众号,若有调研纪要发布/更新,将及时为您推送微信消息"
|
|
|
+ : `报名成功,已加入您的活动日程 <br/><br/> 请关注【查研观向小助手】公众号,${this.signupType == "CClass" ? "及时获取活动信息变更提醒" : "会前1小时为您推送微信提醒"}`;
|
|
|
} else {
|
|
|
- this.canceltext = "您要取消此次活动的报名吗?";
|
|
|
+ this.contentType =
|
|
|
+ newVal == 1
|
|
|
+ ? `${this.countryCode}-${this.mobileEdit}<br/>预约成功,已加入您的活动日程<br/><br/>想要及时获取活动时间变更通知,请关注【查研观向小助手】公众号`
|
|
|
+ : newVal == 999
|
|
|
+ ? `设置成功,会前15分钟会为您推送微信消息提醒<br/><br/>请关注【查研观向小助手】公众号,以获取微信消息提醒`
|
|
|
+ : newVal == "summaryIsHandel"
|
|
|
+ ? `会议纪要预约成功<br/><br/>请关注【查研观向小助手】公众号,若有调研纪要发布/更新,将及时为您推送微信消息`
|
|
|
+ : `报名成功,已加入您的活动日程<br/><br/>想要及时获取活动时间变更通知,请关注【查研观向小助手】公众号 `;
|
|
|
}
|
|
|
},
|
|
|
- deep: true,
|
|
|
+ },
|
|
|
+ signupStatus: {
|
|
|
+ handler(newVal) {
|
|
|
+ if (newVal == "Success") return;
|
|
|
+ this.contentType =
|
|
|
+ newVal == "FullStarffed"
|
|
|
+ ? "此活动报名人数已满,请留意下期活动"
|
|
|
+ : newVal == "TwoPeople"
|
|
|
+ ? "单机构最多2人报名同一活动,您所在机构报名人数已满"
|
|
|
+ : newVal == "BreakPromise"
|
|
|
+ ? "由于爽约次数过多,您暂时被限制报名资格"
|
|
|
+ : '"活动开始前1小时内无法预约,请联系对口销售处理"';
|
|
|
+ },
|
|
|
},
|
|
|
isCancelShow() {
|
|
|
this.cancelShow = this.isCancelShow;
|
|
|
},
|
|
|
applyForIsShow() {
|
|
|
- this.jurisdictionText = this.isShowAlert ? "上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡" : this.jurisdictionList.PopupMsg;
|
|
|
+ this.content = this.isShowAlert ? "上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡" : this.jurisdictionList.PopupMsg;
|
|
|
this.applyIsShow = this.applyForIsShow;
|
|
|
},
|
|
|
isShowhasPermission() {
|
|
@@ -283,75 +287,104 @@ export default {
|
|
|
this.showhasPermission = this.isShowhasPermission;
|
|
|
},
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ isModalShow: {
|
|
|
+ get() {
|
|
|
+ let isShow = this.show || this.cancelShow || this.goFollowShow || this.applyIsShow || this.mailboxBindingDlg || this.showRelation;
|
|
|
+ return isShow;
|
|
|
+ },
|
|
|
+ set() {},
|
|
|
+ },
|
|
|
+ confirmText() {
|
|
|
+ let text = this.mailboxBindingDlg
|
|
|
+ ? "设置"
|
|
|
+ : this.applyIsShow && this.isShowAlert
|
|
|
+ ? "立即上传"
|
|
|
+ : this.applyIsShow && !this.isShowAlert
|
|
|
+ ? "立即申请"
|
|
|
+ : this.goFollowShow
|
|
|
+ ? "去关注"
|
|
|
+ : this.show || this.showRelation
|
|
|
+ ? "知道了"
|
|
|
+ : this.editIsShowDlg
|
|
|
+ ? "无需修改"
|
|
|
+ : "";
|
|
|
+ return text;
|
|
|
+ },
|
|
|
+ content() {
|
|
|
+ let str = this.showRelation
|
|
|
+ ? "申请已提交,请等待销售人员与您联系"
|
|
|
+ : this.mailboxBindingDlg
|
|
|
+ ? "您当前绑定的联系方式为邮箱,请先设置您的外呼号码"
|
|
|
+ : this.applyIsShow
|
|
|
+ ? this.jurisdictionList.PopupMsg
|
|
|
+ : this.goFollowShow || this.show
|
|
|
+ ? this.contentType
|
|
|
+ : this.showRelation
|
|
|
+ ? "申请已提交,请等待销售人员与您联系"
|
|
|
+ : "";
|
|
|
+ return str;
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
- contentBtn() {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ * 确定
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+ confirmModal() {
|
|
|
+ this.show
|
|
|
+ ? this.contentBtn()
|
|
|
+ : this.goFollowShow
|
|
|
+ ? this.goFollowShowBtn()
|
|
|
+ : this.cancelShow
|
|
|
+ ? this.cancelShowBtn()
|
|
|
+ : this.applyIsShow
|
|
|
+ ? this.applyIsShowBtn()
|
|
|
+ : this.mailboxBindingDlg
|
|
|
+ ? this.gmailboxBindingDlgBtn()
|
|
|
+ : this.editIsShowDlg
|
|
|
+ ? this.GoOutboundMobileBtn()
|
|
|
+ : "";
|
|
|
+ this.initData();
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ * 取消
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+ cancelModal() {
|
|
|
+ this.editIsShowDlg ? this.GoOutboundMobileIsGo : this.initData();
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ * 重置
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+ initData() {
|
|
|
this.$parent.isShow = false;
|
|
|
+ this.$parent.signupType = "";
|
|
|
this.show = false;
|
|
|
- this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
- },
|
|
|
- //去关注
|
|
|
- goFollowShowBtn() {
|
|
|
- this.$parent.goFollow = false;
|
|
|
- this.goFollowShow = false;
|
|
|
- this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
- uni.navigateTo({
|
|
|
- url: "/activityPages/accountsOfficial/accountsOfficial",
|
|
|
- });
|
|
|
- },
|
|
|
- cancel() {
|
|
|
this.$parent.goFollow = false;
|
|
|
this.goFollowShow = false;
|
|
|
-
|
|
|
- this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
- },
|
|
|
- cancelBtn() {
|
|
|
- this.$parent.isCancelShow = false;
|
|
|
- this.cancelShow = false;
|
|
|
- },
|
|
|
- cancelShowBtn() {
|
|
|
- activity
|
|
|
- .signupCancel({
|
|
|
- ActivityId: this.idTypeCancel.id,
|
|
|
- SignupType: this.idTypeCancel.type,
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.Ret == 200) {
|
|
|
- this.idTypeCancel.cutId = res.Data.ActivityId;
|
|
|
- if (this.signupType == 1) {
|
|
|
- uni.showToast({
|
|
|
- title: "预约外呼已取消",
|
|
|
- duration: 2000,
|
|
|
- });
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: "已取消报名",
|
|
|
- duration: 2000,
|
|
|
- });
|
|
|
- }
|
|
|
- this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
- }
|
|
|
- this.$parent.isCancelShow = false;
|
|
|
- this.cancelShow = false;
|
|
|
- });
|
|
|
- },
|
|
|
- //立即申请
|
|
|
- applyIsShowBtn() {
|
|
|
- this.applyIsShow = false;
|
|
|
- this.$parent.applyForIsShow = false;
|
|
|
- if (this.hasPermission == 3) {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pageMy/applyTrial/applyTrial?tryType=Activity&detailId=" + this.jurisdictionList.ActivityId,
|
|
|
- });
|
|
|
- } else if (this.hasPermission == 4) {
|
|
|
- this.showRelation = true;
|
|
|
- } else if (this.hasPermission == 5) {
|
|
|
- this.showhasPermissionBtn();
|
|
|
- }
|
|
|
- },
|
|
|
- applyIsShowCancel() {
|
|
|
this.applyIsShow = false;
|
|
|
this.$parent.applyForIsShow = false;
|
|
|
+ this.$parent.mailboxBinding = false;
|
|
|
+ this.mailboxBindingDlg = false;
|
|
|
+ this.$parent.signupType = "";
|
|
|
+ this.$parent.isCancelShow = false;
|
|
|
+ this.cancelShow = false;
|
|
|
},
|
|
|
+
|
|
|
showhasPermissionBtn() {
|
|
|
User.applyTry({
|
|
|
TryType: this.jurisdictionList.isAudioVideo == 1 ? "MicroAudio" : this.jurisdictionList.isAudioVideo == 2 ? "MicroVideo" : "Activity",
|
|
@@ -397,18 +430,7 @@ export default {
|
|
|
this.mobileEdit,
|
|
|
});
|
|
|
},
|
|
|
- gmailboxBindingDlgBtn() {
|
|
|
- this.$parent.mailboxBinding = false;
|
|
|
- this.mailboxBindingDlg = false;
|
|
|
- this.$parent.signupType = "";
|
|
|
- uni.navigateTo({
|
|
|
- url: "/activityPages/editOutbound/editOutbound?title=设置外呼号码&identification=邮箱&goOnNextStep=" + this.goOnNextStep + "&id=" + this.idTypeCancel.cutId,
|
|
|
- });
|
|
|
- },
|
|
|
- cancelMailboxBindingDlg() {
|
|
|
- this.$parent.mailboxBinding = false;
|
|
|
- this.mailboxBindingDlg = false;
|
|
|
- },
|
|
|
+
|
|
|
//获取权限弹窗是否展示免费月卡接口
|
|
|
async userIsShowAlert() {
|
|
|
const res = await FreeButton.userIsShowAlert();
|
|
@@ -416,6 +438,76 @@ export default {
|
|
|
this.isShowAlert = res.Data.IsShow;
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *confirm 模块
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+ //正常的
|
|
|
+ contentBtn() {
|
|
|
+ this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
+ },
|
|
|
+ //去关注
|
|
|
+ goFollowShowBtn() {
|
|
|
+ this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/activityPages/accountsOfficial/accountsOfficial",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ cancelShowBtn() {
|
|
|
+ activity
|
|
|
+ .signupCancel({
|
|
|
+ ActivityId: this.idTypeCancel.id,
|
|
|
+ SignupType: this.idTypeCancel.type,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.Ret == 200) {
|
|
|
+ this.idTypeCancel.cutId = res.Data.ActivityId;
|
|
|
+ if (this.signupType == 1) {
|
|
|
+ uni.showToast({
|
|
|
+ title: "预约外呼已取消",
|
|
|
+ duration: 2000,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: "已取消报名",
|
|
|
+ duration: 2000,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.$emit("cancelShowBtn", this.idTypeCancel, this.signupType, this.idTypeCancel.isNum);
|
|
|
+ }
|
|
|
+ this.$parent.isCancelShow = false;
|
|
|
+ this.cancelShow = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //立即申请
|
|
|
+ applyIsShowBtn() {
|
|
|
+ if (this.hasPermission == 3) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pageMy/applyTrial/applyTrial?tryType=Activity&detailId=" + this.jurisdictionList.ActivityId,
|
|
|
+ });
|
|
|
+ } else if (this.hasPermission == 4) {
|
|
|
+ this.showRelation = true;
|
|
|
+ } else if (this.hasPermission == 5) {
|
|
|
+ this.showhasPermissionBtn();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //去设置
|
|
|
+ gmailboxBindingDlgBtn() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/activityPages/editOutbound/editOutbound?title=设置外呼号码&identification=邮箱&goOnNextStep=" + this.goOnNextStep + "&id=" + this.idTypeCancel.cutId,
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.userIsShowAlert();
|
|
@@ -423,7 +515,7 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss">
|
|
|
+<style lang="scss">
|
|
|
.slot-content {
|
|
|
width: 100%;
|
|
|
padding: 50rpx;
|