Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
sgaqgl-vue
Commits
e9be8457
Commit
e9be8457
authored
Jan 11, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uploadUpdate 删除老DOM
parent
e1c550d2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
12 deletions
+18
-12
index.vue
src/views/contingency/contingencyManager/index.vue
+5
-4
index.vue
src/views/daily/nros/index.vue
+6
-2
index.vue
src/views/outsourcingDirector/approve/index.vue
+2
-2
index.vue
src/views/outsourcingDirector/declare/index.vue
+5
-4
No files found.
src/views/contingency/contingencyManager/index.vue
View file @
e9be8457
...
@@ -91,7 +91,8 @@
...
@@ -91,7 +91,8 @@
autoAttachDownload
,
autoAttachDownload
,
deleteAttachDownload
,
deleteAttachDownload
,
uploadAttachDownload
,
uploadAttachDownload
,
aqglUploadUpdate
// aqglUploadUpdate
uploadUpdate
}
from
"common/src/api/system/dmgSystem.js"
;
}
from
"common/src/api/system/dmgSystem.js"
;
import
Edit
from
'./lessEdit.vue'
import
Edit
from
'./lessEdit.vue'
import
{
tableMixin
}
from
'common'
import
{
tableMixin
}
from
'common'
...
@@ -170,7 +171,7 @@
...
@@ -170,7 +171,7 @@
},
},
creatFile
(){
creatFile
(){
/* 清除老节点 */
/* 清除老节点 */
$
(
'#
yjyaF
ileAdd'
).
find
(
'input'
).
remove
()
$
(
'#
approvef
ileAdd'
).
find
(
'input'
).
remove
()
let
lineEl
=
document
.
createElement
(
'input'
);
let
lineEl
=
document
.
createElement
(
'input'
);
let
$lineEl
=
$
(
lineEl
)
let
$lineEl
=
$
(
lineEl
)
$lineEl
.
attr
(
'type'
,
'file'
)
$lineEl
.
attr
(
'type'
,
'file'
)
...
@@ -181,7 +182,7 @@
...
@@ -181,7 +182,7 @@
this
.
beginUpload
()
this
.
beginUpload
()
})
})
// $lineEl
// $lineEl
$
(
'#
yjyaF
ileAdd'
).
append
(
$lineEl
)
$
(
'#
approvef
ileAdd'
).
append
(
$lineEl
)
},
},
beginUpload
(){
beginUpload
(){
this
.
isupLoad
=
true
this
.
isupLoad
=
true
...
@@ -200,7 +201,7 @@
...
@@ -200,7 +201,7 @@
if
(
updateId
){
if
(
updateId
){
formData
.
append
(
'id'
,
updateId
)
formData
.
append
(
'id'
,
updateId
)
this
.
creatFile
()
this
.
creatFile
()
aqglUploadUpdate
(
formData
).
then
(
res
=>
{
uploadUpdate
(
formData
,
this
.
baseUrl
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'更新成功'
)
this
.
$success
(
'更新成功'
)
this
.
isupLoad
=
false
this
.
isupLoad
=
false
...
...
src/views/daily/nros/index.vue
View file @
e9be8457
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
},
},
creatFile
(){
creatFile
(){
/* 清除老节点 */
/* 清除老节点 */
$
(
'#
fcgzybz
fileAdd'
).
find
(
'input'
).
remove
()
$
(
'#
approve
fileAdd'
).
find
(
'input'
).
remove
()
let
lineEl
=
document
.
createElement
(
'input'
);
let
lineEl
=
document
.
createElement
(
'input'
);
let
$lineEl
=
$
(
lineEl
)
let
$lineEl
=
$
(
lineEl
)
$lineEl
.
attr
(
'type'
,
'file'
)
$lineEl
.
attr
(
'type'
,
'file'
)
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
this
.
beginUpload
()
this
.
beginUpload
()
})
})
// $lineEl
// $lineEl
$
(
'#
fcgzybz
fileAdd'
).
append
(
$lineEl
)
$
(
'#
approve
fileAdd'
).
append
(
$lineEl
)
},
},
beginUpload
(){
beginUpload
(){
this
.
isupLoad
=
true
this
.
isupLoad
=
true
...
@@ -231,7 +231,11 @@
...
@@ -231,7 +231,11 @@
}
}
},
},
upload
(){
upload
(){
/* 清除老节点*/
let
$upload
=
$
(
'#aqglfilesonadd'
)
let
$upload
=
$
(
'#aqglfilesonadd'
)
console
.
log
(
$upload
)
arguments
[
0
]
==
'update'
&&
$upload
.
attr
(
'inputId'
,
arguments
[
1
].
fileId
)
&&
$upload
.
click
()
arguments
[
0
]
==
'update'
&&
$upload
.
attr
(
'inputId'
,
arguments
[
1
].
fileId
)
&&
$upload
.
click
()
if
(
arguments
[
0
]
==
'update'
){
if
(
arguments
[
0
]
==
'update'
){
return
return
...
...
src/views/outsourcingDirector/approve/index.vue
View file @
e9be8457
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
},
},
creatFile
(){
creatFile
(){
/* 清除老节点 */
/* 清除老节点 */
$
(
'#
wxglxy
fileAdd'
).
find
(
'input'
).
remove
()
$
(
'#
approve
fileAdd'
).
find
(
'input'
).
remove
()
let
lineEl
=
document
.
createElement
(
'input'
);
let
lineEl
=
document
.
createElement
(
'input'
);
let
$lineEl
=
$
(
lineEl
)
let
$lineEl
=
$
(
lineEl
)
$lineEl
.
attr
(
'type'
,
'file'
)
$lineEl
.
attr
(
'type'
,
'file'
)
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
this
.
beginUpload
()
this
.
beginUpload
()
})
})
// $lineEl
// $lineEl
$
(
'#
wxglxy
fileAdd'
).
append
(
$lineEl
)
$
(
'#
approve
fileAdd'
).
append
(
$lineEl
)
},
},
beginUpload
(){
beginUpload
(){
this
.
isupLoad
=
true
this
.
isupLoad
=
true
...
...
src/views/outsourcingDirector/declare/index.vue
View file @
e9be8457
...
@@ -88,7 +88,8 @@
...
@@ -88,7 +88,8 @@
autoAttachDownload
,
autoAttachDownload
,
deleteAttachDownload
,
deleteAttachDownload
,
uploadAttachDownload
,
uploadAttachDownload
,
aqglUploadUpdate
uploadUpdate
// aqglUploadUpdate
}
from
"common/src/api/system/dmgSystem.js"
;
}
from
"common/src/api/system/dmgSystem.js"
;
import
{
import
{
doQuery
,
doQuery
,
...
@@ -172,7 +173,7 @@
...
@@ -172,7 +173,7 @@
},
},
creatFile
(){
creatFile
(){
/* 清除老节点 */
/* 清除老节点 */
$
(
'#
wxglzd
fileAdd'
).
find
(
'input'
).
remove
()
$
(
'#
approve
fileAdd'
).
find
(
'input'
).
remove
()
let
lineEl
=
document
.
createElement
(
'input'
);
let
lineEl
=
document
.
createElement
(
'input'
);
let
$lineEl
=
$
(
lineEl
)
let
$lineEl
=
$
(
lineEl
)
$lineEl
.
attr
(
'type'
,
'file'
)
$lineEl
.
attr
(
'type'
,
'file'
)
...
@@ -183,7 +184,7 @@
...
@@ -183,7 +184,7 @@
this
.
beginUpload
()
this
.
beginUpload
()
})
})
// $lineEl
// $lineEl
$
(
'#
wxglzd
fileAdd'
).
append
(
$lineEl
)
$
(
'#
approve
fileAdd'
).
append
(
$lineEl
)
},
},
beginUpload
(){
beginUpload
(){
this
.
isupLoad
=
true
this
.
isupLoad
=
true
...
@@ -202,7 +203,7 @@
...
@@ -202,7 +203,7 @@
if
(
updateId
){
if
(
updateId
){
formData
.
append
(
'id'
,
updateId
)
formData
.
append
(
'id'
,
updateId
)
this
.
creatFile
()
this
.
creatFile
()
aqglUploadUpdate
(
formData
).
then
(
res
=>
{
uploadUpdate
(
formData
,
'aqgl/wxglzd'
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'更新成功'
)
this
.
$success
(
'更新成功'
)
this
.
isupLoad
=
false
this
.
isupLoad
=
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