|
@@ -59,7 +59,7 @@ export default defineComponent({
|
|
composer: null, //作曲人/音乐人
|
|
composer: null, //作曲人/音乐人
|
|
userId: null, //所属人
|
|
userId: null, //所属人
|
|
applicationId: null, //所属人项目ID
|
|
applicationId: null, //所属人项目ID
|
|
- useAppId: null, //适用项目ID
|
|
|
|
|
|
+ useAppId: [] as any, //适用项目ID
|
|
status: null, //曲目状态(0:停用,1:启用)
|
|
status: null, //曲目状态(0:停用,1:启用)
|
|
appAuditFlag: null, //是否审核版本
|
|
appAuditFlag: null, //是否审核版本
|
|
categoriesId: null, //是否审核版本
|
|
categoriesId: null, //是否审核版本
|
|
@@ -119,7 +119,7 @@ export default defineComponent({
|
|
return (
|
|
return (
|
|
<NDescriptions labelPlacement="left" column={1}>
|
|
<NDescriptions labelPlacement="left" column={1}>
|
|
<NDescriptionsItem label="音乐人">{row.composer}</NDescriptionsItem>
|
|
<NDescriptionsItem label="音乐人">{row.composer}</NDescriptionsItem>
|
|
- <NDescriptionsItem label="同时渲染所选声轨">{getMapValueByKey(row.musicSheetType, new Map(Object.entries(musicSheetType)))}</NDescriptionsItem>
|
|
|
|
|
|
+ <NDescriptionsItem label="多声轨渲染">{getMapValueByKey(row.musicSheetType, new Map(Object.entries(musicSheetType)))}</NDescriptionsItem>
|
|
<NDescriptionsItem label="分类"><TheTooltip content={row.musicCategoryName}/></NDescriptionsItem>
|
|
<NDescriptionsItem label="分类"><TheTooltip content={row.musicCategoryName}/></NDescriptionsItem>
|
|
<NDescriptionsItem label="可用声部"><TheTooltip content={row.subjectNames}/></NDescriptionsItem>
|
|
<NDescriptionsItem label="可用声部"><TheTooltip content={row.subjectNames}/></NDescriptionsItem>
|
|
</NDescriptions>
|
|
</NDescriptions>
|
|
@@ -381,7 +381,10 @@ export default defineComponent({
|
|
state.loading = true
|
|
state.loading = true
|
|
const sourceType = state.searchForm.sourceType;
|
|
const sourceType = state.searchForm.sourceType;
|
|
const userId = state.searchForm.userId
|
|
const userId = state.searchForm.userId
|
|
- let search={...state.searchForm} as any
|
|
|
|
|
|
+ let search = {
|
|
|
|
+ ...state.searchForm,
|
|
|
|
+ useAppId: state.searchForm.useAppId ? state.searchForm.useAppId.join(',') : state.searchForm.useAppId
|
|
|
|
+ } as any
|
|
if (sourceType) {
|
|
if (sourceType) {
|
|
if (sourceType == 'ORG') {
|
|
if (sourceType == 'ORG') {
|
|
search.organizationRoleId = userId
|
|
search.organizationRoleId = userId
|
|
@@ -500,9 +503,9 @@ export default defineComponent({
|
|
clearable
|
|
clearable
|
|
/>
|
|
/>
|
|
</NFormItem>
|
|
</NFormItem>
|
|
- <NFormItem label="同时渲染所选声轨" path="musicSheetType">
|
|
|
|
|
|
+ <NFormItem label="多声轨渲染" path="musicSheetType">
|
|
<NSelect
|
|
<NSelect
|
|
- placeholder="请选择是否同时渲染所选声轨"
|
|
|
|
|
|
+ placeholder="请选择多声轨渲染"
|
|
v-model:value={state.searchForm.musicSheetType}
|
|
v-model:value={state.searchForm.musicSheetType}
|
|
options={getSelectDataFromObj(musicSheetType)}
|
|
options={getSelectDataFromObj(musicSheetType)}
|
|
clearable
|
|
clearable
|
|
@@ -588,7 +591,8 @@ export default defineComponent({
|
|
placeholder="请选择适用项目"
|
|
placeholder="请选择适用项目"
|
|
v-model:value={state.searchForm.useAppId}
|
|
v-model:value={state.searchForm.useAppId}
|
|
options={state.useProjectData}
|
|
options={state.useProjectData}
|
|
- clearable
|
|
|
|
|
|
+ multiple
|
|
|
|
+ maxTagCount={1}
|
|
/>
|
|
/>
|
|
</NFormItem>
|
|
</NFormItem>
|
|
<NFormItem label="状态" path="status">
|
|
<NFormItem label="状态" path="status">
|