| | |
| | | <el-button size="small" type="primary" :disabled="submitLoading" v-loading="submitLoading" @click="submitForm">确认并提交</el-button> |
| | | <el-button size="small" type="primary" disabled @click="submitForm">协同办理(功能开发中)</el-button> |
| | | <el-button size="small" type="primary" @click="openDelegation(formDataList[0].beforeNodeName)">转办</el-button> |
| | | <el-button v-if="formDataObj.canJump" size="small" type="primary" @click="openDelegation()">跳过</el-button> |
| | | <el-button v-if="formDataObj.canWait" size="small" type="primary" @click="openDelegation()">容缺</el-button> |
| | | <el-button v-if="formDataObj.canJump" size="small" type="primary" @click="jumpTask()">跳过</el-button> |
| | | <el-button v-if="formDataObj.canWait" size="small" type="primary" >容缺</el-button> |
| | | </div> |
| | | <div class="current">当前阶段:<span>{{formDataObj.beforeNodeName}}</span></div> |
| | | </div> |
| | |
| | | import { flowTaskForm } from "@/api/flowable/todo"; |
| | | import {getNextFlowNodeByStart} from "@/api/flowable/todo"; |
| | | import {rejectTask} from "@/api/flowable/process"; |
| | | import {taskDelegation} from "@/api/projectProcess/projectProcess"; |
| | | import {taskDelegation, taskJump} from "@/api/projectProcess/projectProcess"; |
| | | |
| | | export default { |
| | | name: "Record", |
| | |
| | | this.getFlowFormData(this.taskId); |
| | | }, |
| | | methods: { |
| | | // 跳过任务 |
| | | jumpTask() { |
| | | this.$confirm('确定要跳过此任务吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | let jumpForm = { |
| | | taskId: this.taskId, |
| | | projectId: this.goBackParams.projectId, |
| | | processInsId: this.procInsId |
| | | } |
| | | taskJump(jumpForm).then(res => { |
| | | this.$message.success("操作成功") |
| | | this.goBack() |
| | | }) |
| | | }) |
| | | }, |
| | | removeDept(dept) { |
| | | let index = this.delegationDeptSelect.indexOf(dept); |
| | | if (index !== -1) { |