|
@@ -193,6 +193,7 @@
|
|
const { path } = unref(currentRoute);
|
|
const { path } = unref(currentRoute);
|
|
const printMenuId = computed(() => currentRoute.value.meta.menuId as string);
|
|
const printMenuId = computed(() => currentRoute.value.meta.menuId as string);
|
|
const { filterColumnAuth, filterButtonAuth } = usePermission();
|
|
const { filterColumnAuth, filterButtonAuth } = usePermission();
|
|
|
|
+ const templateName = ref('');
|
|
const expandedKeys: Ref<UnwrapRef<any[]>> = ref([]);
|
|
const expandedKeys: Ref<UnwrapRef<any[]>> = ref([]);
|
|
let columns: BasicColumn[] = [], //列表配置
|
|
let columns: BasicColumn[] = [], //列表配置
|
|
searchFormSchema: FormSchema[] = [], //搜索框配置
|
|
searchFormSchema: FormSchema[] = [], //搜索框配置
|
|
@@ -675,6 +676,7 @@
|
|
title: t('快速导入'),
|
|
title: t('快速导入'),
|
|
downLoadUrl: redirectUrl || '/form/execute/export',
|
|
downLoadUrl: redirectUrl || '/form/execute/export',
|
|
type: 'POST',
|
|
type: 'POST',
|
|
|
|
+ templateName: templateName.value,
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
@@ -750,6 +752,7 @@
|
|
useTitle(` ${configJson.menuConfig.name} - ${title} `);
|
|
useTitle(` ${configJson.menuConfig.name} - ${title} `);
|
|
//设置是否需要左侧菜单
|
|
//设置是否需要左侧菜单
|
|
listConfig.value = configJson.listConfig!;
|
|
listConfig.value = configJson.listConfig!;
|
|
|
|
+ templateName.value = listConfig.value.importTemplateName;
|
|
listTitle.value = listConfig.value.listTitle || configJson.menuConfig.name;
|
|
listTitle.value = listConfig.value.listTitle || configJson.menuConfig.name;
|
|
const { queryConfigs, columnConfigs } = configJson.listConfig!;
|
|
const { queryConfigs, columnConfigs } = configJson.listConfig!;
|
|
//如果设置了左侧菜单 需要请求菜单数据
|
|
//如果设置了左侧菜单 需要请求菜单数据
|