Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1f6d99f8
authored
2023-11-01 08:42:42 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:信息备案
1 parent
8c5084d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
src/api/company.js
src/views/xxba/components/clxx/dialog/imagePreview.vue
src/api/company.js
View file @
1f6d99f
/*
* @Description: 企业银行接口
* @Autor: renchao
* @LastEditTime: 2023-1
0-31 10:45:35
* @LastEditTime: 2023-1
1-01 08:41:46
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
@@ -69,9 +69,9 @@ export function uploadBatch (data) {
* @param {*} data
* @author: renchao
*/
export
function
uploadSjClmx
(
data
)
{
export
function
uploadSjClmx
(
data
,
bsmMaterial
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sys/company/uploadSjClmx
'
,
url
:
SERVER
.
SERVERAPI
+
'/rest/sys/company/uploadSjClmx
/'
+
bsmMaterial
,
method
:
'post'
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
...
...
@@ -81,7 +81,6 @@ export function uploadSjClmx (data) {
}
/**
* @description: 删除上传材料目录
* @param {*} bsmFile
...
...
src/views/xxba/components/clxx/dialog/imagePreview.vue
View file @
1f6d99f
...
...
@@ -199,7 +199,7 @@
formData
.
append
(
"bsmMaterial "
,
this
.
previewImg
.
bsmMaterial
);
formData
.
append
(
"bsmSlsq"
,
this
.
previewImg
.
bsmSlsq
);
if
(
this
.
previewImg
.
imgList
.
length
>
0
)
{
formData
.
append
(
"
ssBsmMaterial"
,
this
.
previewImg
.
imgList
[
this
.
previewImg
.
index
].
bsmMaterial
);
formData
.
append
(
"
index"
,
this
.
previewImg
.
imgList
[
this
.
previewImg
.
index
].
sxh
);
}
uploadSjClmx
(
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
Please
register
or
sign in
to post a comment