forked from zhurui/management
1 line
6.5 KiB
JSON
1 line
6.5 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\xwyl\\track.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\xwyl\\track.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n data(){\n return{\n iframeSrc:\"\",\n startTime:'',\n endTime:'',\n activeIndex:'index'\n }\n },\n created() {\n this.iframeSrc=window.GLOBAL_CONFIG['BASE_URL_NGINX']+\"/#/positionService/\"+this.activeIndex\n },\n activated(){\n this.initDate();//获取最新 15分钟时间\n let params=this.$route.query;\n if(params.tid){\n let url=window.GLOBAL_CONFIG['BASE_URL_NGINX']+\"/#/positionService/track\";\n url+='?tid='+params.tid;\n let start=this.startTime;\n let end=this.endTime;\n if(params.start){\n start=params.start;\n }\n if(params.end){\n end=params.end;\n }\n url+='&start='+start;\n url+='&end='+end;\n if(params.vrid){\n url+='&vrid='+params.vrid;\n }\n this.iframeSrc=url\n }\n if(params.url){\n this.activeIndex=params.url;\n this.iframeSrc=window.GLOBAL_CONFIG['BASE_URL_NGINX']+\"/#/positionService/\"+params.url\n }\n },\n methods:{\n initDate(){\n let end=new Date().getTime();\n let start=end-1000*60*15;\n this.startTime=start;\n this.endTime=end;\n },\n menuSelect(val){\n let url=window.GLOBAL_CONFIG['BASE_URL_NGINX']+\"/#/\";\n if(val=='deviceManage'){\n url+=val;\n }\n else{\n url=url+\"positionService/\"+val;\n }\n this.activeIndex=val;\n this.iframeSrc=url;\n }\n }\n}\n",{"version":3,"sources":["track.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"track.vue","sourceRoot":"src/views/modules/xwyl","sourcesContent":["<template>\n <div>\n <el-menu :default-active=\"activeIndex\" mode=\"horizontal\" @select=\"menuSelect\">\n <el-menu-item index=\"index\">实时定位</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:track')\" index=\"track\">轨迹追踪</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:fence')\" index=\"fence\">电子围栏</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:rollcall')\" index=\"rollcall\">电子点名</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:camera')\" index=\"camera\">视频联动</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:alarm')\" index=\"alarm\">报警</el-menu-item>\n <el-menu-item v-if=\"$hasPermission('sys:position:deviceManage')\" index=\"deviceManage\">设备管理</el-menu-
|