|
@@ -84,7 +84,7 @@
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="收费内容">
|
|
|
- <div class="inputStyle">{{ titleForm.calenderSettingsName }}</div>
|
|
|
+ <div class="inputStyle" style="width:500px">{{ infoMsg }}</div>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div class="m-core">
|
|
@@ -395,6 +395,8 @@ import pagination from "@/components/Pagination/index";
|
|
|
import load from "@/utils/loading";
|
|
|
import cleanDeep from "clean-deep";
|
|
|
import qs from "qs";
|
|
|
+import {courseType} from '@/utils/searchArray'
|
|
|
+import { paymentPatternType } from '@/constant'
|
|
|
import {
|
|
|
findSound,
|
|
|
getmusicGroupPaymentCalenderDetail,
|
|
@@ -461,6 +463,7 @@ export default {
|
|
|
paymentValidEndDate: "",
|
|
|
calenderSettingsName: "",
|
|
|
},
|
|
|
+ msgList:[]
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
@@ -505,15 +508,16 @@ export default {
|
|
|
}
|
|
|
this.titleForm = {
|
|
|
paymentType: res.data.calender.paymentType,
|
|
|
- musicGroupOrganizationCourseSettingId:res.data.calender.musicGroupOrganizationCourseSettingId,
|
|
|
- paymentPattern: res.data.calender.paymentPattern,
|
|
|
+ musicGroupOrganizationCourseSettingId:res.data.calenderSettingsName,
|
|
|
+ paymentPattern: paymentPatternType[res.data.calender.paymentPattern],
|
|
|
paymentValidStartDate:res.data.calender.paymentValidStartDate,
|
|
|
paymentValidEndDate: res.data.calender.paymentValidEndDate,
|
|
|
calenderSettingsName: res.data.calenderSettingsName,
|
|
|
};
|
|
|
+ this.msgList = res.data.musicGroupPaymentCalenderCourseSettings
|
|
|
this.searchForm.id = this.id;
|
|
|
this.searchForm.page = this.rules.page;
|
|
|
- this.searchForm.rows = this.rules.limit;
|
|
|
+ this.searchForm.rows = this.rules.limit;
|
|
|
getmusicGroupPaymentCalenderDetail(this.searchForm).then(
|
|
|
(payment) => {
|
|
|
if (payment.code == 200) {
|
|
@@ -735,6 +739,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ infoMsg(){
|
|
|
+ // courseType
|
|
|
+ let str = ''
|
|
|
+ this.msgList.forEach(item=>{
|
|
|
+ courseType.forEach(course=>{
|
|
|
+ if(item.courseType == course.value){
|
|
|
+ str += `${course.label}/${item.courseTotalMinuties}分钟、`
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ return str
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|