Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
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
达摩4.0重构
welfare
Commits
9fca119e
Commit
9fca119e
authored
Feb 19, 2021
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 一些调整
parent
75a3edde
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
index.html
public/index.html
+1
-1
permission.js
src/utils/permission.js
+6
-0
card-list.vue
src/views/gic-card/card-list.vue
+1
-0
No files found.
public/index.html
View file @
9fca119e
...
...
@@ -10,7 +10,7 @@
<link
href=
"//at.alicdn.com/t/font_1434755_89ndzcq2ndm.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//at.alicdn.com/t/font_1418963_hrpaaxicjis.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//at.alicdn.com/t/font_1393418_z4h4445tiwe.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//at.alicdn.com/t/font_2349215_
cksfgpcw6t.css"
/
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//at.alicdn.com/t/font_2349215_
oprmr2ef7em.css"
/>
<!-- 福利中心icon --
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css"
/>
<script
src=
"//at.alicdn.com/t/font_1418963_hrpaaxicjis.js"
></script>
<!-- <title>达摩网络GIC——连锁零售商业互联网+,终极解决方案</title> -->
...
...
src/utils/permission.js
View file @
9fca119e
...
...
@@ -56,10 +56,16 @@ async function getAppMenu(menuCode) {
}
});
const
getUserMenu
=
request
({
url
:
urlList
.
menu
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
if
(
process
.
env
[
'NODE_ENV'
]
!==
'development'
&&
!
(
res
.
result
||
[]).
length
)
{
// eslint-disable-line
window
.
location
.
href
=
`
${
origin
}
/damo-system/no-access`
;
}
accessPath
=
getProjectMenu
(
res
.
result
||
[]);
store
.
commit
(
'updateRoutePath'
,
res
.
result
?
res
.
result
[
0
].
children
:
[]);
// warning: 与默认文件不同处 store中放入route信息
});
const
getUserOperation
=
request
({
url
:
urlList
.
opera
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
if
(
process
.
env
[
'NODE_ENV'
]
!==
'development'
&&
!
(
res
.
result
||
[]).
length
)
{
// eslint-disable-line
window
.
location
.
href
=
`
${
origin
}
/damo-system/no-access`
;
}
itemPermission
=
getItemPerm
(
res
.
result
||
[]);
});
return
Promise
.
all
([
getUserMenu
,
getUserOperation
]);
...
...
src/views/gic-card/card-list.vue
View file @
9fca119e
<
template
>
<div
class=
"p20"
v-loading=
"loading"
>
<div
class=
"clearfix flex-center pb20"
>
<i
class=
"icon-shiwulipin iconfont-welfare4"
></i>
<span
class=
"gray01 fz16 mr20"
>
卡券筛选
</span>
<el-select
class=
"dm-select mr10 w160"
clearable
v-model=
"listParams.cardType"
placeholder=
"所有卡券类型"
@
change=
"refresh"
>
<el-option
v-for=
"(v, i) in cardType"
:key=
"i"
:label=
"v.label"
:value=
"v.value"
></el-option>
...
...
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