|
@@ -31,7 +31,7 @@ import {
|
|
|
musicSheetRemove
|
|
|
} from '@views/music-library/api'
|
|
|
import { getMapValueByKey, getSelectDataFromObj } from '@/utils/objectUtil'
|
|
|
-import { appKey, musicSheetAudioType, musicSheetSourceType, musicSheetType } from '@/utils/constant'
|
|
|
+import {appKey, musicSheetAudioType, musicSheetPaymentType, musicSheetSourceType, musicSheetType} from '@/utils/constant'
|
|
|
import { sysApplicationPage } from '@views/menu-manage/api'
|
|
|
import { musicSheetApplicationExtendSubjectList } from '@views/system-manage/api'
|
|
|
import { filterTimes } from '@/utils/dateUtil'
|
|
@@ -355,13 +355,13 @@ export default defineComponent({
|
|
|
// return <div>{getMapValueByKey(row.availableType, new Map(Object.entries(musicSheetAvailableType)))}</div>
|
|
|
// }
|
|
|
// },
|
|
|
- // {
|
|
|
- // title: '收费方式',
|
|
|
- // key: 'paymentType',
|
|
|
- // render: (row: any) => {
|
|
|
- // return <div>{getMapValueByKey(row.paymentType, new Map(Object.entries(musicSheetPaymentType)))}</div>
|
|
|
- // }
|
|
|
- // },
|
|
|
+ {
|
|
|
+ title: '收费方式',
|
|
|
+ key: 'paymentType',
|
|
|
+ render: (row: any) => {
|
|
|
+ return <div>{getMapValueByKey(row.paymentType, new Map(Object.entries(musicSheetPaymentType)))}</div>
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
title: '上传人',
|
|
|
minWidth: '150px',
|
|
@@ -553,6 +553,25 @@ export default defineComponent({
|
|
|
{/* >*/}
|
|
|
{/* </NSelect>*/}
|
|
|
{/*</NFormItem>*/}
|
|
|
+ <NFormItem label="收费方式" path="paymentType">
|
|
|
+ <NSelect
|
|
|
+ v-model:value={state.searchForm.paymentType}
|
|
|
+ placeholder="请选择收费方式"
|
|
|
+ options={
|
|
|
+ [
|
|
|
+ {
|
|
|
+ label: '免费',
|
|
|
+ value: 'FREE'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '会员',
|
|
|
+ value: 'VIP'
|
|
|
+ }
|
|
|
+ ] as any
|
|
|
+ }
|
|
|
+ clearable
|
|
|
+ />
|
|
|
+ </NFormItem>
|
|
|
<NFormItem label="状态" path="status">
|
|
|
<NSelect
|
|
|
v-model:value={state.searchForm.status}
|