Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
637d8d74
Commit
637d8d74
authored
Oct 27, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
f1f8a184
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
BatchImportCom.vue
...rc/views/project/projectList/component/BatchImportCom.vue
+4
-1
BidOpeningRecord.vue
.../views/project/projectList/component/BidOpeningRecord.vue
+1
-1
No files found.
dsk-operate-ui/src/views/project/projectList/component/BatchImportCom.vue
View file @
637d8d74
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- 导入弹窗 -->
<!-- 导入弹窗 -->
<el-dialog
:title=
"upload.title"
:visible
.
sync=
"upload.open"
width=
"400px"
>
<el-dialog
:title=
"upload.title"
:visible
.
sync=
"upload.open"
width=
"400px"
>
<el-upload
ref=
"upload"
:limit=
"1"
accept=
".xlsx, .xls"
:headers=
"upload.headers"
:action=
"upload.url"
:disabled=
"upload.isUploading"
<el-upload
ref=
"upload"
:limit=
"1"
accept=
".xlsx, .xls"
:headers=
"upload.headers"
:action=
"upload.url"
:disabled=
"upload.isUploading"
:on-progress=
"handleFileUploadProgress"
:on-success=
"handleFileSuccess"
:auto-upload=
"false"
drag
>
:on-progress=
"handleFileUploadProgress"
:on-success=
"handleFileSuccess"
on-error=
"handleFileError"
:auto-upload=
"false"
drag
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__tip text-center"
slot=
"tip"
>
<div
class=
"el-upload__tip text-center"
slot=
"tip"
>
...
@@ -106,6 +106,9 @@ export default {
...
@@ -106,6 +106,9 @@ export default {
this
.
$message
.
error
(
`上传失败,
${
response
.
msg
?
response
.
msg
:
"请根据模板正确填写表格内容!"
}
`
);
this
.
$message
.
error
(
`上传失败,
${
response
.
msg
?
response
.
msg
:
"请根据模板正确填写表格内容!"
}
`
);
}
}
},
},
handleFileError
(
err
,
file
,
fileList
)
{
this
.
$message
.
error
(
`上传失败,
${
response
.
msg
?
response
.
msg
:
"请根据模板正确填写表格内容!"
}
`
);
},
// 提交上传文件
// 提交上传文件
submitFileForm
()
{
submitFileForm
()
{
this
.
$refs
.
upload
.
submit
();
this
.
$refs
.
upload
.
submit
();
...
...
dsk-operate-ui/src/views/project/projectList/component/BidOpeningRecord.vue
View file @
637d8d74
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
// 设置上传的请求头部
// 设置上传的请求头部
headers
:
{
Authorization
:
"Bearer "
+
getToken
()
},
headers
:
{
Authorization
:
"Bearer "
+
getToken
()
},
// 上传的地址
// 上传的地址
url
:
process
.
env
.
VUE_APP_BASE_API
+
`
/business/open/tender/importData/
${
this
.
detailId
?
this
.
detailId
:
parseInt
(
this
.
$route
.
query
.
id
)}
`
,
url
:
process
.
env
.
VUE_APP_BASE_API
+
`
${
process
.
env
.
NODE_ENV
==
"production"
?
"business/open/tender/importData/"
:
"/business/open/tender/importData/"
}
${
this
.
detailId
?
this
.
detailId
:
parseInt
(
this
.
$route
.
query
.
id
)}
`
,
// 展示上传结果
// 展示上传结果
showResult
:
false
,
showResult
:
false
,
// 模板下载地址
// 模板下载地址
...
...
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