|
@@ -81,6 +81,7 @@ export default defineComponent({
|
|
detailFlag: null, //是否查询详情
|
|
detailFlag: null, //是否查询详情
|
|
musicTagIds: [] as any,//曲目标签
|
|
musicTagIds: [] as any,//曲目标签
|
|
applicationId: null, //所属人项目ID
|
|
applicationId: null, //所属人项目ID
|
|
|
|
+ extendApplicationId: null, //所属人项目ID
|
|
},
|
|
},
|
|
subjectList: [],
|
|
subjectList: [],
|
|
dataList: [] as any[],
|
|
dataList: [] as any[],
|
|
@@ -199,6 +200,7 @@ export default defineComponent({
|
|
organizationRoleId: (sourceType && sourceType === 'ORG') ? state.searchForm.userId : null,
|
|
organizationRoleId: (sourceType && sourceType === 'ORG') ? state.searchForm.userId : null,
|
|
musicTagIds: state.searchForm.musicTagIds?.join(','),
|
|
musicTagIds: state.searchForm.musicTagIds?.join(','),
|
|
...filterTimes(state.searchForm.times, ['startTime', 'endTime']),
|
|
...filterTimes(state.searchForm.times, ['startTime', 'endTime']),
|
|
|
|
+ applicationId: state.applicationId
|
|
})
|
|
})
|
|
state.pagination.pageTotal = Number(data.total)
|
|
state.pagination.pageTotal = Number(data.total)
|
|
state.dataList = data.rows || []
|
|
state.dataList = data.rows || []
|
|
@@ -265,7 +267,7 @@ export default defineComponent({
|
|
}
|
|
}
|
|
|
|
|
|
const updateUserIdData = async (sourceType: any) => {
|
|
const updateUserIdData = async (sourceType: any) => {
|
|
- if (!state.searchForm.applicationId) {
|
|
|
|
|
|
+ if (!state.searchForm.extendApplicationId) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
state.userIdData = []
|
|
state.userIdData = []
|
|
@@ -275,7 +277,7 @@ export default defineComponent({
|
|
page: 1,
|
|
page: 1,
|
|
rows: 9999,
|
|
rows: 9999,
|
|
sourceType: sourceType,
|
|
sourceType: sourceType,
|
|
- applicationId: state.searchForm.applicationId
|
|
|
|
|
|
+ applicationId: state.searchForm.extendApplicationId
|
|
})
|
|
})
|
|
const temp = data.rows || []
|
|
const temp = data.rows || []
|
|
temp.forEach((next: any) => {
|
|
temp.forEach((next: any) => {
|
|
@@ -491,7 +493,7 @@ export default defineComponent({
|
|
state.searchForm.userId = null
|
|
state.searchForm.userId = null
|
|
if (value && value !== 'PLATFORM') {
|
|
if (value && value !== 'PLATFORM') {
|
|
await updateUserIdData(value)
|
|
await updateUserIdData(value)
|
|
- state.userIdDisable = !state.searchForm.applicationId
|
|
|
|
|
|
+ state.userIdDisable = !state.searchForm.extendApplicationId
|
|
} else {
|
|
} else {
|
|
state.userIdDisable = true
|
|
state.userIdDisable = true
|
|
}
|
|
}
|
|
@@ -502,11 +504,11 @@ export default defineComponent({
|
|
<NFormItem label="项目" path="applicationId">
|
|
<NFormItem label="项目" path="applicationId">
|
|
<NSelect
|
|
<NSelect
|
|
placeholder="请选择项目"
|
|
placeholder="请选择项目"
|
|
- v-model:value={state.searchForm.applicationId}
|
|
|
|
|
|
+ v-model:value={state.searchForm.extendApplicationId}
|
|
options={state.useProjectData}
|
|
options={state.useProjectData}
|
|
clearable
|
|
clearable
|
|
onUpdateValue={async (value: any) => {
|
|
onUpdateValue={async (value: any) => {
|
|
- state.searchForm.applicationId = value
|
|
|
|
|
|
+ state.searchForm.extendApplicationId = value
|
|
if (value) {
|
|
if (value) {
|
|
await updateUserIdData(state.searchForm.sourceType)
|
|
await updateUserIdData(state.searchForm.sourceType)
|
|
state.userIdDisable = !(
|
|
state.userIdDisable = !(
|