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
121de404
Commit
121de404
authored
Oct 27, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开标记录上传弹窗传值更改
parent
f1349d0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
BatchImportCom.vue
...rc/views/project/projectList/component/BatchImportCom.vue
+5
-1
BidOpeningRecord.vue
.../views/project/projectList/component/BidOpeningRecord.vue
+3
-2
No files found.
dsk-operate-ui/src/views/project/projectList/component/BatchImportCom.vue
View file @
121de404
...
...
@@ -13,7 +13,7 @@
</el-upload>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitFileForm"
>
确 定
</el-button>
<el-button
@
click=
"
upload.open = false
"
>
取 消
</el-button>
<el-button
@
click=
"
cancelimport
"
>
取 消
</el-button>
</div>
</el-dialog>
<!--导入结果-->
...
...
@@ -101,6 +101,7 @@ export default {
this
.
uploadResult
.
errorCount
=
response
.
data
.
errorCount
;
(
response
.
data
?.
errorMsg
&&
response
.
data
?.
errorMsg
?.
length
)
?
((
this
.
uploadResult
.
errorMsg
=
response
.
data
.
errorMsg
)
&&
(
this
.
upload
.
showResult
=
true
))
:
null
;
}
this
.
$emit
(
"success-upload"
);
}
else
{
this
.
$message
.
error
(
`上传失败,
${
response
.
msg
?
response
.
msg
:
"请根据模板正确填写表格内容!"
}
`
);
}
...
...
@@ -122,6 +123,9 @@ export default {
this
.
upload
.
showResult
=
false
;
this
.
uploadResult
=
this
.
$options
.
data
.
call
(
this
).
uploadResult
;
},
cancelimport
()
{
this
.
$emit
(
"cancel-import"
);
}
},
}
</
script
>
...
...
dsk-operate-ui/src/views/project/projectList/component/BidOpeningRecord.vue
View file @
121de404
...
...
@@ -55,7 +55,7 @@
:formRules=
"formRules"
:formData=
"formData"
></add-bid-opening-record>
<!-- 导入弹窗 -->
<batch-import-com
:uploadOptions=
"uploadOptions"
></batch-import-com>
<batch-import-com
:uploadOptions=
"uploadOptions"
@
success-upload=
"successUpload"
@
cancel-import=
"cancelimport"
></batch-import-com>
</div>
</template>
<
script
>
...
...
@@ -338,7 +338,8 @@ export default {
cancelimport
()
{
this
.
uploadOptions
.
open
=
false
;
},
getdatas
()
{
// 导入成功
successUpload
()
{
this
.
getTableList
();
}
},
...
...
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