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

1 line
6.7 KiB
JSON

{"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\\my-todo-task-pool.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\my-todo-task-pool.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\nimport mixinViewModule from '@/mixins/view-module'\nimport processModule from '@/mixins/process-module'\nimport qs from 'qs'\nexport default {\n mixins: [mixinViewModule, processModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/task/page',\n getDataListIsPage: true,\n deleteIsBatch: true,\n deleteIsBatchKey: 'deploymentId'\n },\n dataForm: {\n isRoleGroup: '1',\n taskName: ''\n }\n }\n },\n components: {\n },\n methods: {\n claimTask (taskId, processDefinitionKey, businessKey) {\n var params = qs.stringify({\n 'taskId': taskId\n })\n this.$http.post(`/activiti/task/claim`, 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 showDetail (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.detailError'))\n }\n this.getProcDefRouteSet(row, this.forwardDetail)\n }\n }\n}\n",{"version":3,"sources":["my-todo-task-pool.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA;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","file":"my-todo-task-pool.vue","sourceRoot":"src/views/modules/activiti","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-activiti__process\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.taskName\" :placeholder=\"$t('process.name')\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table\n v-loading=\"dataListLoading\"\n :data=\"dataList\"\n border\n @selection-change=\"dataListSelectionChangeHandle\"\n @sort-change=\"dataListSortChangeHandle\"\n style=\"width: 100%;\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <el-table-column prop=\"businessKey\" :label=\"$t('process.businessKey')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"processInstanceId\" :label=\"$t('running.id')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"processDefinitionName\" :label=\"$t('process.processDefinitionName')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"startTime\" :label=\"$t('process.startTime')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"taskName\" :label=\"$t('process.taskName')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"createTime\" :label=\"$t('process.createTime')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"150\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" size=\"small\" @click=\"claimTask(scope.row.taskId, scope.row.processDefinitionKey, scope.row.businessKey)\">{{ $t('process.claim') }}</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"showDetail(scope.row)\">{{ $t('process.viewFlowImage') }}</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport processModule from '@/mixins/process-module'\nimport qs from 'qs'\nexport default {\n mixins: [mixinViewModule, processModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/task/page',\n getDataListIsPage: true,\n deleteIsBatch: true,\n deleteIsBatchKey: 'deploymentId'\n },\n dataForm: {\n isRoleGroup: '1',\n taskName: ''\n }\n }\n },\n components: {\n },\n methods: {\n claimTask (taskId, processDefinitionKey, businessKey) {\n var params = qs.stringify({\n 'taskId': taskId\n })\n this.$http.post(`/activiti/task/claim`, 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 showDetail (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.detailError'))\n }\n this.getProcDefRouteSet(row, this.forwardDetail)\n }\n }\n}\n</script>\n"]}]}