伊利项目【架构筛选】页面样式调整
This commit is contained in:
parent
76b12eb280
commit
d0220d9c2b
@ -131,7 +131,10 @@
|
||||
<div style="margin: 6px 0;">
|
||||
<el-checkbox v-model="currentUserDeptCheck" @change="handleCheckCurrentUserDeptChange">
|
||||
<div style="font-weight: 600;">
|
||||
<span>{{ currentUser.userName }}</span><span style="margin-left: 145px;">({{ currentUser.deptName }})</span>
|
||||
<span>{{ currentUser.userName }}</span>
|
||||
<el-tooltip class="item" effect="dark" :content="currentUser.deptName" placement="bottom">
|
||||
<span style="margin-left: 110px;">({{ currentUser.deptNameView }})</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</el-checkbox>
|
||||
</div>
|
||||
@ -674,6 +677,10 @@
|
||||
that.methodIdOptions = that.conditionData.methodIds
|
||||
that.methodIds = that.methodIdOptions
|
||||
that.currentUser = that.conditionData.currentUser
|
||||
that.currentUser.deptNameView = that.currentUser.deptName
|
||||
if (that.currentUser.deptName.length > 8) {
|
||||
that.currentUser.deptNameView = `${that.currentUser.deptName.substring(0,4)}***${that.currentUser.deptName.substring(that.currentUser.deptName.length-4)}`
|
||||
}
|
||||
that.conditionData.createUsers.forEach(item => {
|
||||
item.deptNameView = item.deptName
|
||||
if (item.deptName.length > 8) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user