班组修改
This commit is contained in:
parent
88bc0bd52f
commit
2b8b9435e5
|
|
@ -90,10 +90,15 @@
|
|||
|
||||
<el-table v-loading="loading" :data="teamList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="班组名称" align="center" prop="teamName" />
|
||||
<el-table-column label="所属工程 " align="center" prop="proName" />
|
||||
<el-table-column label="班组长" align="center" prop="teamLeader" />
|
||||
<el-table-column label="班组成员(在施\未施)" align="center" prop="workNum">
|
||||
<el-table-column label="序号" align="center" width="80" type="index">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="班组名称" align="center" prop="teamName" sortable/>
|
||||
<el-table-column label="所属工程 " align="center" prop="proName" sortable/>
|
||||
<el-table-column label="班组长" align="center" prop="teamLeader" sortable/>
|
||||
<el-table-column label="班组成员(在施\未施)" align="center" prop="workNum" sortable>
|
||||
<template slot-scope="scope">
|
||||
<div style="cursor: pointer;" @click="openTeamTable(scope.row)">
|
||||
<span style="color: green;">{{ scope.row.workNum }}/</span><span>{{ scope.row.notWorkNum }}</span>
|
||||
|
|
@ -102,13 +107,13 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="班组状态" align="center" prop="teamStatus">
|
||||
<el-table-column label="班组状态" align="center" prop="teamStatus" sortable>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.teamStatus==0" style="color: green;">{{ stateList[Number(scope.row.teamStatus)] }}</div>
|
||||
<div v-if="scope.row.teamStatus==1" style="color: red;">{{ stateList[Number(scope.row.teamStatus)] }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建日期" align="center" prop="createTime" width="180">
|
||||
<el-table-column label="创建日期" align="center" prop="createTime" width="180" sortable>
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue