Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
9e122aae
Commit
9e122aae
authored
Oct 07, 2022
by
zhoutong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
a4ff9a95
1d4583e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
16 deletions
+26
-16
index.vue
src/views/bpm/processInstance/index.vue
+0
-2
done.vue
src/views/bpm/task/done.vue
+0
-2
todo.vue
src/views/bpm/task/todo.vue
+26
-12
No files found.
src/views/bpm/processInstance/index.vue
View file @
9e122aae
<
template
>
<div
class=
"app-container"
>
<doc-alert
title=
"工作流"
url=
"https://doc.iocoder.cn/bpm"
/>
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"流程名"
prop=
"name"
>
...
...
src/views/bpm/task/done.vue
View file @
9e122aae
<
template
>
<div
class=
"app-container"
>
<doc-alert
title=
"工作流"
url=
"https://doc.iocoder.cn/bpm"
/>
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"流程名"
prop=
"name"
>
...
...
src/views/bpm/task/todo.vue
View file @
9e122aae
<
template
>
<div
class=
"app-container"
>
<doc-alert
title=
"工作流"
url=
"https://doc.iocoder.cn/bpm"
/>
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"流程名"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
placeholder=
"请输入流程名"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"流程分类"
prop=
"category"
>
<el-select
v-model=
"queryParams.category"
placeholder=
"请选择流程分类"
clearable
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.BPM_MODEL_CATEGORY)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"业务编码"
prop=
"businessNo"
>
<el-input
v-model=
"queryParams.businessNo"
placeholder=
"请输入业务编码"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"创建时间"
>
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
搜索
</el-button>
...
...
@@ -19,10 +26,16 @@
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
label=
"任务编号"
align=
"center"
prop=
"id"
width=
"320"
/>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"所属流程"
align=
"center"
prop=
"processInstance.name"
/>
<el-table-column
label=
"流程发起人"
align=
"center"
prop=
"processInstance.startUserNickname"
/>
<el-table-column
label=
"任务编号"
align=
"center"
prop=
"id"
width=
"320"
/>
<el-table-column
label=
"业务编号"
align=
"center"
prop=
"businessNo"
/>
<el-table-column
label=
"流程分类"
align=
"center"
prop=
"category"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BPM_MODEL_CATEGORY"
:value=
"scope.row.category"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"所属流程"
align=
"center"
prop=
"processInstance.name"
/>
<el-table-column
label=
"当前审批任务"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"流程发起人"
align=
"center"
prop=
"processInstance.startUserNickname"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
...
...
@@ -37,7 +50,8 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
v-hasPermi=
"['bpm:task:update']"
>
审批
</el-button>
v-hasPermi=
"['bpm:task:update']"
>
审批
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -50,12 +64,10 @@
<
script
>
import
{
getTodoTaskPage
}
from
'
@/api/bpm/task
'
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
Todo
"
,
components
:
{
},
components
:
{},
data
()
{
return
{
// 遮罩层
...
...
@@ -72,6 +84,8 @@ export default {
pageNo
:
1
,
pageSize
:
10
,
name
:
null
,
businessNo
:
null
,
category
:
null
,
},
};
},
...
...
@@ -104,7 +118,7 @@ export default {
},
/** 处理审批按钮 */
handleAudit
(
row
)
{
this
.
$router
.
push
({
path
:
"
/bpm/process-instance/detail
"
,
query
:
{
id
:
row
.
processInstance
.
id
}});
this
.
$router
.
push
({
path
:
"
/bpm/process-instance/detail
"
,
query
:
{
id
:
row
.
processInstance
.
id
}});
},
}
};
...
...
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