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
dcc27a62
Commit
dcc27a62
authored
Dec 25, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示文件ID字段
parent
ea52a2ce
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
11 deletions
+46
-11
main.ts
src/main.ts
+15
-2
OrderList.vue
src/views/order/orderList/OrderList.vue
+15
-3
OrderTempList.vue
src/views/order/orderList/OrderTempList.vue
+12
-3
FileList.vue
src/views/var/file/FileList.vue
+4
-3
No files found.
src/main.ts
View file @
dcc27a62
...
...
@@ -7,7 +7,7 @@ import { createApp } from 'vue'
import
App
from
'./App.vue'
import
ElementPlus
from
'element-plus'
import
V
XETable
from
'vxe-table'
import
V
xeTable
,{
VXETable
}
from
'vxe-table'
import
{
setupRouter
}
from
'./router'
import
{
setupStore
}
from
'./stores'
...
...
@@ -22,7 +22,20 @@ function bootstrap() {
setupRouter
(
app
)
app
.
use
(
ElementPlus
,
{
locale
:
zhCn
})
app
.
use
(
VXETable
)
VXETable
.
config
({
table
:
{
columnConfig
:
{
resizable
:
true
},
rowConfig
:
{
isHover
:
true
,
isCurrent
:
true
,
}
}
})
app
.
use
(
VxeTable
)
app
.
mount
(
'#app'
)
}
...
...
src/views/order/orderList/OrderList.vue
View file @
dcc27a62
...
...
@@ -26,12 +26,15 @@
size=
"small"
min-height=
"460"
border
:column-config=
"{
resizable: true
}"
:loading=
"loading"
:data=
"tableData"
>
<vxe-column
type=
"checkbox"
width=
"50"
></vxe-column>
<vxe-column
field=
"customerId_dictText"
title=
"客户名称"
width=
"120"
></vxe-column>
<vxe-column
title=
"原始文件地址"
>
<vxe-column
title=
"原始文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
v-for=
"item in row.filePath.split(';')"
...
...
@@ -42,15 +45,24 @@
>
</
template
>
</vxe-column>
<vxe-column
title=
"标注文件地址"
>
<vxe-column
field=
"orderFileId"
title=
"标注文件ID"
width=
"180"
></vxe-column>
<vxe-column
title=
"标注文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
target=
"_blank"
:href=
"'/preview-excel?fileId=' + row.orderFileId"
>
{{
row
.
mergeFilePath
}}
</el-link>
</
template
>
</vxe-column>
<vxe-column
field=
"templateFileId"
title=
"模版文件ID"
width=
"180"
></vxe-column>
<vxe-column
title=
"模版文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
target=
"_blank"
:href=
"'/comment-excel?fileId=' + row.templateFileId"
>
{{
row
.
templateFileId_dictText
}}
</el-link>
</
template
>
</vxe-column>
<vxe-column
field=
"createTime"
title=
"创建时间"
width=
"180"
></vxe-column>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
fixed=
"right"
>
<
template
#
default=
"{ row }"
>
<el-link
type=
"primary"
...
...
src/views/order/orderList/OrderTempList.vue
View file @
dcc27a62
...
...
@@ -31,7 +31,7 @@
>
<vxe-column
type=
"checkbox"
width=
"50"
></vxe-column>
<vxe-column
field=
"customerId_dictText"
title=
"客户名称"
width=
"120"
></vxe-column>
<vxe-column
title=
"原始文件地址"
>
<vxe-column
title=
"原始文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
v-for=
"item in row.filePath.split(';')"
...
...
@@ -42,15 +42,24 @@
>
</
template
>
</vxe-column>
<vxe-column
title=
"标注文件地址"
>
<vxe-column
title=
"标注文件ID"
field=
"orderFileId"
width=
"180"
/>
<vxe-column
title=
"标注文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
target=
"_blank"
:href=
"'/preview-excel?fileId=' + row.orderFileId"
>
{{
row
.
mergeFilePath
}}
</el-link>
</
template
>
</vxe-column>
<vxe-column
title=
"模版文件ID"
field=
"templateFileId"
width=
"180"
/>
<vxe-column
title=
"模版文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
target=
"_blank"
:href=
"'/comment-excel?fileId=' + row.templateFileId"
>
{{
row
.
mergeFilePath
}}
</el-link>
</
template
>
</vxe-column>
<vxe-column
field=
"createTime"
title=
"创建时间"
width=
"180"
></vxe-column>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
fixed=
"right"
>
<
template
#
default=
"{ row }"
>
<el-link
type=
"primary"
...
...
src/views/var/file/FileList.vue
View file @
dcc27a62
...
...
@@ -27,7 +27,8 @@
>
<vxe-column
type=
"checkbox"
width=
"50"
></vxe-column>
<vxe-column
field=
"customerId_dictText"
title=
"客户名称"
width=
"120"
></vxe-column>
<vxe-column
title=
"原始文件地址"
>
<vxe-column
field=
"varFileId"
title=
"变量文件ID"
width=
"180"
></vxe-column>
<vxe-column
title=
"原始文件地址"
min-width=
"300"
>
<template
#
default=
"
{ row }">
<el-link
v-for=
"item in row.filePath.split(';')"
...
...
@@ -38,7 +39,7 @@
>
</
template
>
</vxe-column>
<vxe-column
title=
"标注文件地址"
>
<vxe-column
title=
"标注文件地址"
min-width=
"300"
>
<
template
#
default=
"{ row }"
>
<el-link
target=
"_blank"
:href=
"'/preview-excel?fileId=' + row.varFileId + '&type=var'"
>
{{
row
.
mergeFilePath
...
...
@@ -46,7 +47,7 @@
</
template
>
</vxe-column>
<vxe-column
field=
"createTime"
title=
"创建时间"
width=
"180"
></vxe-column>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
>
<vxe-column
field=
"action"
title=
"操作"
width=
"80"
fixed=
"right"
>
<
template
#
default=
"{ row }"
>
<el-link
type=
"primary"
...
...
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