diff --git a/src/views/iot/tplink/camera/components/CameraCommonForm.vue b/src/views/iot/tplink/camera/components/CameraCommonForm.vue index cba9d0d..e12fb6c 100644 --- a/src/views/iot/tplink/camera/components/CameraCommonForm.vue +++ b/src/views/iot/tplink/camera/components/CameraCommonForm.vue @@ -350,7 +350,6 @@ import { "deviceIndex": deviceIndex, "type": "switch" }).then(res=>{ - // console.log(res); formData.flip_type = res.flip_type; //画面镜像翻转 formData.night_vision_mode = res.night_vision_mode; //照明模式 }); diff --git a/src/views/iot/tplink/camera/components/CameraInfoDrawer.vue b/src/views/iot/tplink/camera/components/CameraInfoDrawer.vue index 9172307..f801a70 100644 --- a/src/views/iot/tplink/camera/components/CameraInfoDrawer.vue +++ b/src/views/iot/tplink/camera/components/CameraInfoDrawer.vue @@ -111,7 +111,6 @@ function restartNow(record){ }); }, onCancel() { - // console.log('Cancel'); }, class: 'test', }); diff --git a/src/views/iot/tplink/camera/components/CameraInfoList.vue b/src/views/iot/tplink/camera/components/CameraInfoList.vue index 2a1fa65..38f70e5 100644 --- a/src/views/iot/tplink/camera/components/CameraInfoList.vue +++ b/src/views/iot/tplink/camera/components/CameraInfoList.vue @@ -78,10 +78,8 @@ import {ref, reactive, createVNode, h, onMounted, watch, unref} from 'vue'; watch( () => props.data, async () => { - console.log(props.data); queryParam.projectId = props.data.projectId; queryParam.regionId = props.data.regionId; - console.log(queryParam); let record = unref(props.data); if (typeof record !== 'object') { record = {}; @@ -160,7 +158,6 @@ import {ref, reactive, createVNode, h, onMounted, watch, unref} from 'vue'; * 左侧树选择后触发 */ function onTreeSelect(data) { - console.log('onTreeSelect: ', data); // departData.value = data; } @@ -168,7 +165,6 @@ import {ref, reactive, createVNode, h, onMounted, watch, unref} from 'vue'; * 左侧树rootTreeData触发 */ function onRootTreeData(data) { - console.log('onRootTreeData: ', data); // rootTreeData.value = data; } diff --git a/src/views/iot/tplink/camera/components/CameraLeftTree.vue b/src/views/iot/tplink/camera/components/CameraLeftTree.vue index 005e568..f47bd12 100644 --- a/src/views/iot/tplink/camera/components/CameraLeftTree.vue +++ b/src/views/iot/tplink/camera/components/CameraLeftTree.vue @@ -152,7 +152,6 @@ * 设置当前选中的行 */ function setSelectedKey(key: string, data?: object) { - console.log('setSelectedKey: ', key); selectedKeys.value = [key]; if (data) { currentRegion.value = data; @@ -164,7 +163,6 @@ * 树选择事件 */ function onSelect(selKeys, event) { - console.log('onSelect: ', selKeys, event); if (selKeys.length > 0 && selectedKeys.value[0] !== selKeys[0]) { setSelectedKey(selKeys[0], event.selectedNodes[0]); } else { diff --git a/src/views/iot/tplink/camera/components/CameraLightAlarmForm.vue b/src/views/iot/tplink/camera/components/CameraLightAlarmForm.vue index a1e0316..06a23f6 100644 --- a/src/views/iot/tplink/camera/components/CameraLightAlarmForm.vue +++ b/src/views/iot/tplink/camera/components/CameraLightAlarmForm.vue @@ -365,23 +365,6 @@ default: break; } - - // console.log('星期一', mondayArr.value); - // console.log('星期二', tuesdayArr.value); - // console.log('星期三', wednesdayArr.value); - // console.log('星期四', thursdayArr.value); - // console.log('星期五', fridayArr.value); - // console.log('星期六', saturdayArr.value); - // console.log('星期七', sundayArr.value); - - // console.log('星期一', mondayMergeArr.value); - // console.log('星期二', tuesdayMergeArr.value); - // console.log('星期三', wednesdayMergeArr.value); - // console.log('星期四', thursdayMergeArr.value); - // console.log('星期五', fridayMergeArr.value); - // console.log('星期六', saturdayMergeArr.value); - // console.log('星期七', sundayMergeArr.value); - return true; } @@ -540,7 +523,6 @@ * 鼠标按下 */ function handleMouseDown(){ - // console.log('鼠标按下', event); planVisible.value = true; } @@ -548,7 +530,6 @@ * 鼠标抬起 */ function handleMouseUp(){ - // console.log('鼠标抬起', event); planVisible.value = false; } diff --git a/src/views/iot/tplink/camera/components/CameraMultitransForm.vue b/src/views/iot/tplink/camera/components/CameraMultitransForm.vue index 2358bd4..9d8a760 100644 --- a/src/views/iot/tplink/camera/components/CameraMultitransForm.vue +++ b/src/views/iot/tplink/camera/components/CameraMultitransForm.vue @@ -148,7 +148,6 @@ * 销毁 */ function destroy(){ - console.log("destroy"); if (player.value){ player.value.destroy().then(() => { }); // 回放销毁时自动调用接口,跨域导致失败 initContainerMultitrans.value = false diff --git a/src/views/iot/tplink/camera/components/CameraPlaybackForm.vue b/src/views/iot/tplink/camera/components/CameraPlaybackForm.vue index 345599b..128a4a0 100644 --- a/src/views/iot/tplink/camera/components/CameraPlaybackForm.vue +++ b/src/views/iot/tplink/camera/components/CameraPlaybackForm.vue @@ -110,7 +110,6 @@ "endTime":formData.endTime, }).then(res=>{ confirmLoading.value=false; - // console.log(res); const error = res.error; if(error==null||error==''){ formData.sessionId = ''; @@ -119,15 +118,6 @@ formData.sessionId += item.sessionId+"," let startTime = item.startTime*1000; let endTime = item.endTime*1000; - // console.log("url:"+item.url); - // console.log("socket:"+item.wssUrl); - // console.log("queryAddress:"+item.queryAddress); - // console.log("videoSessionId:"+item.sessionId); - // console.log("videoDevId:"+item.videoDevId); - // console.log("storageDevId:"+item.storageDevId); - // console.log("startTime:"+startTime); - // console.log("endTime:"+endTime); - // console.log("scale:"+item.scale); player.value = new TumsPlayer('video-container-playback', { "autoplay": true, "resolution": "HD", @@ -165,13 +155,11 @@ * 销毁 */ async function destroy(){ - console.log("destroy"); if (player.value){ deletePlaybackChn({ "deviceIndex":formData.videoDevId, "sessionId":formData.sessionId }).then(res=>{ - console.log(res) }); // player.value.destroy().then(() => { }); // 回放销毁时自动调用接口,跨域导致失败 initContainerPlayback.value = false diff --git a/src/views/iot/tplink/camera/components/CameraPreviewForm.vue b/src/views/iot/tplink/camera/components/CameraPreviewForm.vue index 5e526b4..e75eda5 100644 --- a/src/views/iot/tplink/camera/components/CameraPreviewForm.vue +++ b/src/views/iot/tplink/camera/components/CameraPreviewForm.vue @@ -151,10 +151,6 @@ createPreview(); getSwitch(); - -/* await getIpcCapability({"deviceIndex":formData.deviceIndex}).then(res=>{ - console.log(res); - });*/ } /** @@ -286,7 +282,6 @@ izRecording.value = true; player.value.startRecording({micStream:true}).then((res) => { // 设置成功,返回resolve - console.log(res); }).catch((errData) => { // 设置失败,包括网络错误以及接口调用报错 // 具体错误见errData.error_code @@ -302,7 +297,6 @@ let fileName = formData.deviceIndex+'-'+(new Date().getTime()); player.value.stopRecording(fileName, true).then((res) => { // 设置成功,返回resolve - console.log(res); }).catch((errData) => { // 设置失败,包括网络错误以及接口调用报错 // 具体错误见errData.error_code @@ -317,7 +311,6 @@ getMultitransUrl({ "videoDevId":formData.deviceIndex }).then(res=>{ - console.log(res); player.value.startVoiceIntercom({ "url": res.url, // 该url为一次性 需要通过接口实时获取 "wssUrl": res.wssUrl, @@ -339,7 +332,6 @@ * 销毁 */ function destroy(){ - console.log("destroy"); if (player){ player.value.destroy().then(() => { }); // 销毁 diff --git a/src/views/iot/tplink/camera/components/CameraSoundAlarmForm.vue b/src/views/iot/tplink/camera/components/CameraSoundAlarmForm.vue index 72e644b..38384c7 100644 --- a/src/views/iot/tplink/camera/components/CameraSoundAlarmForm.vue +++ b/src/views/iot/tplink/camera/components/CameraSoundAlarmForm.vue @@ -365,23 +365,6 @@ default: break; } - - // console.log('星期一', mondayArr.value); - // console.log('星期二', tuesdayArr.value); - // console.log('星期三', wednesdayArr.value); - // console.log('星期四', thursdayArr.value); - // console.log('星期五', fridayArr.value); - // console.log('星期六', saturdayArr.value); - // console.log('星期七', sundayArr.value); - - // console.log('星期一', mondayMergeArr.value); - // console.log('星期二', tuesdayMergeArr.value); - // console.log('星期三', wednesdayMergeArr.value); - // console.log('星期四', thursdayMergeArr.value); - // console.log('星期五', fridayMergeArr.value); - // console.log('星期六', saturdayMergeArr.value); - // console.log('星期七', sundayMergeArr.value); - return true; } @@ -540,7 +523,6 @@ * 鼠标按下 */ function handleMouseDown(){ - // console.log('鼠标按下', event); planVisible.value = true; } @@ -548,7 +530,6 @@ * 鼠标抬起 */ function handleMouseUp(){ - // console.log('鼠标抬起', event); planVisible.value = false; } diff --git a/src/views/iot/tplink/camera/components/CameraUploadForm.vue b/src/views/iot/tplink/camera/components/CameraUploadForm.vue index 0a0ec9e..30ef9ad 100644 --- a/src/views/iot/tplink/camera/components/CameraUploadForm.vue +++ b/src/views/iot/tplink/camera/components/CameraUploadForm.vue @@ -196,7 +196,6 @@ import { formData.regionId = props.data.regionId; formData.multitrans = props.data.multitrans; formData.scale = props.data.scale; - console.log(formData); }, { deep: true, immediate: true } ); diff --git a/src/views/iot/tplink/camera/index.vue b/src/views/iot/tplink/camera/index.vue index 10d0c2f..6316c65 100644 --- a/src/views/iot/tplink/camera/index.vue +++ b/src/views/iot/tplink/camera/index.vue @@ -28,7 +28,6 @@ const rootTreeData = ref([]); // 左侧树选择后触发 function onTreeSelect(data) { - console.log('onTreeSelect: ', data); cameraData.value = data; } // 左侧树rootTreeData触发 diff --git a/src/views/iot/tplink/project/ProjectInfoList.vue b/src/views/iot/tplink/project/ProjectInfoList.vue index c7c7be6..c1a0252 100644 --- a/src/views/iot/tplink/project/ProjectInfoList.vue +++ b/src/views/iot/tplink/project/ProjectInfoList.vue @@ -109,7 +109,6 @@ deletePrject(record, reload); }, onCancel() { - // console.log('Cancel'); }, class: 'test', }); diff --git a/src/views/iot/tplink/region/components/RegionForm.vue b/src/views/iot/tplink/region/components/RegionForm.vue index 53055f4..c0ef32f 100644 --- a/src/views/iot/tplink/region/components/RegionForm.vue +++ b/src/views/iot/tplink/region/components/RegionForm.vue @@ -107,7 +107,6 @@ }else{ formData["regionName"] = option.label; } - console.log(formData); } diff --git a/src/views/iot/tplink/region/components/RegionInfoDrawer.vue b/src/views/iot/tplink/region/components/RegionInfoDrawer.vue index 983b512..a50b9ce 100644 --- a/src/views/iot/tplink/region/components/RegionInfoDrawer.vue +++ b/src/views/iot/tplink/region/components/RegionInfoDrawer.vue @@ -103,7 +103,6 @@ async function handleChange(value,option:Option,formData){ }else{ formData["regionName"] = option.label; } - console.log(formData); } diff --git a/src/views/iot/tplink/region/components/RegionLeftTree.vue b/src/views/iot/tplink/region/components/RegionLeftTree.vue index 0a38448..3ffe6ff 100644 --- a/src/views/iot/tplink/region/components/RegionLeftTree.vue +++ b/src/views/iot/tplink/region/components/RegionLeftTree.vue @@ -187,7 +187,6 @@ import { * 设置当前选中的行 */ function setSelectedKey(key: string, data?: object) { - console.log('setSelectedKey: ', key); selectedKeys.value = [key]; if (data) { currentRegion.value = data; @@ -199,7 +198,6 @@ import { * 树选择事件 */ function onSelect(selKeys, event) { - console.log('onSelect: ', selKeys, event); if (selKeys.length > 0 && selectedKeys.value[0] !== selKeys[0]) { setSelectedKey(selKeys[0], event.selectedNodes[0]); } else { @@ -260,7 +258,6 @@ import { createMessage.warning('请先选择一个节点'); return; } - console.log(data); let record = { projectId: data.projectId, projectName: data.projectName, @@ -272,7 +269,6 @@ import { }else{ record["institutionId"] = data.institutionId; } - console.log(record); openRegionDrawer(true, { record, isUpdate: false, @@ -289,7 +285,6 @@ import { createMessage.warning('请先选择一个节点'); return; } - console.log(data); let record = { projectId: data.projectId, projectName: data.projectName, @@ -301,7 +296,6 @@ import { }else{ record["institutionId"] = data.institutionId; } - console.log(record); openRegionDrawer(true, { record, isUpdate: false, @@ -339,7 +333,6 @@ import { deletePrject(record, handleSuccess); }, onCancel() { - // console.log('Cancel'); }, class: 'test', }); @@ -359,7 +352,6 @@ import { deleteRegion(record, handleSuccess); }, onCancel() { - // console.log('Cancel'); }, class: 'test', }); diff --git a/src/views/iot/tplink/region/index.vue b/src/views/iot/tplink/region/index.vue index f7af0e1..5a0ed00 100644 --- a/src/views/iot/tplink/region/index.vue +++ b/src/views/iot/tplink/region/index.vue @@ -37,12 +37,10 @@ const rootTreeData = ref([]); // 左侧树选择后触发 function onTreeSelect(data) { - console.log('onTreeSelect: ', data); nodeData.value = data; } // 左侧树rootTreeData触发 function onRootTreeData(data) { - console.log(data); rootTreeData.value = data; }