(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bc9ec340"],{4508:function(n,o,e){"use strict";e.r(o);var t=function(){var n=this,o=n._self._c;return o("div",{staticClass:"home"},[o("div",{staticClass:"header",staticStyle:{position:"relative"}},[n._v("安全管理应用下载")]),o("div",{ref:"content",staticStyle:{padding:"30px"}},[n.isOld?o("p",{on:{click:n.jumpDK}},[n._v("打卡式巡检")]):o("button",{on:{click:function(o){return n.copyUrl(1)}}},[n._v("打卡式巡检 复制链接地址")])]),o("div",{ref:"content",staticStyle:{padding:"30px"}},[n.isOld?o("p",{on:{click:n.jumpSHWJ}},[n._v("手环绑定&安全文档管理")]):o("button",{on:{click:function(o){return n.copyUrl(2)}}},[n._v("手环绑定&安全文档管理 复制链接地址")])]),o("div",{ref:"content",staticStyle:{padding:"30px"}},[n.isOld?o("p",{on:{click:n.jumpBKQ}},[n._v("布控球")]):o("button",{on:{click:function(o){return n.copyUrl(3)}}},[n._v("布控球 复制链接地址")])])])},c=[],i=(e("28de"),{data(){return{dkUrl:"http://10.120.99.63:8042/zhizhi/static/resource/load/redirect/androidJsUploadFiles/2023-12/3c84be17-daf3-46b0-989d-8e1c512d5c84.apk/NFCInspectCEPJ210.apk",shwjUrl:"http://10.120.99.63:8042/zhizhi/static/resource/load/redirect/androidJsUploadFiles/2023-12/d953181a-df96-46b5-a874-9f16f7bf042c.apk/SecurityCEPJ210.apk",bkqUrl:"http://10.120.99.63:8042/zhizhi/static/resource/load/redirect/androidJsUploadFiles/2023-12/11c88386-d05b-43c9-b54d-b6fce3b057b3.apk/bk.apk?a=0",isOld:!0,deviceId:"",platForm:"cepj"}},components:{},mounted(){this.checkMachine()},methods:{uploadApk(){window.suplink.upload({mode:2}).then(n=>console.log(n))},jumpDK(){"8449fcc183bad222"===this.deviceId||"862212050044377"===this.deviceId||"429172c5e523652f"===this.deviceId?window.suplink.launchApp({android:"cnooc://com.cnooc.construction.apk?name=dk&platForm="+this.platForm}).then(n=>console.log(n)):window.suplink.launchApp({android:this.dkUrl}).then(n=>console.log(n))},jumpSHWJ(){"8449fcc183bad222"===this.deviceId||"862212050044377"===this.deviceId||"429172c5e523652f"===this.deviceId?window.suplink.launchApp({android:"cnooc://com.cnooc.construction.apk?name=shwj&platForm="+this.platForm}).then(n=>console.log(n)):window.suplink.launchApp({android:this.shwjUrl}).then(n=>console.log(n))},jumpBKQ(){"8449fcc183bad222"===this.deviceId||"862212050044377"===this.deviceId||"429172c5e523652f"===this.deviceId?window.suplink.launchApp({android:"cnooc://com.cnooc.construction.apk?name=bkq&platForm="+this.platForm}).then(n=>console.log(n)):window.suplink.launchApp({android:this.bkqUrl}).then(n=>console.log(n))},copyUrl(n){console.log(n);const o=document.createElement("textarea");1===n?(o.value=this.dkUrl,window.suplink.launchApp({android:this.dkUrl}).then(n=>console.log(n))):2===n?(o.value=this.shwjUrl,window.suplink.launchApp({android:this.shwjUrl}).then(n=>console.log(n))):3===n&&(o.value=this.bkqUrl,window.suplink.launchApp({android:this.bkqUrl}).then(n=>console.log(n))),document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o)},checkMachine(){window.suplink.getSystemInfo().then(n=>{var o=0;o=n.data.model.substring(o.length-2,o.length),o=parseInt(n.data.model.substring(o.length-2,o.length)),this.deviceId=n.data.deviceId,console.log(this.deviceId),this.isOld=o<20,this.isOld=!0})}}}),d=i,l=(e("99f7"),e("2877")),s=Object(l["a"])(d,t,c,!1,null,"3e378129",null);o["default"]=s.exports},"8f58":function(n,o,e){},"99f7":function(n,o,e){"use strict";e("8f58")}}]);