|
@@ -98,6 +98,7 @@ export default defineComponent({
|
|
|
submitLoading: false,
|
|
|
showPicker: false,
|
|
|
music_sheet_service_fee: 0,
|
|
|
+ music_account_period: 0,
|
|
|
exquisiteFlag: 0,
|
|
|
backgroundMp3s: [
|
|
|
{
|
|
@@ -148,13 +149,33 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|
|
|
+ // 获取基础数据
|
|
|
request
|
|
|
- .get('/api-teacher/sysConfig/queryByParamName', {
|
|
|
+ .get('/api-teacher/sysConfig/queryByParamNameList', {
|
|
|
params: {
|
|
|
- paramName: 'music_sheet_service_fee'
|
|
|
+ paramNames: 'music_sheet_service_fee,music_account_period'
|
|
|
}
|
|
|
})
|
|
|
- .then(res => (this.music_sheet_service_fee = res.data.paramValue))
|
|
|
+ .then((res: any) => {
|
|
|
+ console.log(res, 'res')
|
|
|
+ const data = res.data || []
|
|
|
+ data.forEach((item: any) => {
|
|
|
+ if (item.paramName === 'music_sheet_service_fee') {
|
|
|
+ this.music_sheet_service_fee = item.paramValue
|
|
|
+ } else if (item.paramName === 'music_account_period') {
|
|
|
+ this.music_account_period = item.paramValue
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ // console.log(config, 'config')
|
|
|
+ // request
|
|
|
+ // .get('/api-teacher/sysConfig/queryByParamName', {
|
|
|
+ // params: {
|
|
|
+ // paramName: 'music_sheet_service_fee'
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // .then(res => (this.music_sheet_service_fee = res.data.paramValue))
|
|
|
// if (teacherState.subjectList.length <= 0) {
|
|
|
await request.get('/api-teacher/subject/subjectSelect').then(res => {
|
|
|
const list: any[] = []
|
|
@@ -461,7 +482,7 @@ export default defineComponent({
|
|
|
<br />
|
|
|
2、歌曲及歌曲信息中请勿涉及政治、宗教、广告、涉毒、犯罪、色情、低俗、暴力、血腥、消极等违规内容,违反者直接删除内容。多次违反将封号。
|
|
|
<br />
|
|
|
- 3、点击查看{' '}
|
|
|
+ 3、点击查看
|
|
|
<span onClick={() => this.onDetail('protocol')}>
|
|
|
《用户注册协议》
|
|
|
</span>
|
|
@@ -969,7 +990,11 @@ export default defineComponent({
|
|
|
</span>
|
|
|
元/人
|
|
|
</p>
|
|
|
- <p>您的乐谱收入将在学员购买后结算到您的账户中</p>
|
|
|
+
|
|
|
+ <p>
|
|
|
+ 您的乐谱收入在学员购买后{this.music_account_period}
|
|
|
+ 天结算到您的账户中
|
|
|
+ </p>
|
|
|
</div>
|
|
|
)}
|
|
|
</div>
|