management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/7608bd149aca05a5d42fe154aa5...

1 line
8.0 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\\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport processModule from '@/mixins/process-module';\nimport qs from 'qs';\nexport default {\n mixins: [mixinViewModule, processModule],\n data: function 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 methods: {\n claimTask: function claimTask(taskId, processDefinitionKey, businessKey) {\n var _this = this;\n\n var params = qs.stringify({\n 'taskId': taskId\n });\n this.$http.post(\"/activiti/task/claim\", params).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.$message({\n message: _this.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this.getDataList();\n }\n });\n }).catch(function () {});\n },\n showDetail: function showDetail(row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.detailError'));\n }\n\n this.getProcDefRouteSet(row, this.forwardDetail);\n }\n }\n};",{"version":3,"sources":["my-todo-task-pool.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,aAAA,MAAA,yBAAA;AACA,OAAA,EAAA,MAAA,IAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,aAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,qBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,aAAA,EAAA,IAHA;AAIA,QAAA,gBAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,WAAA,EAAA,GADA;AAEA,QAAA,QAAA,EAAA;AAFA;AAPA,KAAA;AAYA,GAfA;AAgBA,EAAA,UAAA,EAAA,EAhBA;AAkBA,EAAA,OAAA,EAAA;AACA,IAAA,SADA,qBACA,MADA,EACA,oBADA,EACA,WADA,EACA;AAAA;;AACA,UAAA,MAAA,GAAA,EAAA,CAAA,SAAA,CAAA;AACA,kBAAA;AADA,OAAA,CAAA;AAGA,WAAA,KAAA,CAAA,IAAA,yBAAA,MAAA,EAAA,IAAA,CAAA,gBAAA;AAAA,YAAA,GAAA,QAAA,IAAA;;AACA,YAAA,GAAA,CAAA,IAAA,KAAA,CAAA,EAAA;AACA,iBAAA,KAAA,CAAA,QAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AACA;;AACA,QAAA,KAAA,CAAA,QAAA,CAAA;AACA,UAAA,OAAA,EAAA,KAAA,CAAA,EAAA,CAAA,gBAAA,CADA;AAEA,UAAA,IAAA,EAAA,SAFA;AAGA,UAAA,QAAA,EAAA,GAHA;AAIA,UAAA,OAAA,EAAA,mBAAA;AACA,YAAA,KAAA,CAAA,WAAA;AACA;AANA,SAAA;AAQA,OAZA,EAYA,KAZA,CAYA,YAAA,CAAA,CAZA;AAaA,KAlBA;AAmBA,IAAA,UAnBA,sBAmBA,GAnBA,EAmBA;AACA,UAAA,CAAA,GAAA,CAAA,WAAA,EAAA;AACA,eAAA,KAAA,QAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,CAAA;AACA;;AACA,WAAA,kBAAA,CAAA,GAAA,EAAA,KAAA,aAAA;AACA;AAxBA;AAlBA,CAAA","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"],"sourceRoot":"src/views/modules/activiti"}]}