diff --git a/public/static/tpl/import_destination.xlsx b/public/static/tpl/import_destination.xlsx new file mode 100644 index 00000000..26b2d639 Binary files /dev/null and b/public/static/tpl/import_destination.xlsx differ diff --git a/src/api/emis/emisDestination.js b/src/api/emis/emisDestination.js index e715ea7c..86707e3f 100644 --- a/src/api/emis/emisDestination.js +++ b/src/api/emis/emisDestination.js @@ -59,3 +59,12 @@ export function delEmisDestination(id) { method: 'delete' }) } + +// 批量导入目的地 +export function draftSubmitDestination(data) { + return request({ + url: '/emis/emisDestination/draftSubmitDestination', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/emis/emisDestination/batchImportDestination.vue b/src/views/emis/emisDestination/batchImportDestination.vue new file mode 100644 index 00000000..9ea33e71 --- /dev/null +++ b/src/views/emis/emisDestination/batchImportDestination.vue @@ -0,0 +1,412 @@ + + + + + + + + + + 选择文件 + 下载导入Excel模板 + + + + 批量发送 + + + 删除 + + + + + + + + 发送成功 + 待发送 + 发送异常 + + + + + {{ scope.row.errorInfo }} + 发送成功 + 待发送 + + + + + + + + + + + + + 启用 + 停用 + + + + + 是 + 否 + + + + + + + + + + diff --git a/src/views/emis/emisDestination/index.vue b/src/views/emis/emisDestination/index.vue index 5a254976..d6406ae9 100644 --- a/src/views/emis/emisDestination/index.vue +++ b/src/views/emis/emisDestination/index.vue @@ -112,6 +112,14 @@ v-hasPermi="['emis:emisDestination:export']" >导出 --> + 批量导入 @@ -196,12 +204,16 @@ :destroy-on-close="true" :destroy-on-close="true" --> - + + + +