{"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.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\activiti\\process.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 mixinViewModule from '@/mixins/view-module';\nimport Deploy from \"./process-deploy\";\nimport ProcessBizRoute from \"./process-biz-route\";\nimport Cookies from 'js-cookie';\nimport qs from 'qs';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/act/process/page',\n getDataListIsPage: true,\n deleteURL: '/act/process',\n deleteIsBatch: true,\n deleteIsBatchKey: 'deploymentId'\n },\n dataForm: {\n processName: '',\n key: ''\n },\n deployVisible: false,\n setBizRouteVisible: false\n };\n },\n components: {\n Deploy: Deploy,\n ProcessBizRoute: ProcessBizRoute\n },\n methods: {\n // 获取流程(xml/image)url地址\n getResourceURL: function getResourceURL(id, name) {\n var params = qs.stringify({\n 'token': Cookies.get('token'),\n 'deploymentId': id,\n 'resourceName': name\n });\n return \"\".concat(window.SITE_CONFIG['apiURL'], \"/act/process/resource?\").concat(params);\n },\n // 部署流程文件\n deployHandle: function deployHandle() {\n var _this = this;\n this.deployVisible = true;\n this.$nextTick(function () {\n _this.$refs.deploy.init();\n });\n },\n setBizRoute: function setBizRoute(row) {\n var _this2 = this;\n this.setBizRouteVisible = true;\n this.$nextTick(function () {\n _this2.$refs.processBizRoute.dataForm.procDefId = row.id;\n _this2.$refs.processBizRoute.dataForm.procDefKey = row.key;\n _this2.$refs.processBizRoute.dataForm.version = row.version;\n _this2.$refs.processBizRoute.init();\n });\n },\n // 激活\n activeHandle: function activeHandle(id) {\n var _this3 = this;\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('process.active')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this3.$http.put(\"/act/process/active/\".concat(id)).then(function (_ref) {\n var res = _ref.data;\n if (res.code !== 0) {\n return _this3.$message.error(res.msg);\n }\n _this3.$message({\n message: _this3.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this3.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n },\n // 挂起\n suspendHandle: function suspendHandle(id) {\n var _this4 = this;\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('process.suspend')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this4.$http.put(\"/act/process/suspend/\".concat(id)).then(function (_ref2) {\n var res = _ref2.data;\n if (res.code !== 0) {\n return _this4.$message.error(res.msg);\n }\n _this4.$message({\n message: _this4.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this4.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n },\n // 转换为模型\n convertToModelHandle: function convertToModelHandle(id) {\n var _this5 = this;\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('process.convertToModel')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this5.$http.post(\"/act/process/convertToModel/\".concat(id)).then(function (_ref3) {\n var res = _ref3.data;\n if (res.code !== 0) {\n return _this5.$message.error(res.msg);\n }\n _this5.$message({\n message: _this5.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this5.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n }\n }\n};",{"version":3,"names":["mixinViewModule","Deploy","ProcessBizRoute","Cookies","qs","mixins","data","mixinViewModuleOptions","getDataListURL","getDataListIsPage","deleteURL","deleteIsBatch","deleteIsBatchKey","dataForm","processName","key","deployVisible","setBizRouteVisible","components","methods","getResourceURL","id","name","params","stringify","get","concat","window","SITE_CONFIG","deployHandle","_this","$nextTick","$refs","deploy","init","setBizRoute","row","_this2","processBizRoute","procDefId","procDefKey","version","activeHandle","_this3","$confirm","$t","confirmButtonText","cancelButtonText","type","then","$http","put","_ref","res","code","$message","error","msg","message","duration","onClose","getDataList","catch","suspendHandle","_this4","_ref2","convertToModelHandle","_this5","post","_ref3"],"sources":["src/views/modules/activiti/process.vue"],"sourcesContent":["\r\n\r\n\r\n"],"mappings":"AAuEA,OAAAA,eAAA;AACA,OAAAC,MAAA;AACA,OAAAC,eAAA;AACA,OAAAC,OAAA;AACA,OAAAC,EAAA;AACA;EACAC,MAAA,GAAAL,eAAA;EACAM,IAAA,WAAAA,KAAA;IACA;MACAC,sBAAA;QACAC,cAAA;QACAC,iBAAA;QACAC,SAAA;QACAC,aAAA;QACAC,gBAAA;MACA;MACAC,QAAA;QACAC,WAAA;QACAC,GAAA;MACA;MACAC,aAAA;MACAC,kBAAA;IACA;EACA;EACAC,UAAA;IACAjB,MAAA,EAAAA,MAAA;IACAC,eAAA,EAAAA;EACA;EACAiB,OAAA;IACA;IAC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