You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.6 KiB
56 lines
1.6 KiB
<template>
|
|
<div style="height: 100%">
|
|
<w-grid
|
|
ref="gridRef"
|
|
title="办结任务"
|
|
:fetch-data-url="Environment.apiContextPath('api/system/process/task/endTaskAllList')"
|
|
:sort-no="true"
|
|
:checkbox-selection="false"
|
|
:query-form-cols-num="4"
|
|
:query-form-fields="grid.queryFormFields"
|
|
:columns="grid.columns"
|
|
:toolbar-actions="grid.buttons"
|
|
:pagination="{
|
|
reqPageStart: 1,
|
|
}"
|
|
:sort-by="['-START_TIME']"
|
|
></w-grid>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue';
|
|
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager } from 'platform-core';
|
|
|
|
const gridRef = ref();
|
|
|
|
const grid = {
|
|
queryFormFields: [
|
|
{ label: '业务流水号', name: 'BUSINESS_ID', type: 'text' },
|
|
{ label: '流程名称', name: 'PROC_NAME', type: 'text' },
|
|
{ label: '任务节点', name: 'TASK_NAME', type: 'text' },
|
|
{ label: '任务描述', name: 'TASK_DESC', type: 'text' },
|
|
],
|
|
buttons: [
|
|
'query',
|
|
'reset',
|
|
'separator',
|
|
{
|
|
extend: 'view',
|
|
click: () => {},
|
|
},
|
|
'separator',
|
|
],
|
|
columns: [
|
|
{ label: '业务流水号', name: 'BUSINESS_ID' },
|
|
{ label: '流程名称', name: 'PROC_NAME' },
|
|
{ label: '最终任务节点', name: 'TASK_NAME' },
|
|
{ label: '任务描述', name: 'TASK_DESC' },
|
|
{ label: '最终处理人', name: 'CURR_TASK_ASSIGNEE' },
|
|
{ label: '任务开始时间', name: 'START_TIME' },
|
|
{ label: '任务结束时间', name: 'END_TIME' },
|
|
// { label: '流程审批角色', name: 'END_TIME' },
|
|
// { label: '流程审批链', name: 'END_TIME' },
|
|
],
|
|
};
|
|
</script>
|
|
|