|
|
|
@ -2,9 +2,9 @@ |
|
|
|
<section> |
|
|
|
<el-row> |
|
|
|
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> |
|
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTaskWorkloads" icon="el-icon-search">查询</el-button> |
|
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTaskWorkloads" icon="el-icon-search">已登记工时查询</el-button> |
|
|
|
<span style="float:right;"> |
|
|
|
<el-button type="primary" @click="showAdd" icon="el-icon-plus"> </el-button> |
|
|
|
<el-button type="primary" @click="showAdd" icon="el-icon-plus"> 登记工时</el-button> |
|
|
|
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete"></el-button> |
|
|
|
</span> |
|
|
|
</el-row> |
|
|
|
@ -13,12 +13,16 @@ |
|
|
|
<el-table ref="xmTaskWorkloadTable" :data="xmTaskWorkloads" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> |
|
|
|
<el-table-column type="selection" width="55" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="username" label="姓名" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="bizDate" label="业务日期" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="wstatus" label="状态" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="bizDate" label="报送日期" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="workload" label="报送工时" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="wstatus" label="状态" min-width="80" show-overflow-tooltip> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{scope.row.wstatus==='1'?'已确认':'待确认'}} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="remark" label="备注" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="ttype" label="任务类型" min-width="80" show-overflow-tooltip :formatter="formatterOption"></el-table-column> |
|
|
|
<el-table-column prop="workload" label="实际工时" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="rworkload" label="剩余工时" min-width="80" show-overflow-tooltip></el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
<el-pagination layout="total, sizes, prev, pager, next" @current-change="handleCurrentChange" @size-change="handleSizeChange" :page-sizes="[10,20, 50, 100, 500]" :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :total="pageInfo.total" style="float:right;"></el-pagination> |
|
|
|
</el-row> |
|
|
|
|