Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
603145f1
Commit
603145f1
authored
Apr 01, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
d47d5e44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tax-document-list.ctrl.js
...ocumentManage/tax-document-list/tax-document-list.ctrl.js
+2
-2
No files found.
atms-web/src/main/webapp/app/taxDocumentManage/tax-document-list/tax-document-list.ctrl.js
View file @
603145f1
...
...
@@ -1054,7 +1054,7 @@ taxDocumentManageModule.directive('multiFileUploader', function () {
_taxDocumentListService
.
verifyDuplicate
(
params
).
then
(
function
(
data
)
{
//data.id===null|| data.id===undefined,代表可以直接上传,否则属于覆盖行为
if
(
data
.
id
===
null
||
data
.
id
===
undefined
)
{
_fileItem
.
url
=
"http://etms.longi-silicon.com:8180//api/v1
/taxDoc/add"
;
_fileItem
.
url
=
apiInterceptor
.
webApiHostUrl
+
"
/taxDoc/add"
;
}
else
{
//覆盖行为-需上传参数
for
(
var
name
in
data
)
{
...
...
@@ -1070,7 +1070,7 @@ taxDocumentManageModule.directive('multiFileUploader', function () {
cover_fields
[
name
]
=
data
[
name
];
fileItem
.
formData
.
push
(
cover_fields
);
}
_fileItem
.
url
=
"http://etms.longi-silicon.com:8180//api/v1
/taxDoc/edit"
;
_fileItem
.
url
=
apiInterceptor
.
webApiHostUrl
+
"
/taxDoc/edit"
;
}
_multiUploader
.
uploadItem
(
_i
);
});
...
...
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