Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
f1aa19a9
Commit
f1aa19a9
authored
May 20, 2019
by
zhangdaihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JeecgBoot V2.0版本发布| 解决用户保存资源找不到问题
parent
135db225
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
ant-design-jeecg-vue/src/views/system/UserList.vue
+0
-11
ant-design-jeecg-vue/src/views/system/modules/UserModal.vue
+0
-18
No files found.
ant-design-jeecg-vue/src/views/system/UserList.vue
View file @
f1aa19a9
...
...
@@ -65,7 +65,6 @@
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"border-top: 5px"
>
<a-button
@
click=
"handleAdd"
v-has=
"'user:add'"
type=
"primary"
icon=
"plus"
>
添加用户
</a-button>
<a-button
@
click=
"handleSyncUser"
type=
"primary"
icon=
"plus"
>
重新同步流程用户
</a-button>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('用户信息')"
>
导出
</a-button>
<a-upload
name=
"file"
:showUploadList=
"false"
:multiple=
"false"
:headers=
"tokenHeader"
:action=
"importExcelUrl"
@
change=
"handleImportExcel"
>
<a-button
type=
"primary"
icon=
"import"
>
导入
</a-button>
...
...
@@ -345,16 +344,6 @@
this
.
$refs
.
sysUserAgentModal
.
agentSettings
(
username
);
this
.
$refs
.
sysUserAgentModal
.
title
=
"用户代理人设置"
;
},
handleSyncUser
()
{
var
that
=
this
;
putAction
(
that
.
url
.
syncUser
,
{}).
then
((
res
)
=>
{
if
(
res
.
success
)
{
that
.
$message
.
success
(
res
.
message
);
}
else
{
that
.
$message
.
warning
(
res
.
message
);
}
})
},
passwordModalOk
()
{
//TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下
}
...
...
ant-design-jeecg-vue/src/views/system/modules/UserModal.vue
View file @
f1aa19a9
...
...
@@ -346,8 +346,6 @@
if
(
res
.
success
){
that
.
$message
.
success
(
res
.
message
);
that
.
$emit
(
'ok'
);
//同步用户到工作流
this
.
handleSyncUser
(
this
.
model
.
username
);
}
else
{
that
.
$message
.
warning
(
res
.
message
);
}
...
...
@@ -389,8 +387,6 @@
if
(
res
.
success
)
{
that
.
$message
.
success
(
res
.
message
);
that
.
$emit
(
'ok'
);
//同步用户到工作流
this
.
handleSyncUser
(
this
.
model
.
username
);
}
else
{
that
.
$message
.
warning
(
res
.
message
);
}
...
...
@@ -435,8 +431,6 @@
if
(
res
.
success
){
that
.
$message
.
success
(
res
.
message
);
that
.
$emit
(
'ok'
);
//同步用户到工作流
this
.
handleSyncUser
(
this
.
model
.
username
);
}
else
{
that
.
$message
.
warning
(
res
.
message
);
}
...
...
@@ -596,18 +590,6 @@
this
.
drawerWidth
=
700
;
}
},
handleSyncUser
(
userName
)
{
try
{
var
that
=
this
;
putAction
(
that
.
url
.
syncUserByUserName
,
{
userName
:
userName
}).
then
((
res
)
=>
{
//if (res.success) {
//that.$message.success(res.message);
// } else {
//that.$message.warning(res.message);
//}
})
}
catch
(
e
){}
},
}
}
</
script
>
...
...
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