Commit 5d5aff0e authored by 郭铭瑶's avatar 郭铭瑶 🤘

不同部门人员显示不同颜色的图标

parent 5c28a092
<!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 { <!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; font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><script type=text/javascript src=http://www.962121.net/gis_system/smimap/mapdebug/ShsmiGis.Bridge.js></script><link href=./static/css/app.36d3831201acac8bcd06ab835e6a5c08.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.7c1971980973830e76e9.js></script><script type=text/javascript src=./static/js/vendor.6cc928b1afcfbc393218.js></script><script type=text/javascript src=./static/js/app.2e1231f1764d237449c4.js></script></body></html> }</style><script src=./static/jquery.min.js></script><script type=text/javascript src=http://www.962121.net/gis_system/smimap/mapdebug/ShsmiGis.Bridge.js></script><link href=./static/css/app.469c078fbb8653a7fcd830ef6a86d18b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.db4d7b922cb2ba6651e3.js></script><script type=text/javascript src=./static/js/vendor.6cc928b1afcfbc393218.js></script><script type=text/javascript src=./static/js/app.2e1231f1764d237449c4.js></script></body></html>
\ No newline at end of file \ 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 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:"842556d95ca1928ee20d"}[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}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,i){for(var u,a,f,s=0,l=[];s<r.length;s++)a=r[s],t[a]&&l.push(t[a][0]),t[a]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(n&&n(r,c,i);l.length;)l.shift()();if(i)for(s=0;s<i.length;s++)f=o(o.s=i[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],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,o.nc&&i.setAttribute("nonce",o.nc),i.src=o.p+"static/js/"+e+"."+{0:"555f3469df8b7f454fc2"}[e]+".js";var u=setTimeout(a,12e4);function a(){i.onerror=i.onload=null,clearTimeout(u);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return i.onerror=i.onload=a,c.appendChild(i),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.7c1971980973830e76e9.js.map //# sourceMappingURL=manifest.db4d7b922cb2ba6651e3.js.map
\ No newline at end of file \ No newline at end of file
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
this.removeGifPoint('path-points') this.removeGifPoint('path-points')
const {OPER_ID, TASK_ID, X, Y, ROLE_NAME} = data const {OPER_ID, TASK_ID, X, Y, ROLE_NAME} = data
this.gotoPosition(X, Y, 10) this.gotoPosition(X, Y, 10)
this.addGifPoint({name: 'selected-point', key: 'OPER_ID', data: data, icon: this.$com.transRoleName(ROLE_NAME), size: 300}) this.addGifPoint({name: 'selected-point', key: 'OPER_ID', data: data, icon: this.$com.transRoleName(ROLE_NAME)})
// 获取人员详情 // 获取人员详情
this.$ajax.post({ this.$ajax.post({
url: this.$api.POST_PERSON_DETAIL, url: this.$api.POST_PERSON_DETAIL,
...@@ -488,7 +488,7 @@ export default { ...@@ -488,7 +488,7 @@ export default {
this.addPoint({name:'rectify-points', key: 'COMMUNITYID', data: this.$store.state.rectifyList, icon: 'red.png'}) this.addPoint({name:'rectify-points', key: 'COMMUNITYID', data: this.$store.state.rectifyList, icon: 'red.png'})
} }
if (types.indexOf('person') >= 0) { if (types.indexOf('person') >= 0) {
this.addPoint({name:'person-points', key: 'OPER_ID', labelKey: 'TE_NAME', data: this.$store.state.personList, icon: 'person6.png', size: 30}) this.addPoint({name:'person-points', key: 'OPER_ID', labelKey: 'TE_NAME', data: this.$store.state.personList})
} }
this.gotoPosition(1, 1, 3) this.gotoPosition(1, 1, 3)
}, },
...@@ -506,7 +506,7 @@ export default { ...@@ -506,7 +506,7 @@ export default {
// }, // },
'$store.state.personList': { '$store.state.personList': {
handler(cur, past) { handler(cur, past) {
this.addPoint({name:'person-points', key: 'OPER_ID', labelKey: 'TE_NAME', data: cur, size: 30}) this.addPoint({name:'person-points', key: 'OPER_ID', labelKey: 'TE_NAME', data: cur})
} }
}, },
'$store.state.curDate': { '$store.state.curDate': {
......
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