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