Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
Yulun Yao
multiSystem
Commits
509acee3
Commit
509acee3
authored
Apr 30, 2021
by
levante
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://git.omniview.pro:256/fangdi/housemanage/web/majorproject
into dev
parents
5d4ed5b2
e3038451
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
api.js
src/server/api.js
+2
-2
edit.vue
src/views/personal/InternalStaff/edit.vue
+4
-3
No files found.
src/server/api.js
View file @
509acee3
...
@@ -63,8 +63,8 @@ case 'huangpu-prod':
...
@@ -63,8 +63,8 @@ case 'huangpu-prod':
default
:
// 默认环境下(开发环境)
default
:
// 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
//
BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2'
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api/v2'
//
BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://211.136.105.193/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
MOCK_URL
=
'https://yapi.omniview.pro/mock/283'
MOCK_URL
=
'https://yapi.omniview.pro/mock/283'
...
...
src/views/personal/InternalStaff/edit.vue
View file @
509acee3
...
@@ -57,9 +57,9 @@
...
@@ -57,9 +57,9 @@
<a-row
class=
"formItemLine"
>
<a-row
class=
"formItemLine"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-form-item
label=
"角色名称"
v-bind=
"colSpe"
>
<a-form-item
label=
"角色名称"
v-bind=
"colSpe"
>
<a-select
placeholder=
"请选择"
@
change=
"roleChange"
allowClear
mode=
"multiple"
labelInValue
v-decorator=
"['notes']
<a-select
placeholder=
"请选择"
@
change=
"roleChange"
allowClear
mode=
"multiple"
show-search
labelInValue
v-decorator=
"['notes']
"
>
"
>
<a-select-option
v-for=
"(item,index) in roleList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
roleName
}}
</a-select-option>
<a-select-option
v-for=
"(item,index) in roleList"
:key=
"index"
:value=
"item.
roleName+'#'+item.
id"
>
{{
item
.
roleName
}}
</a-select-option>
</a-select>
</a-select>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
...
@@ -124,6 +124,7 @@ export default {
...
@@ -124,6 +124,7 @@ export default {
this
.
getTree
()
this
.
getTree
()
this
.
getRoleLists
()
this
.
getRoleLists
()
console
.
log
(
123
)
},
},
methods
:
{
methods
:
{
// 查询权限树
// 查询权限树
...
@@ -234,7 +235,7 @@ export default {
...
@@ -234,7 +235,7 @@ export default {
params
:
sparams
params
:
sparams
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
roleList
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
// 得到当前账号可支配全部角色 供多选框选择
this
.
roleList
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
// 得到当前账号可支配全部角色 供多选框选择
console
.
log
(
this
.
roleList
)
//如果路由有id则为修改数据-- 去获取对应数据渲染
//如果路由有id则为修改数据-- 去获取对应数据渲染
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
getDetail
()
this
.
getDetail
()
...
...
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