Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
shop-vite-main
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
front-base-project
shop-vite-main
Commits
d277ea95
提交
d277ea95
authored
12月 17, 2024
作者:
郁骅焌
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除提示修改
上级
93c83954
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
index.vue
src/views/system/departmentManagement/index.vue
+1
-1
index.vue
src/views/system/menuManagement/index.vue
+1
-1
index.vue
src/views/system/postManagement/index.vue
+1
-1
index.vue
src/views/system/userManagement/index.vue
+1
-1
没有找到文件。
src/views/system/departmentManagement/index.vue
浏览文件 @
d277ea95
...
@@ -168,7 +168,7 @@ const handleUpdate = (row: any = {}) => {
...
@@ -168,7 +168,7 @@ const handleUpdate = (row: any = {}) => {
/** 删除按钮操作 */
/** 删除按钮操作 */
const
handleDelete
=
(
row
:
any
=
{})
=>
{
const
handleDelete
=
(
row
:
any
=
{})
=>
{
if
(
row
.
deptId
)
{
if
(
row
.
deptId
)
{
$baseConfirm
(
`是否确认删除
名称为"
${
row
.
deptName
}
"的数据项
?`
,
null
,
async
()
=>
{
$baseConfirm
(
`是否确认删除
部门名称为"
${
row
.
deptName
}
"的数据项吗
?`
,
null
,
async
()
=>
{
const
{
msg
}:
any
=
await
doDelete
(
row
.
deptId
)
const
{
msg
}:
any
=
await
doDelete
(
row
.
deptId
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
await
fetchData
()
await
fetchData
()
...
...
src/views/system/menuManagement/index.vue
浏览文件 @
d277ea95
...
@@ -183,7 +183,7 @@ const handleUpdate = (row: any = {}) => {
...
@@ -183,7 +183,7 @@ const handleUpdate = (row: any = {}) => {
/** 删除按钮操作 */
/** 删除按钮操作 */
const
handleDelete
=
(
row
:
any
=
{})
=>
{
const
handleDelete
=
(
row
:
any
=
{})
=>
{
if
(
row
.
menuId
)
{
if
(
row
.
menuId
)
{
$baseConfirm
(
`是否确认删除
名称为"
${
row
.
menuName
}
"的数据项
?`
,
null
,
async
()
=>
{
$baseConfirm
(
`是否确认删除
菜单名称为"
${
row
.
menuName
}
"的数据项吗
?`
,
null
,
async
()
=>
{
const
{
msg
}:
any
=
await
doDelete
(
row
.
menuId
)
const
{
msg
}:
any
=
await
doDelete
(
row
.
menuId
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
await
fetchData
()
await
fetchData
()
...
...
src/views/system/postManagement/index.vue
浏览文件 @
d277ea95
...
@@ -227,7 +227,7 @@ function handleUpdate(row: any) {
...
@@ -227,7 +227,7 @@ function handleUpdate(row: any) {
/** 删除按钮操作 */
/** 删除按钮操作 */
const
handleDelete
=
(
row
:
any
=
{})
=>
{
const
handleDelete
=
(
row
:
any
=
{})
=>
{
if
(
row
.
postId
)
{
if
(
row
.
postId
)
{
$baseConfirm
(
'您确定要删除当前项吗'
,
null
,
async
()
=>
{
$baseConfirm
(
`您确定要删除岗位名称为“
${
row
.
postName
}
”的数据项吗`
,
null
,
async
()
=>
{
const
{
msg
}:
any
=
await
doDelete
(
row
.
postId
)
const
{
msg
}:
any
=
await
doDelete
(
row
.
postId
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
await
fetchData
()
await
fetchData
()
...
...
src/views/system/userManagement/index.vue
浏览文件 @
d277ea95
...
@@ -396,7 +396,7 @@ function handleUpdate(row: any) {
...
@@ -396,7 +396,7 @@ function handleUpdate(row: any) {
/** 删除按钮操作 */
/** 删除按钮操作 */
const
handleDelete
=
(
row
:
any
=
{})
=>
{
const
handleDelete
=
(
row
:
any
=
{})
=>
{
if
(
row
.
userId
)
{
if
(
row
.
userId
)
{
$baseConfirm
(
'您确定要删除当前项吗'
,
null
,
async
()
=>
{
$baseConfirm
(
`您确定要删除用户名称为
${
row
.
userName
}
的数据项吗`
,
null
,
async
()
=>
{
const
{
msg
}:
any
=
await
doDelete
(
row
.
userId
)
const
{
msg
}:
any
=
await
doDelete
(
row
.
userId
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
$baseMessage
(
msg
,
'success'
,
'hey'
)
await
fetchData
()
await
fetchData
()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论