八大员,考勤明细修改记录
This commit is contained in:
parent
667da128f8
commit
dd1ac72020
|
|
@ -27,50 +27,95 @@
|
|||
<el-table-column label="项目部名称" align="center" prop="orgName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="项目经理" align="center" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,1)">{{scope.row.projectManager}}</div>
|
||||
<div v-if="scope.row.projectManager === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,1)">
|
||||
{{ scope.row.projectManager }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.projectManager }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="安全员" align="center" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,2)">{{scope.row.safetyOfficer}}</div>
|
||||
<div v-if="scope.row.safetyOfficer === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,2)">
|
||||
{{ scope.row.safetyOfficer }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.safetyOfficer }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<el-table-column label="质检员" align="center" :show-overflow-tooltip="true" >
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,3)">{{scope.row.qualityInspector}}</div>
|
||||
<div v-if="scope.row.qualityInspector === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,3)">
|
||||
{{ scope.row.qualityInspector }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.qualityInspector }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="项目总工" align="center" :show-overflow-tooltip="true" >
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,4)">{{scope.row.chiefEngineer}}</div>
|
||||
<div v-if="scope.row.chiefEngineer === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,4)">
|
||||
{{ scope.row.chiefEngineer }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.chiefEngineer }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="机械员" align="center" :show-overflow-tooltip="true" >
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,5)">{{scope.row.mechanicalStaff}}</div>
|
||||
<div v-if="scope.row.mechanicalStaff === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,5)">
|
||||
{{ scope.row.mechanicalStaff }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.mechanicalStaff }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="资料员" align="center" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,6)">{{scope.row.documentStaff}}</div>
|
||||
<div v-if="scope.row.documentStaff === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,6)">
|
||||
{{ scope.row.documentStaff }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.documentStaff }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="施工员" align="center" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,7)">{{scope.row.constructionStaff}}</div>
|
||||
<div v-if="scope.row.constructionStaff === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,7)">
|
||||
{{ scope.row.constructionStaff }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.constructionStaff }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="材料员" align="center" :show-overflow-tooltip="true" >
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,8)">{{scope.row.materialStaff}}</div>
|
||||
<div v-if="scope.row.materialStaff === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,8)">
|
||||
{{ scope.row.materialStaff }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.materialStaff }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="其他" align="center" :show-overflow-tooltip="true" >
|
||||
<template slot-scope="scope">
|
||||
<div style="color: #1890FF; cursor: pointer" @click="handleAllocation(scope.row,9)">{{scope.row.other}}</div>
|
||||
<div v-if="scope.row.other === '兼职'"
|
||||
style="color: #1890FF; cursor: pointer"
|
||||
@click="handleAllocation(scope.row,9)">
|
||||
{{ scope.row.other }}
|
||||
</div>
|
||||
<span v-else>{{ scope.row.other }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue