Merge pull request 'fix : 修复审批记录主次账号显示, 年度计划详情显示' (#485) from dd into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/485
This commit is contained in:
2024-07-06 07:46:35 +00:00
2 changed files with 18 additions and 9 deletions

View File

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

View File

@@ -12,11 +12,18 @@
当前节点: {{ operation.operationName }}
</div>
<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'}">
<name-circle :user="user"/>
<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>
</div>
</div>
@@ -67,7 +74,7 @@ const props = defineProps({
},
isColumn: {
type: Boolean,
default:false
default: false
}
})
@@ -295,20 +302,21 @@ init()
border-bottom: none;
}
.avatar-block {
.avatar-block {
display: flex;
.name {
width:130px;
.name {
width: 130px;
display: flex;
flex-direction: column;
margin-left: 10px;
margin-right: 20px;
margin-right: 20px;
> span:first-child {
.name-style{
color: #2a99ff;
}
>span:last-child{
> span:last-child {
margin-top: 5px;
color: #909399;
}