feat: 配置数据导出成表格,多语言翻译

This commit is contained in:
TsMask
2024-08-01 16:07:17 +08:00
parent ada1f388fc
commit 630c63e23f
5 changed files with 133 additions and 21 deletions

View File

@@ -39,6 +39,21 @@ export function ptContrastAsDefault(params: Record<string, any>) {
});
}
/**
* 配置数据导出Excel
* @param student 仅教师 student
* @returns object
*/
export function ptExport(student: string|undefined) {
return request({
url: `/pt/neConfigData/export`,
method: 'get',
params: { student },
responseType: 'blob',
timeout: 180_000,
});
}
/**
* 网元参数配置信息
* @param params 数据 {neType,paramName}