{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?9b05","webpack:///./src/App.vue?055e","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/assets/js/filter.js","webpack:///./src/assets/js/api.js","webpack:///./src/assets/js/sess.js","webpack:///./src/assets/js/cookie.js","webpack:///./src/config/router.config.js","webpack:///./src/config/request.config.js","webpack:///./src/main.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","component","Vue","use","VueRouter","originalPush","location","catch","router","routes","path","redirect","require","children","meta","requiresAuth","handleDate","format","_type","_date","Date","replace","getFullYear","getMonth","toString","getDate","getHours","getMinutes","getSeconds","filter","currentTime","finalTime","parse","parseInt","Math","floor","today","ceil","getTime","returnObj","toFixed","Number","split","API","login","reg","getForgetPwdAuthCode","addSfjGroup2","delGroupV2","getGroupListV2","shareGroupV2","editGroupV2","transferGroupV2","getDeviceListByGroupIDV2","operateDeviceV2","updateDeviceProperty","getSolenoidValveInfo","getGroupOwnerListV2","unbindGroup","switchGroup","addBase","editBase","delBase","shareBaseV2","transferBaseV2","getBaseListV2","getMsgList","getRegAuthCode","DOMAIN","keys","forEach","sessionStorage","getItem","test","JSON","set","stringify","setItem","remove","removeItem","Days","exp","setTime","cookie","escape","toGMTString","arr","RegExp","match","unescape","cval","beforeEach","to","from","next","sess","params","id","axios","interceptors","config","method","log","response","resultcode","Message","des","$emit","ElementUI","productionTip","$axios","$sess","$cookie","$api","api","$setUserInfo","$username","username","$tel","tel","$token","token","created","$root","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJ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O,KAAKoO,KACfD,qBAAQ,CACN7K,KAAK,QACL4B,QAAQ+I,EAASjO,KAAKoO,MAGK,GAA5BH,EAASjO,KAAKkO,aACfT,EAAKjB,OAAO,YACZiB,EAAKjB,OAAO,SACZiB,EAAKjB,OAAO,SACZtE,EAAOpH,KAAK,YAGTmN,KACN,SAACpJ,GASF,OARAiC,QAAQkH,IAAInJ,GAERA,EAAMoJ,UACRE,qBAAQ,CACN7K,KAAK,QACL4B,QAAQ,mBAGL3C,QAAQE,OAAOoC,MCtCxB+C,aAAIC,IAAIyG,KACR1G,aAAIkG,OAAOS,eAAgB,EAC3B3G,aAAIlH,UAAU8N,OAASZ,IACvBhG,aAAIlH,UAAU+N,MAAQhB,EACtB7F,aAAIlH,UAAUgO,QAAU7B,EACxBjF,aAAIlH,UAAUiO,KAAOC,EACrB5H,OAAO4G,MAAQA,IACf5G,OAAO4H,IAAMA,EACbhH,aAAIlH,UAAUmO,aAAc,WAC1BjH,aAAIlH,UAAUoO,UAAYlH,aAAIlH,UAAU+N,MAAM3I,IAAI,YAAYiJ,UAAY,GAC1EnH,aAAIlH,UAAUsO,KAAOpH,aAAIlH,UAAU+N,MAAM3I,IAAI,YAAYmJ,KAAO,GAChErH,aAAIlH,UAAUwO,OAAStH,aAAIlH,UAAU+N,MAAM3I,IAAI,YAAYqJ,OAAS,IAEtE,IAAIvH,aAAI,CACNM,SACAkH,QAFM,WAGJpI,OAAOG,IAAMC,KAAKiI,MACZjI,KAAKqH,MAAM3I,IAAI,aACfsB,KAAKyH,gBAGbS,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,MACdC,OAAO,S","file":"js/app.7589fb40.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-07811ddc\":\"74642bd7\",\"chunk-5a21abda\":\"56d81479\",\"chunk-69407c0b\":\"f20c418a\",\"chunk-69ffbc7e\":\"582d8edb\",\"chunk-6b528f97\":\"2e6aeaa6\",\"chunk-700b1a77\":\"61aec6c9\",\"chunk-71af31d8\":\"f16dbbd8\",\"chunk-82c25aa8\":\"e595ba8f\",\"chunk-9be0574e\":\"e95eb254\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-07811ddc\":1,\"chunk-5a21abda\":1,\"chunk-69407c0b\":1,\"chunk-69ffbc7e\":1,\"chunk-6b528f97\":1,\"chunk-700b1a77\":1,\"chunk-71af31d8\":1,\"chunk-82c25aa8\":1,\"chunk-9be0574e\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-07811ddc\":\"2849ac5a\",\"chunk-5a21abda\":\"9497a227\",\"chunk-69407c0b\":\"99f3bd3c\",\"chunk-69ffbc7e\":\"186e24e3\",\"chunk-6b528f97\":\"1581992a\",\"chunk-700b1a77\":\"158f96b2\",\"chunk-71af31d8\":\"fba777fd\",\"chunk-82c25aa8\":\"f9629db4\",\"chunk-9be0574e\":\"5904f78b\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=66f91d48&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import VueRouter from 'vue-router';\nimport Vue from 'vue'\nVue.use(VueRouter)\nconst originalPush = VueRouter.prototype.push\n VueRouter.prototype.push = function push(location) {\n return originalPush.call(this, location).catch(err => err)\n}\nconst router = new VueRouter({\n // mode:\"hash\",\n routes:[\n {\n path:'/',redirect:'/project',\n },\n {\n path: '/login',\n name: 'login',\n component: resolve => require(['@/components/login/login.vue'], resolve),\n },\n {\n path: '/index',\n name: 'index',\n component: resolve => require(['@/components/index/index.vue'], resolve),\n // meta: [{name:'首页 ',path:'/',requiresAuth:true}],\n children:[\n {\n path: '/home',\n name: 'home',\n component: resolve => require(['@/components/home/home.vue'], resolve),\n meta: [{name:'首页 ',path:'/project',requiresAuth:true}],\n },\n {\n path: '/about',\n name: 'about',\n component: resolve => require(['@/components/about/about.vue'], resolve),\n // meta: [{name:'关于我们 ',path:'/about',requiresAuth:true}],\n },\n {\n path: '/project',\n name: 'project',\n component: resolve => require(['@/components/project/project.vue'], resolve),\n meta: [{name:'首页',path:'/project',requiresAuth:true}],\n },\n {\n path: '/map',\n name: 'map',\n component: resolve => require(['@/components/map/map.vue'], resolve),\n // meta: [{name:'区域展示 ',path:'/map',requiresAuth:true}],\n },\n {\n path: '/machine',\n name: 'machine',\n component: resolve => require(['@/components/machine/machine.vue'], resolve),\n meta: [{name:'首页 ',path:'/project',requiresAuth:true},{name:'水肥机 ',path:'/home',requiresAuth:true},],\n },\n {\n path: '/machineDetail',\n name: 'machineDetail',\n component: resolve => require(['@/components/machine/machineDetail.vue'], resolve),\n meta: [{name:'首页 ',path:'/project',requiresAuth:true},{name:'水肥机 ',path:'/home',requiresAuth:true},{name:'水肥机详情',path:'/machine',requiresAuth:true}],\n },\n {\n path: '/news',\n name: 'news',\n component: resolve => require(['@/components/news/news.vue'], resolve),\n },\n ]\n },\n \n ]\n})\n\nexport default router;","import Vue from 'vue'\n\n\n\n\n\n\n// *****************************************************************日期过滤*****************************************************************\n\n// 日期过滤公共方法\nfunction handleDate (format, value = '') {\n if (!value) return '--'\n let [_type, _date] = [format, new Date(value)]\n return _type\n .replace(/(y{4})/, _date.getFullYear())\n .replace(/(M{2})/, () => _date.getMonth() < 9 ? '0' + (_date.getMonth() + 1) : (_date.getMonth() + 1).toString())\n .replace(/d{2}/, () => _date.getDate() < 10 ? '0' + (_date.getDate()) : _date.getDate().toString())\n .replace(/H{2}/, () => _date.getHours() < 10 ? '0' + (_date.getHours()) : _date.getHours().toString())\n .replace(/m{2}/, () => _date.getMinutes() < 10 ? '0' + (_date.getMinutes()) : _date.getMinutes().toString())\n .replace(/s{2}/, () => _date.getSeconds() < 10 ? '0' + (_date.getSeconds()) : _date.getSeconds().toString())\n\n}\n\n\n\n//英文格式\n// 过滤时间格式(yyyy)\nVue.filter('filterDateForYear',value => handleDate('yyyy',value))\n// 过滤时间格式(yyyy-MM)\nVue.filter('filterDateForMonth',value => handleDate('yyyy-MM',value))\n// 过滤时间格式(yyyy-MM-dd)\nVue.filter('filterDateForDay',value => handleDate('yyyy-MM-dd',value))\n// 过滤时间格式(yyyy-MM-dd HH:mm:ss)\nVue.filter('filterDateForSec',value => handleDate('yyyy-MM-dd HH:mm:ss',value))\n\n//中文格式\n// 过滤时间格式(yyyy年)\nVue.filter('filterChDateForYear',value => handleDate('yyyy年', value))\n// 过滤时间格式(yyyy年MM月)\nVue.filter('filterChDateForMonth',value => handleDate('yyyy年MM月', value))\n// 过滤时间格式(yyyy年MM月dd日)\nVue.filter('filterChDateForDay',value => handleDate('yyyy年MM月dd日', value))\n// 过滤时间格式(yyyy年MM月dd日 HH:mm:ss)\nVue.filter('filterChDateForSec',value => handleDate('yyyy年MM月dd日 HH:mm:ss', value))\n\n\n// 时间(与当前时间对比)yyyy-mm-dd\nVue.filter('filterDatefavorite', function (value) {\n let currentTime = new Date()\n let finalTime = Date.parse(currentTime) - value\n if (finalTime > 0 && finalTime < 8640000) {\n return `${parseInt(finalTime / 360000)}小时前`\n } else if (finalTime > 8640000 && finalTime < 8640000 * 2) {\n return `一天前`\n } else if (finalTime > 8640000 * 2 && finalTime < 8640000 * 3) {\n return `两天前`\n } else {\n return handleDate('yyyy-MM-dd', value)\n }\n})\n\n// 时间(与当前时间对比)天数\nVue.filter('filterDates', function (value) {\n let currentTime = new Date()\n let finalTime = Date.parse(currentTime) - value\n if (finalTime > 0 && finalTime < 86400000) {\n return `1天`\n } else if (finalTime > 86400000 ) {\n return `${parseInt(finalTime/86400000)}天`\n }\n})\n\n// 时间(与当前时间对比)天数+小时\nVue.filter('filterDatesHours', function (value) {\n let currentTime = new Date()\n let finalTime = Date.parse(currentTime) - value\n if (finalTime > 0 && finalTime < 86400000) {\n return `${parseInt(finalTime / 3600000)}小时`\n } else if (finalTime > 86400000 ) {\n return `${Math.floor(finalTime/86400000)}天${parseInt((finalTime-Math.floor(finalTime/86400000)*86400000)/3600000)}小时`\n }\n})\n\n// 日期小于1天\nVue.filter('filterExpireDay', function (value){\n var today = Math.ceil(parseInt(value) / 86400000) - Math.floor((new Date().getTime()) / 86400000);\n // console.log(Math.floor(parseInt(value) / 86400000), Math.floor((new Date().getTime()) / 86400000))\n // console.log(new Date, new Date(value), today)\n return today >= 0 ? parseInt(today+1) + '天' : '已过期'\n})\n\n\n\n\n \n//单车融资回款方式\nVue.filter('filtersingleCarRepayWay',value=>{\n let returnObj = {\n \"1\":\"线下还款\",\n \"2\":\"线上还款\",\n }\n return returnObj[value] || '-'\n})\n//检测单审核状态\nVue.filter('filterDetectionState',value=>{\n let returnObj = {\n \"10\":\"未完成\",\n \"11\":\"待检\",\n \"20\":\"审核中\",\n \"21\":\"驳回\",\n \"22\":\"作废\",\n \"30\":\"审核通过\",\n \"40\":\"复核通过\",\n \"51\":\"复核不通过\",\n \"60\":\"失效\",\n }\n return returnObj[value] || '-'\n})\n\n\n//金额处理,没有数据显示0\nVue.filter('filterMoneyFormatZero', value=>{\n if(value){\n if(typeof value != 'string') value = value.toFixed(2);\n else value = Number(value).toFixed(2);\n return value.split('.')[0].replace(/(\\d)(?=(?:\\d{3})+$)/g, '$1,') + '.' + value.split('.')[1];\n }else{\n return '0'\n }\n});\n","export default (function(){\n const API = {\n //登录\n login:'/api/login.ashx',\n //注册\n reg:'/api/reg.ashx',\n //忘记密码\n getForgetPwdAuthCode:'/api/getForgetPwdAuthCode.ashx',\n //添加或修改设备\n addSfjGroup2:'/api/addSfjGroup2.ashx',\n //删除设备\n delGroupV2:'/api/delGroupV2.ashx',\n //获取水肥机列表\n getGroupListV2:'/api/getGroupListV2.ashx',\n //分享水肥机\n shareGroupV2:'/api/shareGroupV2.ashx',\n //编辑水肥机\n editGroupV2:'/api/editGroupV2.ashx',\n //移交水肥机\n transferGroupV2:'/api/transferGroupV2.ashx',\n //获取传感器/阀门列表\n getDeviceListByGroupIDV2:'/api/getDeviceListByGroupIDV2.ashx',\n //开关阀门/泵/灌区\n operateDeviceV2:'/api/operateDeviceV2.ashx',\n //修改电磁阀列表(暂时不用)\n updateDeviceProperty:'/api/updateDeviceProperty.ashx',\n //获取电磁阀属性\n getSolenoidValveInfo:'/api/getSolenoidValveInfo.ashx',\n //获取项目点拥有者列表\n getGroupOwnerListV2:'/api/getGroupOwnerListV2.ashx',\n //解绑项目点 \n unbindGroup:'/api/unbindGroupV2.ashx',\n //项目间移动项目点\n switchGroup:'/api/switchGroup.ashx',\n //添加项目\n addBase:'/api/addBase.ashx',\n //编辑项目\n editBase:'/api/editBase.ashx',\n //删除项目\n delBase:'/api/delBase.ashx',\n //分享项目\n shareBaseV2:'/api/shareBaseV2.ashx',\n //项目移交\n transferBaseV2:'/api/transferBaseV2.ashx',\n //项目列表\n getBaseListV2:'/api/getBaseListV2.ashx',\n //获取用户可见的消息列表\n getMsgList:'/api/getMsgList.ashx',\n //获取验证码\n getRegAuthCode:'/api/getRegAuthCode.ashx',\n //移交项目\n switchGroup:'/api/switchGroup.ashx',\n };\n const DOMAIN = 'https://cloud.satlic.com:9090';\n\n\n Object.keys(API).forEach(property => {\n API[property] = DOMAIN + API[property]\n });\n return {...API}\n})()","import { userInfo } from \"os\";\n\nexport default {\n get (name) {\n let value = sessionStorage.getItem(name)\n if (/^\\{.*\\}$/.test(value)) value = JSON.parse(value)\n return value\n },\n set (name, value) {\n if (typeof value === typeof {}) value = JSON.stringify(value)\n return sessionStorage.setItem(name, value)\n },\n remove (name) {\n return sessionStorage.removeItem(name)\n }\n}\n\n","export default {\n set (name,value) {\n var Days = 7;\n var exp = new Date();\n exp.setTime(exp.getTime() + Days*24*60*60*1000);\n document.cookie = name + \"=\"+ escape (value) + \";expires=\" + exp.toGMTString();\n },\n get (name) {\n var arr,reg=new RegExp(\"(^| )\"+name+\"=([^;]*)(;|$)\");\n if(arr=document.cookie.match(reg))\n return unescape(arr[2]);\n else\n return null;\n },\n remove (name) {\n var exp = new Date();\n exp.setTime(exp.getTime() - 1);\n var cval = this.get(name);\n if(cval != null)\n document.cookie= name + \"=\"+cval+\";expires=\"+exp.toGMTString();\n }\n}\n","import router from \"../router/index\";\nimport sess from \"@/assets/js/sess\";\nrouter.beforeEach((to, from, next) => {\n // next()\n if (to.path === '/login') {\n next()\n } else {\n if (!sess.get('userInfo')) {\n next({path: '/login'})\n } else {\n next()\n let path = to.path;\n if(to.params.id){\n path = to.path.replace(`/${to.params.id}`,'');\n }else {\n path = to.path\n }\n }\n }\n})","import axios from \"axios\";\nimport sess from \"../assets/js/sess\";\nimport {Message} from \"element-ui\";\nimport router from '../router/index'\naxios.interceptors.request.use((config) => {\n //请求发送前\n \n // if(sess.get('userInfo')){\n // axios.defaults.headers.common['token'] = sess.get('userInfo').token || '';\n // }\n if(config.method=='get'){\n config.params = {\n ...config.params\n }\n }\n return config;\n}, (error) => {\n //请求发送前报错\n console.log(response.data)\n if(response.data.resultcode != 0) {\n Message({\n type:'error',\n message:response.data.des,\n })\n }\n _vm.$emit('cancelButtonLoading')\n return Promise.reject(error);\n});\n\naxios.interceptors.response.use((response) => {\n if(response.data.resultcode != 0) {\n if(response.data.des){\n Message({\n type:'error',\n message:response.data.des,\n })\n }\n if(response.data.resultcode == 7){\n sess.remove('userInfo');\n sess.remove('bgImg');\n sess.remove('delId');\n router.push('/login')\n }\n }\n return response;\n}, (error) => {\n console.log(error)\n //返回数据报错\n if (error.response) {\n Message({\n type:'error',\n message:'接收数据时报错,服务器错误!',\n })\n }\n return Promise.reject(error);\n});\n","import Vue from 'vue'\nimport App from './App.vue'\nimport 'element-ui/lib/theme-chalk/index.css';\nimport ElementUI from 'element-ui'\nimport router from \"./router/index\"\nimport './assets/theme/index.css'\nimport './assets/base.css'\n\n\nimport axios from 'axios'\nimport '@/assets/js/filter.js'\nimport api from '@/assets/js/api.js'\nimport sess from '@/assets/js/sess.js'\nimport cookie from '@/assets/js/cookie.js'\nimport './config/router.config.js'\nimport './config/request.config.js'\nVue.use(ElementUI)\nVue.config.productionTip = false\nVue.prototype.$axios = axios;\nVue.prototype.$sess = sess;\nVue.prototype.$cookie = cookie;\nVue.prototype.$api = api;\nwindow.axios = axios;\nwindow.api = api;\nVue.prototype.$setUserInfo= function () {\n Vue.prototype.$username = Vue.prototype.$sess.get('userInfo').username || ''; //设置全局用户名称\n Vue.prototype.$tel = Vue.prototype.$sess.get('userInfo').tel || ''; //设置全局用户电话\n Vue.prototype.$token = Vue.prototype.$sess.get('userInfo').token || ''; //设置token\n};\nnew Vue({\n router,\n created() {\n window._vm = this.$root\n if (this.$sess.get('userInfo')) {\n this.$setUserInfo();\n }\n },\n render: h => h(App),\n}).$mount('#app')\n"],"sourceRoot":""}