forked from zhurui/management
1 line
6.0 KiB
JSON
1 line
6.0 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.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.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'\nexport default {\n mixins: [mixinViewModule, processModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/task/myToDoTaskPage',\n getDataListIsPage: true,\n deleteIsBatch: true,\n deleteIsBatchKey: 'deploymentId'\n },\n dataForm: {\n taskName: '',\n taskId: ''\n },\n processInstanceId: ''\n }\n },\n components: {\n },\n methods: {\n // 处理\n taskHandle (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.businessKeyError'))\n }\n this.getProcDefRouteSet(row, this.forwardHandleUrl)\n },\n taskDetail (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.detailError'))\n }\n this.getProcDefRouteSet(row, this.forwardTaskDetail)\n }\n }\n}\n",{"version":3,"sources":["my-todo-task.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","file":"my-todo-task.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\" :processInstanceId=\"processInstanceId\" @click=\"taskHandle(scope.row ) \">{{ $t('manage') }}</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"taskDetail(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'\nexport default {\n mixins: [mixinViewModule, processModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/task/myToDoTaskPage',\n getDataListIsPage: true,\n deleteIsBatch: true,\n deleteIsBatchKey: 'deploymentId'\n },\n dataForm: {\n taskName: '',\n taskId: ''\n },\n processInstanceId: ''\n }\n },\n components: {\n },\n methods: {\n // 处理\n taskHandle (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.businessKeyError'))\n }\n this.getProcDefRouteSet(row, this.forwardHandleUrl)\n },\n taskDetail (row) {\n if (!row.businessKey) {\n return this.$message.error(this.$t('task.detailError'))\n }\n this.getProcDefRouteSet(row, this.forwardTaskDetail)\n }\n }\n}\n</script>\n"]}]} |