Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
6
608-pdm-web-5g
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
pdm
608-pdm-web-5g
Commits
930651f6
Commit
930651f6
authored
Jul 19, 2024
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题记录条目接受节点整改措施功能添加
parent
e74dad1b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
143 additions
and
25 deletions
+143
-25
tabs.js
src/store/modules/tabs.js
+1
-0
index.vue
...tails/components/DeeFlowExtIssueRecordEditAttrs/index.vue
+116
-0
index.vue
...ews/busniessComponents/workFlowTask/taskDetails/index.vue
+26
-25
No files found.
src/store/modules/tabs.js
View file @
930651f6
...
@@ -9,6 +9,7 @@ const state = {
...
@@ -9,6 +9,7 @@ const state = {
{
key
:
'DeeFlowDxDocumentEditReplyComments'
,
title
:
'答复意见'
},
{
key
:
'DeeFlowDxDocumentEditReplyComments'
,
title
:
'答复意见'
},
// { key: 'DeeFlowExtSendOrderEditFeedBack', title: '答复意见' },
// { key: 'DeeFlowExtSendOrderEditFeedBack', title: '答复意见' },
{
key
:
'DeeFlowDxDocumentAttrsEditWhetherApplied'
,
title
:
'封面贴皮'
},
{
key
:
'DeeFlowDxDocumentAttrsEditWhetherApplied'
,
title
:
'封面贴皮'
},
{
key
:
'DeeFlowExtIssueRecordEditAttrs'
,
title
:
'整改措施'
},
{
key
:
'taskHistory'
,
title
:
'签审历史'
}
{
key
:
'taskHistory'
,
title
:
'签审历史'
}
]
]
...
...
src/views/busniessComponents/workFlowTask/taskDetails/components/DeeFlowExtIssueRecordEditAttrs/index.vue
0 → 100644
View file @
930651f6
<
template
>
<div
class=
"dee-flowExtIssueRecordEditAttrs"
>
<dee-form
ref=
"taskForm"
:form=
"form"
:form-data=
"formData"
:rules=
"rules"
/>
<span
class=
"pc-tips"
>
请到PC端上传证明资料
</span>
</div>
</
template
>
<
script
>
import
DeeForm
from
'@/components/form/form'
export
default
{
props
:
{
basicData
:
{
type
:
Object
,
require
:
true
},
flowData
:
{
type
:
Object
,
require
:
true
}
},
components
:
{
DeeForm
},
data
()
{
return
{
form
:
{
correctAction
:
''
},
formData
:
[
{
data
:
[
{
title
:
'整改措施'
,
key
:
'correctAction'
,
component
:
{
name
:
'el-input'
,
disabled
:
false
,
type
:
'textarea'
}
}
]
}
],
rules
:
{},
modelName
:
''
}
},
watch
:
{
flowData
:
{
immediate
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
if
(
!
val
||
!
val
.
id
)
{
return
}
this
.
form
.
correctAction
=
val
.
correctAction
this
.
modelName
=
val
.
subTypeName
}
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
validate
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$refs
.
taskForm
.
$refs
.
form
.
validate
().
then
(()
=>
{
const
form
=
{
...
this
.
flowData
,
...
this
.
form
,
operator
:
'MODIFY'
}
this
.
$api
.
recursion
(
this
.
modelName
,
form
)
.
then
((
res
)
=>
{
if
(
res
)
{
resolve
(
true
)
}
})
.
catch
(()
=>
{
resolve
(
false
)
})
}).
catch
(()
=>
{
resolve
(
false
)
})
})
}
}
}
</
script
>
<
style
lang=
'scss'
scoped
>
.dee-flowExtIssueRecordEditAttrs
{
margin
:
0
10px
;
/
deep
/
textarea
{
border
:
0
.5px
;
border-radius
:
5px
;
background-color
:
rgba
(
241
,
241
,
241
,
0
.5
);
padding
:
5px
;
resize
:
none
;
}
.custom-image
.van-empty__image
{
width
:
90px
;
height
:
90px
;
}
.pc-tips
{
color
:
#999
;
font-size
:
12px
;
margin-top
:
10px
;
margin-left
:
20px
;
}
}
</
style
>
src/views/busniessComponents/workFlowTask/taskDetails/index.vue
View file @
930651f6
<
template
>
<
template
>
<div
class=
"taskDetails"
>
<div
class=
"taskDetails"
>
<headerNavBar
:title=
"$route.query.taskType+'详情'"
@
click-left=
"onClickLeft"
/>
<headerNavBar
:title=
"$route.query.taskType
||'任务'
+'详情'"
@
click-left=
"onClickLeft"
/>
<div
class=
"taskBasicInfo"
>
<div
class=
"taskBasicInfo"
>
<task-basic-info
<task-basic-info
v-if=
"basicData && form"
v-if=
"basicData && form"
...
@@ -301,30 +301,31 @@ export default {
...
@@ -301,30 +301,31 @@ export default {
taskVariables
:
{},
taskVariables
:
{},
variables
:
{}
variables
:
{}
}
}
completeTask
(
obj
)
console
.
log
(
'obj'
,
obj
)
.
then
((
res
)
=>
{
// completeTask(obj)
Notify
({
// .then((res) => {
type
:
'success'
,
// Notify({
message
:
res
.
message
,
// type: 'success',
onOpened
:
()
=>
{
// message: res.message,
// sessionStorage.setItem('finishWork', true)
// onOpened: () => {
this
.
$refs
.
taskBtnRef
.
comLoading
=
false
// // sessionStorage.setItem('finishWork', true)
this
.
$router
.
go
(
-
1
)
// this.$refs.taskBtnRef.comLoading = false
// if (this.todoListTitle.includes('待办')) {
// this.$router.go(-1)
// this.$router.push({
// // if (this.todoListTitle.includes('待办')) {
// path: '/todoList?title=待办任务'
// // this.$router.push({
// // path: '/todoList?title=待办任务'
// // })
// // } else if (this.todoListTitle.includes('我发起')) {
// // this.$router.push({
// // path: '/todoList?title=我发起的任务'
// // })
// // }
// }
// })
// })
// } else if (this.todoListTitle.includes('我发起')) {
// this.$router.push({
// path: '/todoList?title=我发起的任务'
// })
// })
// }
// .catch((e) => {
}
// this.$refs.taskBtnRef.comLoading = false
})
// })
})
.
catch
((
e
)
=>
{
this
.
$refs
.
taskBtnRef
.
comLoading
=
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