Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
ops_2024_vue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
ops_2024_vue
Commits
01b5491c
Commit
01b5491c
authored
Apr 18, 2024
by
limengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(lmy): 批量上传修改
parent
46972609
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
src/utils/http/axios/Axios.ts
src/utils/http/axios/Axios.ts
+7
-7
src/views/regionalSpotManage/components/list.vue
src/views/regionalSpotManage/components/list.vue
+2
-1
No files found.
src/utils/http/axios/Axios.ts
View file @
01b5491c
...
...
@@ -132,13 +132,13 @@ export class VAxios {
if
(
params
.
data
)
{
Object
.
keys
(
params
.
data
).
forEach
((
key
)
=>
{
const
value
=
params
.
data
!
[
key
];
if
(
Array
.
isArray
(
value
))
{
value
.
forEach
((
item
)
=>
{
formData
.
append
(
`
${
key
}
[]`
,
item
);
});
return
;
}
//
const value = params.data![key];
//
if (Array.isArray(value)) {
//
value.forEach((item) => {
//
formData.append(`${key}[]`, item);
//
});
//
return;
//
}
formData
.
append
(
key
,
params
.
data
!
[
key
]);
});
...
...
src/views/regionalSpotManage/components/list.vue
View file @
01b5491c
...
...
@@ -294,6 +294,7 @@
const
res
=
await
regionalSpotManageOpsDeleteProductApi
(
param
.
value
);
if
(
res
.
success
)
{
message
.
success
(
'
删除成功
'
);
delVisibleCancel
();
}
else
{
message
.
success
(
res
.
message
);
}
...
...
@@ -393,7 +394,7 @@
{
ghsCode
:
ghsCode
,
ghsName
:
ghsName
,
areaIds
:
impotrCheckboxValue
.
value
,
areaIds
:
impotrCheckboxValue
.
value
.
join
(
'
,
'
)
,
},
productExcelList
.
value
[
0
],
);
...
...
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