IntelligentRecognition/ah-jjsp-web/.svn/pristine/ae/aefed390d15f57a9280d23cfbc9...

1 line
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){var e={9461:function(e,t,n){"use strict";var a=n(9242),r=n(3396);function i(e,t,n,a,i,o){const c=(0,r.up)("router-view");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r.Wm)(c)])}var o={data(){return{}},created(){this.initData()},methods:{initData(){window.addEventListener("resize",(e=>{location.reload()}))}}},c=n(89);const l=(0,c.Z)(o,[["render",i]]);var s=l,u=n(2483);const m=[{path:"/",redirect:"/analyticalDecision"},{path:"/home",name:"home",component:()=>n.e(886).then(n.bind(n,3886)),children:[{path:"/analyticalDecision",name:"AnalyticalDecision",component:()=>Promise.all([n.e(869),n.e(319),n.e(330)]).then(n.bind(n,3882)),meta:{title:"分析决策中心"}},{path:"/illegalOperation",name:"IllegalOperation",component:()=>Promise.all([n.e(869),n.e(836)]).then(n.bind(n,2836)),meta:{title:"违章作业"}},{path:"/illegalOperationDetail",name:"IllegalOperationDetail",component:()=>n.e(863).then(n.bind(n,3863)),meta:{title:"违章统计"}},{path:"/monitoringCoverage",name:"MonitoringCoverage",component:()=>Promise.all([n.e(869),n.e(746)]).then(n.bind(n,5746)),meta:{title:"监控覆盖"}},{path:"/monitoringActivity",name:"MonitoringActivity",component:()=>n.e(53).then(n.bind(n,4053)),meta:{title:"监控活跃度分析"}},{path:"/monitoringWarning",name:"MonitoringWarning",component:()=>n.e(50).then(n.bind(n,6050)),meta:{title:"监控预告警分析"}},{path:"/downwatchAnalysis",name:"DownwatchAnalysis",component:()=>n.e(919).then(n.bind(n,3919)),meta:{title:"下行观看分析"}},{path:"/securityDaily",name:"SecurityDaily",component:()=>n.e(647).then(n.bind(n,2647)),meta:{title:"安全日报"}},{path:"/monitorRisk",name:"MonitorRisk",component:()=>Promise.all([n.e(319),n.e(725)]).then(n.bind(n,3054)),meta:{title:"监控风险告警分析"}},{path:"/riskWarning",name:"RiskWarning",component:()=>Promise.all([n.e(384),n.e(372)]).then(n.bind(n,5100)),meta:{title:"风险预警提前处置"}},{path:"/emphasisRisk",name:"EmphasisRisk",component:()=>n.e(655).then(n.bind(n,2655)),meta:{title:"重点风险分析"}},{path:"/riskRectification",name:"RiskRectification",component:()=>Promise.all([n.e(384),n.e(901)]).then(n.bind(n,7843)),meta:{title:"风险整改分析"}},{path:"/riskPeriod",name:"RiskPeriod",component:()=>n.e(762).then(n.bind(n,7762)),meta:{title:"风险时段分析"}},{path:"/riskCostImpact",name:"RiskCostImpact",component:()=>n.e(170).then(n.bind(n,2170)),meta:{title:"风险成本影响分析"}},{path:"/riskProjectRank",name:"RiskProjectRank",component:()=>n.e(410).then(n.bind(n,6410)),meta:{title:"风险工程排名"}},{path:"/teamStructure",name:"TeamStructure",component:()=>n.e(555).then(n.bind(n,9555)),meta:{title:"队伍结构"}},{path:"/teamEvaluation",name:"TeamEvaluation",component:()=>n.e(6).then(n.bind(n,2006)),meta:{title:"队伍综合评级"}},{path:"/teamRisk",name:"TeamRisk",component:()=>n.e(55).then(n.bind(n,2055)),meta:{title:"队伍风险事件"}},{path:"/teamPerformance",name:"TeamPerformance",component:()=>n.e(164).then(n.bind(n,1164)),meta:{title:"队伍业绩"}},{path:"/teamAccident",name:"TeamAccident",component:()=>n.e(988).then(n.bind(n,9988)),meta:{title:"队伍质量事故"}},{path:"/teamSecurity",name:"TeamSecurity",component:()=>n.e(232).then(n.bind(n,8232)),meta:{title:"队伍安全事故防范"}},{path:"/jobInfo",name:"JobInfo",component:()=>n.e(711).then(n.bind(n,4711)),meta:{title:"工程作业信息"}},{path:"/siteControl",name:"SiteControl",component:()=>n.e(197).then(n.bind(n,9197)),meta:{title:"现场管控"}},{path:"/planExecution",name:"PlanExecution",component:()=>n.e(455).then(n.bind(n,2455)),meta:{title:"计划执行情况"}},{path:"/crewMember",name:"CrewMember",component:()=>n.e(925).then(n.bind(n,1925)),meta:{title:"班组人员"}},{path:"/fieldOperation",name:"FieldOperation",component:()=>n.e(26).then(n.bind(n,5026)),meta:{title:"现场作业"}},{path:"/qualityAlarm",name:"QualityAlarm",component:()=>n.e(707).then(n.bind(n,4707)),meta:{title:"工程质量告警及整改"}},{path:"/accidentAnalysis",name:"AccidentAnalysis",component:()=>n.e(637).then(n.bind(n,7637)),meta:{title:"队伍质量事故分析"}}]}],d=(0,u.p7)({history:(0,u.r5)(),routes:m});var f=d,p=n(4239),h=n(8679),b=(n(1631),n(812)),g=n(2748);const v=function(e){for(const t in g)Object.hasOwnProperty.call(g,t)&&e.component(g[t].name,g[t])};"undefined"!==typeof window&&window.Vue&&v(window.Vue);var y={install:v},w=n(7344),D=n(4351);n(5102);const T=(0,a.ri)(s);T.use(p.Z).use(f).mount("#app"),T.config.globalProperties.$filters=D,T.use(h.Z,{locale:b.Z}),T.use(y),T.config.globalProperties.$http=w.Z},7344:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var a=n(4311),r=n(1836);console.log("window.DOWN_URL",window.DOWN_URL);const i=window.DOWN_URL||"",o={development:"/api",production:i},c=o["production"],l=a.Z.create({baseURL:o["production"],timeout:3e4});l.interceptors.request.use((e=>(e.headers["Authorization"]=(0,r.LP)(),"get"===e.method&&(e.params?e.headers["encrypt"]=sm3(JSON.stringify(e.params)):e.headers["encrypt"]=sm3(JSON.stringify({}))),"post"===e.method&&(e.data?e.headers["encrypt"]=sm3(JSON.stringify(e.data)):e.headers["encrypt"]=sm3(JSON.stringify({}))),e)),(e=>Promise.reject(e))),l.interceptors.response.use((e=>{console.log("响应拦截器");const t=e.data;return/200|404/.test(t.code),t}),(e=>{const t=e.toString(),n=t.substr(t.indexOf("code"));return"401"==n&&location.reload(),Promise.reject(e)})),t["Z"]=l},4239:function(e,t,n){"use strict";n(7658);var a=n(1836),r=n(65);t["Z"]=(0,r.MT)({state:{openTabs:[],activeTabIndex:"",token:(0,a.LP)()||""},getters:{getTabs(e){return e.openTabs},getActiveTab(e){return e.activeTabIndex}},mutations:{addTab(e,t){e.openTabs.push(t)},deleteTab(e,t){let n=0;for(let a=0;a<e.openTabs.length;a++){if(e.openTabs[a].route===t)break;n++}e.openTabs.splice(n,1)},remoteTab(e){e.openTabs=[]},activeTab(e,t){e.activeTabIndex=t}},actions:{addTab(e,t){e.commit("addTab",t)},deleteTab(e,t){e.commit("deleteTab",t)},remoteTab(e){e.commit("remoteTab")},activeTab(e,t){e.commit("activeTab",t)}},modules:{}})},1836:function(e,t,n){"use strict";n.d(t,{LP:function(){return r},PR:function(){return i}});const a=window.TokenKey||"tokens";function r(){return localStorage.getItem(a)}const i=()=>{const e=JSON.parse(decrypt(localStorage.getItem("us")));return console.log(e),e}},4351:function(e,t,n){"use strict";n.r(t),n.d(t,{checkIdCard:function(){return u},checkStr:function(){return s},dateFormat:function(){return r},filterStr:function(){return l},getWeekDataList:function(){return c},replaceNum:function(){return o},replaceStr:function(){return i}});n(7658);var a=n(7178);const r=(e,t)=>{e||(e=new Date);let n=new Date(e);const a=["日","一","二","三","四","五","六"],r=n.getFullYear(),i=(n.getMonth()+1+"").padStart(2,"0"),o=(n.getDate()+"").padStart(2,"0"),c=a[n.getDay()],l=(n.getHours()+"").padStart(2,"0"),s=(n.getMinutes()+"").padStart(2,"0"),u=(n.getSeconds()+"").padStart(2,"0");return"YYYY-MM"==t?`${r}-${i}`:"YYYY-MM-DD"==t?`${r}-${i}-${o}`:"YYYY-MM-DD hh:mm"==t?`${r}-${i}-${o} ${l}:${s}`:"YYYY-MM-DD hh:mm:ss"==t?`${r}-${i}-${o} ${l}:${s}:${u}`:"YYYY年MM月"==t?`${r}年${i}月`:"YYYY年MM月DD日"==t?`${r}年${i}月${o}日`:"YYYY年MM月DD日周几"==t?`${r}年${i}月${o}日周${c}`:`${r}-${i}-${o}`},i=e=>{if(!e||""===e.trim())return;const t=String(e);return t.replace(/(\d{3})\d{11}(\d{4})/,"$1********$2")},o=(e,t)=>{let n=t||2;const a=/[^0-9.]/g;let r=new RegExp(`([0-9]+.[0-9]{${n}})[0-9]*`);return e=e.replace(a,"").trim().replace(r,"$1"),e},c=e=>{let t=new Date;t.getFullYear(),(t.getMonth()+1+"").padStart(2,"0"),(t.getDate()+"").padStart(2,"0");var n=[],a=new Date(e);"0"==a.getDay()?a.setDate(a.getDate()-6):a.setDate(a.getDate()-a.getDay()+1);var r=a.getDate(),i=a.getMonth()+1;a.getDate()<10&&(r="0"+r),a.getMonth()+1<10&&(i="0"+i);const o=a.getFullYear()+"-"+i+"-"+r;n.push(o);for(var c=0;c<6;c++){a.setDate(a.getDate()+1),r=a.getDate(),i=a.getMonth()+1;a.getDay();a.getDate()<10&&(r="0"+r),a.getMonth()+1<10&&(i="0"+i);const e=a.getFullYear()+"-"+i+"-"+r;n.push(e)}return n},l=e=>{if(!e)return;if(e=e.trim(),e&&e.length>20)return void a.z8.error("长度不能大于20个字符");const t=/[^0-9a-zA-Z\u4E00-\u9FA5]/g;return t.test(e)?void a.z8.error("内容不能包含特殊字符!"):void 0},s=e=>{if(!e)return;e=e.trim(),e.length>20&&a.z8.error("输入的字符长度不能超过20位");const t=/[^0-9a-zA-Z\u4E00-\u9FA5]/g;return t.test(e)&&a.z8.error("输入的字符包含特殊字符,请重新输入"),e},u=e=>{if(!e)return;e=e.trim();const t=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;return t.test(e)||a.z8.error("输入的身份证格式有误,请重新输入"),e}},5102:function(){(function(e,t){var n,a=e.document,r=a.documentElement,i=a.querySelector('meta[name="viewport"]'),o=a.querySelector('meta[name="flexible"]'),c=0,l=0,s=t.flexible||(t.flexible={});if(i){console.warn("将根据已有的meta标签来设置缩放比例");var u=i.getAttribute("content").match(/initial\-scale=([\d\.]+)/);u&&(l=parseFloat(u[1]),c=parseInt(1/l))}else if(o){var m=o.getAttribute("content");if(m){var d=m.match(/initial\-dpr=([\d\.]+)/),f=m.match(/maximum\-dpr=([\d\.]+)/);d&&(c=parseFloat(d[1]),l=parseFloat((1/c).toFixed(2))),f&&(c=parseFloat(f[1]),l=parseFloat((1/c).toFixed(2)))}}if(!c&&!l){e.navigator.appVersion.match(/android/gi);var p=e.navigator.appVersion.match(/iphone/gi),h=e.devicePixelRatio;c=p?h>=3&&(!c||c>=3)?3:h>=2&&(!c||c>=2)?2:1:1,l=1/c}if(r.setAttribute("data-dpr",c),!i)if(i=a.createElement("meta"),i.setAttribute("name","viewport"),i.setAttribute("content","initial-scale="+l+", maximum-scale="+l+", minimum-scale="+l+", user-scalable=no"),r.firstElementChild)r.firstElementChild.appendChild(i);else{var b=a.createElement("div");b.appendChild(i),a.write(b.innerHTML)}function g(){var t=.5625,n=r.clientWidth,a=r.clientHeight;n/c>540&&(n*=c,a*=c);var i=0;a/n<t?(i=a/5.625,n=10*i):i=n/10,console.log(n,"clientWidth"),console.log(a,"clientHeight"),console.log(i,"1rem"),r.style.fontSize=i+"px",s.rem=e.rem=i}e.addEventListener("resize",(function(){clearTimeout(n),n=setTimeout(g,300)}),!1),e.addEventListener("pageshow",(function(e){e.persisted&&(clearTimeout(n),n=setTimeout(g,300))}),!1),"complete"===a.readyState?a.body.style.fontSize=12*c+"px":a.addEventListener("DOMContentLoaded",(function(e){a.body.style.fontSize=12*c+"px"}),!1),g(),s.dpr=e.dpr=c,s.refreshRem=g,s.rem2px=function(e){var t=parseFloat(e)*this.rem;return"string"===typeof e&&e.match(/rem$/)&&(t+="px"),t},s.px2rem=function(e){var t=parseFloat(e)/this.rem;return"string"===typeof e&&e.match(/px$/)&&(t+="rem"),t}})(window,window["lib"]||(window["lib"]={}))}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.m=e,function(){var e=[];n.O=function(t,a,r,i){if(!a){var o=1/0;for(u=0;u<e.length;u++){a=e[u][0],r=e[u][1],i=e[u][2];for(var c=!0,l=0;l<a.length;l++)(!1&i||o>=i)&&Object.keys(n.O).every((function(e){return n.O[e](a[l])}))?a.splice(l--,1):(c=!1,i<o&&(o=i));if(c){e.splice(u--,1);var s=r();void 0!==s&&(t=s)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[a,r,i]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,a){return n.f[a](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"."+{6:"6b5cfbc8",26:"49545b1a",50:"82c949b4",53:"7312cb0c",55:"0a9f9e5f",164:"5b13aaa9",170:"4fc0d4cf",197:"e51a01f2",232:"f43a5c48",319:"7dbe447c",330:"ca7cefe1",372:"4cfa12ce",384:"b987a411",410:"e4078c38",455:"88a58955",555:"5c4c9fff",637:"27762526",647:"bfa17a05",655:"10252a52",707:"590f0b61",711:"b0accfcd",725:"3c356be1",746:"2c08ee5c",762:"2b4972de",836:"624def37",863:"bf816383",869:"29676c7a",886:"209d997c",901:"8804916e",919:"af65561f",925:"6b00a4f9",988:"a2406432"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{6:"04522ff0",26:"a12114bf",50:"59a8ec49",53:"513f1e06",55:"4b2d7cf2",164:"34d51346",170:"5019b271",197:"dc8e50cd",232:"8a2f8657",330:"cccc31b7",372:"145902a0",410:"579d878e",455:"3db0bc2f",555:"477dcab2",637:"2477190e",647:"5e2ef5dd",655:"66aadd20",707:"960d0919",711:"c6e9b314",725:"71703c62",746:"cf07adfb",762:"29c6dd60",836:"effd7e44",863:"999aa404",886:"fc77a3a0",901:"e8975c85",919:"57f8862b",925:"66ab9dad",988:"319859cc"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="infrastructure_control:";n.l=function(a,r,i,o){if(e[a])e[a].push(r);else{var c,l;if(void 0!==i)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var m=s[u];if(m.getAttribute("src")==a||m.getAttribute("data-webpack")==t+i){c=m;break}}c||(l=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+i),c.src=a),e[a]=[r];var d=function(t,n){c.onerror=c.onload=null,clearTimeout(f);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.forEach((function(e){return e(n)})),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),l&&document.head.appendChild(c)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.p=""}(),function(){var e=function(e,t,n,a,r){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var o=function(n){if(i.onerror=i.onload=null,"load"===n.type)a();else{var o=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=c,i.parentNode.removeChild(i),r(l)}};return i.onerror=i.onload=o,i.href=t,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var n=document.getElementsByTagName("link"),a=0;a<n.length;a++){var r=n[a],i=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(i===e||i===t))return r}var o=document.getElementsByTagName("style");for(a=0;a<o.length;a++){r=o[a],i=r.getAttribute("data-href");if(i===e||i===t)return r}},a=function(a){return new Promise((function(r,i){var o=n.miniCssF(a),c=n.p+o;if(t(o,c))return r();e(a,c,null,r,i)}))},r={143:0};n.f.miniCss=function(e,t){var n={6:1,26:1,50:1,53:1,55:1,164:1,170:1,197:1,232:1,330:1,372:1,410:1,455:1,555:1,637:1,647:1,655:1,707:1,711:1,725:1,746:1,762:1,836:1,863:1,886:1,901:1,919:1,925:1,988:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=a(e).then((function(){r[e]=0}),(function(t){throw delete r[e],t})))}}(),function(){var e={143:0};n.f.j=function(t,a){var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var i=new Promise((function(n,a){r=e[t]=[n,a]}));a.push(r[2]=i);var o=n.p+n.u(t),c=new Error,l=function(a){if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var i=a&&("load"===a.type?"missing":a.type),o=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,r[1](c)}};n.l(o,l,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,a){var r,i,o=a[0],c=a[1],l=a[2],s=0;if(o.some((function(t){return 0!==e[t]}))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(l)var u=l(n)}for(t&&t(a);s<o.length;s++)i=o[s],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},a=self["webpackChunkinfrastructure_control"]=self["webpackChunkinfrastructure_control"]||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))}();var a=n.O(void 0,[998],(function(){return n(9461)}));a=n.O(a)})();