提交 6d445f4c authored 作者: jinrongbin's avatar jinrongbin

历史数据下载接口增加参数

上级 ba3b7427
......@@ -79,7 +79,7 @@
const flg = ref(1);
const visible = ref<boolean>(false);
const bgvisible = ref<boolean>(false);
const [registerTable, { reload }, { rowSelection, selectedRows, selectedRowKeys }] = tableContext;
const [registerTable, { reload, getForm }, { rowSelection, selectedRows, selectedRowKeys }] = tableContext;
//成功回调
function handleSuccess() {
......@@ -127,7 +127,8 @@
}
const getMdb = () => {
getDownloadMdb(null).then((res) => {
const { nd, jd } = getForm().getFieldsValue();
getDownloadMdb({ nd, jd }).then((res) => {
// console.log(res);
if (res) {
downloadFile('/sys/common/static' + res, res.split('/')[res.split('/').length - 1]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论