Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c2d2d0a8
authored
Apr 11, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 优化数据重跑功能,成功后,展示日志
1 parent
dde112ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
src/views/DataRerun/DataRerun.vue
src/views/DataRerun/DataRerun.vue
View file @
c2d2d0a
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<!--新的日志-->
<!--新的日志-->
<div
v-if=
"queryForm.dataType === 1"
class=
"card-container"
>
<div
v-if=
"queryForm.dataType === 1"
class=
"card-container"
>
<a-card
title=
"全店重跑日志"
style=
"width: 600px"
>
<a-card
title=
"全店重跑日志"
style=
"width: 600px"
>
<el-row
v-for=
"item in msgLogList"
style=
"padding: 2px 0;"
>
<el-row
v-for=
"item in msgLogList"
:key=
"item.name"
style=
"padding: 2px 0;"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
{{ item.name + ':' }}
{{ item.name + ':' }}
</el-col>
</el-col>
...
@@ -340,12 +340,14 @@ export default {
...
@@ -340,12 +340,14 @@ export default {
dataRerunApi
.
getResult2
(
params
).
then
(
dataRerunApi
.
getResult2
(
params
).
then
(
(
r
)
=>
{
(
r
)
=>
{
console
.
log
(
'getResult2'
,
r
)
console
.
log
(
'getResult2'
,
r
)
// msgLogList.value.push(getLogMsgList(r.data.id), '完成')
if
(
r
.
data
&&
r
.
data
[
0
])
{
msgLogList
.
value
.
push
(
getLogMsgList
(
r
.
data
[
0
].
mallId
),
'完成!'
)
}
}
}
)
)
}
}
}
}
const
getLogMsgList
=
function
(
id
,
text
=
'开始'
)
{
const
getLogMsgList
=
function
(
id
,
text
=
'开始
...
'
)
{
const
targetMall
=
plazaList
.
value
.
find
(
item
=>
item
.
value
===
id
)
const
targetMall
=
plazaList
.
value
.
find
(
item
=>
item
.
value
===
id
)
if
(
targetMall
)
{
if
(
targetMall
)
{
return
{
return
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment