(self["webpackChunknewfront"]=self["webpackChunknewfront"]||[]).push([[5780],{81618:function(e){"use strict";(function(t,n){e.exports=n()})(0,(function(){function e(e){var a=[];return e.AMapUI&&a.push(t(e.AMapUI)),e.Loca&&a.push(n(e.Loca)),Promise.all(a)}function t(e){return new Promise((function(t,n){var s=[];if(e.plugins)for(var r=0;r<e.plugins.length;r+=1)-1==o.AMapUI.plugins.indexOf(e.plugins[r])&&s.push(e.plugins[r]);if(i.AMapUI===a.failed)n("前次请求 AMapUI 失败");else if(i.AMapUI===a.notload){i.AMapUI=a.loading,o.AMapUI.version=e.version||o.AMapUI.version,r=o.AMapUI.version;var c=document.body||document.head,u=document.createElement("script");u.type="text/javascript",u.src="https://webapi.amap.com/ui/"+r+"/main.js",u.onerror=function(e){i.AMapUI=a.failed,n("请求 AMapUI 失败")},u.onload=function(){if(i.AMapUI=a.loaded,s.length)window.AMapUI.loadUI(s,(function(){for(var e=0,n=s.length;e<n;e++){var a=s[e].split("/").slice(-1)[0];window.AMapUI[a]=arguments[e]}for(t();l.AMapUI.length;)l.AMapUI.splice(0,1)[0]()}));else for(t();l.AMapUI.length;)l.AMapUI.splice(0,1)[0]()},c.appendChild(u)}else i.AMapUI===a.loaded?e.version&&e.version!==o.AMapUI.version?n("不允许多个版本 AMapUI 混用"):s.length?window.AMapUI.loadUI(s,(function(){for(var e=0,n=s.length;e<n;e++){var a=s[e].split("/").slice(-1)[0];window.AMapUI[a]=arguments[e]}t()})):t():e.version&&e.version!==o.AMapUI.version?n("不允许多个版本 AMapUI 混用"):l.AMapUI.push((function(e){e?n(e):s.length?window.AMapUI.loadUI(s,(function(){for(var e=0,n=s.length;e<n;e++){var a=s[e].split("/").slice(-1)[0];window.AMapUI[a]=arguments[e]}t()})):t()}))}))}function n(e){return new Promise((function(t,n){if(i.Loca===a.failed)n("前次请求 Loca 失败");else if(i.Loca===a.notload){i.Loca=a.loading,o.Loca.version=e.version||o.Loca.version;var s=o.Loca.version,r=o.AMap.version.startsWith("2"),c=s.startsWith("2");if(r&&!c||!r&&c)n("JSAPI 与 Loca 版本不对应!!");else{r=o.key,c=document.body||document.head;var u=document.createElement("script");u.type="text/javascript",u.src="https://webapi.amap.com/loca?v="+s+"&key="+r,u.onerror=function(e){i.Loca=a.failed,n("请求 AMapUI 失败")},u.onload=function(){for(i.Loca=a.loaded,t();l.Loca.length;)l.Loca.splice(0,1)[0]()},c.appendChild(u)}}else i.Loca===a.loaded?e.version&&e.version!==o.Loca.version?n("不允许多个版本 Loca 混用"):t():e.version&&e.version!==o.Loca.version?n("不允许多个版本 Loca 混用"):l.Loca.push((function(e){e?n(e):n()}))}))}if(!window)throw Error("AMap JSAPI can only be used in Browser.");var a;(function(e){e.notload="notload",e.loading="loading",e.loaded="loaded",e.failed="failed"})(a||(a={}));var o={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:a.notload,AMapUI:a.notload,Loca:a.notload},l={AMap:[],AMapUI:[],Loca:[]},s=[],r=function(e){"function"==typeof e&&(i.AMap===a.loaded?e(window.AMap):s.push(e))};return{load:function(t){return new Promise((function(n,l){if(i.AMap==a.failed)l("");else if(i.AMap==a.notload){var c=t.key,u=t.version,p=t.plugins;c?(window.AMap&&"lbs.amap.com"!==location.host&&l("禁止多种API加载方式混用"),o.key=c,o.AMap.version=u||o.AMap.version,o.AMap.plugins=p||o.AMap.plugins,i.AMap=a.loading,u=document.body||document.head,window.___onAPILoaded=function(o){if(delete window.___onAPILoaded,o)i.AMap=a.failed,l(o);else for(i.AMap=a.loaded,e(t).then((function(){n(window.AMap)}))["catch"](l);s.length;)s.splice(0,1)[0]()},p=document.createElement("script"),p.type="text/javascript",p.src="https://webapi.amap.com/maps?callback=___onAPILoaded&v="+o.AMap.version+"&key="+c+"&plugin="+o.AMap.plugins.join(","),p.onerror=function(e){i.AMap=a.failed,l(e)},u.appendChild(p)):l("请填写key")}else if(i.AMap==a.loaded)if(t.key&&t.key!==o.key)l("多个不一致的 key");else if(t.version&&t.version!==o.AMap.version)l("不允许多个版本 JSAPI 混用");else{if(c=[],t.plugins)for(u=0;u<t.plugins.length;u+=1)-1==o.AMap.plugins.indexOf(t.plugins[u])&&c.push(t.plugins[u]);c.length?window.AMap.plugin(c,(function(){e(t).then((function(){n(window.AMap)}))["catch"](l)})):e(t).then((function(){n(window.AMap)}))["catch"](l)}else if(t.key&&t.key!==o.key)l("多个不一致的 key");else if(t.version&&t.version!==o.AMap.version)l("不允许多个版本 JSAPI 混用");else{var d=[];if(t.plugins)for(u=0;u<t.plugins.length;u+=1)-1==o.AMap.plugins.indexOf(t.plugins[u])&&d.push(t.plugins[u]);r((function(){d.length?window.AMap.plugin(d,(function(){e(t).then((function(){n(window.AMap)}))["catch"](l)})):e(t).then((function(){n(window.AMap)}))["catch"](l)}))}}))},reset:function(){delete window.AMap,delete window.AMapUI,delete window.Loca,o={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:a.notload,AMapUI:a.notload,Loca:a.notload},l={AMap:[],AMapUI:[],Loca:[]}}}}))},88255:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"container"},[t("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"松动井盖预测",name:"wellLooseness"}},[t("well-looseness",{ref:"wellLooseness"})],1),t("el-tab-pane",{attrs:{label:"信号弱井",name:"wellSignal"}},[t("well-signal",{ref:"wellSignal"})],1)],1)],1)},o=[],i=(n(68309),function(){var e=this,t=e._self._c;return t("el-row",{attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{"max-height":e.maxHeight,data:e.list,border:""}},[t("el-table-column",{attrs:{index:e.indexMethod,label:"序号",align:"center",type:"index",width:"55"}}),e._l(e.columns,(function(n){return t("el-table-column",{key:n.value,attrs:{label:n.text,width:n.width,align:n.align,"show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[n.value]))])]}}],null,!0)})})),t("el-table-column",{attrs:{label:"操作",align:"center",width:"60"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.detail(n.row)}}},[e._v(" 详情 ")])]}}])})],2),t("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>10,expression:"total > 10 ? true : false"}],attrs:{"current-page":e.query.offset,"page-sizes":e.pageSizes,"page-size":e.query.limit,total:e.total,align:"center",layout:"total, sizes, prev, pager, next"},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),t("el-col",{attrs:{span:12}},[t("a-map-container",{ref:"map",staticClass:"map-demo",style:{height:e.bodyHeight-130+"px"},attrs:{center:e.center,zoom:e.zoom,"base-layer":e.baseLayer,vid:"overview"},on:{ready:e.mapReady}})],1)],1)}),l=[],s=n(95082),r=(n(21249),n(20629)),c=n(97795);const u={name:"WellLooseness",components:{AMapContainer:c.Z},data:function(){return{map:null,baseLayer:"gaode_vec",center:[this.$store.getters.lng,this.$store.getters.lat],zoom:12,columns:[{text:"点位编号",value:"wellCode",align:"center"},{text:"点位名称",value:"wellName",align:"center"},{text:"设备编号",value:"deviceCode",align:"center"},{text:"详细地址",value:"postion",align:"center"}],listLoading:!1,list:[],query:{offset:1,limit:10},pageSizes:[10,20,30],total:0,maxHeight:null}},computed:(0,s.Z)({},(0,r.Se)(["bodyHeight"])),mounted:function(){this.getTableData(),this.maxHeight=this.bodyHeight-200},methods:{mapReady:function(e){this.map=e},getTableData:function(){this.list=[{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"},{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"},{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"}],this.total=this.list.length},indexMethod:function(e){return this.query.limit*(this.query.offset-1)+e+1},handleSizeChange:function(e){this.query.limit=e},handleCurrentChange:function(e){this.query.offset=e}}},p=u;var d=n(1001),f=(0,d.Z)(p,i,l,!1,null,"4cb4e6a1",null);const h=f.exports;var g=function(){var e=this,t=e._self._c;return t("el-row",{attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{"max-height":e.maxHeight,data:e.list,border:""}},[t("el-table-column",{attrs:{index:e.indexMethod,label:"序号",align:"center",type:"index",width:"55"}}),e._l(e.columns,(function(n){return t("el-table-column",{key:n.value,attrs:{label:n.text,width:n.width,align:n.align,"show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[n.value]))])]}}],null,!0)})})),t("el-table-column",{attrs:{label:"操作",align:"center",width:"60"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.detail(n.row)}}},[e._v(" 详情 ")])]}}])})],2),t("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>10,expression:"total > 10 ? true : false"}],attrs:{"current-page":e.query.offset,"page-sizes":e.pageSizes,"page-size":e.query.limit,total:e.total,align:"center",layout:"total, sizes, prev, pager, next"},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),t("el-col",{attrs:{span:12}},[t("a-map-container",{ref:"map",staticClass:"map-demo",style:{height:e.bodyHeight-130+"px"},attrs:{center:e.center,zoom:e.zoom,"base-layer":e.baseLayer,vid:"overview"},on:{ready:e.mapReady}})],1)],1)},v=[];const w={name:"WellLooseness",components:{AMapContainer:c.Z},data:function(){return{map:null,baseLayer:"gaode_vec",center:[this.$store.getters.lng,this.$store.getters.lat],zoom:12,columns:[{text:"点位编号",value:"wellCode",align:"center"},{text:"点位名称",value:"wellName",align:"center"},{text:"设备编号",value:"deviceCode",align:"center"},{text:"详细地址",value:"postion",align:"center"}],listLoading:!1,list:[],query:{offset:1,limit:10},pageSizes:[10,20,30],total:0,maxHeight:null}},computed:(0,s.Z)({},(0,r.Se)(["bodyHeight"])),mounted:function(){this.getTableData(),this.maxHeight=this.bodyHeight-200},methods:{mapReady:function(e){this.map=e},getTableData:function(){this.list=[{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"},{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"},{wellCode:"11222",wellName:"321321",deviceCode:"34243243",postion:"fdsafdsa"}],this.total=this.list.length},indexMethod:function(e){return this.query.limit*(this.query.offset-1)+e+1},handleSizeChange:function(e){this.query.limit=e},handleCurrentChange:function(e){this.query.offset=e}}},m=w;var A=(0,d.Z)(m,g,v,!1,null,"20662288",null);const M=A.exports,y={name:"IntelligenceManage",components:{wellLooseness:h,wellSignal:M},data:function(){return{activeName:"wellLooseness"}},methods:{handleClick:function(e,t){"wellLooseness"===e.name?this.$refs.wellLooseness.fetchData():"wellSignal"===e.name&&this.$refs.wellSignal.fetchData()}}},b=y;var L=(0,d.Z)(b,a,o,!1,null,"5822abf4",null);const C=L.exports},69098:(e,t,n)=>{"use strict";var a=n(77710),o=n(95631);a("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},51532:(e,t,n)=>{n(69098)},19668:(e,t,n)=>{"use strict";const a=n(78998);e.exports=function(){const e=a.apply(a,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},78998:e=>{"use strict";function t(e){let t=!1,n=!1,a=!1;for(let o=0;o<e.length;o++){const i=e[o];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.substr(0,o)+"-"+e.substr(o),t=!1,a=n,n=!0,o++):n&&a&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.substr(0,o-1)+"-"+e.substr(o-1),a=n,n=!1,t=!0):(t=i.toLowerCase()===i,a=n,n=i.toUpperCase()===i)}return e}e.exports=function(e){if(e=arguments.length>1?Array.from(arguments).map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim(),0===e.length)return"";if(1===e.length)return e.toLowerCase();if(/^[a-z0-9]+$/.test(e))return e;const n=e!==e.toLowerCase();return n&&(e=t(e)),e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}},13087:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(21703),n(96647);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},62833:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(69070);function a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}}}]);