1 line
5.5 KiB
JSON
1 line
5.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=style&index=0&id=df441920&lang=scss&scoped=true&","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\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndiv{\n width: 100%;\n height: calc(100vh - 146px);\n padding: 34px 0 0 0;\n box-sizing: border-box;\n position: relative;\n}\n.el-menu{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n background: rgb(195, 223, 253);\n border-bottom-color: transparent;\n .el-menu-item{\n height: 34px;\n line-height: 34px;\n color:#1881ff;\n &.is-active{\n border-bottom-color: #1881ff;\n }\n }\n}\n",{"version":3,"sources":["track.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EA;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-item>\n </el-menu>\n <iframe :src=\"iframeSrc\" frameborder=\"0\" width=\"100%\" height=\"100%\"></iframe>\n </div>\n</template>\n<script>\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
|