查看bug修复

1212-八项作业迁移
liujun 2023-12-21 15:41:33 +08:00
parent 9c2ffb8d67
commit 594538602b
1 changed files with 4 additions and 10 deletions

View File

@ -34,12 +34,12 @@
border border
fit fit
highlight-current-row> 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 type="index" label="序号" width="50" align="center"/>
<el-table-column prop="USERNAME" label="用户名" align="center"/> <el-table-column prop="USERNAME" label="用户名" align="center"/>
<el-table-column prop="NAME" label="姓名" align="center"/> <el-table-column prop="NAME" label="姓名" align="center"/>
<el-table-column prop="DEPARTMENT_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"> <el-table-column label="操作" align="center" width="250">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)"></el-button> <el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)"></el-button>
@ -50,7 +50,7 @@
</el-table> </el-table>
<div class="page-btn-group"> <div class="page-btn-group">
<div> <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> </div>
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList"/> <pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList"/>
</div> </div>
@ -118,13 +118,7 @@ export default {
}, },
methods: { methods: {
handleSelectWithDifferentStatus(row, rowIndex) { handleSelectWithDifferentStatus(row, rowIndex) {
if (row.STATUS === 0) { return true
//
return true
} else {
//
return false
}
}, },
getQuery() { getQuery() {
if (this.$refs.multipleTable) { if (this.$refs.multipleTable) {