{"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js??ref--0-2!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\alertModal.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\alertModal.vue","mtime":1663828782924},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js","mtime":1540864632000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.replace\";\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar preventBrowserBack = function preventBrowserBack() {\n history.pushState(null, null, document.URL);\n};\n/* \r\n 使用vuex this.$store.dispatch(\"openModal\", {})打开弹窗,具体参数去store查看\r\n*/\n\n\nexport default {\n name: 'alert-modal',\n props: {\n params: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {// modal:{}\n };\n },\n computed: {\n modal: function modal() {\n var _this = this;\n\n // const xx = this.$store.getters['getPopups'];\n var obj = this.params;\n\n if (obj && obj.height) {\n this.$nextTick(function () {\n if (_this.$refs.alertModal && _this.$refs.alertModal.$el && _this.$refs.alertModal.$el.childNodes) {\n _this.$refs.alertModal.$el.childNodes[0].style.height = obj.height;\n }\n });\n }\n\n if (obj.show) {\n history.pushState(null, null, document.URL);\n window.addEventListener('popstate', preventBrowserBack, false);\n } else {\n window.removeEventListener('popstate', preventBrowserBack);\n }\n\n return obj;\n }\n },\n watch: {},\n methods: {\n close: function close() {\n if (this.$route.fullPath == '/assetManagement/shopManagement/index?showDialog=true') {\n this.$router.replace('/workbench/index');\n }\n\n this.$store.dispatch('delPopup', this.modal.id);\n },\n // 弹窗重置,执行弹出组件的reset方法\n alertReset: function alertReset(id) {\n var component = this.$refs[id];\n component.reset && component.reset();\n },\n submit: function submit(id) {\n var component = this.$refs[id];\n component.submit && component.submit();\n }\n },\n created: function created() {// debugger\n // this.modal=this.params;\n }\n};",{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA;AACAA;AACA,CAFA;AAGA;AACA;AACA;;;AACA;AACAC,qBADA;AAEAC;AACAC;AACAC,kBADA;AAEAC,aAFA,sBAEA;AACA;AACA;AAJA;AADA,GAFA;AAUAC,MAVA,kBAUA;AACA,YACA;AADA;AAGA,GAdA;AAeAC;AACAC,SADA,mBACA;AAAA;;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA;;AACA;AACAR;AACAS;AACA,OAHA,MAGA;AACAA;AACA;;AACA;AACA;AAlBA,GAfA;AAmCAC,WAnCA;AAoCAC;AACAC,SADA,mBACA;AACA;AACA;AACA;;AACA;AACA,KANA;AAOA;AACAC,cARA,sBAQAC,EARA,EAQA;AACA;AACAC;AACA,KAXA;AAYAC,UAZA,kBAYAF,EAZA,EAYA;AACA;AACAC;AACA;AAfA,GApCA;AAqDAE,SArDA,qBAqDA,CACA;AACA;AACA;AAxDA","names":["history","name","props","params","type","default","data","computed","modal","window","watch","methods","close","alertReset","id","component","submit","created"],"sourceRoot":"src/components/common","sources":["alertModal.vue"],"sourcesContent":["\r\n\r\n\r\n\r\n\r\n\r\n"]}]}