forked from zhurui/management
1 line
18 KiB
JSON
1 line
18 KiB
JSON
|
{"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 }).c
|