优化流程展示
parent
8ba2998fd2
commit
106d1b5039
|
|
@ -43,7 +43,8 @@
|
|||
<a-timeline-item v-for="item in workitems" :key="item.workitemId" :color="getcolor(item.status)">
|
||||
<p>处理部门:<a-tag color="blue">{{ item.orgName }}</a-tag></p>
|
||||
<p>处 理 人:{{ item.handlerName }}</p>
|
||||
<p>处理结果:{{ item.comment }}</p>
|
||||
<p v-if="item.auditResult">处理结果:{{ item.auditResult == 'Pass' ? '通过' : '退回' }}</p>
|
||||
<p>处理备注:{{ item.comment }}</p>
|
||||
<p>处理时间:{{ item.handleTime }}</p>
|
||||
</a-timeline-item>
|
||||
</a-timeline>
|
||||
|
|
@ -153,7 +154,7 @@ const getDetail = async () => {
|
|||
});
|
||||
};
|
||||
async function audit(val) {
|
||||
if (val == 'Reject' && !comment.value) {
|
||||
if (commentvisible.value && val == 'Reject' && !comment.value) {
|
||||
return createMessage.error('审核意见不能为空');
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
<a-timeline-item v-for="item in workitems" :key="item.workitemId" :color="getColor(item.status)">
|
||||
<p>处理部门:<a-tag color="blue">{{ item.orgName }}</a-tag></p>
|
||||
<p>处 理 人:{{ item.handlerName }}</p>
|
||||
<p>处理结果:{{ item.comment }}</p>
|
||||
<p v-if="item.auditResult">处理结果:{{ item.auditResult == 'Pass' ? '通过' : '退回' }}</p>
|
||||
<p>处理备注:{{ item.comment }}</p>
|
||||
<p>处理时间:{{ item.handleTime }}</p>
|
||||
</a-timeline-item>
|
||||
</a-timeline>
|
||||
|
|
|
|||
Loading…
Reference in New Issue