UI调整
This commit is contained in:
1 parent
5fb274ab24
commit
42ecacdac6
4 files changed
+40
-12
No files matched your search
@@ -40,8 +40,9 @@
|
||||
</div>
|
||||
<div class="d-flex align-center">
|
||||
<template v-for="(user, userIndex) in node.properties.userIdList">
|
||||
<div :class="`item-user-box d-flex justify-space-between px-2 mr-2 ${ user.username?.includes('(账号被禁用)') && 'item-user-box-error'} `">
|
||||
<span class="omit">{{ user.username }}</span>
|
||||
<div :class="`item-user-box d-flex justify-space-between align-center px-2 mr-2 ${ 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="omit">{{ user.username }}</div>
|
||||
<v-icon v-if="( node.properties?.approverType == '申请人自选' || node.properties?.noticerType == '申请人自选' ) || taskData.workflowInfo.modifyAuthority == false"
|
||||
class="ml-1" color="#a4a7aa" @click="doUiAction('deleteNodeUser', {nodeIndex ,userIndex})">
|
||||
mdi-close
|
||||
@@ -504,6 +505,7 @@ Vue.component("create-task-drawer", {
|
||||
break;
|
||||
case 'number':
|
||||
if(condition.express != 'between'){
|
||||
// TODO:改掉eval
|
||||
isMatch[index] = eval(Number(answer) + condition.express + condition.option)
|
||||
}else{
|
||||
if(condition.option.begin <= Number(answer) && Number(answer) <= condition.option.end){
|
||||
@@ -675,12 +677,19 @@ Vue.component("create-task-drawer", {
|
||||
.node-box .node-box-item .item-label {
|
||||
margin: 14px 0px 6px;
|
||||
}
|
||||
.node-box .node-box-item .item-avatar {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
background-color: #5fb362;
|
||||
}
|
||||
|
||||
.node-box .node-box-item .item-user-box {
|
||||
min-width: 60px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background-color: rgb(242 243 243);
|
||||
background-color: #edf5fe;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
@@ -692,11 +701,11 @@ Vue.component("create-task-drawer", {
|
||||
.node-box-item .abb-user {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-color: #d9f3da;
|
||||
background-color: #edf5fe;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.node-box-item .abb-user:hover{
|
||||
background-color: #badebb;
|
||||
background-color: #d6dee7;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user