zhanbo.xu

feat: 新增PDD

1 +import request from "@/utils/request";
2 +// GET
3 +// /customerDeclareData/info/{customerDeclareDataId}
4 +// 查询客户申报数据信息
5 +export function getCustomerDeclareDataId({ customerDeclareDataId }) {
6 + return request({
7 + url: `/bus-customer/customerDeclareData/info/${customerDeclareDataId}`,
8 + method: "get",
9 + });
10 +}
11 +
12 +// POST
13 +// /customerDeclareData/search
14 +// 查询客户申报数据列表
15 +export function getPddInfo(data) {
16 + return request({
17 + url: "/bus-customer/customerDeclareData/search",
18 + method: "post",
19 + data: data,
20 + });
21 +}
...@@ -5,7 +5,6 @@ Vue.use(Router); ...@@ -5,7 +5,6 @@ Vue.use(Router);
5 5
6 /* Layout */ 6 /* Layout */
7 import Layout from "@/layout"; 7 import Layout from "@/layout";
8 -import ParentView from "@/components/ParentView";
9 8
10 /** 9 /**
11 * Note: 路由配置项 10 * Note: 路由配置项
...@@ -198,6 +197,14 @@ export const constantRoutes = [ ...@@ -198,6 +197,14 @@ export const constantRoutes = [
198 hidden: true, 197 hidden: true,
199 meta: { title: "运抵详情", icon: "" }, 198 meta: { title: "运抵详情", icon: "" },
200 }, 199 },
200 + {
201 + path: "/pdd-detail",
202 + component: (resolve) =>
203 + require(["@/views/pdd-info/detail.vue"], resolve),
204 + name: "PddListDetail",
205 + hidden: true,
206 + meta: { title: "PDD数据详情", icon: "" },
207 + },
201 ], 208 ],
202 }, 209 },
203 { 210 {
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.