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
56b7f9e6
Commit
56b7f9e6
authored
Jul 06, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠申请 query
parent
b5a1bfbe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
index.js
src/router/index.js
+1
-1
special.vue
src/views/ecw/offer/special.vue
+3
-3
specialDiscount.vue
src/views/ecw/offer/specialDiscount.vue
+10
-1
No files found.
src/router/index.js
View file @
56b7f9e6
...
...
@@ -275,7 +275,7 @@ export const constantRoutes = [
meta
:
{
title
:
'
特价申请
'
,
icon
:
''
,
activeMenu
:
'
/offer/special
'
}
},
{
path
:
'
discount
/:id(
\\
d+)
'
,
path
:
'
discount
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/offer/specialDiscount
'
),
props
:
true
,
name
:
'
offer
'
,
...
...
src/views/ecw/offer/special.vue
View file @
56b7f9e6
...
...
@@ -49,9 +49,9 @@
prop=
"address"
label=
"操作"
>
<
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
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
@
click=
"$router.push('/offer/discount
?id=
' + 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>
...
...
src/views/ecw/offer/specialDiscount.vue
View file @
56b7f9e6
...
...
@@ -9,7 +9,16 @@
export
default
{
name
:
"
specialDiscount
"
,
props
:
{
id
:
String
},
created
()
{
if
(
this
.
$route
.
query
.
id
){
this
.
id
=
this
.
$route
.
query
.
id
}
},
data
()
{
return
{
id
:
''
}
}
}
</
script
>
...
...
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