|
@@ -53,7 +53,7 @@
|
|
|
<el-button v-if="hasPermission('sys:user:edit')" type="warning" size="small" icon="el-icon-edit-outline" @click="edit()" :disabled="$refs.userTable && $refs.userTable.getCheckboxRecords().length !== 1" plain>修改</el-button>
|
|
|
<el-button v-if="hasPermission('sys:user:del')" type="danger" size="small" icon="el-icon-delete" @click="del()" :disabled="$refs.userTable && $refs.userTable.getCheckboxRecords().length === 0" plain>删除</el-button>
|
|
|
<el-button v-if="hasPermission('sys:user:import')" type="default" @click="downloadTpl()" size="small">下载模板</el-button>
|
|
|
-
|
|
|
+<!-- <el-button size="small" @click="updateAllUser">同步花名册</el-button>-->
|
|
|
</template>
|
|
|
</vxe-toolbar>
|
|
|
<div style="height: calc(100% - 80px);">
|
|
@@ -350,6 +350,9 @@
|
|
|
this.$refs.officeTree.setCurrentKey(null)
|
|
|
this.$refs.searchForm.resetFields()
|
|
|
this.refreshList()
|
|
|
+ },
|
|
|
+ updateAllUser () {
|
|
|
+ this.userService.updateAllUser()
|
|
|
}
|
|
|
}
|
|
|
}
|