fix : 修复审批记录主次账号显示, 年度计划详情显示

This commit is contained in:
2024-07-06 15:46:22 +08:00
parent bd57a54931
commit ddc3b70ddf
2 changed files with 18 additions and 9 deletions

View File

@@ -37,6 +37,7 @@
<div v-else>--</div> <div v-else>--</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="departmentName" label="承办部门" align="center"/>
<el-table-column prop="investmentType" label="出资类型" align="center"> <el-table-column prop="investmentType" label="出资类型" align="center">
<template #default="scope"> <template #default="scope">
<div v-if="scope.row.investmentType !== null"> <div v-if="scope.row.investmentType !== null">

View File

@@ -12,11 +12,18 @@
当前节点: {{ operation.operationName }} 当前节点: {{ operation.operationName }}
</div> </div>
<div class="card"> <div class="card">
<div v-for="(user,index) in operation.userInfo" :key="index" class="avatar_name" :style="{'flex-direction': isColumn?'column':'row'}"> <div v-for="(user,index) in operation.userInfo" :key="index" class="avatar_name"
:style="{'flex-direction': isColumn?'column':'row'}">
<div class="avatar-block" :style="{'margin-bottom': isColumn?'10px':'0'}"> <div class="avatar-block" :style="{'margin-bottom': isColumn?'10px':'0'}">
<name-circle :user="user"/> <name-circle :user="user"/>
<div class="name"> <div class="name">
<span>{{ user.name }}</span> <div style="display: flex;align-items: center">
<el-icon :color="user.accountType==='0'?'#95d475':user.accountType==null?'#95d475':'#409eff'"
style="margin-right: 5px;">
<UserFilled/>
</el-icon>
<span class="name-style">{{ user.name }}</span>
</div>
<span>{{ user.jobActivityDesc }}</span> <span>{{ user.jobActivityDesc }}</span>
</div> </div>
</div> </div>
@@ -67,7 +74,7 @@ const props = defineProps({
}, },
isColumn: { isColumn: {
type: Boolean, type: Boolean,
default:false default: false
} }
}) })
@@ -295,20 +302,21 @@ init()
border-bottom: none; border-bottom: none;
} }
.avatar-block { .avatar-block {
display: flex; display: flex;
.name { .name {
width:130px; width: 130px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 10px; margin-left: 10px;
margin-right: 20px; margin-right: 20px;
> span:first-child { .name-style{
color: #2a99ff; color: #2a99ff;
} }
>span:last-child{
> span:last-child {
margin-top: 5px; margin-top: 5px;
color: #909399; color: #909399;
} }