diff --git a/public/config.js b/public/config.js index ed9ff8e..5e583bf 100644 --- a/public/config.js +++ b/public/config.js @@ -1,7 +1,7 @@ config = { - // API_URL: 'http://fw.niulanshan.com.cn:8081', - API_URL: 'http://61.135.192.50:8082', + API_URL: 'http://fw.niulanshan.com.cn:8081', + // API_URL: 'http://172.119.51.150:8081', } \ No newline at end of file diff --git a/src/api/send.js b/src/api/send.js index 10903d6..ffacf1a 100644 --- a/src/api/send.js +++ b/src/api/send.js @@ -14,4 +14,22 @@ export function addSendList(params) { method: 'post', data:params }); -} \ No newline at end of file +} + +//酒厂---全部发码列表 +export function sendTotalList(params) { + return request({ + url: '/code/sendlist', + method: 'post', + data:params + }); +} +//酒厂---全部发码列表查询 +export function sendTotalFetch(params) { + return request({ + url: '/code/fetch/', + method: 'post', + data:params + }); +} + diff --git a/src/router/index.ts b/src/router/index.ts index 81d748c..6848898 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -194,6 +194,21 @@ const routes = [ }, ], }, + //印制成品码数据统计---酒厂 + { + path: 'sendTotal', + component: AppMain, + name: 'sendTotal', + redirect: 'noredirect', + meta: {title: '发码列表'}, + children: [ + { + path: '', + component: () => import('@/views/send/sendTotal.vue'), + name: 'sendTotal', + } + ], + }, //扫码告警页-------缉查人员 { path: 'scanWaring', diff --git a/src/views/send/sendTotal.vue b/src/views/send/sendTotal.vue new file mode 100644 index 0000000..a787c16 --- /dev/null +++ b/src/views/send/sendTotal.vue @@ -0,0 +1,84 @@ + + \ No newline at end of file