指标查询带入指标代码,默认填充

main
zhangxiaodi1 9 months ago
parent ec021952e0
commit a414044361

@ -206,6 +206,7 @@ const lookRule = (data)=>{
router.push({
name:'IndexSearchServiceMs',
query:{
code:data.code,
indexsetCode:data.indexsetCode,
frequency:data.frequency,
reportDate: date,

@ -29,6 +29,7 @@ const pageQuery = ref(route || null);
const reportDate = pageQuery.value?.query?.reportDate;
const organId = pageQuery.value?.query?.organId;
const frequency = pageQuery.value?.query?.frequency;
const code = pageQuery.value?.query?.code;
let frequency_param_LIST = ref([]);
@ -229,6 +230,7 @@ const searchSchema = reactive<FormSchema[]>([
formItemProps: {
rules: [required()],
},
value:code
}
])
@ -237,7 +239,7 @@ const setSearchParams = (data: any) => {
searchParams.value = data
getList()
}
setSearchParams({indexsetCode:indexsetCode,reportDate:reportDate,organId:organId,frequency:frequency});
setSearchParams({indexsetCode:indexsetCode,reportDate:reportDate,organId:organId,frequency:frequency,code:code});
const dialogVisible = ref(false)
const dialogTitle = ref('')

Loading…
Cancel
Save