|
@@ -9,6 +9,9 @@
|
|
|
<li>
|
|
<li>
|
|
|
<a data-toggle="tab" @click="changeSelectTab('PROCESS_REPORT')">流程报表实例</a>
|
|
<a data-toggle="tab" @click="changeSelectTab('PROCESS_REPORT')">流程报表实例</a>
|
|
|
</li>
|
|
</li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <a data-toggle="tab" @click="changeSelectTab('PROCESS')">流程任务</a>
|
|
|
|
|
+ </li>
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
|
|
<div id="myTabContent" class="tab-content">
|
|
<div id="myTabContent" class="tab-content">
|
|
@@ -70,12 +73,24 @@
|
|
|
<template #headerCell="{ column }">
|
|
<template #headerCell="{ column }">
|
|
|
<template v-if="column.key == 'httpRequestType'">
|
|
<template v-if="column.key == 'httpRequestType'">
|
|
|
<span>
|
|
<span>
|
|
|
- {{ taskType == "HTTP" ? "HTTP请求类型" : "流程报表文件编码" }}
|
|
|
|
|
|
|
+ {{
|
|
|
|
|
+ taskType == "HTTP"
|
|
|
|
|
+ ? "HTTP请求类型"
|
|
|
|
|
+ : taskType == "PROCESS"
|
|
|
|
|
+ ? "流程编号"
|
|
|
|
|
+ : "流程报表文件编码"
|
|
|
|
|
+ }}
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="column.key == 'httpRequestUrl'">
|
|
<template v-if="column.key == 'httpRequestUrl'">
|
|
|
<span>
|
|
<span>
|
|
|
- {{ taskType == "HTTP" ? "HTTP请求路径" : "流程报表名称" }}
|
|
|
|
|
|
|
+ {{
|
|
|
|
|
+ taskType == "HTTP"
|
|
|
|
|
+ ? "HTTP请求路径"
|
|
|
|
|
+ : taskType == "PROCESS"
|
|
|
|
|
+ ? "流程任务名称"
|
|
|
|
|
+ : "流程报表名称"
|
|
|
|
|
+ }}
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
@@ -86,21 +101,27 @@
|
|
|
? ""
|
|
? ""
|
|
|
: record.taskType == "HTTP"
|
|
: record.taskType == "HTTP"
|
|
|
? "HTTP请求"
|
|
? "HTTP请求"
|
|
|
- : "流程报表"
|
|
|
|
|
|
|
+ : record.taskType == "PROCESS"
|
|
|
|
|
+ ? "流程任务"
|
|
|
|
|
+ : "流程报表"
|
|
|
}}
|
|
}}
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="column.key == 'httpRequestType'">
|
|
<template v-if="column.key == 'httpRequestType'">
|
|
|
{{
|
|
{{
|
|
|
record.taskType == "HTTP"
|
|
record.taskType == "HTTP"
|
|
|
? record.httpRequestType
|
|
? record.httpRequestType
|
|
|
- : record.processReportNo
|
|
|
|
|
|
|
+ : taskType == "PROCESS"
|
|
|
|
|
+ ? record.processNo
|
|
|
|
|
+ : record.processReportNo
|
|
|
}}
|
|
}}
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="column.key == 'httpRequestUrl'">
|
|
<template v-if="column.key == 'httpRequestUrl'">
|
|
|
{{
|
|
{{
|
|
|
record.taskType == "HTTP"
|
|
record.taskType == "HTTP"
|
|
|
? record.httpRequestUrl
|
|
? record.httpRequestUrl
|
|
|
- : record.processReportName
|
|
|
|
|
|
|
+ : taskType == "PROCESS"
|
|
|
|
|
+ ? record.taskName
|
|
|
|
|
+ : record.processReportName
|
|
|
}}
|
|
}}
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="column.key == 'taskInstanceStatus'">
|
|
<template v-if="column.key == 'taskInstanceStatus'">
|
|
@@ -185,17 +206,7 @@ export default {
|
|
|
key: 'operationResult',
|
|
key: 'operationResult',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
|
- customCell : () => {
|
|
|
|
|
- return {
|
|
|
|
|
- style: {
|
|
|
|
|
- width: '180px',
|
|
|
|
|
- overflow: 'hidden',
|
|
|
|
|
- whiteSpace: 'nowrap',
|
|
|
|
|
- textOverflow:'ellipsis',
|
|
|
|
|
- cursor:'pointer',
|
|
|
|
|
- },
|
|
|
|
|
- };
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ ellipsis: true,
|
|
|
},
|
|
},
|
|
|
].map(item => ({ ...item, align: 'center' })),
|
|
].map(item => ({ ...item, align: 'center' })),
|
|
|
|
|
|