查看bug修复
parent
9c2ffb8d67
commit
594538602b
|
@ -34,12 +34,12 @@
|
|||
border
|
||||
fit
|
||||
highlight-current-row>
|
||||
<el-table-column :selectable="handleSelectWithDifferentStatus" type="selection" width="55" align="center"/>
|
||||
<el-table-column v-if="false" :selectable="handleSelectWithDifferentStatus" type="selection" width="55" align="center"/>
|
||||
<el-table-column type="index" label="序号" width="50" align="center"/>
|
||||
<el-table-column prop="USERNAME" label="用户名" align="center"/>
|
||||
<el-table-column prop="NAME" label="姓名" align="center"/>
|
||||
<el-table-column prop="DEPARTMENT_NAME" label="部门" align="center"/>
|
||||
<el-table-column prop="EMPLOYER_NAME" label="外派公司名称" align="center"/>
|
||||
<el-table-column v-if="false" prop="EMPLOYER_NAME" label="外派公司名称" align="center"/>
|
||||
<el-table-column label="操作" align="center" width="250">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)">详情</el-button>
|
||||
|
@ -50,7 +50,7 @@
|
|||
</el-table>
|
||||
<div class="page-btn-group">
|
||||
<div>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">批量推送</el-button>
|
||||
<el-button v-if="false" type="primary" icon="el-icon-plus" @click="handleAdd">批量推送</el-button>
|
||||
</div>
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList"/>
|
||||
</div>
|
||||
|
@ -118,13 +118,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleSelectWithDifferentStatus(row, rowIndex) {
|
||||
if (row.STATUS === 0) {
|
||||
// 不禁用
|
||||
return true
|
||||
} else {
|
||||
// 禁用
|
||||
return false
|
||||
}
|
||||
},
|
||||
getQuery() {
|
||||
if (this.$refs.multipleTable) {
|
||||
|
|
Loading…
Reference in New Issue