Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
workflow2
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
黄夏豪
workflow2
Commits
49d728d4
提交
49d728d4
authored
9月 15, 2021
作者:
1239068511@qq.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[代码更新] 加了一点东西
上级
6bad79ed
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
41 行增加
和
51 行删除
+41
-51
OrganizationService.java
...m/tykj/workflowcore/user/service/OrganizationService.java
+1
-1
CenterUserServiceImpl.java
...workflowcore/user/service/impl/CenterUserServiceImpl.java
+8
-7
OrganizationServiceImpl.java
...rkflowcore/user/service/impl/OrganizationServiceImpl.java
+6
-7
SyncDataService.java
.../tykj/workflowcore/user/service/impl/SyncDataService.java
+7
-4
UserController.java
...rkflowcore/workflow_editer/controller/UserController.java
+2
-0
WorkFlowController.java
...owcore/workflow_editer/controller/WorkFlowController.java
+0
-2
DefaultUserServiceImpl.java
.../workflow_editer/service/impl/DefaultUserServiceImpl.java
+1
-1
WorkFlowServiceImpl.java
...ore/workflow_editer/service/impl/WorkFlowServiceImpl.java
+0
-0
application-mysql.yml
src/main/resources/application-mysql.yml
+12
-3
chunk-5f2116e7.55076b45.css
src/main/resources/workflow/css/chunk-5f2116e7.55076b45.css
+0
-2
chunk-79a2a6d4.f7ea5f40.css
src/main/resources/workflow/css/chunk-79a2a6d4.f7ea5f40.css
+0
-2
chunk-b5da06ba.7a6ae39b.css
src/main/resources/workflow/css/chunk-b5da06ba.7a6ae39b.css
+0
-2
parser-home.8cdb50e6.css
src/main/resources/workflow/css/parser-home.8cdb50e6.css
+0
-2
index.html
src/main/resources/workflow/index.html
+2
-2
chunk-5f2116e7.39e63f89.js
src/main/resources/workflow/js/chunk-5f2116e7.39e63f89.js
+0
-2
chunk-79a2a6d4.b1d5b12d.js
src/main/resources/workflow/js/chunk-79a2a6d4.b1d5b12d.js
+0
-2
chunk-b5da06ba.6d3fd328.js
src/main/resources/workflow/js/chunk-b5da06ba.6d3fd328.js
+0
-2
chunk-fec0be80.0583a8a1.js
src/main/resources/workflow/js/chunk-fec0be80.0583a8a1.js
+0
-2
parser-home.8b3caa4d.js
src/main/resources/workflow/js/parser-home.8b3caa4d.js
+0
-2
preview.f1d279d5.js
src/main/resources/workflow/js/preview.f1d279d5.js
+0
-2
tinymce-example.0cafa1e6.js
src/main/resources/workflow/js/tinymce-example.0cafa1e6.js
+0
-2
preview.html
src/main/resources/workflow/preview.html
+2
-2
没有找到文件。
src/main/java/com/tykj/workflowcore/user/service/OrganizationService.java
浏览文件 @
49d728d4
...
@@ -53,7 +53,7 @@ public interface OrganizationService {
...
@@ -53,7 +53,7 @@ public interface OrganizationService {
* @param code
* @param code
* @return
* @return
*/
*/
List
<
Organization
>
findOrganizationListBy
Code
(
String
code
);
List
<
Organization
>
findOrganizationListBy
Id
(
Integer
id
);
}
}
src/main/java/com/tykj/workflowcore/user/service/impl/CenterUserServiceImpl.java
浏览文件 @
49d728d4
...
@@ -4,7 +4,6 @@ import com.tykj.workflowcore.user.dao.UserDao;
...
@@ -4,7 +4,6 @@ import com.tykj.workflowcore.user.dao.UserDao;
import
com.tykj.workflowcore.user.pojo.Organization
;
import
com.tykj.workflowcore.user.pojo.Organization
;
import
com.tykj.workflowcore.user.pojo.User
;
import
com.tykj.workflowcore.user.pojo.User
;
import
com.tykj.workflowcore.user.pojo.UserDetail
;
import
com.tykj.workflowcore.user.pojo.UserDetail
;
import
com.tykj.workflowcore.user.pojo.vo.OrganizationVo
;
import
com.tykj.workflowcore.user.service.CenterUserService
;
import
com.tykj.workflowcore.user.service.CenterUserService
;
import
com.tykj.workflowcore.workflow_editer.entity.enums.RoleTypeEnum
;
import
com.tykj.workflowcore.workflow_editer.entity.enums.RoleTypeEnum
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
...
@@ -45,13 +44,15 @@ public class CenterUserServiceImpl implements CenterUserService {
...
@@ -45,13 +44,15 @@ public class CenterUserServiceImpl implements CenterUserService {
return
null
;
return
null
;
}
}
//拼装用户的用户组
//拼装用户的用户组
List
<
Organization
>
organizationListByCode
=
organizationService
.
findOrganizationListByCode
(
userDetail
.
getOrganizationCode
());
userDetail
.
setOrganizationList
(
organizationListByCode
);
//遍历organizationListByCode 将他拼接成string 例如:organization_code
List
<
String
>
groupStringListBuffer
=
new
ArrayList
<>();
List
<
String
>
groupStringListBuffer
=
new
ArrayList
<>();
if
(
organizationListByCode
!=
null
&&
organizationListByCode
.
size
()>
0
){
if
(
userDetail
.
getOrganizationId
()!=
null
){
for
(
Organization
organization
:
organizationListByCode
)
{
List
<
Organization
>
organizationListByCode
=
organizationService
.
findOrganizationListById
(
userDetail
.
getOrganizationId
());
groupStringListBuffer
.
add
(
RoleTypeEnum
.
ORGANIZATION
.
name
()+
"_"
+
organization
.
getCode
());
userDetail
.
setOrganizationList
(
organizationListByCode
);
//遍历organizationListByCode 将他拼接成string 例如:organization_code
if
(
organizationListByCode
!=
null
&&
organizationListByCode
.
size
()>
0
){
for
(
Organization
organization
:
organizationListByCode
)
{
groupStringListBuffer
.
add
(
RoleTypeEnum
.
ORGANIZATION
.
name
()+
"_"
+
organization
.
getCode
());
}
}
}
}
}
userDetail
.
setGroupStrings
(
groupStringListBuffer
);
userDetail
.
setGroupStrings
(
groupStringListBuffer
);
...
...
src/main/java/com/tykj/workflowcore/user/service/impl/OrganizationServiceImpl.java
浏览文件 @
49d728d4
...
@@ -86,9 +86,9 @@ public class OrganizationServiceImpl implements OrganizationService {
...
@@ -86,9 +86,9 @@ public class OrganizationServiceImpl implements OrganizationService {
@Override
@Override
public
Organization
findById
(
Integer
id
)
{
public
Organization
findById
(
Integer
id
)
{
O
rganization
organization
=
organizationDao
.
findById
(
id
).
get
(
);
O
ptional
<
Organization
>
byId
=
organizationDao
.
findById
(
id
);
if
(
organization
!=
null
){
if
(
byId
.
isPresent
()
){
return
organization
;
return
byId
.
get
()
;
}
}
return
null
;
return
null
;
}
}
...
@@ -218,12 +218,11 @@ public class OrganizationServiceImpl implements OrganizationService {
...
@@ -218,12 +218,11 @@ public class OrganizationServiceImpl implements OrganizationService {
}
}
@Override
@Override
public
List
<
Organization
>
findOrganizationListBy
Code
(
String
code
){
public
List
<
Organization
>
findOrganizationListBy
Id
(
Integer
id
){
List
<
Organization
>
byCode
=
findByCode
(
code
);
Organization
organization
=
findById
(
id
);
if
(
byCode
==
null
||
byCode
.
size
()<=
0
){
if
(
organization
==
null
){
return
null
;
return
null
;
}
}
Organization
organization
=
byCode
.
get
(
0
);
List
<
Organization
>
all
=
findAll
();
List
<
Organization
>
all
=
findAll
();
Map
<
Integer
,
Organization
>
nodeCollect
=
Map
<
Integer
,
Organization
>
nodeCollect
=
all
.
stream
().
collect
(
Collectors
.
toMap
(
Organization:
:
getId
,
org
->
org
));
all
.
stream
().
collect
(
Collectors
.
toMap
(
Organization:
:
getId
,
org
->
org
));
...
...
src/main/java/com/tykj/workflowcore/user/service/impl/SyncDataService.java
浏览文件 @
49d728d4
...
@@ -42,7 +42,10 @@ public class SyncDataService {
...
@@ -42,7 +42,10 @@ public class SyncDataService {
@Value
(
"${sync.port}"
)
@Value
(
"${sync.port}"
)
private
Integer
port
=
8880
;
private
Integer
port
=
8880
;
private
String
url
=
String
.
format
(
"http://%s:%s"
,
ip
,
port
);
public
String
getUrl
(){
return
String
.
format
(
"http://%s:%s"
,
ip
,
port
);
}
@Scheduled
(
cron
=
"0 0 */1 * * ?"
)
@Scheduled
(
cron
=
"0 0 */1 * * ?"
)
public
void
execute
()
{
public
void
execute
()
{
...
@@ -53,7 +56,7 @@ public class SyncDataService {
...
@@ -53,7 +56,7 @@ public class SyncDataService {
private
void
syncKey
()
{
private
void
syncKey
()
{
log
.
info
(
"开始同步秘钥信息..."
);
log
.
info
(
"开始同步秘钥信息..."
);
ResponseEntity
<
String
>
entity
=
restTemplate
.
postForEntity
(
url
+
"/storageKey/getKeys"
,
null
,
String
.
class
,
new
HashMap
<>());
ResponseEntity
<
String
>
entity
=
restTemplate
.
postForEntity
(
getUrl
()
+
"/storageKey/getKeys"
,
null
,
String
.
class
,
new
HashMap
<>());
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
try
{
try
{
ResultObj
<
StorageKey
>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
StorageKey
>>()
{
ResultObj
<
StorageKey
>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
StorageKey
>>()
{
...
@@ -69,7 +72,7 @@ public class SyncDataService {
...
@@ -69,7 +72,7 @@ public class SyncDataService {
private
void
syncUser
()
{
private
void
syncUser
()
{
log
.
info
(
"开始同步用户信息..."
);
log
.
info
(
"开始同步用户信息..."
);
ResponseEntity
<
String
>
entity
=
restTemplate
.
getForEntity
(
url
+
"/user/all"
,
String
.
class
,
new
HashMap
<>());
ResponseEntity
<
String
>
entity
=
restTemplate
.
getForEntity
(
getUrl
()
+
"/user/all"
,
String
.
class
,
new
HashMap
<>());
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
try
{
try
{
ResultObj
<
List
<
User
>>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
List
<
User
>>>()
{
ResultObj
<
List
<
User
>>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
List
<
User
>>>()
{
...
@@ -85,7 +88,7 @@ public class SyncDataService {
...
@@ -85,7 +88,7 @@ public class SyncDataService {
private
void
syncOrganization
()
{
private
void
syncOrganization
()
{
log
.
info
(
"开始同步组织架构信息..."
);
log
.
info
(
"开始同步组织架构信息..."
);
ResponseEntity
<
String
>
entity
=
restTemplate
.
getForEntity
(
url
+
"/organization/all"
,
String
.
class
,
new
HashMap
<>());
ResponseEntity
<
String
>
entity
=
restTemplate
.
getForEntity
(
getUrl
()
+
"/organization/all"
,
String
.
class
,
new
HashMap
<>());
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
if
(
nonNull
(
entity
)
&&
nonNull
(
entity
.
getBody
()))
{
try
{
try
{
ResultObj
<
List
<
Organization
>>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
List
<
Organization
>>>()
{
ResultObj
<
List
<
Organization
>>
resultObj
=
new
ObjectMapper
().
readValue
(
entity
.
getBody
(),
new
TypeReference
<
ResultObj
<
List
<
Organization
>>>()
{
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/controller/UserController.java
浏览文件 @
49d728d4
...
@@ -49,4 +49,6 @@ public class UserController {
...
@@ -49,4 +49,6 @@ public class UserController {
List
<
WorkFlowRole
>
allRole
=
userService
.
getAllRole
(
roleType
);
List
<
WorkFlowRole
>
allRole
=
userService
.
getAllRole
(
roleType
);
return
allRole
;
return
allRole
;
}
}
}
}
src/main/java/com/tykj/workflowcore/workflow_editer/controller/WorkFlowController.java
浏览文件 @
49d728d4
...
@@ -120,8 +120,6 @@ public class WorkFlowController {
...
@@ -120,8 +120,6 @@ public class WorkFlowController {
@ApiOperation
(
"查询我发起的流程"
)
@ApiOperation
(
"查询我发起的流程"
)
public
ResponseEntity
findStartByUser
(
@RequestBody
MyStartProcessSelectVo
myStartProcessSelectVo
)
{
public
ResponseEntity
findStartByUser
(
@RequestBody
MyStartProcessSelectVo
myStartProcessSelectVo
)
{
//入参 分页 状态 流程标题
//入参 分页 状态 流程标题
UserDetail
authentication
=
authenticationUtils
.
getAuthentication
();
myStartProcessSelectVo
.
setUserId
(
authentication
.
getId
());
PageReturnVo
<
List
<
ProcessInstanceReturnVo
>>
pageReturnVo
=
workFlowService
.
findStartByUser
(
myStartProcessSelectVo
);
PageReturnVo
<
List
<
ProcessInstanceReturnVo
>>
pageReturnVo
=
workFlowService
.
findStartByUser
(
myStartProcessSelectVo
);
return
ResultUtil
.
success
(
pageReturnVo
,
"查询成功"
);
return
ResultUtil
.
success
(
pageReturnVo
,
"查询成功"
);
}
}
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/service/impl/DefaultUserServiceImpl.java
浏览文件 @
49d728d4
...
@@ -95,7 +95,7 @@ public class DefaultUserServiceImpl implements UserService {
...
@@ -95,7 +95,7 @@ public class DefaultUserServiceImpl implements UserService {
workFlowRole
.
setChildNodes
(
changeOrgToWorkFlowRole
(
organization
.
getChildNodes
()));
workFlowRole
.
setChildNodes
(
changeOrgToWorkFlowRole
(
organization
.
getChildNodes
()));
}
}
workFlowRole
.
setName
(
organization
.
getOrganizationName
());
workFlowRole
.
setName
(
organization
.
getOrganizationName
());
workFlowRole
.
setId
(
organization
.
get
Code
()
);
workFlowRole
.
setId
(
organization
.
get
Id
()+
""
);
workFlowRole
.
setRoleType
(
RoleTypeEnum
.
ORGANIZATION
.
name
());
workFlowRole
.
setRoleType
(
RoleTypeEnum
.
ORGANIZATION
.
name
());
workFlowRoles
.
add
(
workFlowRole
);
workFlowRoles
.
add
(
workFlowRole
);
}
}
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/service/impl/WorkFlowServiceImpl.java
浏览文件 @
49d728d4
差异被折叠。
点击展开。
src/main/resources/application-mysql.yml
浏览文件 @
49d728d4
...
@@ -17,15 +17,24 @@ spring:
...
@@ -17,15 +17,24 @@ spring:
maximum-pool-size
:
60
maximum-pool-size
:
60
minimum-idle
:
10
minimum-idle
:
10
jpa
:
jpa
:
show-sql
:
fals
e
show-sql
:
tru
e
hibernate
:
hibernate
:
naming
:
naming
:
physical-strategy
:
com.tykj.workflowcore.base.config.ToUpperCase
physical-strategy
:
com.tykj.workflowcore.base.config.ToUpperCase
ddl-auto
:
update
ddl-auto
:
update
database-platform
:
org.hibernate.dialect.MySQL8Dialect
database-platform
:
org.hibernate.dialect.MySQL8Dialect
application
:
name
:
workflow
sync
:
sync
:
ip
:
192.168.102.171
ip
:
192.168.102.171
port
:
8880
port
:
8880
server
:
server
:
port
:
8800
port
:
8088
eureka
:
instance
:
prefer-ip-address
:
true
lease-expiration-duration-in-seconds
:
3
lease-renewal-interval-in-seconds
:
7
client
:
service-url
:
defaultZone
:
http://192.168.100.248:1111/eureka/
src/main/resources/workflow/css/chunk-5f2116e7.55076b45.css
deleted
100644 → 0
浏览文件 @
6bad79ed
.searchBar
[
data-v-7ef02ce2
]
{
background-color
:
#fff
;
width
:
100%
;
height
:
84px
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
border-radius
:
4px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.addProcessDialog
[
data-v-7ef02ce2
]
.el-input__inner
,
.addProcessDialog
[
data-v-7ef02ce2
]
.el-textarea__inner
{
font-size
:
20px
;
background-color
:
#f9fafd
}
.ty_padding_left_right
[
data-v-7ef02ce2
]
{
padding
:
0
36px
}
.checkModel
[
data-v-7ef02ce2
]
{
width
:
100%
;
height
:
60px
}
.checkModel
.add
[
data-v-7ef02ce2
]
{
border
:
1px
solid
#2a3db3
;
color
:
#2a3db3
;
border-radius
:
20px
}
.add
[
data-v-7ef02ce2
]
:hover
,
.checkModel
.add
[
data-v-7ef02ce2
]
{
width
:
100px
;
height
:
40px
;
text-align
:
center
;
line-height
:
40px
;
font-size
:
18px
;
cursor
:
pointer
}
.add
[
data-v-7ef02ce2
]
:hover
{
background-color
:
#2a3db3
;
color
:
#fff
;
border-radius
:
20px
}
.check_byte
[
data-v-7ef02ce2
]
{
margin-top
:
30px
}
.check_byte
.item
[
data-v-7ef02ce2
]
{
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
width
:
500px
;
margin-bottom
:
10px
}
.item
[
data-v-7ef02ce2
]
.el-input__inner
{
height
:
50px
;
font-size
:
18px
}
.item
.del
[
data-v-7ef02ce2
]
{
margin-left
:
40px
;
width
:
50px
;
color
:
red
;
font-size
:
18px
;
cursor
:
pointer
}
.el-dialog__header
{
background
:
#e0e8ff
;
height
:
36px
;
padding
:
10px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
}
.el-dialog__header
>
.el-dialog__title
{
font-size
:
22px
;
color
:
#35435e
;
font-weight
:
700
;
margin-left
:
30px
}
.el-dialog__header
>
.el-dialog__headerbtn
>
i
{
border-radius
:
50%
;
background
:
#2a3db3
;
color
:
#fff
;
font-size
:
22px
}
.ty_return
[
data-v-1edc5e91
]
{
display
:
inline-block
;
color
:
#2a3db3
;
cursor
:
pointer
;
font-size
:
18px
}
.addDataModel
[
data-v-1edc5e91
]
{
height
:
100%
}
.addDataModel
[
data-v-1edc5e91
]
.el-form-item__label
{
font-size
:
20px
}
.searchBar
[
data-v-1edc5e91
]
.el-col
{
margin
:
10px
0
}
.searchBar
[
data-v-1edc5e91
]
.el-form-item
{
margin-bottom
:
0
}
.searchBar
[
data-v-1edc5e91
]
.el-form-item__content
{
line-height
:
0
}
.searchBar
[
data-v-1edc5e91
]
.el-input__inner
,
.searchBar
[
data-v-1edc5e91
]
.el-select
.el-input__inner
{
background
:
#f9fafd
;
border
:
1px
solid
#ebedf1
;
font-size
:
20px
;
color
:
#a1a8ba
}
.searchBar
[
data-v-1edc5e91
]
.el-input__inner
:focus
{
background-color
:
#fdfdfd
;
border
:
1px
solid
#a8b0e2
;
font-size
:
20px
;
color
:
#35435e
}
.searchBar
[
data-v-1edc5e91
]
{
background-color
:
#fff
;
width
:
100%
;
height
:
90px
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
border-radius
:
4px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.basicObject
[
data-v-1edc5e91
]
{
font-size
:
20px
;
color
:
#606266
;
line-height
:
40px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
}
.basicObject_input
[
data-v-1edc5e91
]
{
position
:
relative
;
width
:
60%
;
margin-left
:
10px
}
.basicObject_input
input
[
data-v-1edc5e91
]
{
width
:
98%
;
background
:
#f9fafd
;
border
:
1px
solid
#ebedf1
;
font-size
:
20px
;
color
:
#a1a8ba
;
height
:
37px
;
line-height
:
37px
;
border-radius
:
3px
;
margin
:
0
;
padding-left
:
16px
}
.basicObject_input
input
.active.focus
[
data-v-1edc5e91
],
.basicObject_input
input
.active
[
data-v-1edc5e91
]
:focus
,
.basicObject_input
input
.focus
[
data-v-1edc5e91
],
.basicObject_input
input
:active
.focus
[
data-v-1edc5e91
],
.basicObject_input
input
[
data-v-1edc5e91
]
:active:focus
,
.basicObject_input
input
[
data-v-1edc5e91
]
:focus
{
outline
:
none
;
border-color
:
#ebedf1
;
-webkit-box-shadow
:
none
;
box-shadow
:
none
}
.icon_more
[
data-v-1edc5e91
]
{
background
:
#fff
;
right
:
-13px
}
.icon-circle-close
[
data-v-1edc5e91
],
.icon_more
[
data-v-1edc5e91
]
{
font-size
:
20px
;
width
:
37px
;
height
:
36px
;
border
:
0
;
color
:
#606266
;
position
:
absolute
;
cursor
:
pointer
;
top
:
3px
;
border-radius
:
3px
}
.icon-circle-close
[
data-v-1edc5e91
]
{
background
:
transparent
;
right
:
36px
}
.icon_more.active.focus
[
data-v-1edc5e91
],
.icon_more.active
[
data-v-1edc5e91
]
:focus
,
.icon_more.focus
[
data-v-1edc5e91
],
.icon_more
:active
.focus
[
data-v-1edc5e91
],
.icon_more
[
data-v-1edc5e91
]
:active:focus
,
.icon_more
[
data-v-1edc5e91
]
:focus
{
outline-color
:
#2a3db3
;
outline-width
:
1px
;
-webkit-box-shadow
:
none
;
box-shadow
:
none
}
.ty_span_name
[
data-v-1edc5e91
]
{
font-size
:
20px
;
line-height
:
40px
;
color
:
#a1a8ba
}
\ No newline at end of file
src/main/resources/workflow/css/chunk-79a2a6d4.f7ea5f40.css
deleted
100644 → 0
浏览文件 @
6bad79ed
.main
[
data-v-33cb2b2c
]
{
background-color
:
#fff
;
height
:
100%
}
\ No newline at end of file
src/main/resources/workflow/css/chunk-b5da06ba.7a6ae39b.css
deleted
100644 → 0
浏览文件 @
6bad79ed
#dataModel
[
data-v-37e3475c
]
{
height
:
100%
}
\ No newline at end of file
src/main/resources/workflow/css/parser-home.8cdb50e6.css
deleted
100644 → 0
浏览文件 @
6bad79ed
.homePage
>
.el-container
[
data-v-ef5e00c4
],
.homePage
[
data-v-ef5e00c4
],
.homePage
[
data-v-ef5e00c4
]
.el-aside
{
height
:
100%
}
.homePage
[
data-v-ef5e00c4
]
.menu
{
height
:
100%
;
width
:
100%
;
background-color
:
#2a3db3
}
.homePage
.title
[
data-v-ef5e00c4
]
{
width
:
100%
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-pack
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
;
margin-bottom
:
34px
}
.homePage
.title
span
[
data-v-ef5e00c4
]
{
font-size
:
35px
;
font-weight
:
700
;
color
:
#fff
;
text-align
:
center
;
margin
:
44px
0
}
.homePage
.menuItem
[
data-v-ef5e00c4
]
{
-webkit-box-orient
:
vertical
;
-webkit-box-direction
:
normal
;
-ms-flex-direction
:
column
;
flex-direction
:
column
;
-webkit-box-pack
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
}
.homePage
.menuItem
[
data-v-ef5e00c4
],
.ItemDiv
[
data-v-ef5e00c4
]
{
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
}
.ItemDiv
[
data-v-ef5e00c4
]
{
width
:
228px
;
height
:
56px
;
border-radius
:
8px
;
margin
:
0
;
margin-bottom
:
20px
;
-webkit-box-pack
:
start
;
-ms-flex-pack
:
start
;
justify-content
:
flex-start
;
cursor
:
pointer
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
}
.itemDivAct
[
data-v-ef5e00c4
]
{
background-color
:
#fff
}
.itemDivAct
.ItemSpanAct
[
data-v-ef5e00c4
]
{
color
:
#35435e
}
.ItemImg
[
data-v-ef5e00c4
]
{
margin-left
:
20px
;
margin-right
:
10px
}
.ItemSpan
[
data-v-ef5e00c4
]
{
font-size
:
20px
;
color
:
#d7dbe3
}
.header
[
data-v-ef5e00c4
]
{
width
:
100%
;
height
:
72px
!important
;
padding
:
0
!important
;
background-color
:
#f3f2f7
}
.header
>
div
[
data-v-ef5e00c4
]
{
width
:
100%
;
height
:
56px
;
background-color
:
#fff
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-pack
:
justify
;
-ms-flex-pack
:
justify
;
justify-content
:
space-between
}
.ty_return
[
data-v-ef5e00c4
]
{
display
:
inline-block
;
margin-right
:
40px
;
color
:
#2a3db3
!important
;
cursor
:
pointer
}
.main
[
data-v-ef5e00c4
]
.stripe
{
background-color
:
#fcfcfd
}
.main
[
data-v-ef5e00c4
]
{
background-color
:
#f3f2f7
;
padding
:
12px
32px
32px
;
height
:
100%
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
94%
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
42
,
61
,
179
,
.1
);
border-radius
:
4px
}
.main
[
data-v-ef5e00c4
]
.el-table
.cell
{
font-size
:
18px
;
color
:
#35435e
;
line-height
:
36px
;
text-align
:
center
}
.main
[
data-v-ef5e00c4
]
.el-table
th
{
background-color
:
#dde1f3
}
.main
[
data-v-ef5e00c4
]
.el-table
th
>
.cell
{
text-align
:
center
;
font-size
:
16px
;
background-color
:
#dde1f3
;
color
:
#65728a
}
.main
[
data-v-ef5e00c4
]
.el-dialog__header
{
background
:
#e0e8ff
;
height
:
36px
;
padding
:
10px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
}
.main
[
data-v-ef5e00c4
]
.el-dialog__header
>
.el-dialog__title
{
font-size
:
20px
;
color
:
#35435e
;
font-weight
:
700
;
margin-left
:
30px
}
.main
[
data-v-ef5e00c4
]
.el-dialog__header
>
.el-dialog__headerbtn
>
i
{
border-radius
:
50%
;
background
:
#2a3db3
;
color
:
#fff
;
font-size
:
22px
}
.main
[
data-v-ef5e00c4
]
.el-dialog
{
border-radius
:
6px
;
-webkit-box-shadow
:
4px
4px
8px
rgba
(
42
,
61
,
179
,
.2
);
box-shadow
:
4px
4px
8px
rgba
(
42
,
61
,
179
,
.2
)}
.homePage
[
data-v-ef5e00c4
]
.el-dialog__header
{
border-radius
:
6px
}
.main
[
data-v-ef5e00c4
]
.el-dialog__header
>
.el-dialog__headerbtn
:hover
{
opacity
:
.6
}
.main
[
data-v-ef5e00c4
]
.el-table
td
{
border-bottom
:
1px
solid
#e7ebfc
}
.main
[
data-v-ef5e00c4
]
.el-table
td
,
.main
[
data-v-ef5e00c4
]
.el-table
th
{
padding
:
8px
0
!important
}
.main
[
data-v-ef5e00c4
]
.el-table
tr
:hover
>
td
{
background-color
:
#98a9e1
!important
}
.main
[
data-v-ef5e00c4
]
.el-table__body
tr
:hover
:not
(
input
,
i
)
{
color
:
#fff
!important
}
.time
[
data-v-ef5e00c4
]
{
height
:
80px
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
position
:
relative
}
.time
span
[
data-v-ef5e00c4
]
{
font-size
:
18px
;
color
:
#65728a
;
margin-left
:
34px
}
\ No newline at end of file
src/main/resources/workflow/index.html
浏览文件 @
49d728d4
<!doctype html>
<html
lang=
"zh"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=0,maximum-scale=0,user-scalable=yes,shrink-to-fit=no"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
workFlow
</title><style>
.pre-loader
{
position
:
absolute
;
top
:
calc
(
50%
-
32px
);
left
:
calc
(
50%
-
32px
);
width
:
64px
;
height
:
64px
;
border-radius
:
50%
;
perspective
:
800px
}
.pre-loader
.inner
{
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
;
border-radius
:
50%
}
.pre-loader
.inner.one
{
left
:
0
;
top
:
0
;
-webkit-animation
:
rotate-one
1s
linear
infinite
;
animation
:
rotate-one
1s
linear
infinite
;
border-bottom
:
3px
solid
#bc9048
}
.pre-loader
.inner.two
{
right
:
0
;
top
:
0
;
-webkit-animation
:
rotate-two
1s
linear
infinite
;
animation
:
rotate-two
1s
linear
infinite
;
border-right
:
3px
solid
#74aeff
}
.pre-loader
.inner.three
{
right
:
0
;
bottom
:
0
;
-webkit-animation
:
rotate-three
1s
linear
infinite
;
animation
:
rotate-three
1s
linear
infinite
;
border-top
:
3px
solid
#caef74
}
@keyframes
rotate-one
{
0
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
0
);
transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
360deg
)}}
@keyframes
rotate-two
{
0
%
{
-webkit-transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
0
);
transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
360deg
)}}
@keyframes
rotate-three
{
0
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
0
);
transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
360deg
)}}
</style><link
href=
"https://lib.baomitu.com/element-ui/2.13.2/theme-chalk/index.css"
rel=
"stylesheet"
><link
href=
"https://lib.baomitu.com/monaco-editor/0.19.3/min/vs/editor/editor.main.css"
rel=
"stylesheet"
><script
src=
"https://lib.baomitu.com/vue/2.6.11/vue.min.js"
></script><script
src=
"https://lib.baomitu.com/vue-router/3.1.3/vue-router.min.js"
></script><script
src=
"https://lib.baomitu.com/element-ui/2.13.2/index.js"
></script><link
href=
"css/chunk-049cee69.d76d2b9a.css"
rel=
"prefetch"
><link
href=
"css/chunk-06ec14b8.fa77da4b.css"
rel=
"prefetch"
><link
href=
"css/chunk-3006e7c0.263a45f1.css"
rel=
"prefetch"
><link
href=
"css/chunk-5f2116e7.55076b45.css"
rel=
"prefetch"
><link
href=
"css/chunk-75a4e523.a68f5ffa.css"
rel=
"prefetch"
><link
href=
"css/chunk-79a2a6d4.f7ea5f40.css"
rel=
"prefetch"
><link
href=
"css/chunk-7c52297c.61b80532.css"
rel=
"prefetch"
><link
href=
"css/chunk-b5da06ba.7a6ae39b.css"
rel=
"prefetch"
><link
href=
"css/parser-home.8cdb50e6.css"
rel=
"prefetch"
><link
href=
"css/tinymce-example.0e433876.css"
rel=
"prefetch"
><link
href=
"js/chunk-049cee69.436ac7e8.js"
rel=
"prefetch"
><link
href=
"js/chunk-06ec14b8.53b2ec94.js"
rel=
"prefetch"
><link
href=
"js/chunk-3006e7c0.954089d3.js"
rel=
"prefetch"
><link
href=
"js/chunk-5f2116e7.39e63f89.js"
rel=
"prefetch"
><link
href=
"js/chunk-75a4e523.42aad87f.js"
rel=
"prefetch"
><link
href=
"js/chunk-79a2a6d4.b1d5b12d.js"
rel=
"prefetch"
><link
href=
"js/chunk-7c52297c.c0a80b51.js"
rel=
"prefetch"
><link
href=
"js/chunk-b5da06ba.6d3fd328.js"
rel=
"prefetch"
><link
href=
"js/chunk-fec0be80.0583a8a1.js"
rel=
"prefetch"
><link
href=
"js/parser-home.8b3caa4d.js"
rel=
"prefetch"
><link
href=
"js/tinymce-example.0cafa1e6.js"
rel=
"prefetch"
><link
href=
"css/index.7a9e4f8e.css"
rel=
"preload"
as=
"style"
><link
href=
"js/chunk-vendors.0fa4ad9a.js"
rel=
"preload"
as=
"script"
><link
href=
"js/index.637817d4.js"
rel=
"preload"
as=
"script"
><link
href=
"css/index.7a9e4f8e.css"
rel=
"stylesheet"
></head><body><noscript><strong>
抱歉,javascript被禁用,请开启后重试。
</strong></noscript><div
id=
"app"
></div><div
class=
"pre-loader"
id=
"pre-loader"
><div
class=
"inner one"
></div><div
class=
"inner two"
></div><div
class=
"inner three"
></div></div><script
src=
"js/chunk-vendors.0fa4ad9a.js"
></script><script
src=
"js/index.637817d4.js"
></script></body></html>
<!doctype html>
<html
lang=
"zh"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=0,maximum-scale=0,user-scalable=yes,shrink-to-fit=no"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
workFlow
</title><style>
.pre-loader
{
position
:
absolute
;
top
:
calc
(
50%
-
32px
);
left
:
calc
(
50%
-
32px
);
width
:
64px
;
height
:
64px
;
border-radius
:
50%
;
perspective
:
800px
}
.pre-loader
.inner
{
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
;
border-radius
:
50%
}
.pre-loader
.inner.one
{
left
:
0
;
top
:
0
;
-webkit-animation
:
rotate-one
1s
linear
infinite
;
animation
:
rotate-one
1s
linear
infinite
;
border-bottom
:
3px
solid
#bc9048
}
.pre-loader
.inner.two
{
right
:
0
;
top
:
0
;
-webkit-animation
:
rotate-two
1s
linear
infinite
;
animation
:
rotate-two
1s
linear
infinite
;
border-right
:
3px
solid
#74aeff
}
.pre-loader
.inner.three
{
right
:
0
;
bottom
:
0
;
-webkit-animation
:
rotate-three
1s
linear
infinite
;
animation
:
rotate-three
1s
linear
infinite
;
border-top
:
3px
solid
#caef74
}
@keyframes
rotate-one
{
0
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
0
);
transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
35deg
)
rotateY
(
-45deg
)
rotateZ
(
360deg
)}}
@keyframes
rotate-two
{
0
%
{
-webkit-transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
0
);
transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
50deg
)
rotateY
(
10deg
)
rotateZ
(
360deg
)}}
@keyframes
rotate-three
{
0
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
0
);
transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
0
)}
100
%
{
-webkit-transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
360deg
);
transform
:
rotateX
(
35deg
)
rotateY
(
55deg
)
rotateZ
(
360deg
)}}
</style><link
href=
"https://lib.baomitu.com/element-ui/2.13.2/theme-chalk/index.css"
rel=
"stylesheet"
><link
href=
"https://lib.baomitu.com/monaco-editor/0.19.3/min/vs/editor/editor.main.css"
rel=
"stylesheet"
><script
src=
"https://lib.baomitu.com/vue/2.6.11/vue.min.js"
></script><script
src=
"https://lib.baomitu.com/vue-router/3.1.3/vue-router.min.js"
></script><script
src=
"https://lib.baomitu.com/element-ui/2.13.2/index.js"
></script><link
href=
"css/chunk-02a5a3a9.5ca0b091.css"
rel=
"prefetch"
><link
href=
"css/chunk-18e0ea77.04c9f0cf.css"
rel=
"prefetch"
><link
href=
"css/chunk-29fd0152.5ca0b091.css"
rel=
"prefetch"
><link
href=
"css/chunk-3006e7c0.263a45f1.css"
rel=
"prefetch"
><link
href=
"css/chunk-30179e6c.f89cccc5.css"
rel=
"prefetch"
><link
href=
"css/chunk-358e2103.ad6bf27a.css"
rel=
"prefetch"
><link
href=
"css/chunk-525fc2d8.84a55126.css"
rel=
"prefetch"
><link
href=
"css/chunk-5a68d65e.265b8789.css"
rel=
"prefetch"
><link
href=
"css/chunk-5b2534c0.404c0fca.css"
rel=
"prefetch"
><link
href=
"css/chunk-6aa30806.5ca0b091.css"
rel=
"prefetch"
><link
href=
"css/chunk-7c52297c.61b80532.css"
rel=
"prefetch"
><link
href=
"css/chunk-e78c3d4c.2ab27357.css"
rel=
"prefetch"
><link
href=
"css/parser-home.b5026cff.css"
rel=
"prefetch"
><link
href=
"css/tinymce-example.0e433876.css"
rel=
"prefetch"
><link
href=
"js/chunk-02a5a3a9.78f2297b.js"
rel=
"prefetch"
><link
href=
"js/chunk-18e0ea77.71a934e6.js"
rel=
"prefetch"
><link
href=
"js/chunk-29fd0152.ac2e6d8a.js"
rel=
"prefetch"
><link
href=
"js/chunk-3006e7c0.3c1f4d0c.js"
rel=
"prefetch"
><link
href=
"js/chunk-30179e6c.485a62e2.js"
rel=
"prefetch"
><link
href=
"js/chunk-358e2103.62d5b25a.js"
rel=
"prefetch"
><link
href=
"js/chunk-525fc2d8.4b415298.js"
rel=
"prefetch"
><link
href=
"js/chunk-5a68d65e.33db689d.js"
rel=
"prefetch"
><link
href=
"js/chunk-5b2534c0.a0d64759.js"
rel=
"prefetch"
><link
href=
"js/chunk-6aa30806.fc92c339.js"
rel=
"prefetch"
><link
href=
"js/chunk-7c52297c.c0a80b51.js"
rel=
"prefetch"
><link
href=
"js/chunk-e78c3d4c.09ead955.js"
rel=
"prefetch"
><link
href=
"js/chunk-fec0be80.46ae2c64.js"
rel=
"prefetch"
><link
href=
"js/parser-home.1cbe416e.js"
rel=
"prefetch"
><link
href=
"js/tinymce-example.0f8d90cb.js"
rel=
"prefetch"
><link
href=
"css/index.4307d532.css"
rel=
"preload"
as=
"style"
><link
href=
"js/chunk-vendors.0fa4ad9a.js"
rel=
"preload"
as=
"script"
><link
href=
"js/index.f19c1f4f.js"
rel=
"preload"
as=
"script"
><link
href=
"css/index.4307d532.css"
rel=
"stylesheet"
></head><body><noscript><strong>
抱歉,javascript被禁用,请开启后重试。
</strong></noscript><div
id=
"app"
></div><div
class=
"pre-loader"
id=
"pre-loader"
><div
class=
"inner one"
></div><div
class=
"inner two"
></div><div
class=
"inner three"
></div></div><script
src=
"js/chunk-vendors.0fa4ad9a.js"
></script><script
src=
"js/index.f19c1f4f.js"
></script></body></html>
\ No newline at end of file
\ No newline at end of file
src/main/resources/workflow/js/chunk-5f2116e7.39e63f89.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-5f2116e7"
],{
"0383"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
(
"637b"
)},
"0654"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
i
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"addDataModel"
},[
a
(
"div"
,{
staticClass
:
"topDiv"
},[
t
.
update
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"基础数据模型添加 "
)]),
t
.
update
?
a
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"基础数据模型修改 "
)]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"ty_return"
,
on
:{
click
:
function
(
e
){
return
t
.
$emit
(
"changeVue"
,
0
)}}},[
t
.
_v
(
"返回"
)])]),
a
(
"div"
,{
staticClass
:
"searchBar"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
model
:
t
.
fieldTableData
,
rules
:
t
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
7
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"名称: "
,
prop
:
"name"
}},[
t
.
update
?
t
.
_e
():
a
(
"el-input"
,{
staticStyle
:{
width
:
"80%"
},
model
:{
value
:
t
.
fieldTableData
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
fieldTableData
,
"name"
,
e
)},
expression
:
"fieldTableData.name"
}}),
t
.
update
?
a
(
"span"
,{
staticClass
:
"ty_span_name"
},[
t
.
_v
(
t
.
_s
(
t
.
fieldTableData
.
name
))]):
t
.
_e
()],
1
)],
1
),
a
(
"el-col"
,{
attrs
:{
span
:
7
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"标签: "
,
prop
:
"alias"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"80%"
},
model
:{
value
:
t
.
fieldTableData
.
alias
,
callback
:
function
(
e
){
t
.
$set
(
t
.
fieldTableData
,
"alias"
,
e
)},
expression
:
"fieldTableData.alias"
}})],
1
)],
1
),
a
(
"el-col"
,{
attrs
:{
span
:
7
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"描述: "
,
prop
:
"description"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"80%"
},
model
:{
value
:
t
.
fieldTableData
.
description
,
callback
:
function
(
e
){
t
.
$set
(
t
.
fieldTableData
,
"description"
,
e
)},
expression
:
"fieldTableData.description"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
a
(
"div"
,{
staticClass
:
"ty_table"
,
staticStyle
:{
overflow
:
"hidden"
}},[
a
(
"div"
,{
staticClass
:
"topDiv"
},[
a
(
"button"
,{
staticClass
:
"addProcess"
,
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"新增字段"
)]),
a
(
"button"
,{
staticClass
:
"preservationButton"
,
on
:{
click
:
t
.
addTable
}},[
t
.
_v
(
"保存"
)])]),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"10px"
},
attrs
:{
data
:
t
.
fieldTableData
.
columnInfos
,
height
:
"540"
,
"row-class-name"
:
function
(
t
){
t
.
row
;
var
e
=
t
.
rowIndex
;
return
e
%
2
==
0
?
""
:
"stripe"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"字段名"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-input"
,{
model
:{
value
:
e
.
row
.
name
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"name"
,
a
)},
expression
:
"scope.row.name"
}}):
t
.
_e
(),
0
==
e
.
row
.
isPrimary
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
name
))]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"description"
,
label
:
"描述"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-input"
,{
model
:{
value
:
e
.
row
.
description
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"description"
,
a
)},
expression
:
"scope.row.description"
}}):
t
.
_e
(),
0
==
e
.
row
.
isPrimary
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
description
))]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pattern"
,
label
:
"正则"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-input"
,{
model
:{
value
:
e
.
row
.
pattern
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"pattern"
,
a
)},
expression
:
"scope.row.pattern"
}}):
t
.
_e
(),
0
==
e
.
row
.
isPrimary
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
pattern
))]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"type"
,
label
:
"类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择数据类型"
},
on
:{
change
:
function
(
a
){
return
t
.
changeType
(
e
.
$index
,
e
.
row
.
type
)}},
model
:{
value
:
e
.
row
.
type
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"type"
,
a
)},
expression
:
"scope.row.type"
}},
t
.
_l
(
t
.
type
,(
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
lab
,
value
:
t
.
value
}})})),
1
):
t
.
_e
(),
0
==
e
.
row
.
isPrimary
?
a
(
"span"
,[
"java.lang.String"
==
e
.
row
.
type
?
a
(
"span"
,[
t
.
_v
(
"文本"
)]):
t
.
_e
(),
"java.lang.Integer"
==
e
.
row
.
type
?
a
(
"span"
,[
t
.
_v
(
"数字"
)]):
t
.
_e
(),
"java.util.Date"
==
e
.
row
.
type
?
a
(
"span"
,[
t
.
_v
(
"时间"
)]):
t
.
_e
()]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"length"
,
label
:
"长度"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-input"
,{
model
:{
value
:
e
.
row
.
length
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"length"
,
a
)},
expression
:
"scope.row.length"
}}):
t
.
_e
(),
0
==
e
.
row
.
isPrimary
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
length
))]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
label
:
"引用"
,
width
:
"130"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
1
==
e
.
row
.
isPrimary
?
a
(
"el-button"
,{
staticStyle
:{
"background-color"
:
"#2a3db3"
,
color
:
"#fff"
},
on
:{
click
:
function
(
a
){
return
t
.
onClick_showOptionSet
(
e
.
row
.
quotes
,
e
.
$index
)}}},[
t
.
_v
(
"设置"
)]):
t
.
_e
()]}}])}),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"130"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
!=
e
.
row
.
isPrimary
?
a
(
"el-button"
,{
staticStyle
:{
color
:
"red"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
t
.
del
(
e
.
$index
)}}},[
t
.
_v
(
"删除"
)]):
a
(
"span"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"100%"
,
height
:
"100%"
}})]}}])})],
1
)],
1
),
t
.
isShowOptionSet
?
a
(
"option-set-dialog"
,{
attrs
:{
isShowOptionSet
:
t
.
isShowOptionSet
,
currentIndex
:
t
.
currentIndex
,
optionList
:
t
.
optionList
,
update
:
t
.
update
},
on
:{
"update:isShowOptionSet"
:
function
(
e
){
t
.
isShowOptionSet
=
e
},
"update:is-show-option-set"
:
function
(
e
){
t
.
isShowOptionSet
=
e
},
close
:
t
.
onClick_closeOption
}}):
t
.
_e
()],
1
)},
n
=
[],
s
=
(
a
(
"c740"
),
a
(
"a434"
),
a
(
"b0c0"
),
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"addOptionDialog"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"引用设置"
,
visible
:
t
.
isShowOptionSet
,
width
:
"40%"
,
top
:
"80px"
,
"append-to-body"
:
""
,
"before-close"
:
t
.
showFalse
},
on
:{
"update:visible"
:
function
(
e
){
t
.
isShowOptionSet
=
e
}}},[
a
(
"div"
,{
staticClass
:
"ty_padding_left_right"
},[
a
(
"div"
,{
staticClass
:
"checkModel"
},[
a
(
"div"
,{
staticClass
:
"add"
,
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"添加"
)])]),
a
(
"div"
,{
staticClass
:
"check_byte"
},
t
.
_l
(
t
.
inputList
,(
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
i
,
staticClass
:
"item"
},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
e
.
value
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"value"
,
a
)},
expression
:
"item.value"
}}),
a
(
"div"
,{
staticClass
:
"del"
,
on
:{
click
:
function
(
e
){
return
t
.
del
(
i
)}}},[
t
.
_v
(
"删除"
)])],
1
)})),
0
)]),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"button"
,{
staticClass
:
"button_ty"
,
on
:{
click
:
t
.
showFalse
}},[
t
.
_v
(
"取 消"
)]),
a
(
"button"
,{
staticClass
:
"searchBtn button_ty"
,
on
:{
click
:
t
.
onClick_confrim
}},[
t
.
_v
(
" 确定 "
)])])])],
1
)}),
l
=
[],
o
=
{
props
:[
"isShowOptionSet"
,
"currentIndex"
,
"optionList"
,
"update"
],
data
:
function
(){
return
{
inputList
:[{
value
:
""
}]}},
created
:
function
(){
Array
.
isArray
(
this
.
optionList
)
&&
this
.
optionList
.
length
>
0
&&
(
this
.
inputList
=
this
.
optionList
)},
methods
:{
add
:
function
(){
this
.
inputList
.
push
({
value
:
""
})},
del
:
function
(
t
){
this
.
inputList
.
length
>
1
&&
this
.
inputList
.
splice
(
t
,
1
)},
showFalse
:
function
(){
this
.
$emit
(
"close"
,
!
1
)},
unNull
:
function
(
t
){
for
(
var
e
=
0
;
e
<
t
.
length
;
e
++
)
if
(
t
[
e
].
value
.
length
<
1
)
return
!
0
;
return
!
1
},
onClick_confrim
:
function
(){
this
.
$emit
(
"close"
,
this
.
inputList
,
this
.
currentIndex
,
!
0
)}}},
r
=
o
,
c
=
(
a
(
"5c50"
),
a
(
"0383"
),
a
(
"2877"
)),
u
=
Object
(
c
[
"a"
])(
r
,
s
,
l
,
!
1
,
null
,
"7ef02ce2"
,
null
),
d
=
u
.
exports
,
p
=
{
name
:
"addFormDialog"
,
components
:{
OptionSetDialog
:
d
},
data
:
function
(){
return
{
update
:
!
1
,
isShowOptionSet
:
!
1
,
optionList
:[],
type
:[{
lab
:
"数字"
,
value
:
"java.lang.Integer"
,
lengths
:
"11"
},{
lab
:
"文本"
,
value
:
"java.lang.String"
,
lengths
:
"255"
},{
lab
:
"时间"
,
value
:
"java.util.Date"
,
lengths
:
"0"
}],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入表名"
,
trigger
:
"blur"
}],
alias
:[{
required
:
!
0
,
message
:
"请输入别名"
,
trigger
:
"blur"
}]},
dbId
:
""
,
fieldTableData
:{
name
:
""
,
alias
:
""
,
description
:
""
,
processKey
:
""
,
columnInfos
:[{
name
:
""
,
pattern
:
""
,
description
:
""
,
type
:
"java.lang.String"
,
length
:
"255"
,
isPrimary
:
1
,
quotes
:[{
value
:
""
}]}]}}},
created
:
function
(){
this
.
$store
.
state
.
ty_model
.
id
&&
(
this
.
update
=!
0
,
this
.
fieldTableData
=
this
.
$store
.
state
.
ty_model
)},
methods
:{
onClick_showOptionSet
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
optionList
=
t
,
this
.
isShowOptionSet
=!
0
},
onClick_closeOption
:
function
(
t
,
e
){
this
.
isShowOptionSet
=!
1
,
t
&&
(
this
.
fieldTableData
.
columnInfos
[
e
].
quotes
=
t
)},
changeType
:
function
(
t
,
e
){
var
a
=
this
.
type
.
findIndex
((
function
(
t
,
a
,
i
){
return
t
.
value
==
e
}));
this
.
fieldTableData
.
columnInfos
[
t
].
length
=
this
.
type
[
a
].
lengths
},
add
:
function
(){
var
t
=
{
name
:
""
,
description
:
""
,
type
:
"java.lang.String"
,
length
:
"255"
,
pattern
:
""
,
isPrimary
:
1
,
quotes
:[{
value
:
""
}]};
this
.
fieldTableData
.
columnInfos
.
push
(
t
)},
del
:
function
(
t
){
this
.
fieldTableData
.
columnInfos
.
length
<=
1
||
this
.
fieldTableData
.
columnInfos
.
splice
(
t
,
1
)},
unique
:
function
(
t
){
for
(
var
e
=
0
;
e
<
t
.
length
;
e
++
)
for
(
var
a
=
0
;
a
<
t
.
length
;
a
++
)
if
(
t
[
e
].
name
==
t
[
a
].
name
&&
e
!=
a
)
return
!
0
;
return
!
1
},
unNull
:
function
(
t
){
for
(
var
e
=
0
;
e
<
t
.
length
;
e
++
)
if
(
t
[
e
].
name
.
length
<
1
)
return
!
0
;
return
!
1
},
addTable
:
function
(){
var
t
=
this
;
if
(
this
.
fieldTableData
.
name
.
length
<
1
)
this
.
$message
.
error
(
"请输入表名"
);
else
{
var
e
=
/^
[
A-Za-z
]{1}[
A-Za-z0-9_
]
+$/
;
if
(
e
.
test
(
this
.
fieldTableData
.
name
))
if
(
this
.
fieldTableData
.
alias
.
length
<
1
)
this
.
$message
.
error
(
"请输入别名"
);
else
if
(
this
.
unique
(
this
.
fieldTableData
.
columnInfos
))
this
.
$message
.
error
(
"字段名不能重复"
);
else
if
(
this
.
unNull
(
this
.
fieldTableData
.
columnInfos
))
this
.
$message
.
error
(
"字段名不能为空"
);
else
{
var
a
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
fieldTableData
));
if
(
a
.
columnInfos
.
length
<
1
)
this
.
$message
.
error
(
"字段个数不能少于一个"
);
else
{
var
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
"保存中,请稍后"
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(0, 0, 0, 0.7)"
});
this
.
update
?(
a
.
id
=
""
,
this
.
$axios
.
updateModel
(
a
).
then
((
function
(
e
){
i
.
close
(),
t
.
$emit
(
"changeVue"
,
0
),
t
.
$message
({
message
:
e
.
data
.
message
,
type
:
"success"
})})).
catch
((
function
(
e
){
i
.
close
(),
t
.
$message
.
error
(
e
.
response
.
data
.
data
)}))):
this
.
$axios
.
addModel
(
a
).
then
((
function
(
e
){
i
.
close
(),
t
.
$emit
(
"changeVue"
,
0
),
t
.
$message
({
message
:
e
.
data
.
message
,
type
:
"success"
})})).
catch
((
function
(
e
){
i
.
close
(),
console
.
log
(
e
.
response
),
t
.
$message
.
error
(
e
.
response
.
data
.
data
)}))}}
else
this
.
$message
.
error
(
"表名格式错误"
)}}}},
f
=
p
,
h
=
(
a
(
"2d8d"
),
a
(
"4cdf"
),
Object
(
c
[
"a"
])(
f
,
i
,
n
,
!
1
,
null
,
"1edc5e91"
,
null
));
e
[
"default"
]
=
h
.
exports
},
"0f47"
:
function
(
t
,
e
,
a
){},
"2d8d"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
(
"ee68"
)},
"4cdf"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
(
"0f47"
)},
"5c50"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
(
"bc1e"
)},
"637b"
:
function
(
t
,
e
,
a
){},
bc1e
:
function
(
t
,
e
,
a
){},
ee68
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
src/main/resources/workflow/js/chunk-79a2a6d4.b1d5b12d.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-79a2a6d4"
],{
"0f1d"
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticStyle
:{
height
:
"100%"
}},[
a
(
"div"
,{
staticClass
:
"main"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"row-class-name"
:
function
(
t
){
t
.
row
;
var
e
=
t
.
rowIndex
;
return
e
%
2
==
0
?
""
:
"stripe"
}}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
label
:
"序号"
,
width
:
"100"
}}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"flowName"
,
label
:
"流程名"
}}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"flowDescribe"
,
label
:
"流程描述"
}}),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"createdTime"
,
label
:
"创建时间"
}}),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否启用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
state
?
"暂停"
:
"启用"
))])]}}])}),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"350"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"operation"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
t
.
editProcess
(
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
a
(
"span"
,{
class
:
1
!=
e
.
row
.
state
?
"disableSpan"
:
""
,
on
:{
click
:
function
(
a
){
return
t
.
disableProcess
(
e
.
row
.
id
)}}},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
state
?
"启用"
:
"暂停"
))]),
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
t
.
deleteProcess
(
e
.
row
)}}},[
t
.
_v
(
"删除"
)])])]}}])})],
1
),
a
(
"el-pagination"
,{
staticStyle
:{
"text-align"
:
"right"
,
"margin-right"
:
"20px"
,
"margin-top"
:
"30px"
},
attrs
:{
background
:
""
,
layout
:
"prev, pager, next"
,
total
:
t
.
totalPages
,
"prev-text"
:
"上一页"
,
"next-text"
:
"下一页"
},
on
:{
"current-change"
:
t
.
pageChange
}})],
1
)])},
s
=
[],
o
=
(
a
(
"b0c0"
),{
name
:
"searchFlowInfo"
,
data
:
function
(){
return
{
totalPages
:
0
,
tableData
:[],
searchForm
:{},
nowPage
:
0
}},
created
:
function
(){
this
.
getProcessData
()},
methods
:{
getProcessData
:
function
(
t
){
var
e
=
this
;
this
.
$axios
.
getProcessData
({
size
:
9
,
page
:
t
,
flowName
:
this
.
searchForm
.
name
,
state
:
this
.
searchForm
.
disable
}).
then
((
function
(
t
){
var
a
=
t
.
data
.
content
;
e
.
totalPages
=
10
*
t
.
data
.
totalPages
,
e
.
tableData
=
a
})).
catch
((
function
(
t
){
console
.
log
(
t
)}))},
pageChange
:
function
(
t
){
this
.
nowPage
=
t
-
1
,
this
.
getProcessData
(
t
-
1
)}}}),
r
=
o
,
l
=
(
a
(
"c858"
),
a
(
"2877"
)),
c
=
Object
(
l
[
"a"
])(
r
,
n
,
s
,
!
1
,
null
,
"33cb2b2c"
,
null
);
e
[
"default"
]
=
c
.
exports
},
"7c02"
:
function
(
t
,
e
,
a
){},
c858
:
function
(
t
,
e
,
a
){
"use strict"
;
a
(
"7c02"
)}}]);
\ No newline at end of file
src/main/resources/workflow/js/chunk-b5da06ba.6d3fd328.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-b5da06ba"
],{
"38c7"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"8b63"
)},
"8b63"
:
function
(
e
,
t
,
n
){},
eee9
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
c
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
attrs
:{
id
:
"dataModel"
}},[
n
(
"router-view"
)],
1
)},
u
=
[],
a
=
(
n
(
"38c7"
),
n
(
"2877"
)),
i
=
{},
r
=
Object
(
a
[
"a"
])(
i
,
c
,
u
,
!
1
,
null
,
"37e3475c"
,
null
);
t
[
"default"
]
=
r
.
exports
}}]);
\ No newline at end of file
src/main/resources/workflow/js/chunk-fec0be80.0583a8a1.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-fec0be80"
],{
"246a"
:
function
(
module
,
__webpack_exports__
,
__webpack_require__
){
"use strict"
;
var
code
=
{
template
:
'<el-form ref="elForm" :model="formData" :rules="rules" size="small" label-width="100px">
\
n <el-form-item label="单行文本" prop="field101">
\
n <el-input v-model="formData.field101" placeholder="请输入单行文本" clearable :style="{width:
\'
100%
\'
}"></el-input>
\
n </el-form-item>
\
n <el-form-item label="下拉选择" prop="field118">
\
n <el-select v-model="formData.field118" placeholder="请选择下拉选择" clearable :style="{width:
\'
100%
\'
}">
\
n <el-option v-for="(item, index) in field118Options" :key="index" :label="item.label" :value="item.value"
\
n :disabled="item.disabled"></el-option>
\
n </el-select>
\
n </el-form-item>
\
n <el-form-item label="单选框组" prop="field119">
\
n <el-radio-group v-model="formData.field119" size="medium">
\
n <el-radio v-for="(item, index) in field119Options" :key="index" :label="item.value"
\
n :disabled="item.disabled">{{item.label}}</el-radio>
\
n </el-radio-group>
\
n </el-form-item>
\
n <el-form-item label="多选框组" prop="field120">
\
n <el-checkbox-group v-model="formData.field120" size="medium">
\
n <el-checkbox v-for="(item, index) in field120Options" :key="index" :label="item.value"
\
n :disabled="item.disabled">{{item.label}}</el-checkbox>
\
n </el-checkbox-group>
\
n </el-form-item>
\
n <el-form-item label="按钮" prop="field121">
\
n <el-button type="primary" icon="el-icon-search" size="medium"> 主要按钮 </el-button>
\
n </el-form-item>
\
n <el-form-item size="large">
\
n <el-button type="primary" @click="submitForm">提交</el-button>
\
n <el-button @click="resetForm">重置</el-button>
\
n </el-form-item>
\
n</el-form>
\
n'
,
js
:
' {
\
n components: {},
\
n props: [],
\
n data() {
\
n return {
\
n formData: {
\
n field101: undefined,
\
n field118: undefined,
\
n field119: undefined,
\
n field120: [],
\
n field121: undefined,
\
n },
\
n rules: {
\
n field101: [{
\
n required: true,
\
n message:
\'
请输入单行文本
\'
,
\
n trigger:
\'
blur
\'
\
n }],
\
n field118: [{
\
n required: true,
\
n message:
\'
请选择下拉选择
\'
,
\
n trigger:
\'
change
\'
\
n }],
\
n field119: [{
\
n required: true,
\
n message:
\'
单选框组不能为空
\'
,
\
n trigger:
\'
change
\'
\
n }],
\
n field120: [{
\
n required: true,
\
n type:
\'
array
\'
,
\
n message:
\'
请至少选择一个多选框组
\'
,
\
n trigger:
\'
change
\'
\
n }],
\
n },
\
n field118Options: [{
\
n "label": "选项一",
\
n "value": 1
\
n }, {
\
n "label": "选项二",
\
n "value": 2
\
n }],
\
n field119Options: [{
\
n "label": "选项一",
\
n "value": 1
\
n }, {
\
n "label": "选项二",
\
n "value": 2
\
n }],
\
n field120Options: [{
\
n "label": "选项一",
\
n "value": 1
\
n }, {
\
n "label": "选项二",
\
n "value": 2
\
n }],
\
n }
\
n },
\
n computed: {},
\
n watch: {},
\
n created() {},
\
n mounted() {},
\
n methods: {
\
n submitForm() {
\
n this.$refs[
\'
elForm
\'
].validate(valid => {
\
n if (!valid) return
\
n // TODO 提交表单
\
n })
\
n },
\
n resetForm() {
\
n this.$refs[
\'
elForm
\'
].resetFields()
\
n },
\
n }
\
n}
\
n'
},
main
=
eval
(
"("
.
concat
(
code
.
js
,
")"
));
main
.
template
=
"<div>"
.
concat
(
code
.
template
,
"</div>"
),
__webpack_exports__
[
"a"
]
=
{
data
:
function
(){
return
{
blogTitle
:
"123"
,
dialogVisible
:
!
1
}},
components
:{
myComp
:{
props
:{
list
:{
type
:
Array
,
default
:
function
(){
return
[]}},
myParam
:{
type
:
Array
}},
components
:{
child
:
main
},
data
:
function
(){
return
{
app
:{
newTime
:
""
,
nowTime
:
""
}}},
template
:
"<div><child /></div>"
,
created
:
function
(){
this
.
newTime
=
Date
.
now
()},
mounted
:
function
(){
this
.
nowTime
=
Date
.
now
(),
console
.
log
(
this
.
nowTime
),
console
.
log
(
this
.
newTime
)}}},
created
:
function
(){
console
.
log
(
210
,
main
),
this
.
getFromPage
(
2
);
var
e
=
[{
tag
:
"el-input"
,
placeholder
:
"请输入单行文本1"
,
bindData
:
"app"
,
name
:
"name"
},{
tag
:
"el-input"
,
bindData
:
"app"
,
name
:
"age"
}];
this
.
param
=
e
},
methods
:{
getFromPage
:
function
(){
var
e
=
this
,
n
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
1
;
n
=
parseInt
(
n
);
var
l
=
{
id
:
n
};
this
.
$axios
.
get_echoPage
(
l
).
then
((
function
(
n
){
var
l
=
JSON
.
parse
(
n
.
data
.
descFile
);
e
.
formData
=
l
,
e
.
drawingList
=
l
.
fields
,
e
.
formData
.
pageName
=
n
.
data
.
pageName
,
e
.
formData
.
pageDesc
=
n
.
data
.
pageDesc
,
e
.
formData
.
id
=
n
.
data
.
id
,
console
.
log
(
206
,
e
.
formData
)})).
catch
((
function
(
e
){
console
.
log
(
e
)}))},
openDialog
:
function
(){
this
.
dialogVisible
=!
0
},
handleClose
:
function
(){
this
.
dialogVisible
=!
1
}}}},
"8fa7"
:
function
(
e
,
n
,
l
){
"use strict"
;
l
.
r
(
n
);
var
i
=
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
l
=
e
.
_self
.
_c
||
n
;
return
l
(
"div"
,[
l
(
"el-button"
,{
on
:{
click
:
e
.
openDialog
}},[
e
.
_v
(
"打开dialog"
)]),
l
(
"el-dialog"
,{
attrs
:{
title
:
"提示"
,
visible
:
e
.
dialogVisible
,
width
:
"30%"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
n
){
e
.
dialogVisible
=
n
}}},[
l
(
"div"
,{
ref
:
"myDiv"
},[
l
(
"myComp"
,{
attrs
:{
myParam
:
e
.
param
}})],
1
),
l
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
l
(
"el-button"
,{
on
:{
click
:
e
.
handleClose
}},[
e
.
_v
(
"取 消"
)]),
l
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
dialogVisible
=!
1
}}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
t
=
[],
a
=
l
(
"246a"
),
o
=
a
[
"a"
],
r
=
l
(
"2877"
),
d
=
Object
(
r
[
"a"
])(
o
,
i
,
t
,
!
1
,
null
,
null
,
null
);
n
[
"default"
]
=
d
.
exports
}}]);
\ No newline at end of file
src/main/resources/workflow/js/parser-home.8b3caa4d.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"parser-home"
],{
"1c6e"
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAAA3UlEQVRIie2VwQ2CMBRAH8S7I8hZZhAZoIlsIE6ibuAG4gRiZIJO4KV3HMEJ6sFqKiECAomJvKRpf9uf1zZN62itqYMfZDGwt7pOSoqoTq5by/BgX4gXdRObSL5mkDRiZAd+kCXA0oQ3IFRSXNpKXjvxgyy0BABjYNdW8Cbpk0Hye5JR9ZRqzM3cWF25kiJ+Bl3tZAPMrbI04k4lHxkkfypxtNb4QRYBEe+vMMAVSEx7XZK/NXUMTApjByBVUqTOdHaOgGMnSy5n5QI5jw+qD27A5XlcHuD1IMmVFPkdsmszeOZbf3AAAAAASUVORK5CYII="
},
3103
:
function
(
A
,
t
,
e
){},
3712
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAABEUlEQVRIie2VzXHCMBBGnz3cKSE54wNQQBwKUBEugQ6ADlwCJWgmLoCoAvmgOyVABeaANCNsiT+bHJh8J+236322dsabNE0DQJZXM2ALTOmvGiiMEhog9RJyIAC2j3SBD9kPBHD6cIdRpKAGlk80LgncRgxyMErsHiVkeXUI+TGIe6gEZi42Siy8nP8S2igR/fKrEAv4juRifkfp7ZL+eh9IMvn6KYCC8/2PrX8EdMsD+PXO/kyu1esR8El3iOOA1258d/37zOQf8jBEv5ghU6OEBOacf+9DqgbmRokycesXIMurNbAaALAxSqxdcAGxoD67/mK3O3UGbwtk279Tsg0IQl6hP4HENuMW2D3Rbx8yTwtqSfCGzgIOAAAAAElFTkSuQmCC"
},
"517f"
:
function
(
A
,
t
,
e
){
"use strict"
;
e
(
"3103"
)},
"5cc9"
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAABqUlEQVRIibWWzVHDMBBGXzzcSQfkjA+4ATzmrhlSgumADggdmApIOsgMviNUQXLQ3XTgVGAOlh1ZSDEQ81083rX8dlern1nTNADEaZkBSyABdkChlaj4geK0nAM5kBnTViux7vyzpmmI0zIHXp2xByDXSmxHAAtAAleOa6+VSACiOC0TDwDgElibKE+p8AAAbuK0XAFc0JbIjr4AnixQBmxNOd9HgK6WwCpyjFIrsQI+LNvilz+2tYA2k9oy3sdpWTFMX5pn7cA7JbQZ+yQBZte3b3OgCnz4oZXIToVq6v4UcN9pJWSklahp6/7pAhjOl1emvC+O+QA8aCUkmBa2oupeRjNwZVp5YV53JnignZNJZBZu5fNNBjmVidvC5yinXUfvtB3Xa0pIUG65ns2z+jeIacfJdQH9Vp14/IMJ/Ku6FS+BG49/D2RjILOTS467xmBcBDwGABj74y8B3TjZHRNndVcA8A10bgsvAwAb9O08+Q/tzoUUtJMc0kYrsY4YHlreSEIO65jwgTZaiRyOt5UC/zpZ21ebkEwXSY5d2gN6yBSy7l61G9gX5GKjjut+7BkAAAAASUVORK5CYII="
},
a793
:
function
(
A
,
t
,
e
){
"use strict"
;
e
.
r
(
t
);
var
n
=
function
(){
var
A
=
this
,
t
=
A
.
$createElement
,
e
=
A
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
A
.
_v
(
"apiManage"
)])},
a
=
[],
i
=
e
(
"2877"
),
s
=
{},
g
=
Object
(
i
[
"a"
])(
s
,
n
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"default"
]
=
g
.
exports
},
ae41
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAAA2UlEQVRIie2W0Q2CMBCGPwl7yAZ2Ax3FERyBERzFERihboAbsMHvg605kUKA+kL8k0vocbmv7UGvSCKYk+SVRz7kQxI7SQS1wJ58egAVQGGcbUYAmAmXiYA7cFmQ+Aoc+s4UpAOaBZBuyJmCRF0BZ8Yn82wn4RlZ+RTEAcfEu5T/S8V0yHptB1IC52C2wI5XYV0vvknkGYv3SKozHSUpNdupyR8yG+J/zLj9oitGvbtjhETL9c/UNm8fsnZVH7092lDhPXBbvP8DNd7OJ2yvRFZVsLlqGbj1PAEtKPP38F+1xwAAAABJRU5ErkJggg=="
},
d5e4
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAAArUlEQVRIie2WwQ3CMAxFXyoGYISOwAgdoSOETRiFDegIHYERMgKd4HMoQWmJkEXTC8qTfIgc5yfytxQkYQyvJYO11knCSG6jsxQ2VoUtVJFNIlfmBgt4AKciKonVOn0yJvkcJgv/b0+qyFcOhc7pgEuyDoB/rwpZeMzkumrhKrI/cU76V6xpWfp/Tcy1mZwHjsDgJPXA7YcLWjk3zNM57SQwAff4JWrJP3krAQhP3noW+phZMpcAAAAASUVORK5CYII="
},
d69c
:
function
(
A
,
t
){
A
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAABaUlEQVRIib2W0XGDMBBEnz3+Dx2EDkwJdBBKcCmkA0qwO3AHcTpQOqAEUsHmQ5Ity0jgQLIz+kCn08Lu3Q0bSTjUQANUgAE6oGceCuDg7gA4A8drVBKSDnrEIKlx8dwqJfUj+cafQVI1ciAkKiZIzpn8VhJbJ5HHN/AePL8EEtSARtZbRsYGYBttXoAW+Az2yswlUygBdsAQbL5hzX6NiHHnQnKPCvvFY7C5TvMhoellhvFtxpPaG+/NjyvkMsN0v7ood5CtWCSx0a1PwBqJk6WeJ/sVJTf/DIENuycvyqEn0bxrkpQkviQu4SU4AB9uVWFgTZIkYrl8t/d/SdKueXlMUhDp6HBn4K/hGs4kOtbMbMhK91PjLm9qLMjFnyF4IFpaXRV2CI4NyL2LFUtJmgRBSNT+R5+YpSQd8JWJn4DjlukSNZnYgJ3WY0Qn7Ki5jvqO8T45Ev7apFFgTd7HBCHJGvD/XkP8Yj9ZqknhlU92jgAAAABJRU5ErkJggg=="
},
d981
:
function
(
A
,
t
,
e
){
"use strict"
;
e
.
r
(
t
);
var
n
=
function
(){
var
A
=
this
,
t
=
A
.
$createElement
,
e
=
A
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"homePage"
},[
e
(
"el-container"
,[
e
(
"el-aside"
,{
attrs
:{
width
:
"280px"
}},[
e
(
"div"
,{
staticClass
:
"menu"
},[
e
(
"div"
,{
staticClass
:
"title"
},[
e
(
"span"
,[
A
.
_v
(
"XXX工作流"
)])]),
e
(
"div"
,{
staticClass
:
"menuItem"
},
A
.
_l
(
A
.
menuItem
,(
function
(
t
){
return
e
(
"router-link"
,{
key
:
t
.
url
,
staticClass
:
"ItemDiv"
,
attrs
:{
"active-class"
:
"itemDivAct"
,
to
:
t
.
url
,
tag
:
"div"
}},[
e
(
"img"
,{
staticClass
:
"ItemImg"
,
attrs
:{
src
:
A
.
$route
.
matched
[
1
].
path
==
t
.
url
?
t
.
actionICon
:
t
.
icon
,
alt
:
""
}}),
e
(
"span"
,{
staticClass
:
"ItemSpan ItemSpanAct"
},[
A
.
_v
(
A
.
_s
(
t
.
name
))])])})),
1
)])]),
e
(
"el-container"
,[
e
(
"el-header"
,{
staticClass
:
"header"
},[
e
(
"div"
,{
staticClass
:
"time"
},[
e
(
"span"
,[
A
.
_v
(
A
.
_s
(
A
.
newTime
))]),
"/dataModel/Manage"
!=
A
.
$route
.
path
&&
"/process/Manage"
!=
A
.
$route
.
path
?
e
(
"span"
,{
staticClass
:
"ty_return"
,
on
:{
click
:
A
.
goOut
}},[
A
.
_v
(
"返回"
)]):
A
.
_e
()])]),
e
(
"el-main"
,{
staticClass
:
"main"
},[
e
(
"router-view"
)],
1
)],
1
)],
1
)],
1
)},
a
=
[],
i
=
{
data
:
function
(){
return
{
menuItem
:[{
name
:
"流程管理"
,
icon
:
e
(
"d69c"
),
actionICon
:
e
(
"5cc9"
),
url
:
"/process"
},{
name
:
"数据模型管理"
,
icon
:
e
(
"d5e4"
),
actionICon
:
e
(
"1c6e"
),
url
:
"/dataModel"
},{
name
:
"服务接口管理"
,
icon
:
e
(
"ae41"
),
actionICon
:
e
(
"3712"
),
url
:
"/searchFlowInfo"
}],
newTime
:
""
}},
created
:
function
(){
var
A
=
this
;
this
.
newTime
=
this
.
getDate
(
Date
.
now
()),
setInterval
((
function
(){
A
.
newTime
=
A
.
getDate
(
Date
.
now
())}),
1
e3
)},
methods
:{
goOut
:
function
(){
this
.
$router
.
go
(
-
1
)},
getDate
:
function
(
A
){
var
t
=
new
Date
(
A
),
e
=
t
.
getFullYear
()
+
"-"
,
n
=
(
t
.
getMonth
()
+
1
<
10
?
"0"
+
(
t
.
getMonth
()
+
1
):
t
.
getMonth
()
+
1
)
+
"-"
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
i
=
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
,
s
=
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
,
g
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
e
+
n
+
a
+
" "
+
i
+
s
+
g
}}},
s
=
i
,
g
=
(
e
(
"517f"
),
e
(
"2877"
)),
o
=
Object
(
g
[
"a"
])(
s
,
n
,
a
,
!
1
,
null
,
"ef5e00c4"
,
null
);
t
[
"default"
]
=
o
.
exports
}}]);
\ No newline at end of file
src/main/resources/workflow/js/preview.f1d279d5.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
function
(
_
){
function
e
(
e
){
for
(
var
o
,
a
,
s
=
e
[
0
],
i
=
e
[
1
],
c
=
e
[
2
],
u
=
0
,
d
=
[];
u
<
s
.
length
;
u
++
)
a
=
s
[
u
],
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
a
)
&&
n
[
a
]
&&
d
.
push
(
n
[
a
][
0
]),
n
[
a
]
=
0
;
for
(
o
in
i
)
Object
.
prototype
.
hasOwnProperty
.
call
(
i
,
o
)
&&
(
_
[
o
]
=
i
[
o
]);
l
&&
l
(
e
);
while
(
d
.
length
)
d
.
shift
()();
return
t
.
push
.
apply
(
t
,
c
||
[]),
r
()}
function
r
(){
for
(
var
_
,
e
=
0
;
e
<
t
.
length
;
e
++
){
for
(
var
r
=
t
[
e
],
o
=!
0
,
s
=
1
;
s
<
r
.
length
;
s
++
){
var
i
=
r
[
s
];
0
!==
n
[
i
]
&&
(
o
=!
1
)}
o
&&
(
t
.
splice
(
e
--
,
1
),
_
=
a
(
a
.
s
=
r
[
0
]))}
return
_
}
var
o
=
{},
n
=
{
preview
:
0
},
t
=
[];
function
a
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
r
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
_
[
e
].
call
(
r
.
exports
,
r
,
r
.
exports
,
a
),
r
.
l
=!
0
,
r
.
exports
}
a
.
m
=
_
,
a
.
c
=
o
,
a
.
d
=
function
(
_
,
e
,
r
){
a
.
o
(
_
,
e
)
||
Object
.
defineProperty
(
_
,
e
,{
enumerable
:
!
0
,
get
:
r
})},
a
.
r
=
function
(
_
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
_
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
_
,
"__esModule"
,{
value
:
!
0
})},
a
.
t
=
function
(
_
,
e
){
if
(
1
&
e
&&
(
_
=
a
(
_
)),
8
&
e
)
return
_
;
if
(
4
&
e
&&
"object"
===
typeof
_
&&
_
&&
_
.
__esModule
)
return
_
;
var
r
=
Object
.
create
(
null
);
if
(
a
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
_
}),
2
&
e
&&
"string"
!=
typeof
_
)
for
(
var
o
in
_
)
a
.
d
(
r
,
o
,
function
(
e
){
return
_
[
e
]}.
bind
(
null
,
o
));
return
r
},
a
.
n
=
function
(
_
){
var
e
=
_
&&
_
.
__esModule
?
function
(){
return
_
[
"default"
]}:
function
(){
return
_
};
return
a
.
d
(
e
,
"a"
,
e
),
e
},
a
.
o
=
function
(
_
,
e
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
_
,
e
)},
a
.
p
=
""
;
var
s
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
i
=
s
.
push
.
bind
(
s
);
s
.
push
=
e
,
s
=
s
.
slice
();
for
(
var
c
=
0
;
c
<
s
.
length
;
c
++
)
e
(
s
[
c
]);
var
l
=
i
;
t
.
push
([
1
,
"chunk-vendors"
]),
r
()})({
1
:
function
(
_
,
e
,
r
){
_
.
exports
=
r
(
"2c42"
)},
"2c42"
:
function
(
module
,
__webpack_exports__
,
__webpack_require__
){
"use strict"
;
__webpack_require__
.
r
(
__webpack_exports__
);
var
core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__
=
__webpack_require__
(
"99af"
),
core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default
=
__webpack_require__
.
n
(
core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__
),
core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_1__
=
__webpack_require__
(
"4160"
),
core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_1___default
=
__webpack_require__
.
n
(
core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_1__
),
core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__
=
__webpack_require__
(
"159b"
),
core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default
=
__webpack_require__
.
n
(
core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__
),
D_work_yida_workflow_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3__
=
__webpack_require__
(
"e260"
),
D_work_yida_workflow_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3___default
=
__webpack_require__
.
n
(
D_work_yida_workflow_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3__
),
D_work_yida_workflow_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__
=
__webpack_require__
(
"e6cf"
),
D_work_yida_workflow_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default
=
__webpack_require__
.
n
(
D_work_yida_workflow_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__
),
D_work_yida_workflow_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__
=
__webpack_require__
(
"cca6"
),
D_work_yida_workflow_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5___default
=
__webpack_require__
.
n
(
D_work_yida_workflow_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__
),
D_work_yida_workflow_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_6__
=
__webpack_require__
(
"a79d"
),
D_work_yida_workflow_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_6___default
=
__webpack_require__
.
n
(
D_work_yida_workflow_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_6__
),
vue__WEBPACK_IMPORTED_MODULE_7__
=
__webpack_require__
(
"8bbf"
),
vue__WEBPACK_IMPORTED_MODULE_7___default
=
__webpack_require__
.
n
(
vue__WEBPACK_IMPORTED_MODULE_7__
),
_utils_loadScript__WEBPACK_IMPORTED_MODULE_8__
=
__webpack_require__
(
"c88b"
),
axios__WEBPACK_IMPORTED_MODULE_9__
=
__webpack_require__
(
"bc3a"
),
axios__WEBPACK_IMPORTED_MODULE_9___default
=
__webpack_require__
.
n
(
axios__WEBPACK_IMPORTED_MODULE_9__
);
vue__WEBPACK_IMPORTED_MODULE_7___default
.
a
.
prototype
.
$axios
=
axios__WEBPACK_IMPORTED_MODULE_9___default
.
a
;
var
$previewApp
=
document
.
getElementById
(
"previewApp"
),
childAttrs
=
{
file
:
""
,
dialog
:
' width="600px" class="dialog-width" v-if="visible" :visible.sync="visible" :modal-append-to-body="false" '
};
function
buildLinks
(
_
){
var
e
=
""
;
return
_
.
forEach
((
function
(
_
){
e
+=
'<link href="'
.
concat
(
_
,
'" rel="stylesheet">'
)})),
e
}
function
init
(
_
){
if
(
"refreshFrame"
===
_
.
data
.
type
){
var
e
=
_
.
data
.
data
,
r
=
childAttrs
[
e
.
generateConf
.
type
],
o
=
""
;
Array
.
isArray
(
e
.
links
)
&&
e
.
links
.
length
>
0
&&
(
o
=
buildLinks
(
e
.
links
)),
$previewApp
.
innerHTML
=
""
.
concat
(
o
,
"<style>"
).
concat
(
e
.
css
,
'</style><div id="app"></div>'
),
Array
.
isArray
(
e
.
scripts
)
&&
e
.
scripts
.
length
>
0
?
Object
(
_utils_loadScript__WEBPACK_IMPORTED_MODULE_8__
[
"b"
])(
e
.
scripts
,(
function
(){
newVue
(
r
,
e
.
js
,
e
.
html
)})):
newVue
(
r
,
e
.
js
,
e
.
html
)}}
function
newVue
(
attrs
,
main
,
html
){
main
=
eval
(
"("
.
concat
(
main
,
")"
)),
main
.
template
=
"<div>"
.
concat
(
html
,
"</div>"
),
new
vue__WEBPACK_IMPORTED_MODULE_7___default
.
a
({
components
:{
child
:
main
},
data
:
function
(){
return
{
visible
:
!
0
}},
template
:
"<div><child "
.
concat
(
attrs
,
"/></div>"
)}).
$mount
(
"#app"
)}
window
.
addEventListener
(
"message"
,
init
,
!
1
)},
"8bbf"
:
function
(
_
,
e
){
_
.
exports
=
Vue
},
c88b
:
function
(
_
,
e
,
r
){
"use strict"
;
r
.
d
(
e
,
"b"
,(
function
(){
return
t
}));
r
(
"4160"
),
r
(
"159b"
);
var
o
=
{};
function
n
(
_
,
e
){
var
r
=
document
.
getElementById
(
_
),
n
=
e
||
function
(){};
if
(
!
r
){
o
[
_
]
=
[];
var
t
=
document
.
createElement
(
"script"
);
t
.
src
=
_
,
t
.
id
=
_
,
t
.
async
=
1
,
document
.
body
.
appendChild
(
t
);
var
a
=
"onload"
in
t
?
s
.
bind
(
t
):
i
.
bind
(
t
);
a
(
t
)}
function
s
(
e
){
var
r
=
this
;
e
.
onload
=
function
(){
r
.
onerror
=
r
.
onload
=
null
,
o
[
_
].
forEach
((
function
(
_
){
_
(
null
,
e
)})),
delete
o
[
_
]},
e
.
onerror
=
function
(){
r
.
onerror
=
r
.
onload
=
null
,
n
(
new
Error
(
"Failed to load "
.
concat
(
_
)),
e
)}}
function
i
(
e
){
var
r
=
this
;
e
.
onreadystatechange
=
function
(){
"complete"
!==
r
.
readyState
&&
"loaded"
!==
r
.
readyState
||
(
r
.
onreadystatechange
=
null
,
o
[
_
].
forEach
((
function
(
_
){
_
(
null
,
e
)})),
delete
o
[
_
])}}
o
[
_
].
push
(
n
)}
function
t
(
_
,
e
){
var
r
=
_
.
shift
();
_
.
length
?
n
(
r
,(
function
(){
return
t
(
_
,
e
)})):
n
(
r
,
e
)}
e
[
"a"
]
=
n
}});
\ No newline at end of file
src/main/resources/workflow/js/tinymce-example.0cafa1e6.js
deleted
100644 → 0
浏览文件 @
6bad79ed
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"tinymce-example"
],{
1496
:
function
(
e
,
t
,
s
){
"use strict"
;
s
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
height
:
"100%"
},
attrs
:{
id
:
"ty_newPath"
}},[
s
(
"iframe"
,{
ref
:
"previewPage"
,
staticClass
:
"result-wrapper"
,
staticStyle
:{
width
:
"100%"
,
height
:
"100%"
},
attrs
:{
frameborder
:
"0"
,
src
:
"preview.html"
},
on
:{
load
:
e
.
iframeLoad
}})])},
i
=
[],
o
=
(
s
(
"99af"
),
s
(
"ac1f"
),
s
(
"5319"
),
s
(
"c534"
)),
r
=
s
(
"f4a7"
),
n
=
s
(
"42ea"
),
c
=
s
(
"ed08"
),
h
=
s
(
"b3ae"
),
f
=
{
data
:
function
(){
return
{
formData
:
void
0
,
generateConf
:{
fileName
:
void
0
,
type
:
"file"
},
activeTab
:
"html"
,
htmlCode
:
""
,
jsCode
:
""
,
cssCode
:
""
,
scripts
:[],
links
:[]}},
computed
:{
resources
:
function
(){
return
this
.
scripts
.
concat
(
this
.
links
)}},
watch
:{},
created
:
function
(){
this
.
getFromPage
(
2
)},
methods
:{
getFromPage
:
function
(){
var
e
=
this
,
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
1
;
t
=
parseInt
(
t
);
var
s
=
{
id
:
t
};
this
.
$axios
.
get_echoPage
(
s
).
then
((
function
(
t
){
console
.
log
(
"表单"
,
t
.
data
);
var
s
=
JSON
.
parse
(
t
.
data
.
descFile
);
e
.
formData
=
s
,
e
.
onOpen
()})).
catch
((
function
(
e
){
console
.
log
(
e
)}))},
onOpen
:
function
(){
var
e
=
this
,
t
=
this
.
generateConf
.
type
;
this
.
htmlCode
=
Object
(
o
[
"b"
])(
this
.
formData
,
t
),
this
.
jsCode
=
Object
(
r
[
"a"
])(
this
.
formData
,
t
,
1
),
this
.
cssCode
=
Object
(
n
[
"a"
])(
this
.
formData
),
Object
(
h
[
"a"
])((
function
(
t
){
beautifier
=
t
,
e
.
htmlCode
=
beautifier
.
html
(
e
.
htmlCode
,
c
[
"a"
].
html
),
e
.
jsCode
=
beautifier
.
js
(
e
.
jsCode
,
c
[
"a"
].
js
),
e
.
cssCode
=
beautifier
.
css
(
e
.
cssCode
,
c
[
"a"
].
html
)}))},
iframeLoad
:
function
(){
this
.
runCode
()},
runCode
:
function
(){
try
{
var
e
=
{
type
:
"refreshFrame"
,
data
:{
generateConf
:
this
.
generateConf
,
html
:
this
.
htmlCode
,
js
:
this
.
jsCode
.
replace
(
c
[
"c"
],
""
),
css
:
this
.
cssCode
,
scripts
:
this
.
scripts
,
links
:
this
.
links
}};
this
.
$refs
.
previewPage
.
contentWindow
.
postMessage
(
e
,
location
.
origin
)}
catch
(
t
){
this
.
$message
.
error
(
"js错误:"
.
concat
(
t
)),
console
.
error
(
t
)}}}},
d
=
f
,
l
=
(
s
(
"f171"
),
s
(
"2877"
)),
u
=
Object
(
l
[
"a"
])(
d
,
a
,
i
,
!
1
,
null
,
"4cce116c"
,
null
);
t
[
"default"
]
=
u
.
exports
},
"9b42"
:
function
(
e
,
t
,
s
){},
f171
:
function
(
e
,
t
,
s
){
"use strict"
;
s
(
"9b42"
)}}]);
\ No newline at end of file
src/main/resources/workflow/preview.html
浏览文件 @
49d728d4
<!doctype html>
<html
lang=
"zh"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
workFlow
</title><link
href=
"https://lib.baomitu.com/element-ui/2.13.2/theme-chalk/index.css"
rel=
"stylesheet"
><script
src=
"https://lib.baomitu.com/vue/2.6.11/vue.min.js"
></script><script
src=
"https://lib.baomitu.com/vue-router/3.1.3/vue-router.min.js"
></script><script
src=
"https://lib.baomitu.com/element-ui/2.13.2/index.js"
></script><style>body
{
margin
:
0
;
padding
:
0
;
overflow-x
:
hidden
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
height
:
calc
(
100vh
-
33px
);
padding
:
12px
;
box-sizing
:
border-box
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Helvetica
,
Arial
,
sans-serif
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
}
input
,
textarea
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Helvetica
,
Arial
,
sans-serif
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
}
</style><link
href=
"js/chunk-vendors.0fa4ad9a.js"
rel=
"preload"
as=
"script"
><link
href=
"js/preview.f1d279d5.js"
rel=
"preload"
as=
"script"
></head><body><noscript><strong>
抱歉,javascript被禁用,请开启后重试。
</strong></noscript><div
id=
"previewApp"
></div><script
src=
"js/chunk-vendors.0fa4ad9a.js"
></script><script
src=
"js/preview.f1d279d5.js"
></script></body></html>
<!doctype html>
<html
lang=
"zh"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
workFlow
</title><link
href=
"https://lib.baomitu.com/element-ui/2.13.2/theme-chalk/index.css"
rel=
"stylesheet"
><script
src=
"https://lib.baomitu.com/vue/2.6.11/vue.min.js"
></script><script
src=
"https://lib.baomitu.com/vue-router/3.1.3/vue-router.min.js"
></script><script
src=
"https://lib.baomitu.com/element-ui/2.13.2/index.js"
></script><style>body
{
margin
:
0
;
padding
:
0
;
overflow-x
:
hidden
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
height
:
calc
(
100vh
-
33px
);
padding
:
12px
;
box-sizing
:
border-box
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Helvetica
,
Arial
,
sans-serif
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
}
input
,
textarea
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Helvetica
,
Arial
,
sans-serif
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
}
</style><link
href=
"js/chunk-vendors.0fa4ad9a.js"
rel=
"preload"
as=
"script"
><link
href=
"js/preview.a0955f40.js"
rel=
"preload"
as=
"script"
></head><body><noscript><strong>
抱歉,javascript被禁用,请开启后重试。
</strong></noscript><div
id=
"previewApp"
></div><script
src=
"js/chunk-vendors.0fa4ad9a.js"
></script><script
src=
"js/preview.a0955f40.js"
></script></body></html>
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论