|
@@ -55,9 +55,15 @@
|
|
<view class="card-title text_twoLine">
|
|
<view class="card-title text_twoLine">
|
|
{{ detailTitle(detailData.VoiceList.Name) }}
|
|
{{ detailTitle(detailData.VoiceList.Name) }}
|
|
<view class="title-image">
|
|
<view class="title-image">
|
|
- <image @click="myLeavingMessageHandler(item)" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
|
|
|
|
- <image @click="isCollectionHandeler(item)" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png"></image>
|
|
|
|
- <!-- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png"></image> -->
|
|
|
|
|
|
+ <image @click="myLeavingMessageHandler" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
|
|
|
|
+ <image
|
|
|
|
+ @click="isCollectionHandeler"
|
|
|
|
+ :src="
|
|
|
|
+ detailData.IsCollect
|
|
|
|
+ ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png'
|
|
|
|
+ : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'
|
|
|
|
+ "
|
|
|
|
+ ></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -79,9 +85,15 @@
|
|
<view class="title text_twoLine">
|
|
<view class="title text_twoLine">
|
|
{{ detailTitle(detailData.VideoDetail.Title) }}
|
|
{{ detailTitle(detailData.VideoDetail.Title) }}
|
|
<view class="title-image">
|
|
<view class="title-image">
|
|
- <image @click="myLeavingMessageHandler(item)" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
|
|
|
|
- <image @click="isCollectionHandeler(item)" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png"></image>
|
|
|
|
- <!-- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png"></image> -->
|
|
|
|
|
|
+ <image @click="myLeavingMessageHandler" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
|
|
|
|
+ <image
|
|
|
|
+ @click="isCollectionHandeler"
|
|
|
|
+ :src="
|
|
|
|
+ detailData.IsCollect
|
|
|
|
+ ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png'
|
|
|
|
+ : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'
|
|
|
|
+ "
|
|
|
|
+ ></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -265,8 +277,6 @@
|
|
:jurisdictionList="jurisdictionList"
|
|
:jurisdictionList="jurisdictionList"
|
|
:mailboxBinding="mailboxBinding"
|
|
:mailboxBinding="mailboxBinding"
|
|
/>
|
|
/>
|
|
- <!-- 区号的弹出层 -->
|
|
|
|
- <areaCode :isAreaCode="isAreaCode" :areaCode="areaCode" />
|
|
|
|
</view>
|
|
</view>
|
|
<!-- 权限部分 -->
|
|
<!-- 权限部分 -->
|
|
<view v-else>
|
|
<view v-else>
|
|
@@ -282,7 +292,6 @@
|
|
<script>
|
|
<script>
|
|
import { activity, User, Home } from "@/config/api.js";
|
|
import { activity, User, Home } from "@/config/api.js";
|
|
import modalDialog from "@/components/modalDialog.vue";
|
|
import modalDialog from "@/components/modalDialog.vue";
|
|
-import areaCode from "@/components/activity/areaCode.vue";
|
|
|
|
import jurisdiction from "./jurisdiction/components.vue";
|
|
import jurisdiction from "./jurisdiction/components.vue";
|
|
import freeCharge from "@/components/freeCharge";
|
|
import freeCharge from "@/components/freeCharge";
|
|
import audioModule from "@/components/audioModule/index";
|
|
import audioModule from "@/components/audioModule/index";
|
|
@@ -313,12 +322,6 @@ export default {
|
|
state: "",
|
|
state: "",
|
|
},
|
|
},
|
|
selectShow: false,
|
|
selectShow: false,
|
|
- isAreaCode: false,
|
|
|
|
- areaCode: {
|
|
|
|
- id: "",
|
|
|
|
- type: "",
|
|
|
|
- },
|
|
|
|
- isNeedAddCountryCode: false,
|
|
|
|
haveAuth: "",
|
|
haveAuth: "",
|
|
jurisdictionList: {},
|
|
jurisdictionList: {},
|
|
editIsShow: false, //外呼莫泰框
|
|
editIsShow: false, //外呼莫泰框
|
|
@@ -369,7 +372,6 @@ export default {
|
|
components: {
|
|
components: {
|
|
modalDialog,
|
|
modalDialog,
|
|
jurisdiction,
|
|
jurisdiction,
|
|
- areaCode,
|
|
|
|
freeCharge,
|
|
freeCharge,
|
|
audioModule,
|
|
audioModule,
|
|
},
|
|
},
|
|
@@ -391,14 +393,6 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 获取是否需要填写区号接口
|
|
|
|
- countryCcode() {
|
|
|
|
- User.countryCcode().then((res) => {
|
|
|
|
- if (res.Ret == 200) {
|
|
|
|
- this.isNeedAddCountryCode = res.Data.IsNeedAddCountryCode;
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
// 获取详情
|
|
// 获取详情
|
|
getActivityDetail() {
|
|
getActivityDetail() {
|
|
activity
|
|
activity
|
|
@@ -419,7 +413,7 @@ export default {
|
|
prevPage.$vm.collectList[index].IsSignup = this.detailData.IsSignup;
|
|
prevPage.$vm.collectList[index].IsSignup = this.detailData.IsSignup;
|
|
prevPage.$vm.collectList[index].SignupNum = this.detailData.SignupNum;
|
|
prevPage.$vm.collectList[index].SignupNum = this.detailData.SignupNum;
|
|
prevPage.$vm.collectList[index].IsAppointment = this.detailData.IsAppointment;
|
|
prevPage.$vm.collectList[index].IsAppointment = this.detailData.IsAppointment;
|
|
- prevPage.$vm.collectList[index].IsCancelMeetingReminder = this.detailData.IsCancelMeetingReminder;
|
|
|
|
|
|
+ prevPage.$vm.collectList[index].IsCancelMeetingReminder = this.detailData.IsCancelMeetingReminder;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -590,6 +584,28 @@ export default {
|
|
let str = val.length > 41 ? val.slice(0, 41) + "..." : val;
|
|
let str = val.length > 41 ? val.slice(0, 41) + "..." : val;
|
|
return str;
|
|
return str;
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ // 微路演留言
|
|
|
|
+ myLeavingMessageHandler() {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "/activityPages/generationAsk/generationAsk?id=" + this.detailData.ActivityId + "&type=文章&roadshow=" + 1 + "&roadshowTitle=" + this.detailData.Title,
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ // 微路演收藏
|
|
|
|
+ async isCollectionHandeler() {
|
|
|
|
+ const res = await Home.microRoadshowCollect({
|
|
|
|
+ Id: this.detailData.ActivityId,
|
|
|
|
+ SourceType: this.detailData.FileType == 1 ? 2 : 1,
|
|
|
|
+ });
|
|
|
|
+ if (res.Ret === 200) {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.Msg,
|
|
|
|
+ duration: 2000,
|
|
|
|
+ });
|
|
|
|
+ this.getActivityDetail();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
},
|
|
},
|
|
async onLoad(option) {
|
|
async onLoad(option) {
|
|
this.id = option.id || "";
|
|
this.id = option.id || "";
|
|
@@ -597,7 +613,6 @@ export default {
|
|
// this.listenAudio()
|
|
// this.listenAudio()
|
|
if (!this.$store.state.isAuth && !this.$store.state.isBind) {
|
|
if (!this.$store.state.isAuth && !this.$store.state.isBind) {
|
|
//已授权已绑定
|
|
//已授权已绑定
|
|
- this.countryCcode(); //判断是否加区号
|
|
|
|
this.getActivityDetail();
|
|
this.getActivityDetail();
|
|
}
|
|
}
|
|
},
|
|
},
|