Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
b5a1bfbe
Commit
b5a1bfbe
authored
Jul 06, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠申请详情
parent
e1b31a28
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
4 deletions
+32
-4
index.js
src/router/index.js
+8
-1
special.vue
src/views/ecw/offer/special.vue
+5
-3
specialDiscount.vue
src/views/ecw/offer/specialDiscount.vue
+19
-0
No files found.
src/router/index.js
View file @
b5a1bfbe
...
...
@@ -273,7 +273,14 @@ export const constantRoutes = [
props
:
true
,
name
:
'
offer
'
,
meta
:
{
title
:
'
特价申请
'
,
icon
:
''
,
activeMenu
:
'
/offer/special
'
}
}
},
{
path
:
'
discount/:id(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/offer/specialDiscount
'
),
props
:
true
,
name
:
'
offer
'
,
meta
:
{
title
:
'
优惠申请
'
,
icon
:
''
,
activeMenu
:
'
/offer/discount
'
}
},
]
}
]
...
...
src/views/ecw/offer/special.vue
View file @
b5a1bfbe
...
...
@@ -48,9 +48,11 @@
<el-table-column
prop=
"address"
label=
"操作"
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
>
优惠申请
</el-button>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
@
click=
"$router.push('/offer/discount/' + row.lineId)"
>
优惠申请
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
>
佣金规则
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
>
管理折扣
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/ecw/offer/specialDiscount.vue
0 → 100644
View file @
b5a1bfbe
<
template
>
<div>
<h3>
优惠申请
</h3>
{{
id
}}
</div>
</
template
>
<
script
>
export
default
{
name
:
"
specialDiscount
"
,
props
:
{
id
:
String
}
}
</
script
>
<
style
scoped
>
</
style
>
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