| | |
| | | <el-tab-pane label="流程跟踪" name="second"> |
| | | <avue-crud :data="flowList" :option="option" ref="crud"> |
| | | </avue-crud> |
| | | <el-card shadow="hover"> |
| | | <div slot="header"> |
| | | <span>流程跟踪</span> |
| | | </div> |
| | | <el-row class="row-bg"> |
| | | <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design> |
| | | </el-row> |
| | | </el-card> |
| | | <el-row class="row-bg" style="margin-top: 20px"> |
| | | <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design> |
| | | </el-row> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | |
| | | <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">同意</el-button> |
| | | <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">不同意</el-button> --> |
| | | <el-button type="primary" size="mini" @click="handelExecute(item)" v-for="(item, index) in btnList" |
| | | :key="index">{{ item.toName === '同意' ? item.toName : `${item.toName}到${item.taskName}` }}</el-button> |
| | | :key="index">{{ item.toName }}</el-button> |
| | | <!-- <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">执行</el-button> --> |
| | | </div> |
| | | </el-card> |
| | |
| | | this.apiGetBtnTask(this.processInstanceId) |
| | | }, |
| | | formatterPass(row, value, column) { |
| | | console.log('value',value) |
| | | return value?'同意':'驳回' |
| | | }, |
| | | async apiGetBtnTask(id) { |
| | |
| | | ::v-deep(.el-upload-dragger .el-icon-upload) { |
| | | margin: 15px 0 16px; |
| | | } |
| | | .el-tab-pane{ |
| | | height: 75vh; |
| | | overflow: auto; |
| | | } |
| | | .el-button{ |
| | | margin:0 10px 10px 0; |
| | | } |
| | | </style> |