| | |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" prop="createTime" label="创建时间" width="160"></el-table-column> |
| | | <el-table-column align="center" prop="startTime" label="创建时间" width="160"></el-table-column> |
| | | <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="small" icon="Document" @click="handleApprovalRecord(scope.row)">审批记录</el-button> |
| | |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | import { getTaskFinishByPage } from '@/api/workflow/task'; |
| | | import { getPageByTaskFinish } from '@/api/workflow/task'; |
| | | import ApprovalRecord from '@/components/Process/approvalRecord.vue'; |
| | | import { TaskQuery, TaskVO } from '@/api/workflow/task/types'; |
| | | //审批记录组件 |
| | |
| | | }; |
| | | const getFinishList = () => { |
| | | loading.value = true; |
| | | getTaskFinishByPage(queryParams.value).then((resp) => { |
| | | getPageByTaskFinish(queryParams.value).then((resp) => { |
| | | taskList.value = resp.rows; |
| | | total.value = resp.total; |
| | | loading.value = false; |