|
@@ -20,7 +20,7 @@
|
|
|
<vxe-toolbar :refresh="{query: refreshList}" import export print custom>
|
|
|
<template #buttons>
|
|
|
<el-button v-if="hasPermission('sys:project:add')" type="primary" size="small" icon="el-icon-plus" @click="add()">新建</el-button>
|
|
|
- <el-button v-if="hasPermission('sys:project:del')" type="danger" size="small" icon="el-icon-delete" @click="del()" :disabled="$refs.workClientTable && $refs.workClientTable.getCheckboxRecords().length === 0" plain>删除</el-button>
|
|
|
+ <el-button v-if="hasPermission('sys:project:del')" type="danger" size="small" icon="el-icon-delete" @click="del()" :disabled="$refs.userTable && $refs.userTable.getCheckboxRecords().length === 0" plain>删除</el-button>
|
|
|
</template>
|
|
|
</vxe-toolbar>
|
|
|
<div style="height: calc(100% - 80px);">
|
|
@@ -31,13 +31,12 @@
|
|
|
height="auto"
|
|
|
:loading="loading"
|
|
|
size="small"
|
|
|
- ref="workClientTable"
|
|
|
+ ref="userTable"
|
|
|
show-header-overflow
|
|
|
show-overflow
|
|
|
highlight-hover-row
|
|
|
:menu-config="{}"
|
|
|
:print-config="{}"
|
|
|
- @sort-change="sortChangeHandle"
|
|
|
:sort-config="{remote:true}"
|
|
|
:data="dataList"
|
|
|
:checkbox-config="{}">
|