{"remainingRequest":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\activiti\\process-deploy.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\activiti\\process-deploy.vue","mtime":1581948666000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\babel.config.js","mtime":1581948662000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport Cookies from 'js-cookie';\nexport default {\n data: function data() {\n return {\n visible: false,\n url: '',\n fileList: []\n };\n },\n methods: {\n init: function init() {\n this.visible = true;\n this.url = \"\".concat(window.SITE_CONFIG['apiURL'], \"/act/process/deploy?token=\").concat(Cookies.get('token'));\n this.fileList = [];\n },\n // 上传之前\n beforeUploadHandle: function beforeUploadHandle(file) {\n if (!/.+\\.zip$/.test(file.name) && !/.+\\.xml$/.test(file.name) && !/.+\\.bar$/.test(file.name) && !/.+\\.bpmn$/.test(file.name)) {\n this.$message.error(this.$t('upload.tip', {\n 'format': 'zip、xml、bar、bpmn'\n }));\n return false;\n }\n },\n // 上传成功\n successHandle: function successHandle(res, file, fileList) {\n var _this = this;\n if (res.code !== 0) {\n return this.$message.error(res.msg);\n }\n this.$message({\n message: this.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this.visible = false;\n _this.$emit('refreshDataList');\n }\n });\n }\n }\n};",{"version":3,"names":["Cookies","data","visible","url","fileList","methods","init","concat","window","SITE_CONFIG","get","beforeUploadHandle","file","test","name","$message","error","$t","successHandle","res","_this","code","msg","message","type","duration","onClose","$emit"],"sources":["src/views/modules/activiti/process-deploy.vue"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n {{ $t('upload.tip', { 'format': 'zip、xml、bar、bpmn' }) }}\r\n \r\n \r\n\r\n\r\n\r\n"],"mappings":";AAkBA,OAAAA,OAAA;AACA;EACAC,IAAA,WAAAA,KAAA;IACA;MACAC,OAAA;MACAC,GAAA;MACAC,QAAA;IACA;EACA;EACAC,OAAA;IACAC,IAAA,WAAAA,KAAA;MACA,KAAAJ,OAAA;MACA,KAAAC,GAAA,MAAAI,MAAA,CAAAC,MAAA,CAAAC,WAAA,0CAAAF,MAAA,CAAAP,OAAA,CAAAU,GAAA;MACA,KAAAN,QAAA;IACA;IACA;IACAO,kBAAA,WAAAA,mBAAAC,IAAA;MACA,gBAAAC,IAAA,CAAAD,IAAA,CAAAE,IAAA,iBAAAD,IAAA,CAAAD,IAAA,CAAAE,IAAA,iBAAAD,IAAA,CAAAD,IAAA,CAAAE,IAAA,kBAAAD,IAAA,CAAAD,IAAA,CAAAE,IAAA;QACA,KAAAC,QAAA,CAAAC,KAAA,MAAAC,EAAA;UAAA;QAAA;QACA;MACA;IACA;IACA;IACAC,aAAA,WAAAA,cAAAC,GAAA,EAAAP,IAAA,EAAAR,QAAA;MAAA,IAAAgB,KAAA;MACA,IAAAD,GAAA,CAAAE,IAAA;QACA,YAAAN,QAAA,CAAAC,KAAA,CAAAG,GAAA,CAAAG,GAAA;MACA;MACA,KAAAP,QAAA;QACAQ,OAAA,OAAAN,EAAA;QACAO,IAAA;QACAC,QAAA;QACAC,OAAA,WAAAA,QAAA;UACAN,KAAA,CAAAlB,OAAA;UACAkB,KAAA,CAAAO,KAAA;QACA;MACA;IACA;EACA;AACA","ignoreList":[]}]}