Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4e271e8e
authored
Sep 28, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
318628af
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
src/views/Goods/brand.vue
src/views/Goods/goods.vue
src/views/OrderTrack/goods.vue
src/views/Store/list.vue
src/views/Goods/brand.vue
View file @
4e271e8e
...
...
@@ -196,8 +196,11 @@ export default {
},
downOut
()
{
if
(
this
.
disabled
)
{
this
.
$message
(
"正在导出中,请不要重复点击"
);
return
this
.
$message
({
message
:
'正在导出中,请不要重复点击'
,
type
:
'success'
});
return
false
;
}
this
.
$http
(
'post'
,
"/api/brand/export_brand"
,
{
brand_id
:
this
.
formParam
.
brand_id
,
...
...
@@ -206,7 +209,10 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
disabled
=
true
this
.
$message
(
"正在导出中,请耐心等待"
)
this
.
$message
({
message
:
'正在导出中,请耐心等待'
,
type
:
'success'
});
this
.
timer
=
setInterval
(()
=>
{
if
(
!
this
.
disabled
)
{
clearInterval
(
this
.
timer
)
...
...
src/views/Goods/goods.vue
View file @
4e271e8e
...
...
@@ -276,7 +276,7 @@ export default {
this
.
timer
=
setInterval
(()
=>
{
if
(
!
this
.
disabled
)
{
clearInterval
(
this
.
timer
)
return
return
false
;
}
this
.
resultDown
(
res
.
data
)
},
3000
)
...
...
src/views/OrderTrack/goods.vue
View file @
4e271e8e
...
...
@@ -40,8 +40,8 @@
<el-form-item
label=
"订单来源"
prop=
"source_type"
>
<el-select
v-model=
"formInline.source_type"
placeholder=
"请选择"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"云芯采购"
value=
"
1
"
></el-option>
<el-option
label=
"正常采购"
value=
"
2
"
></el-option>
<el-option
label=
"云芯采购"
value=
"
2
"
></el-option>
<el-option
label=
"正常采购"
value=
"
1
"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
src/views/Store/list.vue
View file @
4e271e8e
...
...
@@ -318,7 +318,10 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
disabled
=
true
this
.
$message
(
"正在导出中,请耐心等待"
)
this
.
$message
({
message
:
'正在导出中,请耐心等待'
,
type
:
'success'
});
this
.
timer
=
setInterval
(()
=>
{
if
(
!
this
.
disabled
)
{
clearInterval
(
this
.
timer
)
...
...
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