Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
09a6c779
Commit
09a6c779
authored
Jan 08, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海报
parent
70679bb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
45 deletions
+22
-45
index.vue
src/components/yunji/index.vue
+22
-45
No files found.
src/components/yunji/index.vue
View file @
09a6c779
...
@@ -2,10 +2,16 @@
...
@@ -2,10 +2,16 @@
<div
class=
"sms"
>
<div
class=
"sms"
>
<el-form
ref=
"searchFrom"
inline
:model=
"searchFrom"
label-width=
"100px"
>
<el-form
ref=
"searchFrom"
inline
:model=
"searchFrom"
label-width=
"100px"
>
<el-form-item
label=
"交易订单号"
>
<el-form-item
label=
"交易订单号"
>
<el-input
v-model=
"searchFrom.order_id"
@
change=
"getList"
></el-input>
<el-input
v-model=
"searchFrom.order_id"
></el-input>
</el-form-item>
<el-form-item
label=
"购买人"
>
<el-input
v-model=
"searchFrom.nickname"
></el-input>
</el-form-item>
<el-form-item
label=
"购买人ID"
>
<el-input
v-model=
"searchFrom.user_id"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号"
>
<el-form-item
label=
"手机号"
>
<el-input
v-model=
"searchFrom.mobile"
@
change=
"getList"
></el-input>
<el-input
v-model=
"searchFrom.mobile"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"绑定状态"
>
<el-form-item
label=
"绑定状态"
>
<el-select
v-model=
"searchFrom.user_buy"
placeholder=
"请选择"
@
change=
"getList"
clearable
>
<el-select
v-model=
"searchFrom.user_buy"
placeholder=
"请选择"
@
change=
"getList"
clearable
>
...
@@ -25,30 +31,6 @@
...
@@ -25,30 +31,6 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"创建时间"
>
<el-date-picker
v-model=
"searchFrom.payTime"
unlink-panels
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"getList"
>
</el-date-picker>
</el-form-item>
-->
<!--
<el-form-item
label=
"同步时间"
>
<el-date-picker
v-model=
"searchFrom.syncTime"
unlink-panels
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"getList"
>
</el-date-picker>
</el-form-item>
-->
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable(list)"
>
导出
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable(list)"
>
导出
</el-button>
...
@@ -148,8 +130,8 @@ export default {
...
@@ -148,8 +130,8 @@ export default {
mobile
:
""
,
mobile
:
""
,
order_id
:
""
,
order_id
:
""
,
teacher_id
:
""
,
teacher_id
:
""
,
payTime
:
[]
,
user_id
:
""
,
syncTime
:
[]
nickname
:
""
,
},
},
list
:
[],
list
:
[],
teacherList
:
[],
teacherList
:
[],
...
@@ -217,6 +199,12 @@ export default {
...
@@ -217,6 +199,12 @@ export default {
};
};
if
(
this
.
searchFrom
.
mobile
)
{
if
(
this
.
searchFrom
.
mobile
)
{
json
.
mobile
=
this
.
searchFrom
.
mobile
;
json
.
mobile
=
this
.
searchFrom
.
mobile
;
}
if
(
this
.
searchFrom
.
nickname
)
{
json
.
nickname
=
this
.
searchFrom
.
nickname
;
}
if
(
this
.
searchFrom
.
user_id
)
{
json
.
user_id
=
this
.
searchFrom
.
user_id
;
}
}
if
(
this
.
searchFrom
.
teacher_id
)
{
if
(
this
.
searchFrom
.
teacher_id
)
{
json
.
teacher_id
=
this
.
searchFrom
.
teacher_id
;
json
.
teacher_id
=
this
.
searchFrom
.
teacher_id
;
...
@@ -233,14 +221,6 @@ export default {
...
@@ -233,14 +221,6 @@ export default {
if
(
this
.
searchFrom
.
goods_id
)
{
if
(
this
.
searchFrom
.
goods_id
)
{
json
.
goods_id
=
this
.
searchFrom
.
goods_id
;
json
.
goods_id
=
this
.
searchFrom
.
goods_id
;
}
}
if
(
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
)
{
json
.
start_at
=
this
.
searchFrom
.
payTime
[
0
];
json
.
end_at
=
this
.
searchFrom
.
payTime
[
1
];
}
if
(
this
.
searchFrom
.
syncTime
&&
this
.
searchFrom
.
syncTime
.
length
>
0
)
{
json
.
pull_start_at
=
this
.
searchFrom
.
syncTime
[
0
];
json
.
pull_end_at
=
this
.
searchFrom
.
syncTime
[
1
];
}
getyunjiApi
(
json
).
then
(
res
=>
{
getyunjiApi
(
json
).
then
(
res
=>
{
this
.
total
=
res
.
total
;
this
.
total
=
res
.
total
;
this
.
list
=
res
.
list
?
res
.
list
:
[];
this
.
list
=
res
.
list
?
res
.
list
:
[];
...
@@ -288,6 +268,12 @@ export default {
...
@@ -288,6 +268,12 @@ export default {
}
}
if
(
this
.
searchFrom
.
mobile
)
{
if
(
this
.
searchFrom
.
mobile
)
{
json
.
mobile
=
this
.
searchFrom
.
mobile
;
json
.
mobile
=
this
.
searchFrom
.
mobile
;
}
if
(
this
.
searchFrom
.
nickname
)
{
json
.
nickname
=
this
.
searchFrom
.
nickname
;
}
if
(
this
.
searchFrom
.
user_id
)
{
json
.
user_id
=
this
.
searchFrom
.
user_id
;
}
}
if
(
this
.
searchFrom
.
goods_id
)
{
if
(
this
.
searchFrom
.
goods_id
)
{
json
.
goods_id
=
this
.
searchFrom
.
goods_id
;
json
.
goods_id
=
this
.
searchFrom
.
goods_id
;
...
@@ -295,15 +281,6 @@ export default {
...
@@ -295,15 +281,6 @@ export default {
if
(
this
.
searchFrom
.
teacher_id
)
{
if
(
this
.
searchFrom
.
teacher_id
)
{
json
.
teacher_id
=
this
.
searchFrom
.
teacher_id
;
json
.
teacher_id
=
this
.
searchFrom
.
teacher_id
;
}
}
if
(
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
)
{
json
.
start_at
=
this
.
searchFrom
.
payTime
[
0
];
json
.
end_at
=
this
.
searchFrom
.
payTime
[
1
];
}
if
(
this
.
searchFrom
.
syncTime
&&
this
.
searchFrom
.
syncTime
.
length
>
0
)
{
json
.
pull_start_at
=
this
.
searchFrom
.
syncTime
[
0
];
json
.
pull_end_at
=
this
.
searchFrom
.
syncTime
[
1
];
}
exportExcelApi
(
`api/admin/yunji/order/export`
,
json
);
exportExcelApi
(
`api/admin/yunji/order/export`
,
json
);
}
}
},
},
...
...
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