diff --git a/src/api/thrsys/spsSyncDownload.js b/src/api/thrsys/spsSyncDownload.js new file mode 100644 index 0000000..d3a4e52 --- /dev/null +++ b/src/api/thrsys/spsSyncDownload.js @@ -0,0 +1,28 @@ +import axios from "../../utils/axios"; + + +export function filterLog(query) { + return axios({ + url: "/spssync/download/basic/udiinfo/filter", + method: "get", + params: query + }); +} + +export function deleteLog(query) { + return axios({ + url: "/spssync/download/basic/udiinfo/deleteByStatus", + method: "post", + data: query + }); +} + +export function findConfig(query) { + return axios({ + url: "/system/param/syncData/config", + method: "get", + params: query + }); +} + + diff --git a/src/router/index.js b/src/router/index.js index 0721da8..a2d6c44 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -107,6 +107,9 @@ import additionalOrder from "@/views/warehouse/AdditionalOrder"; import invStatistics from "@/views/inventory/InvStatistics"; import thrInvWarehouse from "@/views/thrsys/ThrInvWarehouse"; +//同步管理 +import sysUdimsDownloadData from "../views/thrsys/SysUdimsDownloadData"; + const err401 = r => require.ensure([], () => r(require("../views/error/err401.vue")), "home"); @@ -389,12 +392,21 @@ export const asyncRouterMap = [ { path: "spsSyncData", component: spsSyncData, - name: "同步记录", + name: "同步任务", icon: "", meta: { authRule: ["spsSyncMange/spsSyncData"] } }, + { + path: "sysUdimsDownloadData", + component: sysUdimsDownloadData, + name: "下载记录", + icon: "", + meta: { + authRule: ["spsSyncMange/sysUdimsDownloadData"] + } + }, ] }, diff --git a/src/views/thrsys/SysUdimsDownloadData.vue b/src/views/thrsys/SysUdimsDownloadData.vue new file mode 100644 index 0000000..6917352 --- /dev/null +++ b/src/views/thrsys/SysUdimsDownloadData.vue @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + {{ type[scope.row.idDatas] }} + + + + + {{ status[scope.row.status] }} + + + + + + + + + + + 删除 + + + + + + + + + + + +