This commit is contained in:
ChenXinXin committed 2024-05-20 11:32:39 +08:00
1 parent 5fb274ab24
commit 42ecacdac6
4 files changed
+40 -12

No files matched your search

+25 -5
View File
@@ -28,9 +28,10 @@
</div>
<div class="node-user-box">
<template v-for="(user, index) in nodeItem.userList" :key="index">
<div class="user-box-item d-flex align-center mt-2" >
<div class="text-center">
<span class="ml-1">{{user.username}}</span>
<div class="d-flex align-center mt-2" >
<div :class="`item-user-box d-flex align-center px-3 ${ user.username?.includes('(账号被禁用)') && 'item-user-box-error'} `">
<div class="item-avatar d-flex align-center justify-center mr-2">{{user.username[0] || ''}}</div>
<div class="">{{user.username}}</div>
</div>
<div class="d-flex align-center ml-4" v-if="nodeItem.id.startsWith('approvalTask') && user.handleDesc">
<v-icon v-if="user.handleDesc == '同意'" size="16" color="green">mdi-check-circle-outline</v-icon>
@@ -85,10 +86,29 @@
.history-box{
padding: 5px 16px;
}
.node-user-box .item-user-box {
min-width: 60px;
height: 40px;
line-height: 40px;
background-color: #edf5fe;
border-radius: 2px;
}
.node-user-box .item-avatar {
width: 25px;
height: 25px;
color: white;
font-weight: 600;
background-color: #5fb362;
}
.item-user-box-error{
background-color: rgb(231, 75, 75) !important;
color: white;
}
.node-user-box .user-box-comment{
position:relative;
margin-top: 6px;
margin-top: 8px;
padding: 10px 8px;
background-color: #f5f4f4;
border-radius: 1%;
@@ -112,7 +132,7 @@
}
.node-box-stepper .vertical-line {
height: 80%;
height: 90%;
width: 0px;
margin: 0 auto 1px;
border: #cdcfd1 solid 1px;