Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
2cf825dd
Commit
2cf825dd
authored
Jan 28, 2026
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
245baa70
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
32 additions
and
34 deletions
+32
-34
user.js
ruoyi-ui/src/api/system/user.js
+1
-1
index.vue
ruoyi-ui/src/components/HeaderSearch/index.vue
+0
-2
index.vue
ruoyi-ui/src/views/monitor/job/index.vue
+2
-2
register.vue
ruoyi-ui/src/views/register.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/config/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/system/dept/index.vue
+2
-2
data.vue
ruoyi-ui/src/views/system/dict/data.vue
+2
-2
index.vue
ruoyi-ui/src/views/system/dict/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/system/menu/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/system/notice/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/system/post/index.vue
+2
-2
authUser.vue
ruoyi-ui/src/views/system/role/authUser.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/role/index.vue
+3
-3
authRole.vue
ruoyi-ui/src/views/system/user/authRole.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/user/index.vue
+3
-3
resetPwd.vue
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
+1
-1
userInfo.vue
ruoyi-ui/src/views/system/user/profile/userInfo.vue
+1
-1
index.vue
ruoyi-ui/src/views/tool/gen/index.vue
+4
-4
No files found.
ruoyi-ui/src/api/system/user.js
View file @
2cf825dd
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
import
{
parseStrEmpty
}
from
"@/utils/ruoyi"
;
import
{
parseStrEmpty
}
from
"@/utils/ruoyi"
// 查询用户列表
// 查询用户列表
export
function
listUser
(
query
)
{
export
function
listUser
(
query
)
{
...
...
ruoyi-ui/src/components/HeaderSearch/index.vue
View file @
2cf825dd
...
@@ -118,8 +118,6 @@ export default {
...
@@ -118,8 +118,6 @@ export default {
this
.
fuse
=
new
Fuse
(
list
,
{
this
.
fuse
=
new
Fuse
(
list
,
{
shouldSort
:
true
,
shouldSort
:
true
,
threshold
:
0.4
,
threshold
:
0.4
,
location
:
0
,
distance
:
100
,
minMatchCharLength
:
1
,
minMatchCharLength
:
1
,
keys
:
[{
keys
:
[{
name
:
'title'
,
name
:
'title'
,
...
...
ruoyi-ui/src/views/monitor/job/index.vue
View file @
2cf825dd
...
@@ -477,13 +477,13 @@ export default {
...
@@ -477,13 +477,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
jobId
!=
undefined
)
{
if
(
this
.
form
.
jobId
!=
undefined
)
{
updateJob
(
this
.
form
).
then
(
response
=>
{
updateJob
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addJob
(
this
.
form
).
then
(
response
=>
{
addJob
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/register.vue
View file @
2cf825dd
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
this
.
$refs
.
registerForm
.
validate
(
valid
=>
{
this
.
$refs
.
registerForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
loading
=
true
this
.
loading
=
true
register
(
this
.
registerForm
).
then
(
res
=>
{
register
(
this
.
registerForm
).
then
(
()
=>
{
const
username
=
this
.
registerForm
.
username
const
username
=
this
.
registerForm
.
username
this
.
$alert
(
"<font color='red'>恭喜你,您的账号 "
+
username
+
" 注册成功!</font>"
,
'系统提示'
,
{
this
.
$alert
(
"<font color='red'>恭喜你,您的账号 "
+
username
+
" 注册成功!</font>"
,
'系统提示'
,
{
dangerouslyUseHTMLString
:
true
,
dangerouslyUseHTMLString
:
true
,
...
...
ruoyi-ui/src/views/system/config/index.vue
View file @
2cf825dd
...
@@ -301,13 +301,13 @@ export default {
...
@@ -301,13 +301,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
configId
!=
undefined
)
{
if
(
this
.
form
.
configId
!=
undefined
)
{
updateConfig
(
this
.
form
).
then
(
response
=>
{
updateConfig
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addConfig
(
this
.
form
).
then
(
response
=>
{
addConfig
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/dept/index.vue
View file @
2cf825dd
...
@@ -311,13 +311,13 @@ export default {
...
@@ -311,13 +311,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
deptId
!=
undefined
)
{
if
(
this
.
form
.
deptId
!=
undefined
)
{
updateDept
(
this
.
form
).
then
(
response
=>
{
updateDept
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addDept
(
this
.
form
).
then
(
response
=>
{
addDept
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/dict/data.vue
View file @
2cf825dd
...
@@ -363,14 +363,14 @@ export default {
...
@@ -363,14 +363,14 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
dictCode
!=
undefined
)
{
if
(
this
.
form
.
dictCode
!=
undefined
)
{
updateData
(
this
.
form
).
then
(
response
=>
{
updateData
(
this
.
form
).
then
(
()
=>
{
this
.
$store
.
dispatch
(
'dict/removeDict'
,
this
.
queryParams
.
dictType
)
this
.
$store
.
dispatch
(
'dict/removeDict'
,
this
.
queryParams
.
dictType
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addData
(
this
.
form
).
then
(
response
=>
{
addData
(
this
.
form
).
then
(
()
=>
{
this
.
$store
.
dispatch
(
'dict/removeDict'
,
this
.
queryParams
.
dictType
)
this
.
$store
.
dispatch
(
'dict/removeDict'
,
this
.
queryParams
.
dictType
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
...
...
ruoyi-ui/src/views/system/dict/index.vue
View file @
2cf825dd
...
@@ -304,13 +304,13 @@ export default {
...
@@ -304,13 +304,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
dictId
!=
undefined
)
{
if
(
this
.
form
.
dictId
!=
undefined
)
{
updateType
(
this
.
form
).
then
(
response
=>
{
updateType
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addType
(
this
.
form
).
then
(
response
=>
{
addType
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/menu/index.vue
View file @
2cf825dd
...
@@ -448,13 +448,13 @@ export default {
...
@@ -448,13 +448,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
menuId
!=
undefined
)
{
if
(
this
.
form
.
menuId
!=
undefined
)
{
updateMenu
(
this
.
form
).
then
(
response
=>
{
updateMenu
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addMenu
(
this
.
form
).
then
(
response
=>
{
addMenu
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/notice/index.vue
View file @
2cf825dd
...
@@ -282,13 +282,13 @@ export default {
...
@@ -282,13 +282,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
noticeId
!=
undefined
)
{
if
(
this
.
form
.
noticeId
!=
undefined
)
{
updateNotice
(
this
.
form
).
then
(
response
=>
{
updateNotice
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
}
)
}
)
}
else
{
}
else
{
addNotice
(
this
.
form
).
then
(
response
=>
{
addNotice
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/post/index.vue
View file @
2cf825dd
...
@@ -273,13 +273,13 @@ export default {
...
@@ -273,13 +273,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
postId
!=
undefined
)
{
if
(
this
.
form
.
postId
!=
undefined
)
{
updatePost
(
this
.
form
).
then
(
response
=>
{
updatePost
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addPost
(
this
.
form
).
then
(
response
=>
{
addPost
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/role/authUser.vue
View file @
2cf825dd
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
/** 批量取消授权按钮操作 */
/** 批量取消授权按钮操作 */
cancelAuthUserAll
(
row
)
{
cancelAuthUserAll
()
{
const
roleId
=
this
.
queryParams
.
roleId
const
roleId
=
this
.
queryParams
.
roleId
const
userIds
=
this
.
userIds
.
join
(
","
)
const
userIds
=
this
.
userIds
.
join
(
","
)
this
.
$modal
.
confirm
(
'是否取消选中用户授权数据项?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否取消选中用户授权数据项?'
).
then
(
function
()
{
...
...
ruoyi-ui/src/views/system/role/index.vue
View file @
2cf825dd
...
@@ -557,14 +557,14 @@ export default {
...
@@ -557,14 +557,14 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
roleId
!=
undefined
)
{
if
(
this
.
form
.
roleId
!=
undefined
)
{
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
updateRole
(
this
.
form
).
then
(
response
=>
{
updateRole
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
addRole
(
this
.
form
).
then
(
response
=>
{
addRole
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
@@ -577,7 +577,7 @@ export default {
...
@@ -577,7 +577,7 @@ export default {
submitDataScope
:
function
()
{
submitDataScope
:
function
()
{
if
(
this
.
form
.
roleId
!=
undefined
)
{
if
(
this
.
form
.
roleId
!=
undefined
)
{
this
.
form
.
deptIds
=
this
.
getDeptAllCheckedKeys
()
this
.
form
.
deptIds
=
this
.
getDeptAllCheckedKeys
()
dataScope
(
this
.
form
).
then
(
response
=>
{
dataScope
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
openDataScope
=
false
this
.
openDataScope
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/user/authRole.vue
View file @
2cf825dd
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
submitForm
()
{
submitForm
()
{
const
userId
=
this
.
form
.
userId
const
userId
=
this
.
form
.
userId
const
roleIds
=
this
.
roleIds
.
join
(
","
)
const
roleIds
=
this
.
roleIds
.
join
(
","
)
updateAuthRole
({
userId
:
userId
,
roleIds
:
roleIds
}).
then
((
response
)
=>
{
updateAuthRole
({
userId
:
userId
,
roleIds
:
roleIds
}).
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
"授权成功"
)
this
.
$modal
.
msgSuccess
(
"授权成功"
)
this
.
close
()
this
.
close
()
})
})
...
...
ruoyi-ui/src/views/system/user/index.vue
View file @
2cf825dd
...
@@ -476,7 +476,7 @@ export default {
...
@@ -476,7 +476,7 @@ export default {
}
}
},
},
}).
then
(({
value
})
=>
{
}).
then
(({
value
})
=>
{
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
resetUserPwd
(
row
.
userId
,
value
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功,新密码是:"
+
value
)
this
.
$modal
.
msgSuccess
(
"修改成功,新密码是:"
+
value
)
})
})
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
...
@@ -491,13 +491,13 @@ export default {
...
@@ -491,13 +491,13 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
userId
!=
undefined
)
{
if
(
this
.
form
.
userId
!=
undefined
)
{
updateUser
(
this
.
form
).
then
(
response
=>
{
updateUser
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addUser
(
this
.
form
).
then
(
response
=>
{
addUser
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
$modal
.
msgSuccess
(
"新增成功"
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
View file @
2cf825dd
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
updateUserPwd
(
this
.
user
.
oldPassword
,
this
.
user
.
newPassword
).
then
(
response
=>
{
updateUserPwd
(
this
.
user
.
oldPassword
,
this
.
user
.
newPassword
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
})
})
}
}
...
...
ruoyi-ui/src/views/system/user/profile/userInfo.vue
View file @
2cf825dd
...
@@ -72,7 +72,7 @@ export default {
...
@@ -72,7 +72,7 @@ export default {
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
updateUserProfile
(
this
.
form
).
then
(
response
=>
{
updateUserProfile
(
this
.
form
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
$modal
.
msgSuccess
(
"修改成功"
)
this
.
user
.
phonenumber
=
this
.
form
.
phonenumber
this
.
user
.
phonenumber
=
this
.
form
.
phonenumber
this
.
user
.
email
=
this
.
form
.
email
this
.
user
.
email
=
this
.
form
.
email
...
...
ruoyi-ui/src/views/tool/gen/index.vue
View file @
2cf825dd
...
@@ -98,9 +98,9 @@
...
@@ -98,9 +98,9 @@
<span>
{{
(
queryParams
.
pageNum
-
1
)
*
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
<span>
{{
(
queryParams
.
pageNum
-
1
)
*
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"表名称"
align=
"center"
prop=
"tableName"
:show-overflow-tooltip=
"true"
width=
"1
2
0"
/>
<el-table-column
label=
"表名称"
align=
"center"
prop=
"tableName"
:show-overflow-tooltip=
"true"
width=
"1
4
0"
/>
<el-table-column
label=
"表描述"
align=
"center"
prop=
"tableComment"
:show-overflow-tooltip=
"true"
width=
"1
2
0"
/>
<el-table-column
label=
"表描述"
align=
"center"
prop=
"tableComment"
:show-overflow-tooltip=
"true"
width=
"1
4
0"
/>
<el-table-column
label=
"实体"
align=
"center"
prop=
"className"
:show-overflow-tooltip=
"true"
width=
"1
2
0"
/>
<el-table-column
label=
"实体"
align=
"center"
prop=
"className"
:show-overflow-tooltip=
"true"
width=
"1
4
0"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
width=
"160"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
width=
"160"
/>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"updateTime"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
width=
"160"
/>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"updateTime"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
width=
"160"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
@@ -262,7 +262,7 @@ export default {
...
@@ -262,7 +262,7 @@ export default {
return
return
}
}
if
(
row
.
genType
===
"1"
)
{
if
(
row
.
genType
===
"1"
)
{
genCode
(
row
.
tableName
).
then
(
response
=>
{
genCode
(
row
.
tableName
).
then
(
()
=>
{
this
.
$modal
.
msgSuccess
(
"成功生成到自定义路径:"
+
row
.
genPath
)
this
.
$modal
.
msgSuccess
(
"成功生成到自定义路径:"
+
row
.
genPath
)
})
})
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment