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
17e36310
Commit
17e36310
authored
Dec 11, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善优惠列表
parent
a555f571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
index.vue
src/views/ecw/coupon/index.vue
+14
-5
No files found.
src/views/ecw/coupon/index.vue
View file @
17e36310
...
@@ -17,7 +17,12 @@
...
@@ -17,7 +17,12 @@
<dict-selector
:type=
'DICT_TYPE.ECW_COUPON_TYPE'
v-model=
"queryParams.type"
/>
<dict-selector
:type=
'DICT_TYPE.ECW_COUPON_TYPE'
v-model=
"queryParams.type"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<dict-selector
:type=
"DICT_TYPE.ECW_COUPON_STATUS"
v-model=
"queryParams.status"
/>
<!--
<dict-selector
:type=
"DICT_TYPE.ECW_COUPON_STATUS"
v-model=
"queryParams.status"
/>
-->
<el-select
v-model=
"queryParams.status"
placeholder=
"请选择"
clearable
size=
"small"
>
<el-option
label=
"草稿"
value=
"0"
/>
<el-option
label=
"已发布"
value=
"1"
/>
<el-option
label=
"已过期"
value=
"2"
/>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"关键字"
prop=
"conditionCurrencyId"
>
<el-form-item
label=
"关键字"
prop=
"conditionCurrencyId"
>
<el-input
v-model=
"queryParams.searchKey"
placeholder=
"请输入关键字"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.searchKey"
placeholder=
"请输入关键字"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
@@ -136,11 +141,11 @@
...
@@ -136,11 +141,11 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"标题"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
label=
"标题"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
label=
"描述"
align=
"center"
prop=
"type"
>
<
!-- <
el-table-column label="描述" align="center" prop="type">
<template slot-scope="{row}">
<template slot-scope="{row}">
{{$l(row, 'content')}}
{{$l(row, 'content')}}
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"发布人/发布时间"
align=
"center"
prop=
"startTime"
width=
"180"
>
<el-table-column
label=
"发布人/发布时间"
align=
"center"
prop=
"startTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
creatorName
}}
</div>
<div>
{{
scope
.
row
.
creatorName
}}
</div>
...
@@ -163,12 +168,12 @@
...
@@ -163,12 +168,12 @@
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
--
>
<
el
-
table
-
column
label
=
"
状态
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
180
"
>
<
el
-
table
-
column
label
=
"
状态
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
180
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_IS_DRAFT
"
:
value
=
"
row.status
"
/>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_IS_DRAFT
"
:
value
=
"
row.status
"
/>
<
/template
>
<
/template
>
<
/el-table-column>
--
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
@
click
=
"
handleDetail(scope.row, true)
"
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
@
click
=
"
handleDetail(scope.row, true)
"
...
@@ -261,6 +266,10 @@ export default {
...
@@ -261,6 +266,10 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
let
params
=
{...
this
.
queryParams
}
;
let
params
=
{...
this
.
queryParams
}
;
if
(
params
.
status
==
2
){
params
.
overdueStatus
=
0
params
.
status
=
null
}
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeStartTime
,
'
startTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeStartTime
,
'
startTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeEndTime
,
'
endTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeEndTime
,
'
endTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
...
...
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