Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
loujc2008
gin-vue-admin
提交
1c11e86a
G
gin-vue-admin
项目概览
loujc2008
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1c11e86a
编写于
12月 04, 2019
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作流路径变更 数据库脏数据清除
上级
9f1d54b3
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3855 addition
and
211 deletion
+3855
-211
QMPlusServer/db/qmplus.sql
QMPlusServer/db/qmplus.sql
+3728
-88
QMPlusVuePage/src/view/workflow/index.vue
QMPlusVuePage/src/view/workflow/index.vue
+12
-0
QMPlusVuePage/src/view/workflow/workflow.vue
QMPlusVuePage/src/view/workflow/workflow.vue
+0
-123
QMPlusVuePage/src/view/workflow/workflowCreate/workflowCreate.vue
...ePage/src/view/workflow/workflowCreate/workflowCreate.vue
+115
-0
未找到文件。
QMPlusServer/db/qmplus.sql
浏览文件 @
1c11e86a
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
QMPlusVuePage/src/view/workflow/index.vue
0 → 100644
浏览文件 @
1c11e86a
<
template
>
<router-view></router-view>
</
template
>
<
script
>
export
default
{
name
:
"
Workflow
"
,
}
</
script
>
<
style
lang=
"scss"
>
</
style
>
\ No newline at end of file
QMPlusVuePage/src/view/workflow/workflow.vue
已删除
100644 → 0
浏览文件 @
9f1d54b3
<
template
>
<div>
<el-form
label-width=
"100px"
:model=
"form"
ref=
"form"
>
<el-form-item
label=
"工作流名称"
>
<el-input
type=
"text"
v-model=
"form.workflowNickName"
></el-input>
</el-form-item>
<el-form-item
label=
"工作流英文id"
>
<el-input
type=
"text"
v-model=
"form.workflowName"
></el-input>
</el-form-item>
<el-form-item
label=
"工作流描述"
>
<el-input
type=
"text"
v-model=
"form.workflowDescription"
></el-input>
</el-form-item>
</el-form>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
prop=
"isEnd"
label=
"是否是完结流节点"
>
<template
scope=
"scope"
>
<el-select
v-model=
"scope.row.isEnd"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:label=
"item.name"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"isStrat"
label=
"是否是开始流节点"
>
<
template
scope=
"scope"
>
<el-select
v-model=
"scope.row.isStrat"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:label=
"item.name"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"stepAuthorityID"
label=
"操作者级别id"
>
<
template
scope=
"scope"
>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"scope.row.stepAuthorityID"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"stepName"
label=
"工作流名称"
>
<
template
scope=
"scope"
>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"scope.row.stepName"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"stepNo"
label=
"步骤id"
>
<
template
scope=
"scope"
>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"scope.row.stepNo"
></el-input>
</
template
>
</el-table-column>
</el-table>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
</div>
</template>
<
script
>
import
{
createWorkFlow
}
from
'
@/api/workflow
'
export
default
{
name
:
"
workflow
"
,
data
()
{
return
{
form
:
{
workflowName
:
''
,
workflowDescription
:
''
,
workflowNickName
:
''
},
tableData
:
[{
isEnd
:
''
,
isStrat
:
''
,
stepAuthorityID
:
''
,
stepName
:
''
,
stepNo
:
''
}],
options
:[
{
name
:
'
是
'
,
value
:
true
},
{
name
:
'
否
'
,
value
:
false
}
]
}
},
component
:
{},
methods
:
{
async
submit
()
{
let
params
=
{
"
workflowDescription
"
:
this
.
form
.
workflowDescription
,
"
workflowName
"
:
this
.
form
.
workflowName
,
"
workflowNickName
"
:
this
.
form
.
workflowNickName
,
"
workflowStep
"
:
[
{
"
isEnd
"
:
this
.
tableData
[
0
].
isEnd
,
"
isStrat
"
:
this
.
tableData
[
0
].
isStrat
,
"
stepAuthorityID
"
:
this
.
tableData
[
0
].
stepAuthorityID
,
"
stepName
"
:
this
.
tableData
[
0
].
stepName
,
"
stepNo
"
:
this
.
tableData
[
0
].
stepNo
}]
}
const
res
=
await
createWorkFlow
(
params
)
console
.
log
(
res
)
}
}
}
</
script
>
<
style
scoped
>
</
style
>
QMPlusVuePage/src/view/workflow/workflowCreate/workflowCreate.vue
0 → 100644
浏览文件 @
1c11e86a
<
template
>
<div>
<el-form
:model=
"form"
label-width=
"100px"
ref=
"form"
>
<el-form-item
label=
"工作流名称"
>
<el-input
type=
"text"
v-model=
"form.workflowNickName"
></el-input>
</el-form-item>
<el-form-item
label=
"工作流英文id"
>
<el-input
type=
"text"
v-model=
"form.workflowName"
></el-input>
</el-form-item>
<el-form-item
label=
"工作流描述"
>
<el-input
type=
"text"
v-model=
"form.workflowDescription"
></el-input>
</el-form-item>
</el-form>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
label=
"是否是完结流节点"
prop=
"isEnd"
>
<template
scope=
"scope"
>
<el-select
placeholder=
"请选择"
v-model=
"scope.row.isEnd"
>
<el-option
:key=
"key"
:label=
"item.name"
:value=
"item.value"
v-for=
"(item,key) in options"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"是否是开始流节点"
prop=
"isStrat"
>
<
template
scope=
"scope"
>
<el-select
placeholder=
"请选择"
v-model=
"scope.row.isStrat"
>
<el-option
:key=
"key"
:label=
"item.name"
:value=
"item.value"
v-for=
"(item,key) in options"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作者级别id"
prop=
"stepAuthorityID"
>
<
template
scope=
"scope"
>
<el-input
placeholder=
"请输入"
type=
"text"
v-model=
"scope.row.stepAuthorityID"
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"工作流名称"
prop=
"stepName"
>
<
template
scope=
"scope"
>
<el-input
placeholder=
"请输入"
type=
"text"
v-model=
"scope.row.stepName"
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"步骤id"
prop=
"stepNo"
>
<
template
scope=
"scope"
>
<el-input
placeholder=
"请输入"
type=
"text"
v-model=
"scope.row.stepNo"
></el-input>
</
template
>
</el-table-column>
</el-table>
<el-button
@
click=
"submit"
type=
"primary"
>
提交
</el-button>
</div>
</template>
<
script
>
import
{
createWorkFlow
}
from
'
@/api/workflow
'
export
default
{
name
:
'
workflow
'
,
data
()
{
return
{
form
:
{
workflowName
:
''
,
workflowDescription
:
''
,
workflowNickName
:
''
},
tableData
:
[
{
isEnd
:
''
,
isStrat
:
''
,
stepAuthorityID
:
''
,
stepName
:
''
,
stepNo
:
''
}
],
options
:
[
{
name
:
'
是
'
,
value
:
true
},
{
name
:
'
否
'
,
value
:
false
}
]
}
},
component
:
{},
methods
:
{
async
submit
()
{
let
params
=
{
workflowDescription
:
this
.
form
.
workflowDescription
,
workflowName
:
this
.
form
.
workflowName
,
workflowNickName
:
this
.
form
.
workflowNickName
,
workflowStep
:
[
{
isEnd
:
this
.
tableData
[
0
].
isEnd
,
isStrat
:
this
.
tableData
[
0
].
isStrat
,
stepAuthorityID
:
this
.
tableData
[
0
].
stepAuthorityID
,
stepName
:
this
.
tableData
[
0
].
stepName
,
stepNo
:
this
.
tableData
[
0
].
stepNo
}
]
}
const
res
=
await
createWorkFlow
(
params
)
console
.
log
(
res
)
}
}
}
</
script
>
<
style
scoped
>
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录