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>
|
||||||
<div class="d-flex align-center">
|
<div class="d-flex align-center">
|
||||||
<template v-for="(user, userIndex) in node.properties.userIdList">
|
<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'} `">
|
<div :class="`item-user-box d-flex justify-space-between align-center px-2 mr-2 ${ user.username?.includes('(账号被禁用)') && 'item-user-box-error'} `">
|
||||||
<span class="omit">{{ user.username }}</span>
|
<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"
|
<v-icon v-if="( node.properties?.approverType == '申请人自选' || node.properties?.noticerType == '申请人自选' ) || taskData.workflowInfo.modifyAuthority == false"
|
||||||
class="ml-1" color="#a4a7aa" @click="doUiAction('deleteNodeUser', {nodeIndex ,userIndex})">
|
class="ml-1" color="#a4a7aa" @click="doUiAction('deleteNodeUser', {nodeIndex ,userIndex})">
|
||||||
mdi-close
|
mdi-close
|
||||||
@@ -504,6 +505,7 @@ Vue.component("create-task-drawer", {
|
|||||||
break;
|
break;
|
||||||
case 'number':
|
case 'number':
|
||||||
if(condition.express != 'between'){
|
if(condition.express != 'between'){
|
||||||
|
// TODO:改掉eval
|
||||||
isMatch[index] = eval(Number(answer) + condition.express + condition.option)
|
isMatch[index] = eval(Number(answer) + condition.express + condition.option)
|
||||||
}else{
|
}else{
|
||||||
if(condition.option.begin <= Number(answer) && Number(answer) <= condition.option.end){
|
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 {
|
.node-box .node-box-item .item-label {
|
||||||
margin: 14px 0px 6px;
|
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 {
|
.node-box .node-box-item .item-user-box {
|
||||||
min-width: 60px;
|
min-width: 60px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
background-color: rgb(242 243 243);
|
background-color: #edf5fe;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -692,11 +701,11 @@ Vue.component("create-task-drawer", {
|
|||||||
.node-box-item .abb-user {
|
.node-box-item .abb-user {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
background-color: #d9f3da;
|
background-color: #edf5fe;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.node-box-item .abb-user:hover{
|
.node-box-item .abb-user:hover{
|
||||||
background-color: #badebb;
|
background-color: #d6dee7;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -28,9 +28,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="node-user-box">
|
<div class="node-user-box">
|
||||||
<template v-for="(user, index) in nodeItem.userList" :key="index">
|
<template v-for="(user, index) in nodeItem.userList" :key="index">
|
||||||
<div class="user-box-item d-flex align-center mt-2" >
|
<div class="d-flex align-center mt-2" >
|
||||||
<div class="text-center">
|
<div :class="`item-user-box d-flex align-center px-3 ${ user.username?.includes('(账号被禁用)') && 'item-user-box-error'} `">
|
||||||
<span class="ml-1">{{user.username}}</span>
|
<div class="item-avatar d-flex align-center justify-center mr-2">{{user.username[0] || ''}}</div>
|
||||||
|
<div class="">{{user.username}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex align-center ml-4" v-if="nodeItem.id.startsWith('approvalTask') && user.handleDesc">
|
<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>
|
<v-icon v-if="user.handleDesc == '同意'" size="16" color="green">mdi-check-circle-outline</v-icon>
|
||||||
@@ -85,10 +86,29 @@
|
|||||||
.history-box{
|
.history-box{
|
||||||
padding: 5px 16px;
|
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{
|
.node-user-box .user-box-comment{
|
||||||
position:relative;
|
position:relative;
|
||||||
margin-top: 6px;
|
margin-top: 8px;
|
||||||
padding: 10px 8px;
|
padding: 10px 8px;
|
||||||
background-color: #f5f4f4;
|
background-color: #f5f4f4;
|
||||||
border-radius: 1%;
|
border-radius: 1%;
|
||||||
@@ -112,7 +132,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.node-box-stepper .vertical-line {
|
.node-box-stepper .vertical-line {
|
||||||
height: 80%;
|
height: 90%;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
margin: 0 auto 1px;
|
margin: 0 auto 1px;
|
||||||
border: #cdcfd1 solid 1px;
|
border: #cdcfd1 solid 1px;
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
<!-- <<<<<<<<<<<<< 页面内容 -->
|
<!-- <<<<<<<<<<<<< 页面内容 -->
|
||||||
|
|
||||||
<!--审核抽屉-->
|
<!--审核抽屉-->
|
||||||
<v-navigation-drawer v-if="isSubmitDrawerShown" v-model="isSubmitDrawerShown" fixed temporary right width="80%" class="elevation-24">
|
<v-navigation-drawer v-if="isSubmitDrawerShown" :permanent="isSubmitDrawerShown" fixed temporary right width="80%" class="elevation-24">
|
||||||
<!-- 抽屉标题 -->
|
<!-- 抽屉标题 -->
|
||||||
<v-row no-gutters class="align-center justify-end">
|
<v-row no-gutters class="align-center justify-end">
|
||||||
<span class="text-h7 font-weight-bold pa-4">审核信息【{{updateItemId}}】</span>
|
<span class="text-h7 font-weight-bold pa-4">审核信息【{{updateItemId}}】</span>
|
||||||
|
|||||||
@@ -135,7 +135,6 @@
|
|||||||
|
|
||||||
<!-- 加载页面组件 >>>>>>>>>>>>> -->
|
<!-- 加载页面组件 >>>>>>>>>>>>> -->
|
||||||
{% include 'common/constantUtil.html' %}
|
{% include 'common/constantUtil.html' %}
|
||||||
{% include 'component/createTaskDrawer.html' %}
|
|
||||||
{% include 'component/workflowEditorDrawer.html' %}
|
{% include 'component/workflowEditorDrawer.html' %}
|
||||||
{% include 'common/jianghuJs/fixedTableHeightV4.html' %}
|
{% include 'common/jianghuJs/fixedTableHeightV4.html' %}
|
||||||
<!-- <<<<<<<<<<<<< 加载页面组件 -->
|
<!-- <<<<<<<<<<<<< 加载页面组件 -->
|
||||||
|
|||||||
Reference in new issue
Block a user