修改大屏数据
parent
96d727c60f
commit
1e91636366
|
@ -3,7 +3,9 @@
|
|||
<el-col :span="6" class="h100">
|
||||
<module-one-1-1 label="项目概况">
|
||||
<img src="images/icon2001.png" class="img-openwin" @click="showDetailDlg" />
|
||||
<el-tooltip :content="selProject?.projectName || ''" placement="top">
|
||||
<div class="glr-title prj-info-title">{{ selProject?.projectName || "" }}</div>
|
||||
</el-tooltip>
|
||||
<div class="dept-info-list">
|
||||
<el-row>
|
||||
<el-col :span="12" class="dept-item">
|
||||
|
@ -807,6 +809,13 @@ export default {
|
|||
<style lang="less">
|
||||
.project-detail {
|
||||
color: #c2d5f6;
|
||||
.prj-info-title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: calc(100% - 30px);
|
||||
display: inline-block;
|
||||
}
|
||||
.photography-list {
|
||||
width: calc(100% - 4px);
|
||||
height: calc(100% - 26px);
|
||||
|
|
|
@ -215,10 +215,16 @@ export default {
|
|||
getRealAttendance() {
|
||||
this.$api.labor.getRealAttendance(this.selProject.vendorsCode, this.selProject.id).then((d) => {
|
||||
this.realList = d.data.map((it) => {
|
||||
it.name = it.workerName
|
||||
it.workType = it.workTypeName
|
||||
it.img = it.scanPhoto
|
||||
if (it.attendanceOutTime) {
|
||||
it.name = it.workerName||it.userName;
|
||||
it.workType = it.workTypeName||it.subDeptGroupName
|
||||
it.img = it.scanPhoto||it.inPhoto||it.outPhoto
|
||||
if(it.outTime){
|
||||
it.inOutType = 'out'
|
||||
it.inoutDate = it.outTime
|
||||
}else if(it.inTime){
|
||||
it.inOutType = 'in'
|
||||
it.inoutDate = it.inTime
|
||||
}else if (it.attendanceOutTime) {
|
||||
it.inOutType = 'out'
|
||||
it.inoutDate = it.attendanceInTime
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue