Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2025-01-02 13:38:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ba7fea88188cee5a0576cd89a87205e02723366
0ba7fea8
1 parent
e7f0c497
样式修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
52 deletions
web/src/views/uploadDetail/uploadFile.vue
web/src/views/uploadDetail/uploadFile.vue
View file @
0ba7fea
...
...
@@ -47,7 +47,7 @@
<i slot="reference" class="el-icon-question questionIcon" />
</el-popover> -->
</div>
<div class="tipDom" v-if="item.uploadType == '
OTH
'">
<div class="tipDom" v-if="item.uploadType == '
attachmentBizType_04
'">
Please provide
<span class="tipWeight">certificate of origin,contract</span>,etc.
if have any.<br />
...
...
@@ -55,44 +55,48 @@
<span class="tipWeight">purchase receipts</span> or other support
clearance documents if declaring personal items.
</div>
<!-- <div v-else>Waybill upload</div> -->
</div>
<div
class="uploadFileList"
v-for="(file, idx) in item.files"
:key="idx"
>
<div class="fileName">
<i class="el-icon-document" />{{ file.sourceFileName }}
</div>
<div class="fileOption">
<!-- 文件大小 -->
<span class="fileSize"
>{{ numberRound(Number(file.fileSize / 1024), 2) }}KB</span
>
<!-- 预览 -->
<!-- <el-button
<div class="uploadFiles">
<div
class="uploadFileList"
v-for="(file, idx) in item.files"
:key="idx"
>
<div class="fileName">
<i class="el-icon-document" />{{ file.sourceFileName }}
</div>
<div class="fileOption">
<!-- 文件大小 -->
<span class="fileSize"
>{{ numberRound(Number(file.fileSize / 1024), 2) }}KB</span
>
<!-- 预览 -->
<!-- <el-button
type="text"
:loading="file.viewLoading"
@click="fileView(file)"
>view</el-button
> -->
<!-- 下载 -->
<el-button
type="text"
:loading="file.downLoading"
@click="downloadFile(file)"
>DOWNLOAD</el-button
>
<!-- 删除 -->
<el-popconfirm
title="Do you want to delete this file?"
@confirm="delFile(file)"
>
<el-button slot="reference" type="text" :loading="file.delLoading"
>DELETE</el-button
<!-- 下载 -->
<el-button
type="text"
:loading="file.downLoading"
@click="downloadFile(file)"
>DOWNLOAD</el-button
>
<!-- 删除 -->
<el-popconfirm
title="Do you want to delete this file?"
@confirm="delFile(file)"
>
</el-popconfirm>
<el-button
slot="reference"
type="text"
:loading="file.delLoading"
>DELETE</el-button
>
</el-popconfirm>
</div>
</div>
</div>
</div>
...
...
@@ -363,27 +367,31 @@ export default {
color: $fedexError;
}
}
.uploadFileList {
height: 45px;
display: flex;
justify-content: space-between;
padding: 5px 0px 5px 20px;
line-height: 35px;
.fileName {
i {
display: inline-block;
margin-right: 5px;
}
}
.fileOption {
.fileSize {
font-size: 12px;
font-weight: 400;
color: #999;
margin-right: 20px;
.uploadFiles {
// max-height: 300px;
// overflow-y: scroll;
.uploadFileList {
height: 45px;
display: flex;
justify-content: space-between;
padding: 5px 0px 5px 20px;
line-height: 35px;
.fileName {
i {
display: inline-block;
margin-right: 5px;
}
}
.el-button {
margin-right: 16px;
.fileOption {
.fileSize {
font-size: 12px;
font-weight: 400;
color: #999;
margin-right: 20px;
}
.el-button {
margin-right: 16px;
}
}
}
}
...
...
Please
register
or
login
to post a comment