{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\process.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\process.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport 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: '/activiti/process/page',\n getDataListIsPage: true,\n deleteURL: '/activiti/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 'access_token': Cookies.get('access_token'),\n 'deploymentId': id,\n 'resourceName': name\n });\n return \"\".concat(window.SITE_CONFIG['apiURL'], \"/activiti/process/resource?\").concat(params);\n },\n // 部署流程文件\n deployHandle: function deployHandle() {\n var _this = this;\n\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\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\n _this2.$refs.processBizRoute.init();\n });\n },\n // 激活\n activeHandle: function activeHandle(id) {\n var _this3 = this;\n\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(\"/activiti/process/active/\".concat(id)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this3.$message.error(res.msg);\n }\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\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(\"/activiti/process/suspend/\".concat(id)).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this4.$message.error(res.msg);\n }\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\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(\"/activiti/process/convertToModel/\".concat(id)).then(function (_ref3) {\n var res = _ref3.data;\n\n if (res.code !== 0) {\n return _this5.$message.error(res.msg);\n }\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,"sources":["process.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,MAAA;AACA,OAAA,eAAA;AACA,OAAA,OAAA,MAAA,WAAA;AACA,OAAA,EAAA,MAAA,IAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,wBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,mBAHA;AAIA,QAAA,aAAA,EAAA,IAJA;AAKA,QAAA,gBAAA,EAAA;AALA,OADA;AAQA,MAAA,QAAA,EAAA;AACA,QAAA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AA,CAAA;AACA,YAAA,OAAA,EAAA,MAAA,CAAA,EAAA,CAAA,gBAAA,CADA;AAEA,YAAA,IAAA,EAAA,SAFA;AAGA,YAAA,QAAA,EAAA,GAHA;AAIA,YAAA,OAAA,EAAA,mBAAA;AACA,cAAA,MAAA,CAAA,WAAA;AACA;AANA,WAAA;AAQA,SAZA,EAYA,KAZA,CAYA,YAAA,CAAA,CAZA;AAaA,OAlBA,EAkBA,KAlBA,CAkBA,YAAA,CAAA,CAlBA;AAmBA;AA3FA;AAvBA,CAAA","sourcesContent":["\n \n \n
\n \n \n \n \n \n \n \n {{ $t('query') }}\n \n \n {{ $t('process.deployFile') }}\n \n \n {{ $t('deleteBatch') }}\n \n \n
\n \n \n \n \n \n \n \n \n {{ scope.row.resourceName }}\n \n \n \n \n {{ scope.row.diagramResourceName }}\n \n \n \n \n \n {{ $t('process.active') }}\n {{ $t('process.suspend') }}\n {{ $t('delete') }}\n {{ $t('process.convertToModel') }}\n {{ $t('process.bizRouteSet') }}\n \n \n \n
\n \n \n
\n
\n
\n \n\n\n\n"],"sourceRoot":"src/views/modules/activiti"}]}