pages_basics-views-earlyWarningManage-videoMonitoring.8d33d2fc.js 25 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages_basics-views-earlyWarningManage-videoMonitoring"],{"010d":function(t,e,a){"use strict";a.r(e);var o=a("5c31"),n=a.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(i);e["default"]=n.a},"42fb":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.tansParams=function(t){for(var e="",a=0,o=Object.keys(t);a<o.length;a++){var i=o[a],r=t[i],s=encodeURIComponent(i)+"=";if(null!==r&&"undefined"!==typeof r)if("object"===(0,n.default)(r))for(var u=0,l=Object.keys(r);u<l.length;u++){var d=l[u];if(null!==r[d]&&"undefined"!==typeof r[d]){var c=i+"["+d+"]",p=encodeURIComponent(c)+"=";e+=p+encodeURIComponent(r[d])+"&"}}else e+=s+encodeURIComponent(r)+"&"}return e};var n=o(a("fcf3"));a("dc8a")},"4fd4":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.apiResquestTimer=e.apiResquestOutside=e.apiResquestJsonList=e.apiResquestFormVideo=e.apiResquestForm=e.apiResquest=void 0,e.loginTimeout=s;var n=o(a("9b1b"));a("bf0f"),a("f7a5");var i=a("f414"),r=a("42fb");e.apiResquest=function(t){return new Promise((function(e,a){var o=i.config.base_url+t.url;return uni.showLoading({title:"加载中",mask:!0}),"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:(0,n.default)({},t.data),method:t.method,header:{"content-type":"application/json;charset=utf-8",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))};e.apiResquestOutside=function(t){return new Promise((function(e,a){var o=t.url;return uni.showLoading({title:"加载中",mask:!0}),"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:(0,n.default)({},t.data),method:t.method,header:{"content-type":"application/json;charset=utf-8",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))};e.apiResquestForm=function(t){return new Promise((function(e,a){var o=i.config.base_url+t.url;return uni.showLoading({title:"加载中",mask:!0}),"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:(0,n.default)({},t.data),method:t.method,header:{"content-type":"application/x-www-form-urlencoded",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))};e.apiResquestJsonList=function(t){return new Promise((function(e,a){var o=i.config.base_url+t.url;return uni.showLoading({title:"加载中",mask:!0}),"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:t.data,method:t.method,header:{"content-type":"application/json",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))};e.apiResquestFormVideo=function(t){return new Promise((function(e,a){var o=uni.getStorageSync("cameraExtranetAgent")+t.url;return uni.showLoading({title:"加载中",mask:!0}),"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:(0,n.default)({},t.data),method:t.method,header:{"content-type":"application/x-www-form-urlencoded",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))};function s(t){uni.showToast({mask:!0,icon:"none",position:"center",title:"登录超时,请重新登录~",duration:2e3}),uni.removeStorageSync("token"),uni.removeStorageSync("userId"),uni.removeStorageSync("userType"),setTimeout((function(){uni.redirectTo({url:"/pages/views/login/login"})}),2e3)}e.apiResquestTimer=function(t){return new Promise((function(e,a){var o=i.config.base_url+t.url;return"GET"===t.method&&t.data&&(o=o+"?"+(0,r.tansParams)(t.data),o=o.slice(0,-1),t.data={}),uni.request({timeout:1e4,url:o,data:(0,n.default)({},t.data),method:t.method,header:{"content-type":"application/json;charset=utf-8",Authorization:uni.getStorageSync("token")},success:function(t){uni.hideLoading(),200==t.statusCode?200==t.data.code?e(t):401==t.data.code?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:t.data.message,duration:2e3}),e(t)):401==t.statusCode?s():(uni.showToast({mask:!0,icon:"none",position:"center",title:"连接异常,请联系管理员.",duration:2e3}),e(t))},fail:function(t){uni.hideLoading(),uni.showToast({mask:!0,icon:"none",position:"center",title:"出错啦~请联系管理员!",duration:2e3})},complete:function(){}})}))}},"5c31":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("aa9c");var n=o(a("2634")),i=o(a("2fdc")),r=a("f414"),s=a("a831"),u={name:"rectifyList",components:{},data:function(){return{videoCover:uni.getStorageSync("videoCover"),tabTextTow:[{name:"RFID摄像头"},{name:"房间内监控1"},{name:"房间内监控2"},{name:"房间内监控3"},{name:"房间内监控3"},{name:"房间内监控3"}],curTabTow:0,urlList:[{}],videoHardwareNUM:[],trumpetList:[],liveType:!1,sendLock:!0,recorderManager:wx.getRecorderManager(),videoHardwareList:[],hardwareList:[],subId:"",floorId:""}},onLoad:function(t){(t.subId||t.floorId)&&(this.subId=t.subId,this.floorId=t.floorId)},onShow:function(){},mounted:function(){this.getDeviceList(),this.GetVideoList()},methods:{tabClickTow:function(t,e){this.curTabTow=e,console.log(t)},scrollGet:function(){},videoErrorCallback:function(t){console.log("播放失败",t)},GetVideoList:function(){var t=this;return(0,i.default)((0,n.default)().mark((function e(){var a,o,i,r,s,u,l,d,c;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={page:"1",count:"10",deviceIds:t.itemData.hardwareNUM},e.next=3,GetStartList(a);case 3:if(o=e.sent,i=o.data,200==i.code){for(r=[],s=0;s<i.data.length;s++)u=uni.getStorageSync("cameraUrl"),l=i.data[s].hls,l=l.split("rtp/"),d=u+"rtp/"+l[1],c={id:i.data[s].deviceID,url:d},r.push(c),console.log("obj",c);t.urlList=r}case 6:case"end":return e.stop()}}),e)})))()},getDeviceList:function(){var t=this;return(0,i.default)((0,n.default)().mark((function e(){var a,o,i,r;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={subId:t.subId,floorId:t.floorId},e.next=3,(0,s.iotAppSpeakerFindHorn)(a);case 3:if(o=e.sent,i=o.data,200==i.code){for(r=0;r<i.data.length;r++)i.data[r].type=!1;t.$set(t,"trumpetList",i.data)}case 6:case"end":return e.stop()}}),e)})))()},trumpetClick:function(t){this.trumpetList[t].type=!this.trumpetList[t].type},recordButton:function(t){console.log("按下");for(var e=0,a=0;a<this.trumpetList.length;a++)this.trumpetList[a].type&&e++;if(0!=e){this.liveType=!0,console.log("录制",t),this.startPoint=t.touches[0];this.recorderManager.start({duration:1e4,sampleRate:16e3,numberOfChannels:1,encodeBitRate:48e3,format:"mp3",frameSize:50}),this.recorderManager.onStart((function(){console.log("recorder start")})),this.recorderManager.onError((function(t){console.log(t)})),wx.showToast({title:"正在录音,上划取消发送",icon:"none",duration:6e4}),this.sendLock=!1}else uni.showToast({title:"请选择喇叭",icon:"none",mask:!0,duration:2e3})},cancelButton:function(t){console.log("移动");for(var e=0,a=0;a<this.trumpetList.length;a++)this.trumpetList[a].type&&e++;if(0!=e){this.liveType=!1,console.log("取消",t);var o=t.touches[t.touches.length-1].clientY-this.startPoint.clientY;Math.abs(o)>50?(wx.showToast({title:"松开手指,取消发送",icon:"none",duration:6e4}),this.sendLock=!0):(wx.showToast({title:"正在录音,上划取消发送",icon:"none",duration:6e4}),this.sendLock=!1)}},sendButton:function(t){var e=this;console.log("松开");for(var a=0,o=0;o<this.trumpetList.length;o++)this.trumpetList[o].type&&a++;0!=a&&(this.liveType=!1,console.log("发送",t),wx.hideToast(),this.recorderManager.stop(),this.recorderManager.onStop((function(t){e.sendLock||(console.log("1",e.recorderManager),e.uploadImg(t.tempFilePath)),console.log("停止录音",t.tempFilePath),console.log("sendLock",e.sendLock)})))},uploadImg:function(t){var e=this;return(0,i.default)((0,n.default)().mark((function a(){var o;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:o=e,uni.uploadFile({url:r.config.base_url+"/system/file/upload",header:{Authorization:uni.getStorageSync("token")},filePath:t,name:"file",formData:{user:"test"},success:function(t){var e=JSON.parse(t.data);if(200==e.code){console.log("上传成功",e);var a=uni.getStorageSync("fileBrowseEnvironment")+"/"+e.data.url;o.iotAppSpeakerPlayVoice(a)}else uni.showToast({title:e.msg,icon:"none",mask:!0,duration:2e3})},fail:function(t){uni.hideLoading()},complete:function(){}});case 2:case"end":return a.stop()}}),a)})))()},iotAppSpeakerPlayVoice:function(t){var e=this;return(0,i.default)((0,n.default)().mark((function a(){var o,i,r,u,l,d;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:for(o=e,i=[],r=0;r<o.trumpetList.length;r++)o.trumpetList[r].type&&i.push(o.trumpetList[r].deviceNo);return u={deviceNo:i.join(","),voiceUrls:t,cycle:1,level:1e3},a.next=6,(0,s.iotAppSpeakerPlayVoice)(u);case 6:l=a.sent,d=l.data,200==d.code&&uni.showToast({title:"发送成功",icon:"none",mask:!0,duration:2e3});case 9:case"end":return a.stop()}}),a)})))()},handleClick:function(t,e){}}};e.default=u},6795:function(t,e,a){var o=a("c86c");e=o(!1),e.push([t.i,".earlyWarning[data-v-ff500876]{height:100%;display:flex;padding-bottom:%?30?%;box-sizing:border-box}.earlyWarning .header[data-v-ff500876]{width:%?750?%;height:%?100?%;position:fixed;top:%?0?%;z-index:100;background:#fff}.earlyWarning .header .tabTitle_tow[data-v-ff500876]{height:%?100?%;white-space:nowrap;display:inline-flex}.earlyWarning .header .tabTitle_tow .tabTitle_tow_li[data-v-ff500876]{position:relative;width:%?210?%;height:%?100?%;text-align:center;padding-top:%?26?%;box-sizing:border-box}.earlyWarning .header .tabTitle_tow .tabTitle_tow_li .tabTitle_tow_text[data-v-ff500876]{display:inline-block;font-size:%?30?%;font-family:PingFang SC;font-weight:500;color:#333;line-height:%?46?%;position:relative}.earlyWarning .header .tabTitle_tow .tabTitle_tow_li .tabTitle_tow_text.on[data-v-ff500876]{color:#0183fa}.earlyWarning .header .tabTitle_tow .tabTitle_tow_li .tabTitle_tow_across[data-v-ff500876]{width:%?50?%;height:%?4?%;background:#0183fa;border-radius:%?2?%;margin:0 auto 0;display:none}.earlyWarning .header .tabTitle_tow .tabTitle_tow_li .tabTitle_tow_across.on[data-v-ff500876]{display:block}.earlyWarning .video-max-box[data-v-ff500876]{width:%?690?%;height:%?420?%;margin:%?116?% %?30?% %?20?%}.earlyWarning .video-max-box uni-video[data-v-ff500876]{width:%?690?%;height:%?420?%}.earlyWarning .broadcast[data-v-ff500876]{width:%?690?%;background:#fff;border-radius:%?20?%;padding:%?22?% %?30?% %?30?%;box-sizing:border-box;margin:%?20?% %?30?% 0\n/* 疏散按钮 */}.earlyWarning .broadcast .broadcast_t[data-v-ff500876]{font-size:%?30?%;font-family:PingFang SC;font-weight:500;color:#333;line-height:%?30?%}.earlyWarning .broadcast .broadcast_t >uni-label[data-v-ff500876]{font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#999;line-height:%?30?%;margin-left:%?16?%}.earlyWarning .broadcast .trumpet-max-box[data-v-ff500876]{display:flex;justify-content:flex-start;margin-top:%?22?%;flex-wrap:wrap}.earlyWarning .broadcast .trumpet-max-box .trumpet-for-box[data-v-ff500876]{display:inline-block;width:auto;height:%?60?%;line-height:%?60?%;font-size:%?24?%;text-align:center;cursor:pointer;overflow:hidden;border:%?1?% solid #e0e0e0;border-radius:%?10?%;color:#e0e0e0;display:flex;justify-content:center;margin-right:%?20?%;margin-bottom:%?10?%;padding:0 %?12?%;box-sizing:border-box}.earlyWarning .broadcast .trumpet-max-box .trumpet-for-box >img[data-v-ff500876]{width:%?36?%;height:%?34?%;margin:%?12?% %?20?% 0 %?25?%}.earlyWarning .broadcast .trumpet-max-box .trumpet-color-a[data-v-ff500876]{border:1px solid #0183fa;color:#0183fa}.earlyWarning .broadcast .trumpet-max-box .trumpet-color-b[data-v-ff500876]{border:1px solid #ccc;color:#999}.earlyWarning .broadcast .broadcast_m[data-v-ff500876]{width:100%}.earlyWarning .broadcast .broadcast_m .broadcast_m_t[data-v-ff500876]{width:%?142?%;height:%?142?%;margin:%?30?% 0 0 %?258?%;position:relative;font-size:%?24?%;font-family:PingFang SC;font-weight:500;line-height:%?170?%;text-align:center\n/* 按下 */\n/* 松开 */}.earlyWarning .broadcast .broadcast_m .broadcast_m_t >img[data-v-ff500876]{width:%?142?%;height:%?142?%;position:absolute}.earlyWarning .broadcast .broadcast_m .broadcast_m_t >uni-label[data-v-ff500876]{width:100%;font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#0183fa;line-height:%?24?%;display:inline-block;text-align:center;position:absolute;top:%?76?%}.earlyWarning .broadcast .broadcast_m .broadcast_m_t .press_color[data-v-ff500876]{color:#fff}.earlyWarning .broadcast .broadcast_m .broadcast_m_t .slip_color[data-v-ff500876]{color:#0183fa}.earlyWarning .broadcast .broadcast_m .broadcast_m_b[data-v-ff500876]{font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#999;line-height:%?24?%;text-align:center;margin-top:%?14?%}.earlyWarning .broadcast .broadcast_m .broadcast_m_t_back_a[data-v-ff500876]{background:url(https://zj-wechat.oss-cn-beijing.aliyuncs.com/xcx_images/xcx_v3/commonality/icon_sskz_skfs.png) no-repeat center 0;background-size:100%;color:#fff}.earlyWarning .broadcast .broadcast_m .broadcast_m_t_back_b[data-v-ff500876]{background:url(https://zj-wechat.oss-cn-beijing.aliyuncs.com/xcx_images/xcx_v3/commonality/icon_sskz_azsh.png) no-repeat center 0;background-size:100%;color:#0183fa}.earlyWarning .broadcast .evacuation-button-box[data-v-ff500876]{width:%?650?%;height:%?100?%;background:#0183fa;color:#fff;text-align:center;line-height:%?100?%;font-size:%?28?%;margin:%?88?% auto 0;border-radius:%?20?%}",""]),t.exports=e},"6de5":function(t,e,a){"use strict";var o=a("765d"),n=a.n(o);n.a},"765d":function(t,e,a){var o=a("6795");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=a("967d").default;n("53f2f3ac",o,!0,{sourceMap:!1,shadowMode:!1})},a831:function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyRemoteOpenLockConfirm=function(t){return(0,i.apiResquest)({url:"/laboratory/apply/remoteOpenLock/confirm",method:"GET",data:t})},e.laboratoryAppletGetSubDetailInfo=e.laboratoryAppletGetApplyDetails=e.laboratoryAppletEditApp=e.laboratoryAppletAuditListByApply=e.iotAppSpeakerPlayVoice=e.iotAppSpeakerFindHorn=e.iotAppSensorFindBySubId=e.iotAppHardwareOperatingHardware=e.iotAppHardwareFindByType=e.iotAppDeviceFindByType=void 0,e.laboratoryAppletLabLockApplyDelete=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/labLockApply/delete",method:"post",data:(0,n.default)({},t)})},e.laboratoryAppletLabLockApplyList=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/labLockApply/list",method:"post",data:(0,n.default)({},t)})},e.laboratoryAppletSubList=void 0,e.laboratoryApplyAddAddApply=function(t){return(0,i.apiResquest)({url:"/laboratory/apply/addAddApply",method:"post",data:(0,n.default)({},t)})},e.laboratoryApplyGetUserInfo=function(t){return(0,i.apiResquest)({url:"/laboratory/apply/getUserInfo",method:"post",data:(0,n.default)({},t)})},e.laboratoryApplyRemoteOpenLock=function(t){return(0,i.apiResquest)({url:"/laboratory/apply/remoteOpenLock",method:"post",data:(0,n.default)({},t)})},e.laboratoryGradeManageList=e.laboratoryGradeManageExecute=e.laboratoryExitRelayOpenLight=e.laboratoryExitRelayCloseLight=e.laboratoryExitLineGetRedisEvacuation=e.laboratoryExitLineExecuteEvacuation=e.laboratoryClassTypeGetList=e.laboratoryClassLevelGetList=e.laboratoryBigViewSelectTriggerInfo=e.laboratoryBigViewGetFloorByBigView=e.laboratoryBigViewGetBuildByBigView=void 0,e.laboratoryLabOpenLockLogUpdateLockData=function(t){return(0,i.apiResquest)({url:"/laboratory/labOpenLockLog/updateLockData",method:"post",data:(0,n.default)({},t)})},e.systemDeptDropList=e.laboratoryexitLineEndEvacuation=e.laboratorySubRelInfoSelectAdminBySubPage=e.laboratoryPlanCloseRiskPlan=void 0,e.systemSubjectGetAppSubject=function(t){return(0,i.apiResquest)({url:"/system/subject/getAppSubject",method:"post",data:(0,n.default)({},t)})},e.systemSubjectGetAppSubjectByLogin=function(t){return(0,i.apiResquest)({url:"/system/subject/getAppSubjectByLogin",method:"post",data:(0,n.default)({},t)})};var n=o(a("9b1b")),i=a("4fd4");e.systemDeptDropList=function(t){return(0,i.apiResquest)({url:"/system/dept/dropList",method:"POST",data:(0,n.default)({},t)})};e.laboratoryClassTypeGetList=function(t){return(0,i.apiResquest)({url:"/laboratory/classType/getList",method:"POST",data:(0,n.default)({},t)})};e.laboratoryClassLevelGetList=function(t){return(0,i.apiResquest)({url:"/laboratory/classLevel/getList",method:"POST",data:(0,n.default)({},t)})};e.laboratoryAppletSubList=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/subList",method:"POST",data:(0,n.default)({},t)})};e.laboratoryAppletGetSubDetailInfo=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/getSubDetailInfo",method:"GET",data:t})};e.iotAppSensorFindBySubId=function(t){return(0,i.apiResquest)({url:"/iot/app/sensor/findBySubId",method:"GET",data:t})};e.iotAppHardwareFindByType=function(t){return(0,i.apiResquest)({url:"/iot/app/hardware/findByType",method:"POST",data:(0,n.default)({},t)})};e.iotAppHardwareOperatingHardware=function(t){return(0,i.apiResquest)({url:"/iot/app/hardware/operatingHardware",method:"GET",data:t})};e.iotAppDeviceFindByType=function(t){return(0,i.apiResquest)({url:"/iot/app/device/findByType",method:"POST",data:(0,n.default)({},t)})};e.iotAppSpeakerFindHorn=function(t){return(0,i.apiResquest)({url:"/iot/app/speaker/findHorn",method:"GET",data:t})};e.iotAppSpeakerPlayVoice=function(t){return(0,i.apiResquest)({url:"/iot/app/speaker/playVoice",method:"GET",data:t})};e.laboratoryBigViewGetBuildByBigView=function(t){return(0,i.apiResquest)({url:"/laboratory/bigView/getBuildByBigView",method:"GET",data:t})};e.laboratorySubRelInfoSelectAdminBySubPage=function(t){return(0,i.apiResquest)({url:"/laboratory/subRelInfo/selectAdminBySubPage",method:"post",data:t})};e.laboratoryBigViewSelectTriggerInfo=function(t){return(0,i.apiResquest)({url:"/laboratory/bigView/selectTriggerInfo",method:"GET",data:t})};e.laboratoryBigViewGetFloorByBigView=function(t){return(0,i.apiResquest)({url:"/laboratory/bigView/getFloorByBigView",method:"GET",data:t})};e.laboratoryExitLineGetRedisEvacuation=function(t){return(0,i.apiResquest)({url:"/laboratory/exitLine/getRedisEvacuation",method:"post",data:t})};e.laboratoryExitLineExecuteEvacuation=function(t){return(0,i.apiResquest)({url:"/laboratory/exitLine/executeEvacuation",method:"post",data:t})};e.laboratoryexitLineEndEvacuation=function(t){return(0,i.apiResquest)({url:"/laboratory/exitLine/endEvacuation",method:"post",data:t})};e.laboratoryExitRelayOpenLight=function(t){return(0,i.apiResquest)({url:"/laboratory/exitRelay/openLight",method:"post",data:t})};e.laboratoryExitRelayCloseLight=function(t){return(0,i.apiResquest)({url:"/laboratory/exitRelay/closeLight",method:"post",data:t})};e.laboratoryPlanCloseRiskPlan=function(t){return(0,i.apiResquest)({url:"/laboratory/plan/closeRiskPlan",method:"GET",data:t})};e.laboratoryAppletAuditListByApply=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/auditListByApply",method:"POST",data:(0,n.default)({},t)})};e.laboratoryAppletGetApplyDetails=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/getApplyDetails",method:"GET",data:t})};e.laboratoryAppletEditApp=function(t){return(0,i.apiResquest)({url:"/laboratory/applet/editApp",method:"POST",data:t})};e.laboratoryGradeManageList=function(t){return(0,i.apiResquest)({url:"/laboratory/gradeManage/list",method:"POST",data:t})};e.laboratoryGradeManageExecute=function(t){return(0,i.apiResquest)({url:"/laboratory/gradeManage/execute",method:"POST",data:t})}},d108:function(t,e,a){"use strict";a.r(e);var o=a("d16e"),n=a("010d");for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);a("6de5");var r=a("828b"),s=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"ff500876",null,!1,o["a"],void 0);e["default"]=s.exports},d16e:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"earlyWarning"},[a("v-uni-scroll-view",{staticClass:"header",attrs:{"scroll-x":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollGet.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"tabTitle_tow"},t._l(t.videoHardwareList,(function(e,o){return a("v-uni-view",{key:o,staticClass:"tabTitle_tow_li",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabClickTow(e,o)}}},[a("v-uni-view",{staticClass:"tabTitle_tow_text",class:{on:t.curTabTow==o}},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"tabTitle_tow_across",class:{on:t.curTabTow==o}})],1)})),1)],1),a("v-uni-scroll-view",{staticClass:"info-max-box",attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollGet.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"video-max-box"},t._l(t.urlList,(function(e,o){return a("v-uni-video",{key:o,ref:"videoRef",refInFor:!0,attrs:{src:e.url,poster:t.videoCover,"custom-cache":!1,autoplay:!0,controls:!0,"enable-danmu":!1,muted:!0,"show-fullscreen-btn":!0,"show-center-play-btn":!1,"show-play-btn":!1},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.videoErrorCallback.apply(void 0,arguments)}}})})),1),a("v-uni-view",{staticClass:"broadcast"},[a("v-uni-view",{staticClass:"broadcast_t"},[t._v("语音广播"),a("v-uni-label",[t._v("选择喇叭位置")])],1),a("v-uni-view",{staticClass:"trumpet-max-box"},t._l(t.trumpetList,(function(e,o){return a("v-uni-view",{key:o,staticClass:"trumpet-for-box",class:e.type?"trumpet-color-a":"trumpet-color-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.trumpetClick(o)}}},[e.type?t._e():a("img",{attrs:{src:t.imagesUrl("commonality/icon_sskz_zc.png")}}),e.type?a("img",{attrs:{src:t.imagesUrl("commonality/icon_sskz_xz.png")}}):t._e(),t._v(t._s(e.name))])})),1),a("v-uni-view",{staticClass:"broadcast_m"},[a("v-uni-view",{staticClass:"broadcast_m_t",class:t.liveType?"broadcast_m_t_back_a":"broadcast_m_t_back_b",on:{longpress:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.recordButton.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.cancelButton.apply(void 0,arguments)},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.sendButton.apply(void 0,arguments)}}},[t._v(t._s(t.liveType?"松开发送":"按住说话"))]),t.liveType?t._e():a("v-uni-view",{staticClass:"broadcast_m_b"},[t._v("按住说话,录入广播内容")]),t.liveType?a("v-uni-view",{staticClass:"broadcast_m_b"},[t._v("松开发送,向上滑动取消发送")]):t._e()],1)],1)],1)],1)},n=[]}}]);