|
@@ -83,6 +83,7 @@ export default defineComponent({
|
|
|
appAuditFlag: null, //是否审核版本
|
|
|
detailFlag: null, //是否查询详情
|
|
|
applicationId: null, //所属人项目ID
|
|
|
+ extendApplicationId: null, //所属人项目ID
|
|
|
},
|
|
|
subjectList: [],
|
|
|
dataList: [] as any[],
|
|
@@ -190,6 +191,7 @@ export default defineComponent({
|
|
|
userId: (sourceType && sourceType === 'PERSON') ? state.searchForm.userId : null,
|
|
|
organizationRoleId: (sourceType && sourceType === 'ORG') ? state.searchForm.userId : null,
|
|
|
...filterTimes(state.searchForm.times, ['startTime', 'endTime']),
|
|
|
+ applicationId: state.applicationId
|
|
|
})
|
|
|
state.pagination.pageTotal = Number(data.total)
|
|
|
state.dataList = data.rows || []
|
|
@@ -242,7 +244,7 @@ export default defineComponent({
|
|
|
}
|
|
|
|
|
|
const updateUserIdData = async (sourceType: any) => {
|
|
|
- if (!state.searchForm.applicationId) {
|
|
|
+ if (!state.searchForm.extendApplicationId) {
|
|
|
return
|
|
|
}
|
|
|
state.userIdData = []
|
|
@@ -252,7 +254,7 @@ export default defineComponent({
|
|
|
page: 1,
|
|
|
rows: 9999,
|
|
|
sourceType: sourceType,
|
|
|
- applicationId: state.searchForm.applicationId
|
|
|
+ applicationId: state.searchForm.extendApplicationId
|
|
|
})
|
|
|
const temp = data.rows || []
|
|
|
temp.forEach((next: any) => {
|
|
@@ -439,7 +441,7 @@ export default defineComponent({
|
|
|
state.searchForm.userId = null
|
|
|
if (value && value !== 'PLATFORM') {
|
|
|
await updateUserIdData(value)
|
|
|
- state.userIdDisable = !state.searchForm.applicationId
|
|
|
+ state.userIdDisable = !state.searchForm.extendApplicationId
|
|
|
} else {
|
|
|
state.userIdDisable = true
|
|
|
}
|
|
@@ -447,14 +449,14 @@ export default defineComponent({
|
|
|
clearable
|
|
|
/>
|
|
|
</NFormItem>
|
|
|
- <NFormItem label="项目" path="applicationId">
|
|
|
+ <NFormItem label="项目" path="extendApplicationId">
|
|
|
<NSelect
|
|
|
placeholder="请选择项目"
|
|
|
- v-model:value={state.searchForm.applicationId}
|
|
|
+ v-model:value={state.searchForm.extendApplicationId}
|
|
|
options={state.useProjectData}
|
|
|
clearable
|
|
|
onUpdateValue={async (value: any) => {
|
|
|
- state.searchForm.applicationId = value
|
|
|
+ state.searchForm.extendApplicationId = value
|
|
|
if (value) {
|
|
|
await updateUserIdData(state.searchForm.sourceType)
|
|
|
state.userIdDisable = !(
|