Complete main UI #37
@@ -191,6 +191,7 @@ const Group = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除选中的 ${tableSelectedItem.length} 个用户组吗?`
|
content: `确定删除选中的 ${tableSelectedItem.length} 个用户组吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -243,6 +244,7 @@ const Group = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除角色 ${value.name} 吗?`
|
content: `确定删除角色 ${value.name} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ const Role = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除选中的 ${tableSelectedItem.length} 个角色吗?`
|
content: `确定删除选中的 ${tableSelectedItem.length} 个角色吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -235,6 +236,7 @@ const Role = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除角色 ${value.name} 吗?`
|
content: `确定删除角色 ${value.name} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ const Mail = () => {
|
|||||||
const handleOnTest = () => {
|
const handleOnTest = () => {
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '发送测试邮件',
|
title: '发送测试邮件',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<>
|
<>
|
||||||
<AntdForm form={mailSendForm}>
|
<AntdForm form={mailSendForm}>
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ const Base = () => {
|
|||||||
compileForm.setFieldValue('entryFileName', undefined)
|
compileForm.setFieldValue('entryFileName', undefined)
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '编译',
|
title: '编译',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<>
|
<>
|
||||||
<AntdForm form={compileForm}>
|
<AntdForm form={compileForm}>
|
||||||
@@ -372,6 +373,7 @@ const Base = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除基板 ${value.name} 吗?`
|
content: `确定删除基板 ${value.name} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -535,6 +537,7 @@ const Base = () => {
|
|||||||
const handleOnAddFile = () => {
|
const handleOnAddFile = () => {
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '新建文件',
|
title: '新建文件',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm form={addFileForm}>
|
<AntdForm form={addFileForm}>
|
||||||
<AntdForm.Item
|
<AntdForm.Item
|
||||||
@@ -711,6 +714,7 @@ const Base = () => {
|
|||||||
renameFileForm.setFieldValue('fileName', fileName)
|
renameFileForm.setFieldValue('fileName', fileName)
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '重命名文件',
|
title: '重命名文件',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm form={renameFileForm}>
|
<AntdForm form={renameFileForm}>
|
||||||
<AntdForm.Item
|
<AntdForm.Item
|
||||||
@@ -811,6 +815,7 @@ const Base = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除文件 ${fileName} 吗?`
|
content: `确定删除文件 ${fileName} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ const Category = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除类别 ${value.name} 吗?`
|
content: `确定删除类别 ${value.name} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -230,6 +230,7 @@ const Template = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除模板 ${value.name} 吗?`
|
content: `确定删除模板 ${value.name} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -398,6 +399,7 @@ const Template = () => {
|
|||||||
const handleOnAddFile = () => {
|
const handleOnAddFile = () => {
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '新建文件',
|
title: '新建文件',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm form={addFileForm}>
|
<AntdForm form={addFileForm}>
|
||||||
<AntdForm.Item
|
<AntdForm.Item
|
||||||
@@ -577,6 +579,7 @@ const Template = () => {
|
|||||||
renameFileForm.setFieldValue('fileName', fileName)
|
renameFileForm.setFieldValue('fileName', fileName)
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '重命名文件',
|
title: '重命名文件',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm form={renameFileForm}>
|
<AntdForm form={renameFileForm}>
|
||||||
<AntdForm.Item
|
<AntdForm.Item
|
||||||
@@ -677,6 +680,7 @@ const Template = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除文件 ${fileName} 吗?`
|
content: `确定删除文件 ${fileName} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -190,6 +190,7 @@ const Tools = () => {
|
|||||||
form.setFieldValue('pass', undefined)
|
form.setFieldValue('pass', undefined)
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '审核',
|
title: '审核',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm form={form}>
|
<AntdForm form={form}>
|
||||||
<AntdForm.Item
|
<AntdForm.Item
|
||||||
@@ -330,6 +331,7 @@ const Tools = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定下架',
|
title: '确定下架',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定下架工具 ${value.author.username}:${value.toolId}:${value.ver} 吗?`
|
content: `确定下架工具 ${value.author.username}:${value.toolId}:${value.ver} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -364,6 +366,7 @@ const Tools = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除工具 ${value.author.username}:${value.toolId}:${value.ver} 吗?`
|
content: `确定删除工具 ${value.author.username}:${value.toolId}:${value.ver} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -286,6 +286,7 @@ const User = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除选中的 ${tableSelectedItem.length} 个用户吗?`
|
content: `确定删除选中的 ${tableSelectedItem.length} 个用户吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -335,6 +336,7 @@ const User = () => {
|
|||||||
修改用户 {value.username} 的密码
|
修改用户 {value.username} 的密码
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<AntdForm
|
<AntdForm
|
||||||
form={changePasswordForm}
|
form={changePasswordForm}
|
||||||
@@ -466,6 +468,7 @@ const User = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '确定删除',
|
title: '确定删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除用户 ${value.username} 吗?`
|
content: `确定删除用户 ${value.username} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ const Tools = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '删除',
|
title: '删除',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定删除工具 ${tool.name}:${tool.ver} 吗?`
|
content: `确定删除工具 ${tool.name}:${tool.ver} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -245,6 +246,7 @@ const Tools = () => {
|
|||||||
const handleOnUpgradeTool = (tool: ToolVo) => {
|
const handleOnUpgradeTool = (tool: ToolVo) => {
|
||||||
void modal.confirm({
|
void modal.confirm({
|
||||||
title: '更新工具',
|
title: '更新工具',
|
||||||
|
maskClosable: true,
|
||||||
content: (
|
content: (
|
||||||
<>
|
<>
|
||||||
<AntdForm form={upgradeForm}>
|
<AntdForm form={upgradeForm}>
|
||||||
@@ -319,6 +321,7 @@ const Tools = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '提交审核',
|
title: '提交审核',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定提交审核工具 ${tool.name}:${tool.ver} 吗?`
|
content: `确定提交审核工具 ${tool.name}:${tool.ver} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
@@ -357,6 +360,7 @@ const Tools = () => {
|
|||||||
modal
|
modal
|
||||||
.confirm({
|
.confirm({
|
||||||
title: '取消审核',
|
title: '取消审核',
|
||||||
|
maskClosable: true,
|
||||||
content: `确定取消审核工具 ${tool.name}:${tool.ver} 吗?`
|
content: `确定取消审核工具 ${tool.name}:${tool.ver} 吗?`
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
|||||||
Reference in New Issue
Block a user