|
@@ -625,7 +625,7 @@ const updateForm = async (formEl) => {
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 批量删除
|
|
|
|
|
|
+ * 批量删除,同时也可以处理单个删除逻辑
|
|
* delIdArray 批量删除的id值
|
|
* delIdArray 批量删除的id值
|
|
* 例如
|
|
* 例如
|
|
* [ { "id" : "1" }, { "id" : "2" } ]
|
|
* [ { "id" : "1" }, { "id" : "2" } ]
|
|
@@ -998,6 +998,7 @@ onMounted(function() {
|
|
<el-table-column label="操作">
|
|
<el-table-column label="操作">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button link type="primary" @click="btnDetail(scope.row)">编辑</el-button>
|
|
<el-button link type="primary" @click="btnDetail(scope.row)">编辑</el-button>
|
|
|
|
+ <!-- <el-button link type="primary" @click="btnDetail(scope.row)">修改密码</el-button> -->
|
|
<el-popconfirm :title="`你确定删除${scope.row.userName}吗?`" @confirm="btnDel(scope.row)">
|
|
<el-popconfirm :title="`你确定删除${scope.row.userName}吗?`" @confirm="btnDel(scope.row)">
|
|
<template #reference>
|
|
<template #reference>
|
|
<el-button link type="danger" style="margin-left: 3rem">移除</el-button>
|
|
<el-button link type="danger" style="margin-left: 3rem">移除</el-button>
|