Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
5a374397
Commit
5a374397
authored
Sep 29, 2024
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新admin 请求路径
parent
9ad7d864
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
42 additions
and
42 deletions
+42
-42
Infsea.vue
src/page/iscAdmin/Bch/Dblbch/Infsea.vue
+6
-6
index.js
src/page/iscAdmin/Bch1/Dblbch/event/index.js
+2
-2
Infsea.vue
src/page/iscAdmin/Bch1/Dblbch/views/Infsea.vue
+3
-3
index.js
src/page/iscAdmin/Menu/Dblmenu/event/index.js
+2
-2
Infsea.vue
src/page/iscAdmin/Menu/Dblmenu/views/Infsea.vue
+3
-3
Infsea.vue
src/page/iscAdmin/Role/Dblrole/Infsea.vue
+9
-9
Infsea.vue
src/page/iscAdmin/Sysparam/Dblparam/Infsea.vue
+6
-6
userManage.vue
src/page/iscAdmin/iscOrganization/userManage.vue
+2
-2
usersAdd.vue
src/page/iscAdmin/iscOrganization/usersAdd.vue
+6
-6
usersInfo.vue
src/page/iscAdmin/iscOrganization/usersInfo.vue
+3
-3
No files found.
src/page/iscAdmin/Bch/Dblbch/Infsea.vue
View file @
5a374397
...
...
@@ -421,7 +421,7 @@
"pageSize"
:
this
.
model
.
pageSize
,
"pageNum"
:
this
.
model
.
pageNum
,
}
Api
.
post
(
'/
webapi/
admin/bch/getBchListByRootWithFieldsPage'
,
data
).
then
(
res
=>
{
Api
.
post
(
'/admin/bch/getBchListByRootWithFieldsPage'
,
data
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
const
list
=
res
.
data
.
list
this
.
bchData
=
list
...
...
@@ -452,7 +452,7 @@
commitAdd
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/bch/addBch'
,
this
.
dataForm
)
Api
.
post
(
'/admin/bch/addBch'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
respCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
"添加成功!"
);
...
...
@@ -479,7 +479,7 @@
//查看弹窗
bchInfo
(
row
)
{
let
tmp
=
row
;
Api
.
post
(
'/
webapi/
admin/bch/getBchById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/bch/getBchById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
true
;
this
.
operaTyp
=
"info"
...
...
@@ -493,7 +493,7 @@
//修改弹窗
bchEdit
(
row
)
{
Api
.
post
(
'/
webapi/
admin/bch/getBchById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/bch/getBchById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
false
;
this
.
dataForm
=
res
.
data
;
...
...
@@ -507,7 +507,7 @@
commitEdit
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/bch/updateBchById'
,
this
.
dataForm
)
Api
.
post
(
'/admin/bch/updateBchById'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
"修改成功!"
);
...
...
@@ -536,7 +536,7 @@
type
:
"warning"
,
})
.
then
(()
=>
{
Api
.
post
(
'/
webapi/
admin/bch/deleteBchById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/bch/deleteBchById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
"删除成功!"
);
...
...
src/page/iscAdmin/Bch1/Dblbch/event/index.js
View file @
5a374397
...
...
@@ -7,7 +7,7 @@ export default {
let
params
=
{
rootBranch
:
JSON
.
parse
(
sessionStorage
.
getItem
(
"currentOrg"
)).
departmentNumber
}
let
rtnmsg
=
await
Api
.
post
(
"/
webapi/
admin/bch/getBchTreeByRoot"
,
params
);
let
rtnmsg
=
await
Api
.
post
(
"/admin/bch/getBchTreeByRoot"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
orgTree
=
rtnmsg
.
data
this
.
orgTree
.
forEach
((
item
)
=>
{
...
...
@@ -22,7 +22,7 @@ export default {
let
params
=
{
id
:
data
.
id
}
let
rtnmsg
=
await
Api
.
post
(
"/
webapi/
admin/bch/getBchById"
,
params
);
let
rtnmsg
=
await
Api
.
post
(
"/admin/bch/getBchById"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
bchInfo
=
rtnmsg
.
data
}
...
...
src/page/iscAdmin/Bch1/Dblbch/views/Infsea.vue
View file @
5a374397
...
...
@@ -342,7 +342,7 @@ export default {
let
$this
=
this
if
(
this
.
bchInfo
.
id
==
null
||
this
.
bchInfo
.
id
==
""
){
//新增
uri
=
'/
webapi/
admin/bch/addBch'
uri
=
'/admin/bch/addBch'
Api
.
post
(
uri
,
this
.
bchInfo
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
"添加成功!"
);
...
...
@@ -367,7 +367,7 @@ export default {
)
}
else
{
//修改
uri
=
'/
webapi/
admin/bch/updateBchById'
uri
=
'/admin/bch/updateBchById'
Api
.
post
(
uri
,
this
.
bchInfo
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
"修改成功!"
);
...
...
@@ -462,7 +462,7 @@ export default {
})
.
then
(()
=>
{
//发送删除请求
Api
.
post
(
'/
webapi/
admin/bch/deleteBchById'
,
{
"id"
:
data
.
id
}).
then
(
Api
.
post
(
'/admin/bch/deleteBchById'
,
{
"id"
:
data
.
id
}).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
"删除成功!"
);
...
...
src/page/iscAdmin/Menu/Dblmenu/event/index.js
View file @
5a374397
...
...
@@ -3,7 +3,7 @@ import Api from "~/service/Api"
export
default
{
async
getMenuTree
()
{
let
rtnmsg
=
await
Api
.
post
(
"/
webapi/
admin/menu/getMenuTree"
,
{});
let
rtnmsg
=
await
Api
.
post
(
"/admin/menu/getMenuTree"
,
{});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
menuTree
=
rtnmsg
.
data
this
.
menuTree
.
forEach
((
item
)
=>
{
...
...
@@ -17,7 +17,7 @@ export default {
let
params
=
{
"id"
:
data
.
id
}
let
rtnmsg
=
await
Api
.
post
(
"/
webapi/
admin/menu/getMenuById"
,
params
);
let
rtnmsg
=
await
Api
.
post
(
"/admin/menu/getMenuById"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
menuInfo
=
rtnmsg
.
data
...
...
src/page/iscAdmin/Menu/Dblmenu/views/Infsea.vue
View file @
5a374397
...
...
@@ -229,7 +229,7 @@ export default {
let
$this
=
this
if
(
this
.
menuInfo
.
id
==
null
||
this
.
menuInfo
.
id
==
""
){
//新增
uri
=
'/
webapi/
admin/menu/addMenu'
uri
=
'/admin/menu/addMenu'
Api
.
post
(
uri
,
this
.
menuInfo
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.添加成功!'
));
...
...
@@ -275,7 +275,7 @@ export default {
)
}
else
{
//修改
uri
=
'/
webapi/
admin/menu/updateMenuById'
uri
=
'/admin/menu/updateMenuById'
Api
.
post
(
uri
,
this
.
menuInfo
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.修改成功!'
));
...
...
@@ -382,7 +382,7 @@ export default {
})
.
then
(()
=>
{
//发送删除请求
Api
.
post
(
'/
webapi/
admin/menu/deleteMenuById'
,
{
"id"
:
data
.
id
}).
then
(
Api
.
post
(
'/admin/menu/deleteMenuById'
,
{
"id"
:
data
.
id
}).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.删除成功!'
));
...
...
src/page/iscAdmin/Role/Dblrole/Infsea.vue
View file @
5a374397
...
...
@@ -427,7 +427,7 @@
onDblroleSearch
()
{
this
.
searchLoading
=
true
;
Api
.
post
(
'/
webapi/
admin/role/getRoleListWithPage'
,
this
.
model
).
then
(
res
=>
{
Api
.
post
(
'/admin/role/getRoleListWithPage'
,
this
.
model
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
)
{
const
list
=
res
.
data
.
list
...
...
@@ -485,7 +485,7 @@
commitAdd
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/role/addRole'
,
this
.
dataForm
)
Api
.
post
(
'/admin/role/addRole'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
respCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.添加成功!'
));
...
...
@@ -516,7 +516,7 @@
console
.
log
(
"-------"
,
tmp
)
let
id
=
row
.
id
console
.
log
(
"-------"
,
row
.
id
)
Api
.
post
(
'/
webapi/
admin/role/getRoleById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/role/getRoleById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
true
;
this
.
operaTyp
=
"info"
...
...
@@ -530,7 +530,7 @@
//修改弹窗
roleEdit
(
row
)
{
Api
.
post
(
'/
webapi/
admin/role/getRoleById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/role/getRoleById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
false
;
this
.
dataForm
=
res
.
data
;
...
...
@@ -544,7 +544,7 @@
commitEdit
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/role/updateRoleById'
,
this
.
dataForm
)
Api
.
post
(
'/admin/role/updateRoleById'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.修改成功!'
));
...
...
@@ -573,7 +573,7 @@
type
:
"warning"
,
})
.
then
(()
=>
{
Api
.
post
(
'/
webapi/
admin/role/deleteRoleById'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/role/deleteRoleById'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.删除成功'
));
...
...
@@ -605,7 +605,7 @@
this
.
menuForm
=
row
;
this
.
treeData
.
defaultCheckedKeys
=
[];
Api
.
post
(
'/
webapi/
admin/menu/getMenuTree'
,{})
Api
.
post
(
'/admin/menu/getMenuTree'
,{})
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
//获取所有菜单树
...
...
@@ -616,7 +616,7 @@
});
Api
.
post
(
'/
webapi/
admin/role/getRoleMenuListByRoleId'
,{
"id"
:
row
.
id
,
"leafOnly"
:
true
})
Api
.
post
(
'/admin/role/getRoleMenuListByRoleId'
,{
"id"
:
row
.
id
,
"leafOnly"
:
true
})
.
then
((
res
)
=>
{
//获取该角色已绑定的菜单
...
...
@@ -643,7 +643,7 @@
this
.
$refs
[
'menuForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
menuForm
.
menuList
=
this
.
$refs
.
treeRef
.
getCheckedNodes
(
false
,
true
)
Api
.
post
(
'/
webapi/
admin/role/updateRoleMenuListByRoleId'
,
this
.
menuForm
)
Api
.
post
(
'/admin/role/updateRoleMenuListByRoleId'
,
this
.
menuForm
)
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.修改成功!'
));
...
...
src/page/iscAdmin/Sysparam/Dblparam/Infsea.vue
View file @
5a374397
...
...
@@ -252,7 +252,7 @@
onDblparamSearch
()
{
this
.
searchLoading
=
true
;
Api
.
post
(
'/
webapi/
admin/sysparam/listSysparm'
,
this
.
model
).
then
(
res
=>
{
Api
.
post
(
'/admin/sysparam/listSysparm'
,
this
.
model
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
const
list
=
res
.
data
.
list
this
.
paramData
=
list
...
...
@@ -283,7 +283,7 @@
commitAdd
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/sysparam/addSysparm'
,
this
.
dataForm
)
Api
.
post
(
'/admin/sysparam/addSysparm'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
respCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
this
.
$t
(
'statics.添加成功!'
));
...
...
@@ -314,7 +314,7 @@
console
.
log
(
"-------"
,
tmp
)
let
id
=
row
.
id
console
.
log
(
"-------"
,
row
.
id
)
Api
.
post
(
'/
webapi/
admin/sysparam/detailSysparm'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/sysparam/detailSysparm'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
true
;
this
.
operaTyp
=
"info"
...
...
@@ -328,7 +328,7 @@
//修改弹窗
paramEdit
(
row
)
{
Api
.
post
(
'/
webapi/
admin/sysparam/detailSysparm'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/sysparam/detailSysparm'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
this
.
isDisabled
=
false
;
this
.
dataForm
=
res
.
data
;
...
...
@@ -342,7 +342,7 @@
commitEdit
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
Api
.
post
(
'/
webapi/
admin/sysparam/updateSysparm'
,
this
.
dataForm
)
Api
.
post
(
'/admin/sysparam/updateSysparm'
,
this
.
dataForm
)
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
...
...
@@ -372,7 +372,7 @@
type
:
"warning"
,
})
.
then
(()
=>
{
Api
.
post
(
'/
webapi/
admin/sysparam/deleteSysparm'
,{
"id"
:
row
.
id
})
Api
.
post
(
'/admin/sysparam/deleteSysparm'
,{
"id"
:
row
.
id
})
.
then
((
res
)
=>
{
if
(
res
.
errorCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
.
success
(
"删除成功!"
);
...
...
src/page/iscAdmin/iscOrganization/userManage.vue
View file @
5a374397
...
...
@@ -220,7 +220,7 @@ export default {
pageSize
:
this
.
pagination
.
pageSize
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/
webapi/
admin/usr/listusr'
,
params
);
let
res
=
await
Api
.
post
(
'/admin/usr/listusr'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
userdata
=
res
.
data
.
list
||
[];
...
...
@@ -255,7 +255,7 @@ export default {
extkey
:
row
.
extkey
,
};
const
loading
=
this
.
loading
();
res
=
await
Api
.
post
(
'/
webapi/
admin/usr/deleteusr'
,
params
);
res
=
await
Api
.
post
(
'/admin/usr/deleteusr'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
}
...
...
src/page/iscAdmin/iscOrganization/usersAdd.vue
View file @
5a374397
...
...
@@ -456,14 +456,14 @@ export default {
selectPostTree
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/post/relation/posttree/{userid}"
},
submitGroup
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/group/relation"
},
submitRole
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/User/role/relation"
},
selectRoletree
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/
webapi/
admin/usr/allroletree"
},
selectRoletree
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/admin/usr/allroletree"
},
selectSubRoletree
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/User/conn/subroletree/{currentLoginUserRoleId}"
},
delDepart
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/depart/relation/{userid}/{departId}"
},
searchOrg
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/org/relation/{userid}"
},
saveGroup
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/group/relation/put"
},
getNation
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/User/nation"
},
saveRole
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/User/role/relation/put"
},
showUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/
webapi/
admin/usr/userdetail/userid/{id}"
},
showUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/admin/usr/userdetail/userid/{id}"
},
getDeptTreeChild
:{
"fileName"
:
"department.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/department/find/treeNode/{departmentNumber}"
},
saveOrgd
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/User/org/relation/put"
},
saveUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/saveUsr"
},
...
...
@@ -645,13 +645,13 @@ export default {
},
methods
:
{
bch_init
(){
Api
.
post
(
'/
webapi/
admin/bch/getBchListForUsr'
,{}).
then
(
res
=>
{
Api
.
post
(
'/admin/bch/getBchListForUsr'
,{}).
then
(
res
=>
{
this
.
branchlist
=
res
.
data
;
}
)
},
role_init
(){
Api
.
post
(
'/
webapi/
admin/role/getRoleList'
,{}).
then
(
res
=>
{
Api
.
post
(
'/admin/role/getRoleList'
,{}).
then
(
res
=>
{
this
.
rolelist
=
res
.
data
;
}
)
...
...
@@ -685,7 +685,7 @@ export default {
role
:
this
.
user
.
rolecode
,
workorg
:
this
.
user
.
workorg
,
};
await
Api
.
post
(
'/
webapi/
admin/usr/addusr'
,
params
)
await
Api
.
post
(
'/admin/usr/addusr'
,
params
)
.
then
((
res
)
=>
{
if
(
res
.
respCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
({
...
...
@@ -729,7 +729,7 @@ export default {
role
:
this
.
user
.
rolecode
,
workorg
:
this
.
user
.
workorg
,
};
await
Api
.
post
(
'/
webapi/
admin/usr/updateusr'
,
params
).
then
((
res
)
=>
{
await
Api
.
post
(
'/admin/usr/updateusr'
,
params
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
"AAAAAA"
||
res
.
respCode
==
"AAAAAA"
)
{
this
.
$notify
({
title
:
this
.
$t
(
'components.成功'
),
...
...
src/page/iscAdmin/iscOrganization/usersInfo.vue
View file @
5a374397
...
...
@@ -454,7 +454,7 @@ export default {
saveGroup
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/user/group/relation/put"
},
getNation
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/user/nation"
},
saveRole
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/user/role/relation/put"
},
showUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/
webapi/
admin/usr/userdetail/userid/{id}"
},
showUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/admin/usr/userdetail/userid/{id}"
},
getDeptTreeChild
:{
"fileName"
:
"department.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"get"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/department/find/treeNode/{departmentNumber}"
},
saveUserDetail
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/usr/saveUsr"
},
delPost
:{
"fileName"
:
"users.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/users/user/post/relation/{userid}/{postid}"
},
...
...
@@ -617,13 +617,13 @@ this.role_init();
methods
:
{
bch_init
(){
Api
.
post
(
'/
webapi/
admin/bch/getBchListForUsr'
,{}).
then
(
res
=>
{
Api
.
post
(
'/admin/bch/getBchListForUsr'
,{}).
then
(
res
=>
{
this
.
branchlist
=
res
.
data
;
}
)
},
role_init
(){
Api
.
post
(
'/
webapi/
admin/role/getRoleList'
,{}).
then
(
res
=>
{
Api
.
post
(
'/admin/role/getRoleList'
,{}).
then
(
res
=>
{
this
.
rolelist
=
res
.
data
;
}
)
...
...
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