Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-excel
Project
Project
Details
Activity
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
何远江
topsun-baoshen-excel
Commits
bb5bc95e
Commit
bb5bc95e
authored
Oct 18, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 修改
parent
2043a7f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Variables.vue
src/views/var/variables/Variables.vue
+4
-3
No files found.
src/views/var/variables/Variables.vue
View file @
bb5bc95e
...
@@ -49,7 +49,9 @@
...
@@ -49,7 +49,9 @@
<vxe-column
field=
"productName"
title=
"产品名称"
width=
"240"
></vxe-column>
<vxe-column
field=
"productName"
title=
"产品名称"
width=
"240"
></vxe-column>
<vxe-column
title=
"解析"
width=
"100"
>
<vxe-column
title=
"解析"
width=
"100"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-button
v-if=
"!!row.varOrderFileId"
type=
"text"
size=
"small"
@
click=
"toRun(row)"
>
执行解析
</el-button>
<el-button
v-if=
"!!row.varOrderFileId"
type=
"text"
size=
"small"
@
click=
"toRun(row)"
>
执行解析
</el-button
>
</
template
>
</
template
>
</vxe-column>
</vxe-column>
<vxe-column
title=
"操作"
width=
"240"
>
<vxe-column
title=
"操作"
width=
"240"
>
...
@@ -210,7 +212,7 @@ const toRun = async (row) => {
...
@@ -210,7 +212,7 @@ const toRun = async (row) => {
})
})
try
{
try
{
const
{
data
}
=
await
apiOrderVarRun
(
row
.
orderItemId
)
const
{
data
}
=
await
apiOrderVarRun
(
row
.
orderItemId
)
loading
.
close
()
if
(
data
?.
code
==
'200'
)
{
if
(
data
?.
code
==
'200'
)
{
ElMessage
.
success
(
data
.
message
||
'解析成功!'
)
ElMessage
.
success
(
data
.
message
||
'解析成功!'
)
importVisible
.
value
=
false
importVisible
.
value
=
false
...
@@ -219,7 +221,6 @@ const toRun = async (row) => {
...
@@ -219,7 +221,6 @@ const toRun = async (row) => {
handleShowVarRun
(
row
)
handleShowVarRun
(
row
)
})
})
}
else
{
}
else
{
loading
.
close
()
ElMessage
.
error
(
data
.
message
||
'解析失败!'
)
ElMessage
.
error
(
data
.
message
||
'解析失败!'
)
}
}
}
catch
{
}
catch
{
...
...
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