Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
web
Commits
b22238ac
Commit
b22238ac
authored
Nov 13, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程中上传季报素材
parent
c099ec42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
4 deletions
+31
-4
index.vue
...c/privateComponents/components/downloadObjFiles/index.vue
+1
-1
task-detail.vue
...ask-center/src/business-components/tabCom/task-detail.vue
+30
-3
No files found.
applications/dee-doc/src/privateComponents/components/downloadObjFiles/index.vue
View file @
b22238ac
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
},
},
computed
:
{
computed
:
{
ifShow
()
{
ifShow
()
{
if
(
this
.
form
.
state
!==
'under_reviewing'
||
this
.
form
.
state
!
==
'Complete'
)
{
if
(
this
.
form
.
state
===
'under_reviewing'
||
this
.
form
.
state
=
==
'Complete'
)
{
return
true
return
true
}
else
{
}
else
{
return
false
return
false
...
...
applications/dee-task-center/src/business-components/tabCom/task-detail.vue
View file @
b22238ac
...
@@ -88,14 +88,17 @@
...
@@ -88,14 +88,17 @@
<div
v-if=
"basicData && basicData.basicInfo && !basicData.basicInfo.forwardFlag && (!isCheckTaskState || (isCheckTaskState && basicData.basicInfo.state==='BE_RESOLVED' && !basicData.basicInfo.parentTaskId))"
>
<div
v-if=
"basicData && basicData.basicInfo && !basicData.basicInfo.forwardFlag && (!isCheckTaskState || (isCheckTaskState && basicData.basicInfo.state==='BE_RESOLVED' && !basicData.basicInfo.parentTaskId))"
>
<div
class=
"sub-title"
style=
"padding-bottom:12px"
>
任务处理
</div>
<div
class=
"sub-title"
style=
"padding-bottom:12px"
>
任务处理
</div>
<div
<div
v-if=
"basicData&& basicData.businessObject &&basicData.businessObject.subTypeName&& basicData.businessObject.subTypeName==='ExtActionItem'&&basicData.businessObject.state==='InProgress'&&basicData.basicInfo.aliasName
!=='编制
'"
v-if=
"basicData&& basicData.businessObject &&basicData.businessObject.subTypeName&& basicData.businessObject.subTypeName==='ExtActionItem'&&basicData.businessObject.state==='InProgress'&&basicData.basicInfo.aliasName
==='行动项责任人
'"
>
>
<dee-as-com
<dee-as-com
ref=
"ExtActionItemAddObjFileLinks"
:lay-config=
"
{
:lay-config=
"
{
typeName: 'ExtActionItem',
typeName: 'ExtActionItem',
layKey: 'process-ExtActionItem-addObjFileLinks'
layKey: 'process-ExtActionItem-addObjFileLinks'
}"
}"
:basic-data="{id:basicData.businessObject.id}"
:basic-data="{id:basicData.businessObject.id}"
:form="extActionItemAddObjFileLinksForm"
@on-submit="toSubmitExtActionItemObjFile"
/>
/>
</div>
</div>
<div
<div
...
@@ -254,6 +257,8 @@ export default {
...
@@ -254,6 +257,8 @@ export default {
return
{
return
{
isExtPlanReplyLinkBindSuccess
:
false
,
// 反馈计划是否绑定成功
isExtPlanReplyLinkBindSuccess
:
false
,
// 反馈计划是否绑定成功
ExtPlanReplyLinkform
:
{},
ExtPlanReplyLinkform
:
{},
extActionItemAddObjFileLinksForm
:
{},
// 行动项上传季报附件,
isExtActionItemObjBindSuccess
:
false
,
// 是否已经保持盘点结果
// 是否已经保持盘点结果
isSaveBeforeSubmit
:
true
,
isSaveBeforeSubmit
:
true
,
tabProps
:
{
tabProps
:
{
...
@@ -819,6 +824,7 @@ export default {
...
@@ -819,6 +824,7 @@ export default {
})
})
}
}
})
})
// // 获取流程历史记录
// // 获取流程历史记录
// getInstanceHistory(instanceId).then(res => {
// getInstanceHistory(instanceId).then(res => {
// this.$set(this.basicData, 'historyInfo', res.items.content || [])
// this.$set(this.basicData, 'historyInfo', res.items.content || [])
...
@@ -883,8 +889,17 @@ export default {
...
@@ -883,8 +889,17 @@ export default {
})
})
})
})
},
},
finishTask
(
flag
,
params
,
callback
,
errCallBack
)
{
async
finishTask
(
flag
,
params
,
callback
,
errCallBack
)
{
if
(
this
.
basicData
.
businessObject
.
subTypeName
&&
this
.
basicData
.
businessObject
.
subTypeName
===
'ExtPlanFeedback'
)
{
if
(
this
.
basicData
.
businessObject
.
subTypeName
&&
this
.
basicData
.
businessObject
.
subTypeName
===
'ExtActionItem'
&&
this
.
basicData
.
businessObject
.
state
===
'InProgress'
&&
this
.
basicData
.
basicInfo
.
aliasName
!==
'编制'
)
{
await
this
.
toSubmitExtActionItemObjFile
()
if
(
this
.
isExtActionItemObjBindSuccess
)
{
this
.
finishTaskhandle
(
flag
,
params
,
callback
,
errCallBack
)
}
}
else
if
(
this
.
basicData
.
businessObject
.
subTypeName
&&
this
.
basicData
.
businessObject
.
subTypeName
===
'ExtPlanFeedback'
)
{
this
.
finishPlanReplyTask
(
flag
,
params
,
callback
,
errCallBack
)
this
.
finishPlanReplyTask
(
flag
,
params
,
callback
,
errCallBack
)
}
else
{
}
else
{
this
.
finishTaskhandle
(
flag
,
params
,
callback
,
errCallBack
)
this
.
finishTaskhandle
(
flag
,
params
,
callback
,
errCallBack
)
...
@@ -970,6 +985,18 @@ export default {
...
@@ -970,6 +985,18 @@ export default {
post
(
'/ExtPlanReplyLink/recursion'
,
params
).
then
(
res
=>
{
post
(
'/ExtPlanReplyLink/recursion'
,
params
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
})
})
},
// // 添加季报附件
async
toSubmitExtActionItemObjFile
()
{
const
params
=
this
.
extActionItemAddObjFileLinksForm
if
(
params
.
objFileLinks
&&
params
.
objFileLinks
.
length
>
0
)
{
await
post
(
'/ExtActionItem/recursion'
,
params
).
then
(
res
=>
{
this
.
isExtActionItemObjBindSuccess
=
true
})
}
else
{
this
.
isExtActionItemObjBindSuccess
=
false
this
.
$message
.
error
(
'请上传季报素材'
)
}
}
}
},
},
filter
:
{}
filter
:
{}
...
...
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