Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4342c3ee
authored
Oct 10, 2024
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能修改】 新审批界面气泡卡按钮功能
parent
a4a4dcdf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
1 deletions
+18
-1
src/api/bpm/task/index.ts
+5
-0
src/components/SimpleProcessDesignerV2/src/consts.ts
+6
-1
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
+0
-0
src/views/bpm/processInstance/detail/index_new.vue
+6
-0
src/views/bpm/task/copy/index.vue
+1
-0
No files found.
src/api/bpm/task/index.ts
View file @
4342c3ee
...
...
@@ -106,6 +106,11 @@ export const signDeleteTask = async (data: any) => {
return
await
request
.
delete
({
url
:
'/bpm/task/delete-sign'
,
data
})
}
// 抄送
export
const
copyTask
=
async
(
data
:
any
)
=>
{
return
await
request
.
put
({
url
:
'/bpm/task/copy'
,
data
})
}
// 获取减签任务列表
export
const
getChildrenTaskList
=
async
(
id
:
string
)
=>
{
return
await
request
.
get
({
url
:
'/bpm/task/list-by-parent-task-id?parentTaskId='
+
id
})
...
...
src/components/SimpleProcessDesignerV2/src/consts.ts
View file @
4342c3ee
...
...
@@ -362,7 +362,11 @@ export enum OperationButtonType {
/**
* 回退
*/
RETURN
=
6
RETURN
=
6
,
/**
* 抄送
*/
COPY
=
7
}
/**
...
...
@@ -504,6 +508,7 @@ OPERATION_BUTTON_NAME.set(OperationButtonType.TRANSFER, '转办')
OPERATION_BUTTON_NAME
.
set
(
OperationButtonType
.
DELEGATE
,
'委派'
)
OPERATION_BUTTON_NAME
.
set
(
OperationButtonType
.
ADD_SIGN
,
'加签'
)
OPERATION_BUTTON_NAME
.
set
(
OperationButtonType
.
RETURN
,
'回退'
)
OPERATION_BUTTON_NAME
.
set
(
OperationButtonType
.
COPY
,
'抄送'
)
// 默认的按钮权限设置
export
const
DEFAULT_BUTTON_SETTING
:
ButtonSetting
[]
=
[
...
...
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
View file @
4342c3ee
This diff is collapsed.
Click to expand it.
src/views/bpm/processInstance/detail/index_new.vue
View file @
4342c3ee
...
...
@@ -202,12 +202,18 @@ const getProcessInstance = async () => {
activityId
:
props
.
activityId
})
}
if
(
detailForm
.
value
.
rule
.
length
>
0
)
{
// 避免刷新 form-create 表单不显示
detailForm
.
value
.
value
=
data
.
formVariables
}
else
{
setConfAndFields2
(
detailForm
,
processDefinition
.
formConf
,
processDefinition
.
formFields
,
data
.
formVariables
)
}
nextTick
().
then
(()
=>
{
fApi
.
value
?.
btn
.
show
(
false
)
fApi
.
value
?.
resetBtn
.
show
(
false
)
...
...
src/views/bpm/task/copy/index.vue
View file @
4342c3ee
...
...
@@ -55,6 +55,7 @@
/>
<el-table-column
align=
"center"
label=
"抄送任务"
prop=
"taskName"
min-width=
"180"
/>
<el-table-column
align=
"center"
label=
"抄送人"
prop=
"creatorName"
min-width=
"100"
/>
<el-table-column
align=
"center"
label=
"抄送意见"
prop=
"reason"
width=
"150"
/>
<el-table-column
align=
"center"
label=
"抄送时间"
...
...
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