diff --git a/public/s.html b/public/s.html new file mode 100644 index 0000000..60b0d2c --- /dev/null +++ b/public/s.html @@ -0,0 +1,278 @@ + + + + + + + + 欢迎使用牛栏山二锅头防伪查询系统 + + + + + + + +
+
+ +

查询结果:

+
+ + +
+ +
+
+ + + + + \ No newline at end of file diff --git a/src/api/waring.js b/src/api/waring.js new file mode 100644 index 0000000..be7f55b --- /dev/null +++ b/src/api/waring.js @@ -0,0 +1,16 @@ +import request from '@/utils/request'; + +export function getScanList(params) { + return request({ + url: '/scan/list', + method: 'post', + data:params + }); +} +export function getScanDetail(params) { + return request({ + url: '/scan/detail', + method: 'post', + data:params + }); +} \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 229d5a8..81d748c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -194,6 +194,28 @@ const routes = [ }, ], }, + //扫码告警页-------缉查人员 + { + path: 'scanWaring', + component: AppMain, + name: 'scanWaring', + redirect: 'noredirect', + meta: {title: '扫码告警'}, + children: [ + { + path: '', + component: () => import('@/views/waring/index.vue'), + name: 'scanWaring', + // meta: {title: '印制成品码数据统计', icon: 'form', noCache: true}, + }, + { + path: 'detail', + component: () => import('@/views/waring/detail.vue'), + name: 'scanWaringDetail', + meta: {title: '告警码详细', icon: 'form', noCache: true}, + }, + ], + }, //系统管理 { path: 'system', diff --git a/src/store/modules/user.js b/src/store/modules/user.js index acfb836..ce931f3 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -37,7 +37,6 @@ const user = { // state.activeIndex = activeIndex; // }, }, - actions: { // 登录 Login({commit}, param) { diff --git a/src/views/waring/detail.vue b/src/views/waring/detail.vue new file mode 100644 index 0000000..2fed07c --- /dev/null +++ b/src/views/waring/detail.vue @@ -0,0 +1,91 @@ + + + diff --git a/src/views/waring/index.vue b/src/views/waring/index.vue new file mode 100644 index 0000000..dcd7ea8 --- /dev/null +++ b/src/views/waring/index.vue @@ -0,0 +1,93 @@ + + +