diff --git a/src/pages.json b/src/pages.json index fe088c7..c1e0f13 100644 --- a/src/pages.json +++ b/src/pages.json @@ -683,6 +683,17 @@ } } ] + }, + { + "root": "subpackage/blacklist", + "pages": [ + { + "path": "pages/abnormal_list/abnormal_list", + "style" : { + "navigationBarTitleText": "进场人数异常" + } + } + ] } ], "globalStyle": { diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 1dae59e..bc4a991 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -137,6 +137,12 @@ path: '/pages/order_list/order_list?order_type=18', serverKey: 1014 // 后端对应权限编号 1014 }, + { + id: 10, + name: '进场人数异常', + path: '/subpackage/blacklist/pages/abnormal_list/abnormal_list', + serverKey: 1014 // 后端对应权限编号 1014 + }, ]; const app = getApp(); @@ -214,6 +220,8 @@ brandInfo: indexData&&indexData.brand ? indexData.brand : null, }); } + if(tabInfo.id === 10)return util.routeTo(tabInfo.path + `?brand_id=${indexData.brand.id}`,'nT'); + util.routeTo(tabInfo.path,'nT'); }, diff --git a/src/pages/write_off/operate/operate.vue b/src/pages/write_off/operate/operate.vue index 8a810fe..d9a6272 100644 --- a/src/pages/write_off/operate/operate.vue +++ b/src/pages/write_off/operate/operate.vue @@ -69,7 +69,7 @@ export default { // 获取店铺列表 getStoreList({ page=1, - page_size=9999, + page_size=99999, brand_id='', }){ return servers.get({ diff --git a/src/static/images/icon/index/tab_10.png b/src/static/images/icon/index/tab_10.png new file mode 100644 index 0000000..846edf1 Binary files /dev/null and b/src/static/images/icon/index/tab_10.png differ diff --git a/src/store/index.js b/src/store/index.js index cdd2e82..885237a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -42,6 +42,7 @@ export default new Vuex.Store({ '1011': '商品零售', '1013': '课程管理', '1014': '储值卡管理', + '1015': '进场人数异常', }, // 场地占用提交页面信息 occupyInfo: { diff --git a/src/subpackage/blacklist/js/api.js b/src/subpackage/blacklist/js/api.js new file mode 100644 index 0000000..a059e51 --- /dev/null +++ b/src/subpackage/blacklist/js/api.js @@ -0,0 +1,11 @@ +import { ORIGIN } from '../../../js/api'; + +export const BLACKLIST_API = { + stadiumList:`${ORIGIN}/admin/stadium/list`, // 店铺列表 + identifyRecords:`${ORIGIN}/admin/stadium/identify/records`, // 疑似逃票的记录 + blacklistAdd:`${ORIGIN}/admin/user/blacklist/add`, // 黑名单添加-后台 + blacklistRemove:`${ORIGIN}/admin/user/blacklist/remove`, // 黑名单移除-后台 + +} + +export default BLACKLIST_API; \ No newline at end of file diff --git a/src/subpackage/blacklist/js/server.js b/src/subpackage/blacklist/js/server.js new file mode 100644 index 0000000..2ee5a23 --- /dev/null +++ b/src/subpackage/blacklist/js/server.js @@ -0,0 +1,10 @@ +import { Server } from '../../../js/server'; + +class BlacklistServer extends Server { + constructor(props){ + super(props) + } +} + + +export default new BlacklistServer(); \ No newline at end of file diff --git a/src/subpackage/blacklist/pages/abnormal_list/abnormal_list.vue b/src/subpackage/blacklist/pages/abnormal_list/abnormal_list.vue new file mode 100644 index 0000000..60a6c9e --- /dev/null +++ b/src/subpackage/blacklist/pages/abnormal_list/abnormal_list.vue @@ -0,0 +1,349 @@ + + + + + \ No newline at end of file diff --git a/src/subpackage/blacklist/static/images/arrow.png b/src/subpackage/blacklist/static/images/arrow.png new file mode 100644 index 0000000..ad300f4 Binary files /dev/null and b/src/subpackage/blacklist/static/images/arrow.png differ diff --git a/src/subpackage/blacklist/static/images/triangle.png b/src/subpackage/blacklist/static/images/triangle.png new file mode 100644 index 0000000..7b7a4a8 Binary files /dev/null and b/src/subpackage/blacklist/static/images/triangle.png differ