Commit 7a1eff8b authored by 郭铭瑶's avatar 郭铭瑶 🤘

打包

parent 9dcdae1a
.DS_Store .DS_Store
node_modules/ node_modules/
/dist/
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
......
<!DOCTYPE html><html id=html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge, chrome=1"><title>物业督查实时监控系统</title><style>html {
font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><script type=text/javascript src=http://192.168.104.33:8181/smimap/ShsmiGis.Bridge.js></script><link href=./static/css/app.19784e5ef155f395f9a7bb6551cd63d8.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.d195f5b56e3436fe6bc8.js></script><script type=text/javascript src=./static/js/vendor.dc1ed2d0549b6d6f959d.js></script><script type=text/javascript src=./static/js/app.3fa41d0201242baaa473.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={3:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"c8d149828aa13b63d22c"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.d195f5b56e3436fe6bc8.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap e37735e25e50d0a06cc4"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","3","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,G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AF,EAaAf,EAAAsB,YAAAnB,GAEAL,GAIAX,EAAAoC,EAAAtC,EAGAE,EAAAqC,EAAAnC,EAGAF,EAAAsC,EAAA,SAAAlC,EAAAmC,EAAAC,GACAxC,EAAAyC,EAAArC,EAAAmC,IACA7C,OAAAgD,eAAAtC,EAAAmC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAxC,EAAA8C,EAAA,SAAAzC,GACA,IAAAmC,EAAAnC,KAAA0C,WACA,WAA2B,OAAA1C,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAsC,EAAAE,EAAA,IAAAA,GACAA,GAIAxC,EAAAyC,EAAA,SAAAO,EAAAC,GAAsD,OAAAvD,OAAAC,UAAAC,eAAAC,KAAAmD,EAAAC,IAGtDjD,EAAAyB,EAAA,KAGAzB,EAAAkD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.d195f5b56e3436fe6bc8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\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 = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(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(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t3: 0\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 installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"c8d149828aa13b63d22c\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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\n\n// WEBPACK FOOTER //\n// webpack/bootstrap e37735e25e50d0a06cc4"],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
</style> </style>
<script src="./static/jquery.min.js"></script> <script src="./static/jquery.min.js"></script>
<script type='text/javascript' src='http://168.168.112.76:8181/smimap/ShsmiGis.Bridge.js'></script> <script type='text/javascript' src='http://192.168.104.33:8181/smimap/ShsmiGis.Bridge.js'></script>
<!-- <script type='text/javascript' src='https://api.map.baidu.com/api?v=2.0&ak=MvCb6BWu4jHR9TD0svHfO4bWlx9pA9HG'></script> --> <!-- <script type='text/javascript' src='https://api.map.baidu.com/api?v=2.0&ak=MvCb6BWu4jHR9TD0svHfO4bWlx9pA9HG'></script> -->
</head> </head>
<body> <body>
......
let IMG_URL = ''
let FILE_URL = ''
let BASE_URL = '' let BASE_URL = ''
switch (process.env.NODE_ENV) { switch (process.env.NODE_ENV) {
case 'production': case 'production':
IMG_URL = 'http://10.221.1.181:8080/dist/static/' BASE_URL = '/hmfmstest/shanghaiwuye/propertyinspector/api/v1'
FILE_URL = '/quanguo/static/'
break break
default: default:
IMG_URL = 'http://localhost:8080/static/'
FILE_URL = '/static/'
// BASE_URL = 'https://yapi.omniview.pro/mock/54/propertyinspector/api/v1' // BASE_URL = 'https://yapi.omniview.pro/mock/54/propertyinspector/api/v1'
BASE_URL = 'http://www.962121.net/hmfmstest/shanghaiwuye/propertyinspector/api/v1' BASE_URL = 'http://www.962121.net/hmfmstest/shanghaiwuye/propertyinspector/api/v1'
}; };
export default { export default {
// BASE_URL: 'http://sunmonster.vicp.cc:41318/pudong/',
BASE_URL, BASE_URL,
IMG_URL, IMG_URL,
FILE_URL, FILE_URL,
......
...@@ -230,8 +230,10 @@ export default { ...@@ -230,8 +230,10 @@ export default {
methods: { methods: {
initData(themeId = null, startDate = null, endDate = null) { initData(themeId = null, startDate = null, endDate = null) {
const today = this.$moment().format('YYYYMMDD') const today = this.$moment().format('YYYYMMDD')
const defaultDay = this.$moment().format('YYYYMMDD') // 检查人员列表默认开始、结束时间
const communityParams = {someday: today} const communityParams = {someday: today}
const personParams = {startDate: startDate || today, endDate: endDate || today} const personParams = {startDate: defaultDay, endDate: defaultDay}
// const personParams = {startDate: startDate || today, endDate: endDate || today}
if (themeId) { if (themeId) {
communityParams.taskId = themeId communityParams.taskId = themeId
personParams.taskId = themeId personParams.taskId = themeId
...@@ -246,7 +248,7 @@ export default { ...@@ -246,7 +248,7 @@ export default {
const {ShsmiGis} = window const {ShsmiGis} = window
this.map = new ShsmiGis.Bridge({ this.map = new ShsmiGis.Bridge({
id: 'map', id: 'map',
url: 'http://168.168.112.76:8181/smimap/index.html', url: 'http://192.168.104.33:8181/smimap/index.html',
onReady: () => { onReady: () => {
console.log('地图创建完成') console.log('地图创建完成')
this.addPoint() this.addPoint()
...@@ -315,38 +317,20 @@ export default { ...@@ -315,38 +317,20 @@ export default {
value: '第1类', value: '第1类',
label: '第I类', label: '第I类',
symbol: { symbol: {
// type: 'point-3d', type: 'point-3d',
type: 'text',
symbolLayers: [ symbolLayers: [
// {
// type: 'icon',
// size: 24,
// resource: {
// href: 'http://168.168.112.76:8181/propertybusinessmanage/tjcmv/images/marker/1.png'
// // href: 'http://localhost:8080/static/person-bg.png'
// },
// },
{ {
type: 'text', type: 'icon',
value: '123', size: 24,
label: 'sdjfoi', resource: {
color: 'red', href: 'http://192.168.104.33:8181/propertybusinessmanage/tjcmv/images/marker/1.png'
haloSize: 2, // href: 'http://168.168.112.76:8181/propertybusinessmanage/tjcmv/images/marker/1.png'
haloColor: '#fff', // href: 'http://localhost:8080/static/person-bg.png'
} },
},
] ]
} }
}, },
// {
// value: '第1类',
// label: '第I类',
// symbol: {
// type: 'text',
// color: 'red',
// haloSize: 2,
// haloColor: '#fff',
// },
// }
] ]
}, },
labelSymbol: { labelSymbol: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment