diff --git a/dist.zip b/dist.zip index 3175394..839962c 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/main.js b/src/main.js index 2aa7083..d68c53b 100644 --- a/src/main.js +++ b/src/main.js @@ -130,3 +130,7 @@ Element.Dialog.props.closeOnClickModal.default = false; + +// 添加 token 打印(从 Cookies 或 localStorage 获取) +const token = Cookies.get('Admin-Token') || localStorage.getItem('Admin-Token'); +console.log(' 当前 Token:', token); // 打印 token 到控制台 diff --git a/src/views/iot/device/acousto_optic.vue b/src/views/iot/device/acousto_optic.vue new file mode 100644 index 0000000..d4c0cc3 --- /dev/null +++ b/src/views/iot/device/acousto_optic.vue @@ -0,0 +1,1243 @@ + + + + + diff --git a/src/views/iot/device/device-edit.vue b/src/views/iot/device/device-edit.vue index 5a0ba72..2c54cf5 100644 --- a/src/views/iot/device/device-edit.vue +++ b/src/views/iot/device/device-edit.vue @@ -69,7 +69,7 @@ + }} @@ -187,8 +187,12 @@ ref="gatewayRunningStatus" :device="form" @statusEvent="getDeviceStatusData($event)" /> - + + + @@ -407,7 +411,7 @@ @@ -453,6 +457,8 @@ import defaultSettings from '@/settings'; import gatewayRunningStatus from './gatewayrunning-status.vue'; import relay from './relay.vue' import gatewaypre from './gatewaypre.vue' +import acousto_optic from'./acousto_optic.vue' +import voicecard from './voicecard.vue'; export default { name: 'DeviceEdit', dicts: ['iot_device_status', 'iot_location_way'], @@ -486,7 +492,9 @@ export default { deviceInlineVideo, gatewayRunningStatus, relay, - gatewaypre + gatewaypre, + acousto_optic, + voicecard }, watch: { activeName(val) { diff --git a/src/views/iot/device/voicecard.vue b/src/views/iot/device/voicecard.vue new file mode 100644 index 0000000..d7adbf0 --- /dev/null +++ b/src/views/iot/device/voicecard.vue @@ -0,0 +1,906 @@ + + + + + \ No newline at end of file