Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蔡永松
/
fontweb-dc
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
c4e14ac3
authored
2020-07-29 17:49:10 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加材料带
1 parent
97165467
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/webapp/js/projecttask/detailproject.js
src/main/webapp/js/projecttask/detailproject.js
View file @
c4e14ac
...
...
@@ -951,6 +951,7 @@ function creatingProject() {
task
=
data
.
task
;
flowObjectId
=
task
.
flowObjectId
;
flowInstanceId
=
task
?
data
.
task
.
instanceId
:
null
;
debugger
materialList
=
data
.
materialDirList
?
data
.
materialDirList
:
[];
formMgr
=
new
ListFormMgr
(
null
,
null
,
formPanel
,
{
flowId
:
_flowId
,
...
...
@@ -989,7 +990,7 @@ function creatingProject() {
if
(
version
===
'1.0'
&&
task
.
name
!==
'申请'
)
{
var
pathParam
=
getCurrentNewAttachmentPath
(
"SP"
,
uniquePath
);
rootPath
=
pathParam
;
loadMaterials
New
(
task
.
name
);
loadMaterials
(
data
.
materialDirList
,
pathParam
);
//新建审批项目的附件路径不再保存到cookie中,而是绑定到请求路径上
}
// ------------------------------------------------------------- end ------------------------------------------------------
else
{
...
...
@@ -1863,6 +1864,7 @@ function loadAttach(attachpath, projectMaterialDirList) {
}
function
checkMaterial
()
{
debugger
var
flag
=
false
;
if
(
materialList
!=
null
&&
materialList
.
length
!=
0
)
{
flag
=
true
;
...
...
Please
register
or
sign in
to post a comment