1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/bac5548ce4397081c18a9570151...

1 line
10 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"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-initiation.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\process-initiation.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\nimport mixinViewModule from '@/mixins/view-module'\nimport Cookies from 'js-cookie'\nimport { addDynamicRoute } from '@/router'\nimport qs from 'qs'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/process/lastestPage',\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 }\n },\n components: {\n },\n methods: {\n // 获取流程(xml/image)url地址\n getResourceURL (id, name) {\n var params = qs.stringify({\n 'access_token': Cookies.get('access_token'),\n 'deploymentId': id,\n 'resourceName': name\n })\n return `${window.SITE_CONFIG['apiURL']}/activiti/process/resource?${params}`\n },\n // 发起流程\n createProcessInstance (row) {\n this.$http.get(`/activiti/process/getProcDefBizRoute/${row.id}`).then(({ data: res }) => {\n if (res.code !== 0) {\n return this.$message.error(res.msg)\n }\n if (!res.data || !res.data.bizRoute) {\n return this.$message.error(this.$t('process.routeError'))\n }\n this.forwardUrl(res.data, row)\n }).catch(() => {})\n },\n forwardUrl (data, row) {\n var routeParams = {\n routeName: `${this.$route.name}__instance_${data.id}`,\n menuId: `${this.$route.meta.menuId}`,\n title: `${this.$route.meta.title} - ${row.name}`,\n path: data.bizRoute,\n params: {\n processDefinitionId: data.procDefId,\n processDefinitionKey: row.key,\n processShowType: 'start'\n }\n }\n addDynamicRoute(routeParams, this.$router, this.$route)\n },\n // 启动其他流程\n startProcess (key) {\n var params = qs.stringify({\n 'key': key\n })\n this.$http.post(`/activiti/running/start`, params).then(({ data: res }) => {\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: () => {\n this.getDataList()\n }\n })\n }).catch(() => {})\n }\n }\n}\n",{"version":3,"sources":["process-initiation.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC