diff --git a/src/pages.json b/src/pages.json index 48ed0e8..13b4833 100644 --- a/src/pages.json +++ b/src/pages.json @@ -242,6 +242,12 @@ "style" : { "navigationBarTitleText": "咖啡机管理" } + }, + { + "path": "pages/audio_manage/audio_manage", + "style" : { + "navigationBarTitleText": "音响管理" + } }, { "path": "pages/coffee_test/coffee_test", diff --git a/src/subpackage/device/js/device_api.js b/src/subpackage/device/js/device_api.js index d3e9e33..5f76bef 100644 --- a/src/subpackage/device/js/device_api.js +++ b/src/subpackage/device/js/device_api.js @@ -1,6 +1,7 @@ import { ORIGIN } from '../../../js/api'; export const DEVICE_API = { + ORIGIN:ORIGIN, stadiumList:`${ORIGIN}/stadium/list`, // 店铺列表 vendingGoodsList:`${ORIGIN}/stadium/vending/goods/list`, // 售货柜-商品列表 vendingGoodsRestock:`${ORIGIN}/admin/stadium/vending/goods/restock`, // 售货柜-库存修改保存 @@ -41,6 +42,9 @@ export const DEVICE_API = { //2021/0507 organizeOrderDetail:`${ORIGIN}/assistant/gaPlayTogetherOrder/get`, //助手约玩订单详情 + //2021/0705 音响 + uploadAudio:`${ORIGIN}/upload/file/audio`, // 上传录音 + sendAudio:`${ORIGIN}/ouxuanac/sendPacket`, // 发送上传录音并播放 } export default DEVICE_API; \ No newline at end of file diff --git a/src/subpackage/device/pages/audio_manage/audio_manage.vue b/src/subpackage/device/pages/audio_manage/audio_manage.vue new file mode 100644 index 0000000..f66a782 --- /dev/null +++ b/src/subpackage/device/pages/audio_manage/audio_manage.vue @@ -0,0 +1,849 @@ +