Commit d5b7e0d2 authored by zhengke's avatar zhengke

修改

parent e741641a
......@@ -62,9 +62,6 @@
<span class="drawer_Span" v-if="setingObj.type==3">调岗</span>
<span class="drawer_Span" v-if="setingObj.type==4">调部门</span>
</div>
<div>
<i class="iconfont icon-guanbi" @click="closeShenheForm"></i>
</div>
</div>
<div style="margin:20px;">
<div class="EmpLine_title">
......@@ -77,7 +74,7 @@
<img :src="item.UserIcon" />
</q-avatar>
<q-avatar size="md" color="teal-10" text-color="white" v-if="!item.UserIcon">
{{item.EmployeeName}}</q-avatar>
{{GetFirst(item.EmployeeName)}}</q-avatar>
<div style="margin-top:6px;">{{item.EmployeeName}}</div>
</div>
</div>
......@@ -304,6 +301,11 @@
}
})
}
},
GetFirst(val) {
if (val) {
return val.substr(0, 1);
}
}
},
}
......
......@@ -97,7 +97,7 @@
<img :src="props.value" />
</q-avatar>
<q-avatar size="md" color="teal-10" text-color="white" v-if="!props.value">
{{props.row.EmployeeName}}</q-avatar>
{{GetFirst(props.row.EmployeeName)}}</q-avatar>
</q-td>
</template>
<template v-slot:body-cell-EmployeeName="props">
......@@ -591,6 +591,11 @@
this.setObj.selected = [];
this.setObj.selected.push(obj);
this.isShowEmployeeSet = true;
},
GetFirst(val) {
if (val) {
return val.substr(0, 1);
}
}
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment