Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
e78007fc
Commit
e78007fc
authored
Sep 11, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整应用详情页面
parent
a7d4b6e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
app-detail.vue
src/views/app-controls/app-detail.vue
+8
-8
No files found.
src/views/app-controls/app-detail.vue
View file @
e78007fc
...
...
@@ -21,13 +21,13 @@
<el-form-item
label=
"可见范围"
>
<h4
class=
"sub-title"
>
管理成员
</h4>
<div
class=
"admin-list"
>
<el-tag
type=
"info"
v-for=
"el in adminRange"
:key=
"el.roleId"
>
{{
el
.
roleName
}}
</el-tag>
<span
class=
"no-admin"
>
暂无成员
</span>
<el-tag
type=
"info"
v-for=
"el in a
ppData.a
dminRange"
:key=
"el.roleId"
>
{{
el
.
roleName
}}
</el-tag>
<span
v-if=
"appData.adminRange.length == 0"
class=
"no-admin"
>
暂无成员
</span>
</div>
<h4
class=
"sub-title"
>
门店成员
</h4>
<div
class=
"admin-list"
>
<el-tag
type=
"info"
v-for=
"el in storeAdminRange"
:key=
"el.roleId"
>
{{
el
.
roleName
}}
</el-tag>
<span
class=
"no-admin"
>
暂无成员
</span>
<el-tag
type=
"info"
v-for=
"el in
appData.
storeAdminRange"
:key=
"el.roleId"
>
{{
el
.
roleName
}}
</el-tag>
<span
v-if=
"appData.storeAdminRange.length == 0"
class=
"no-admin"
>
暂无成员
</span>
</div>
</el-form-item>
</el-form>
...
...
@@ -65,11 +65,11 @@ export default {
getAppDetail
({
applicationId
}).
then
(
res
=>
{
const
{
applicationName
,
applicationDesc
,
applicationVersion
,
overTime
,
adminRange
,
storeAdminRange
,
applicationLogo
}
=
res
.
result
||
{};
Object
.
assign
(
this
.
appData
,
{
applicationName
,
applicationDesc
,
applicationVersion
,
overTime
,
applicationLogo
});
if
(
Array
.
isArray
(
adminRange
)
)
{
this
.
appData
.
adminRange
=
adminRange
;
if
(
typeof
adminRange
==
'string'
&&
adminRange
.
length
>
0
)
{
this
.
appData
.
adminRange
=
JSON
.
parse
(
adminRange
)
;
}
if
(
Array
.
isArray
(
storeAdminRange
)
)
{
this
.
appData
.
storeAdminRange
=
storeAdminRange
;
if
(
typeof
storeAdminRange
==
'string'
&&
storeAdminRange
.
length
>
0
)
{
this
.
appData
.
storeAdminRange
=
JSON
.
parse
(
storeAdminRange
)
;
}
});
}
...
...
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