Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
35385cf5
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
12 个月 前同步成功
通知
329
Star
18154
Fork
5505
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
35385cf5
编写于
10月 26, 2020
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
取消无用节点
上级
b716fb04
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
15 deletion
+16
-15
web/src/components/gva-wfd/components/DetailPanel/index.vue
web/src/components/gva-wfd/components/DetailPanel/index.vue
+8
-8
web/src/components/gva-wfd/components/ItemPanel.vue
web/src/components/gva-wfd/components/ItemPanel.vue
+7
-7
web/src/view/workflow/workflowCreate/workflowCreate.vue
web/src/view/workflow/workflowCreate/workflowCreate.vue
+1
-0
未找到文件。
web/src/components/gva-wfd/components/DetailPanel/index.vue
浏览文件 @
35385cf5
...
...
@@ -2,11 +2,11 @@
<div
class=
"detailPanel"
:style=
"
{'height':height+'px'}">
<UserTaskDetail
v-if=
"model.clazz === 'userTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
:users=
"users"
:authorities=
"authorities"
:groups=
"groups"
/>
<ScriptTaskDetail
v-else-if=
"model.clazz === 'scriptTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
<
JavaTaskDetail
v-else-if=
"model.clazz === 'javaTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/
>
<
!--
<JavaTaskDetail
v-else-if=
"model.clazz === 'javaTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
--
>
<ReceiveTaskDetail
v-else-if=
"model.clazz === 'receiveTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
<MailTaskDetail
v-else-if=
"model.clazz === 'mailTask'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
<TimerEventDetail
v-else-if=
"model.clazz === 'timerStart' || model.clazz === 'timerCatch'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
<
SignalEventDetail
v-else-if=
"model.clazz === 'signalStart' || model.clazz === 'signalCatch'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
:signalDefs=
"signalDefs"
/
>
<
!--
<SignalEventDetail
v-else-if=
"model.clazz === 'signalStart' || model.clazz === 'signalCatch'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
:signalDefs=
"signalDefs"
/>
--
>
<MessageEventDetail
v-else-if=
"model.clazz === 'messageStart' || model.clazz === 'messageCatch'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
:messageDefs=
"messageDefs"
/>
<GatewayDetail
v-else-if=
"model.clazz === 'gateway' || model.clazz === 'exclusiveGateway' || model.clazz === 'parallelGateway' || model.clazz === 'inclusiveGateway'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
<FlowDetail
v-else-if=
"model.clazz === 'flow'"
:model=
"model"
:onChange=
"onChange"
:readOnly=
"readOnly"
/>
...
...
@@ -17,13 +17,13 @@
</
template
>
<
script
>
import
UserTaskDetail
from
"
./UserTaskDetail
"
import
JavaTaskDetail
from
"
./JavaTaskDetail
"
//
import JavaTaskDetail from "./JavaTaskDetail"
import
ScriptTaskDetail
from
"
./ScriptTaskDetail
"
import
ReceiveTaskDetail
from
"
./ReceiveTaskDetail
"
import
MailTaskDetail
from
"
./MailTaskDetail
"
import
TimerEventDetail
from
"
./TimerEventDetail
"
import
SignalEventDetail
from
"
./SignalEventDetail
"
import
MessageEventDetail
from
"
./MessageEventDetail
"
//
import SignalEventDetail from "./SignalEventDetail"
//
import MessageEventDetail from "./MessageEventDetail"
import
GatewayDetail
from
"
./GatewayDetail
"
import
FlowDetail
from
"
./FlowDetail
"
import
StartEventDetail
from
"
./StartEventDetail
"
...
...
@@ -34,12 +34,12 @@
components
:{
UserTaskDetail
,
ScriptTaskDetail
,
JavaTaskDetail
,
//
JavaTaskDetail,
ReceiveTaskDetail
,
MailTaskDetail
,
TimerEventDetail
,
SignalEventDetail
,
MessageEventDetail
,
//
SignalEventDetail,
//
MessageEventDetail,
GatewayDetail
,
FlowDetail
,
StartEventDetail
,
...
...
web/src/components/gva-wfd/components/ItemPanel.vue
浏览文件 @
35385cf5
...
...
@@ -8,12 +8,12 @@
<img
data-item=
"
{clazz:'timerStart',size:'50*50',label:''}"
:src="require('../assets/flow/timer-start.svg')" style="width:42px;height:42px" />
<div>
{{
i18n
[
'
timerEvent
'
]
}}
</div>
<img
data-item=
"
{clazz:'messageStart',size:'50*50',label:''}"
<
!--
<
img
data-item=
"
{clazz:'messageStart',size:'50*50',label:''}"
:src="require('../assets/flow/message-start.svg')" style="width:42px;height:42px" />
<div>
{{
i18n
[
'
messageEvent
'
]
}}
</div>
<img
data-item=
"
{clazz:'signalStart',size:'50*50',label:''}"
:src="require('../assets/flow/signal-start.svg')" style="width:42px;height:42px" />
<div>
{{
i18n
[
'
signalEvent
'
]
}}
</div>
<div>
{{
i18n
[
'
signalEvent
'
]
}}
</div>
-->
</el-collapse-item>
<el-collapse-item
:title=
"i18n['task']"
name=
"2"
>
<img
:data-item=
"userTaskData"
...
...
@@ -22,9 +22,9 @@
<img
:data-item=
"scriptTaskData"
:src=
"require('../assets/flow/script-task.svg')"
style=
"width:80px;height:44px"
/>
<div>
{{
i18n
[
'
scriptTask
'
]
}}
</div>
<img
:data-item=
"javaTaskData"
<
!--
<
img
:data-item=
"javaTaskData"
:src=
"require('../assets/flow/java-task.svg')"
style=
"width:80px;height:44px"
/>
<div>
{{
i18n
[
'
javaTask
'
]
}}
</div>
<div>
{{
i18n
[
'
javaTask
'
]
}}
</div>
-->
<img
:data-item=
"mailTaskData"
:src=
"require('../assets/flow/mail-task.svg')"
style=
"width:80px;height:44px"
/>
<div>
{{
i18n
[
'
mailTask
'
]
}}
</div>
...
...
@@ -47,12 +47,12 @@
<img
data-item=
"
{clazz:'timerCatch',size:'60*35',label:''}"
:src="require('../assets/flow/timer-catch.svg')" style="width:58px;height:38px" />
<div>
{{
i18n
[
'
timerEvent
'
]
}}
</div>
<img
data-item=
"
{clazz:'messageCatch',size:'60*35',label:''}"
<
!--
<
img
data-item=
"
{clazz:'messageCatch',size:'60*35',label:''}"
:src="require('../assets/flow/message-catch.svg')" style="width:58px;height:38px" />
<div>
{{
i18n
[
'
messageEvent
'
]
}}
</div>
<img
data-item=
"
{clazz:'signalCatch',size:'60*35',label:''}"
:src="require('../assets/flow/signal-catch.svg')" style="width:58px;height:38px" />
<div>
{{
i18n
[
'
signalEvent
'
]
}}
</div>
<div>
{{
i18n
[
'
signalEvent
'
]
}}
</div>
-->
</el-collapse-item>
<el-collapse-item
:title=
"i18n['end']"
name=
"5"
>
<img
data-item=
"
{clazz:'end',size:'50*50',label:''}"
...
...
@@ -76,7 +76,7 @@
activeNames
:
[],
userTaskData
:
"
{clazz:'userTask',size:'80*44',label:'
"
+
this
.
i18n
[
'
userTask
'
]
+
"
'}
"
,
scriptTaskData
:
"
{clazz:'scriptTask',size:'80*44',label:'
"
+
this
.
i18n
[
'
scriptTask
'
]
+
"
'}
"
,
javaTaskData
:
"
{clazz:'javaTask',size:'80*44',label:'
"
+
this
.
i18n
[
'
javaTask
'
]
+
"
'}
"
,
//
javaTaskData: "{clazz:'javaTask',size:'80*44',label:'"+this.i18n['javaTask']+"'}",
mailTaskData
:
"
{clazz:'mailTask',size:'80*44',label:'
"
+
this
.
i18n
[
'
mailTask
'
]
+
"
'}
"
,
receiveTaskData
:
"
{clazz:'receiveTask',size:'80*44',label:'
"
+
this
.
i18n
[
'
receiveTask
'
]
+
"
'}
"
,
};
...
...
web/src/view/workflow/workflowCreate/workflowCreate.vue
浏览文件 @
35385cf5
...
...
@@ -30,6 +30,7 @@ export default {
methods
:{
save
(){
console
.
log
(
this
.
$refs
[
'
wfd
'
].
graph
.
save
())
console
.
log
(
this
.
$refs
[
'
wfd
'
].
processModel
)
},
saveXML
(){
console
.
log
(
this
.
$refs
[
'
wfd
'
].
graph
.
saveXML
())
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录