提交 7eab9967 authored 作者: zhoushaopan's avatar zhoushaopan

[工作流模块]修改了数据类型

上级 aac782cf
......@@ -64,8 +64,6 @@
<version>6.6.0</version>
</dependency>
<!--fastjson-->
<dependency>
<groupId>com.alibaba</groupId>
......@@ -79,6 +77,7 @@
<artifactId>jpa-spec</artifactId>
<version>3.1.1</version>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
......@@ -111,30 +110,36 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.jetbrains</groupId>-->
<!-- <artifactId>annotations</artifactId>-->
<!-- <version>RELEASE</version>-->
<!-- <scope>compile</scope>-->
<!-- </dependency>-->
</dependencies>
<build>
<!-- <resources>-->
<!-- <resource>-->
<!-- <directory>src/main/java</directory>-->
<!-- <includes>-->
<!-- <include>**/*</include>-->
<!-- </includes>-->
<!-- <excludes>-->
<!-- <exclude>**/.svn/*</exclude>-->
<!-- </excludes>-->
<!-- <filtering>false</filtering>-->
<!-- </resource>-->
<!-- <resource>-->
<!-- <directory>${project.basedir}/src/main/resources</directory>-->
<!-- <targetPath>META-INF/resources/</targetPath>-->
<!-- </resource>-->
<!-- </resources>-->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/.svn/*</exclude>
</excludes>
<filtering>false</filtering>
</resource>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<targetPath>/META-INF/resources/</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
<!-- </plugin>-->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
......
......@@ -54,14 +54,14 @@ public class DataHistoryController {
dataHistoryService.saveData(dataHistory);
}
@GetMapping("/findByTaskId")
@ApiOperation(value = "通过任务id查询数据")
public Map<String,Object> findByTaskId(String taskId){
DataHistory byTaskId = dataHistoryService.findByTaskId(taskId);
String datas = byTaskId.getDatas();
Map map = (Map) JSON.parse(datas);
return map;
}
// @GetMapping("/findByTaskId")
// @ApiOperation(value = "通过任务id查询数据")
// public Map<String,Object> findByTaskId(String taskId){
//
// DataHistory byTaskId = dataHistoryService.findByTaskId(taskId);
// String datas = byTaskId.getDatas();
// Map map = (Map) JSON.parse(datas);
// return map;
// }
}
......@@ -19,6 +19,6 @@ public interface DataHistoryMapper extends JpaRepository<DataHistory,Integer>, J
* @param taskId 任务id
* @return
*/
DataHistory findByTaskId(String taskId);
// DataHistory findByTaskId(String taskId);
}
......@@ -31,21 +31,22 @@ import javax.persistence.Lob;
@Api("历史数据展示页面")
public class DataHistory extends BaseEntity {
@ApiModelProperty("任务id")
private String taskId;
@ApiModelProperty("流程主键id")
private String flowKey;
@ApiModelProperty("流程实例id")
private String processInstanceId;
@ApiModelProperty("节点id")
private String nodeId;
@ApiModelProperty("页面id")
private String pageId;
@ApiModelProperty("变量数据")
@Lob
private String datas;
@ApiModelProperty("流程实例id")
private String processInstanceId;
@ApiModelProperty("用户id")
private Integer userId;
@ApiModelProperty("流程主键id")
private String flowKey;
}
......@@ -25,7 +25,7 @@ import java.io.Serializable;
@Api("用户表")
public class WorkFlowUser implements Serializable {
private Integer id;
private String id;
private String userName;
......
......@@ -127,15 +127,19 @@ public class ProcessEndListener extends AbstractFlowableEngineEventListener {
apiController.invoke(invokeRequest);
}
}
//开始节点
if (execution.getCurrentFlowElement() instanceof StartEvent){
DataHistory dataHistory = new DataHistory();
StartEvent startEvent = (StartEvent) execution.getCurrentFlowElement();
//实例id
String processInstanceId = execution.getProcessInstanceId();
//流程id 实例id pageId datas userId
String processInstanceBusinessKey = execution.getProcessInstanceBusinessKey();
dataHistory.setFlowKey(processInstanceBusinessKey);
dataHistory.setProcessInstanceId(execution.getProcessInstanceId());
dataHistory.setPageId(startEvent.getFormKey());
// dataHistory.setUserId();
// dataHistory.setDatas();
System.out.println(processInstanceBusinessKey);
String nodeId = execution.getCurrentActivityId();
String formKey = startEvent.getFormKey();
//通过formKey查询出页面
......@@ -149,12 +153,10 @@ public class ProcessEndListener extends AbstractFlowableEngineEventListener {
//流程实例id
String processInstanceId = task.getProcessInstanceId();
//当前节点id
String nodeId = task.getTaskDefinitionKey();
String processInstanceBusinessKey = execution.getProcessInstanceBusinessKey();
// dataHistory.setTaskId(taskId);
// dataHistory.setTaskId(taskId);
dataHistory.setDatas(datas);
dataHistory.setNodeId(nodeId);
dataHistory.setProcessInstanceId(processInstanceId);
dataHistoryService.saveData(dataHistory);
}
......
......@@ -30,7 +30,7 @@ public interface DataHistoryService {
* @param taskId 任务id
* @return flowsInfo 对象
*/
DataHistory findByTaskId(String taskId);
// DataHistory findByTaskId(String taskId);
}
......@@ -29,8 +29,8 @@ public class DataHistoryServiceImpl implements DataHistoryService {
return dataHistoryMapper.save(dataHistory);
}
@Override
public DataHistory findByTaskId(String taskId) {
return dataHistoryMapper.findByTaskId(taskId);
}
// @Override
// public DataHistory findByTaskId(String taskId) {
// return dataHistoryMapper.findByTaskId(taskId);
// }
}
......@@ -23,7 +23,7 @@ public class DefaultUserServiceImpl implements UserService {
@Override
public WorkFlowUser getCurrentUser() {
WorkFlowUser workFlowUser = new WorkFlowUser();
workFlowUser.setId(0);
workFlowUser.setId("0");
workFlowUser.setUserName("张0");
return workFlowUser;
}
......@@ -34,7 +34,7 @@ public class DefaultUserServiceImpl implements UserService {
for (int i = 0; i < 10; i++) {
WorkFlowUser workFlowUser = new WorkFlowUser();
workFlowUser.setUserName("张"+i);
workFlowUser.setId(i);
workFlowUser.setId("i"+i);
workFlowUsers.add(workFlowUser);
}
return workFlowUsers;
......
......@@ -14,11 +14,7 @@ import com.tykj.workflowcore.workflow_editer.service.UserService;
import com.tykj.workflowcore.workflow_editer.service.VariableStorageService;
import com.tykj.workflowcore.workflow_editer.service.WorkFlowService;
import com.tykj.workflowcore.workflow_editer.util.UserServiceBeanUtil;
import io.swagger.annotations.Api;
import liquibase.pro.packaged.E;
import org.apache.commons.lang3.StringUtils;
import org.dom4j.*;
import org.dom4j.io.SAXReader;
import org.flowable.bpmn.converter.BpmnXMLConverter;
import org.flowable.bpmn.model.*;
import org.flowable.bpmn.model.Process;
......@@ -441,7 +437,7 @@ public class WorkFlowServiceImpl implements WorkFlowService {
@Override
public void claimTask(String taskId) {
//当前登录人的Id
taskService.claim(taskId, Integer.toString(userService.getCurrentUser().getId()));
taskService.claim(taskId, userService.getCurrentUser().getId());
}
@Override
......
......@@ -2,7 +2,7 @@ spring:
datasource:
username: root
password: Huang123+
url: jdbc:mysql://47.106.142.73:3306/www_hxh?useSSL=false&serverTimezone=GMT%2b8&characterEncoding=utf-8&nullCatalogMeansCurrent=true
url: jdbc:mysql://47.106.142.73:3306/www3?useSSL=false&serverTimezone=GMT%2b8&characterEncoding=utf-8&nullCatalogMeansCurrent=true
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
show-sql: true
......
.processManage[data-v-700d8216] .el-form-item__label{font-size:20px}.topDiv[data-v-700d8216]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer}.title[data-v-700d8216]{font-size:22px;color:#35435e;font-weight:700;margin-bottom:20px}.addProcess[data-v-700d8216]{font-size:18px;color:#2a3db3;border:1px solid #2a3db3;width:136px;height:36px;border-radius:18px;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;background-color:#fff}.searchBar[data-v-700d8216] .el-form-item{margin-bottom:0}.searchBar[data-v-700d8216] .el-form-item__content{line-height:0}.searchBar[data-v-700d8216] .el-input__inner,.searchBar[data-v-700d8216] .el-select .el-input__inner{background:#f9fafd;border:2px solid #ebedf1;font-size:20px;color:#a1a8ba}.searchBar[data-v-700d8216]{background-color:#fff;width:100%;height:84px;-webkit-box-shadow:0 1px 13px -8px #2a3bd3;box-shadow:0 1px 13px -8px #2a3bd3;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:34px;-webkit-box-sizing:border-box;box-sizing:border-box}.searchBtn[data-v-700d8216]{width:120px;height:40px;font-size:20px;color:#fff;background-color:#2a3db3;border:none;cursor:pointer;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.searchBtn[data-v-700d8216]:nth-child(2){background-color:#f9fafd;color:#394b6b;border:2px solid #e8eaf0;cursor:pointer;margin-left:20px}.addBtn[data-v-700d8216]{width:120px;height:40px;font-size:20px;color:#fff;background-color:#2a3db3;border:none;cursor:pointer;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-left:20px}.addBtn[data-v-700d8216]:first-child{background-color:#f9fafd;color:#394b6b;border:2px solid #e8eaf0;cursor:pointer}.main[data-v-700d8216]{margin-top:20px;height:94%;background-color:#fff}.main[data-v-700d8216] .el-table .cell{font-size:20px;color:#35435e;height:36px;line-height:36px;text-align:center}.main[data-v-700d8216] .el-table th{background-color:#f6f7fc}.main[data-v-700d8216] .el-table th>.cell{text-align:center;font-size:18px;background-color:#f6f7fc;color:#65728a}.main[data-v-700d8216] .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-700d8216] .el-dialog__header>.el-dialog__title{font-size:22px;color:#35435e;font-weight:700;margin-left:30px}.main[data-v-700d8216] .el-dialog__header>.el-dialog__headerbtn>i{border-radius:50%;background:#2a3db3;color:#fff;font-size:22px}.addProcessDialog[data-v-700d8216] .el-input__inner,.addProcessDialog[data-v-700d8216] .el-textarea__inner{font-size:20px;background-color:#f9fafd}.operation span[data-v-700d8216]{font-size:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;width:50px;display:inline-block}.operation span[data-v-700d8216]:first-child{color:#2a3db3}.operation span[data-v-700d8216]:nth-child(2){margin:0 50px}.operation span[data-v-700d8216]:nth-child(3){color:#f25742}.disableSpan[data-v-700d8216]{color:#fe7001}
\ No newline at end of file
.dataModelManage[data-v-5d22eef2] .el-form-item__label{font-size:20px}.searchBar[data-v-5d22eef2] .el-form-item{margin-bottom:0}.searchBar[data-v-5d22eef2] .el-form-item__content{line-height:0}.searchBar[data-v-5d22eef2] .el-input__inner,.searchBar[data-v-5d22eef2] .el-select .el-input__inner{background:#f9fafd;border:2px solid #ebedf1;font-size:20px;color:#a1a8ba}.searchBar[data-v-5d22eef2]{background-color:#fff;width:100%;height:84px;-webkit-box-shadow:0 1px 13px -8px #2a3bd3;box-shadow:0 1px 13px -8px #2a3bd3;padding-left:34px;-webkit-box-sizing:border-box;box-sizing:border-box}.border-wrap[data-v-5d22eef2],.searchBar[data-v-5d22eef2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.border-wrap[data-v-5d22eef2]{margin-top:20px}.main[data-v-5d22eef2]{margin-top:20px;height:100%;background-color:#fff}.main[data-v-5d22eef2] .el-table .cell{font-size:20px;color:#35435e;height:36px;line-height:36px;text-align:center}.main[data-v-5d22eef2] .el-table th{background-color:#f6f7fc}.main[data-v-5d22eef2] .el-table th>.cell{text-align:center;font-size:18px;background-color:#f6f7fc;color:#65728a}.main[data-v-5d22eef2] .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-5d22eef2] .el-dialog__header>.el-dialog__title{font-size:22px;color:#35435e;font-weight:700;margin-left:30px}.main[data-v-5d22eef2] .el-dialog__header>.el-dialog__headerbtn>i{border-radius:50%;background:#2a3db3;color:#fff;font-size:22px}.addProcessDialog[data-v-5d22eef2] .el-input__inner,.addProcessDialog[data-v-5d22eef2] .el-textarea__inner{font-size:20px;background-color:#f9fafd}.operation span[data-v-5d22eef2]{font-size:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;width:50px;display:inline-block}.operation span[data-v-5d22eef2]:first-child{color:#2a3db3}.operation span[data-v-5d22eef2]:nth-child(2){margin:0 20px}.operation span[data-v-5d22eef2]:nth-child(3){color:#f25742}.disableSpan[data-v-5d22eef2]{color:#fe7001}
\ No newline at end of file
#process[data-v-cd5066ac]{height:100%}
\ No newline at end of file
#dataModel[data-v-37e3475c]{height:100%}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
body,html{height:100%;width:100%}.ty_private_css .button_ty{width:120px;height:40px;font-size:20px;cursor:pointer;outline:none;color:#394b6b;background-color:#f9fafd;border:2px solid #e8eaf0;margin-right:20px}.ty_private_css .button_ty,.ty_private_css .searchBtn{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ty_private_css .searchBtn{color:#fff;background-color:#2a3db3;border:none}.ty_private_css .topDiv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer}.ty_private_css .topDiv .title{font-size:22px;color:#35435e;font-weight:700;margin-bottom:20px}.ty_private_css .addProcess{color:#2a3db3;border:1px solid #2a3db3;width:135px;height:35px;border-radius:18px;background-color:#fff}.ty_private_css .addProcess,.ty_private_css .preservationButton{font-size:18px;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.ty_private_css .preservationButton{color:#fff;border:1px solid #fff;width:136px;line-height:36px;border-radius:18px;background-color:#2a3db3}.ty_private_css .ty_from_item .el-form-item__label{width:138px!important}.ty_private_css .ty_from_item .el-form-item__content{position:relative}.ty_private_css .ty_table{margin-top:20px;background-color:#fff}.ty_private_css .ty_table .el-table .cell{font-size:20px;color:#35435e;text-align:center}.ty_private_css .ty_table .el-table th{background-color:#f6f7fc}.ty_private_css .ty_table .el-table th>.cell{text-align:center;font-size:18px;background-color:#f6f7fc;color:#65728a}.add-item[data-v-60dcec16]{margin-top:8px}.url-item[data-v-60dcec16]{margin-bottom:12px}.tab-editor[data-v-9b810b10]{position:absolute;top:33px;bottom:0;left:0;right:0;font-size:14px}.left-editor[data-v-9b810b10]{position:relative;height:100%;background:#1e1e1e;overflow:hidden}.setting[data-v-9b810b10]{position:absolute;right:15px;top:3px;color:#a9f122;font-size:18px;cursor:pointer;z-index:1}.right-preview[data-v-9b810b10]{height:100%}.right-preview .result-wrapper[data-v-9b810b10]{height:calc(100vh - 33px);width:100%;overflow:auto;padding:12px;-webkit-box-sizing:border-box;box-sizing:border-box}.action-bar[data-v-9b810b10]{height:33px;background:#f2fafb;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box}.action-bar .bar-btn[data-v-9b810b10]{display:inline-block;padding:0 6px;line-height:32px;color:#8285f5;cursor:pointer;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-bar .bar-btn i[data-v-9b810b10]{font-size:20px}.action-bar .bar-btn[data-v-9b810b10]:hover{color:#4348d4}.action-bar .bar-btn+.bar-btn[data-v-9b810b10]{margin-left:8px}.action-bar .delete-btn[data-v-9b810b10]{color:#f56c6c}.action-bar .delete-btn[data-v-9b810b10]:hover{color:#ea0b30}[data-v-9b810b10] .el-drawer__header,[data-v-44793736] .el-drawer__header{display:none}.action-bar[data-v-44793736]{height:33px;background:#f2fafb;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box}.action-bar .bar-btn[data-v-44793736]{display:inline-block;padding:0 6px;line-height:32px;color:#8285f5;cursor:pointer;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-bar .bar-btn i[data-v-44793736]{font-size:20px}.action-bar .bar-btn[data-v-44793736]:hover{color:#4348d4}.action-bar .bar-btn+.bar-btn[data-v-44793736]{margin-left:8px}.action-bar .delete-btn[data-v-44793736]{color:#f56c6c}.action-bar .delete-btn[data-v-44793736]:hover{color:#ea0b30}.json-editor[data-v-44793736]{height:calc(100vh - 33px)}.icon-ul[data-v-3ba3d51c]{margin:0;padding:0;font-size:0}.icon-ul li[data-v-3ba3d51c]{list-style-type:none;text-align:center;font-size:14px;display:inline-block;width:16.66%;-webkit-box-sizing:border-box;box-sizing:border-box;height:108px;padding:15px 6px 6px 6px;cursor:pointer;overflow:hidden}.icon-ul li[data-v-3ba3d51c]:hover{background:#f2f2f2}.icon-ul li.active-item[data-v-3ba3d51c]{background:#e1f3fb;color:#7a6df0}.icon-ul li>i[data-v-3ba3d51c]{font-size:30px;line-height:50px}.icon-dialog[data-v-3ba3d51c] .el-dialog{border-radius:8px;margin-bottom:0;margin-top:4vh!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:92vh;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.icon-dialog[data-v-3ba3d51c] .el-dialog .el-dialog__header{padding-top:14px}.icon-dialog[data-v-3ba3d51c] .el-dialog .el-dialog__body{margin:0 20px 20px 20px;padding:0;overflow:auto}.searchBar[data-v-ad95e52a]{background-color:#fff;width:100%;height:84px;-webkit-box-shadow:0 1px 13px -8px #2a3bd3;box-shadow:0 1px 13px -8px #2a3bd3;padding-left:34px;-webkit-box-sizing:border-box;box-sizing:border-box}.addOutsideTableDialog[data-v-ad95e52a] .el-dialog__header,.searchBar[data-v-ad95e52a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.addOutsideTableDialog[data-v-ad95e52a] .el-dialog__header{background:#e0e8ff;height:36px;padding:10px}.addOutsideTableDialog[data-v-ad95e52a] .el-dialog__header>.el-dialog__title{font-size:22px;color:#35435e;font-weight:700;margin-left:30px}.addOutsideTableDialog[data-v-ad95e52a] .el-dialog__header>.el-dialog__headerbtn>i{border-radius:50%;background:#2a3db3;color:#fff;font-size:22px}.addProcessDialog[data-v-ad95e52a] .el-input__inner,.addProcessDialog[data-v-ad95e52a] .el-textarea__inner{font-size:20px;background-color:#f9fafd}.ty_padding_left_right[data-v-ad95e52a]{padding:0 36px}.checkModel[data-v-ad95e52a]{width:100%;height:60px;display:-webkit-box;display:-ms-flexbox;display:flex}.ty_lable[data-v-ad95e52a]{font-size:20px;color:#606266;line-height:60px;white-space:nowrap}.checkModel_select[data-v-ad95e52a]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px;margin-top:10px;padding-left:16px;padding-right:6px}.checkModel_select[data-v-ad95e52a] .el-select{width:100%;height:40px;background:#f9fafd;border:2px solid #ebedf1;font-size:20px;color:#a1a8ba;border-radius:3px}.checkModel_select[data-v-ad95e52a] .el-select .el-input__inner{border:0;font-size:20px}.check_byte[data-v-ad95e52a]{display:-webkit-box;display:-ms-flexbox;display:flex}.table_wrap[data-v-ad95e52a]{width:calc(100% - 40px);-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:0;padding-left:16px}.searchBar[data-v-5b6caea8]{background-color:#fff;width:100%;height:84px;-webkit-box-shadow:0 1px 13px -8px #2a3bd3;box-shadow:0 1px 13px -8px #2a3bd3;padding-left:34px;-webkit-box-sizing:border-box;box-sizing:border-box}.addOutsideTableDialog[data-v-5b6caea8] .el-dialog__header,.searchBar[data-v-5b6caea8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.addOutsideTableDialog[data-v-5b6caea8] .el-dialog__header{background:#e0e8ff;height:36px;padding:10px}.addOutsideTableDialog[data-v-5b6caea8] .el-dialog__header>.el-dialog__title{font-size:22px;color:#35435e;font-weight:700;margin-left:30px}.addOutsideTableDialog[data-v-5b6caea8] .el-dialog__header>.el-dialog__headerbtn>i{border-radius:50%;background:#2a3db3;color:#fff;font-size:22px}.addProcessDialog[data-v-5b6caea8] .el-input__inner,.addProcessDialog[data-v-5b6caea8] .el-textarea__inner{font-size:20px;background-color:#f9fafd}.ty_padding_left_right[data-v-5b6caea8]{padding:0 36px}.checkModel[data-v-5b6caea8]{width:100%;height:60px;display:-webkit-box;display:-ms-flexbox;display:flex}.ty_lable[data-v-5b6caea8]{font-size:20px;color:#606266;line-height:60px;white-space:nowrap}.checkModel_select[data-v-5b6caea8]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px;margin-top:10px;padding-left:16px;padding-right:6px}.checkModel_select[data-v-5b6caea8] .el-select{width:100%;height:40px;background:#f9fafd;border:2px solid #ebedf1;font-size:20px;color:#a1a8ba;border-radius:3px}.checkModel_select[data-v-5b6caea8] .el-select .el-input__inner{border:0;font-size:20px}.check_byte[data-v-5b6caea8]{display:-webkit-box;display:-ms-flexbox;display:flex}.table_wrap[data-v-5b6caea8]{width:calc(100% - 40px);-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:0;padding-left:16px}#tapsDiv[data-v-7c56be4e] .el-tabs__nav{width:100%}#tapsDiv[data-v-7c56be4e] .el-tabs__item{width:50%;text-align:center}.right-board[data-v-7c56be4e]{width:350px;position:absolute;right:0;top:0;height:100%}.right-board .field-box[data-v-7c56be4e]{position:relative;height:calc(100% - 40px);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.right-board .right-scrollbar[data-v-7c56be4e]{height:100%}.select-item[data-v-7c56be4e]{display:-webkit-box;display:-ms-flexbox;display:flex;border:1px dashed #fff;-webkit-box-sizing:border-box;box-sizing:border-box}.select-item .close-btn[data-v-7c56be4e]{cursor:pointer;color:#f56c6c}.select-item .el-input+.el-input[data-v-7c56be4e]{margin-left:4px}.select-item+.select-item[data-v-7c56be4e]{margin-top:4px}.select-item.sortable-chosen[data-v-7c56be4e]{border:1px dashed #409eff}.select-line-icon[data-v-7c56be4e]{line-height:32px;font-size:22px;padding:0 4px;color:#777}.option-drag[data-v-7c56be4e]{cursor:move}.time-range .el-date-editor[data-v-7c56be4e]{width:227px}.time-range[data-v-7c56be4e] .el-icon-time{display:none}.document-link[data-v-7c56be4e]{position:absolute;display:block;width:26px;height:26px;top:0;left:0;cursor:pointer;background:#409eff;z-index:1;border-radius:0 0 6px 0;text-align:center;line-height:26px;color:#fff;font-size:18px}.node-label[data-v-7c56be4e]{font-size:14px}.node-icon[data-v-7c56be4e]{color:#bebfc3}.container{position:relative;width:100%;height:100%;background:#fff}.components-list{padding:8px;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.components-list .components-item{display:inline-block;width:48%;margin:1%;-webkit-transition:-webkit-transform 0ms!important;transition:-webkit-transform 0ms!important;transition:transform 0ms!important;transition:transform 0ms,-webkit-transform 0ms!important}.components-draggable{padding-bottom:20px}.components-title{font-size:14px;color:#222;margin:6px 2px}.components-title .svg-icon{color:#666;font-size:18px}.components-body{padding:8px 10px;background:#f6f7ff;font-size:12px;cursor:move;border:1px dashed #f6f7ff;border-radius:3px}.components-body .svg-icon{color:#777;font-size:15px}.components-body:hover{border:1px dashed #787be8;color:#787be8}.components-body:hover .svg-icon{color:#787be8}.left-board{width:260px;position:absolute;left:0;top:0;height:100%}.left-scrollbar{height:100%;overflow:hidden}.center-scrollbar{height:calc(100% - 40px);overflow:hidden;border-left:1px solid #f1e8e8;border-right:1px solid #f1e8e8}.center-board,.center-scrollbar{-webkit-box-sizing:border-box;box-sizing:border-box}.center-board{height:100%;width:auto;margin:0 350px 0 260px}.empty-info{position:absolute;top:46%;left:0;right:0;text-align:center;font-size:18px;color:#ccb1ea;letter-spacing:4px}.action-bar{position:relative;height:42px;text-align:right;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #f1e8e8;border-top:none;border-left:none;text-align:center}.action-bar .delete-btn{color:#f56c6c}.logo-wrapper{position:relative;height:42px;background:#fff;border-bottom:1px solid #f1e8e8;-webkit-box-sizing:border-box;box-sizing:border-box}.logo{position:absolute;left:12px;top:6px;line-height:30px;color:#00afff;font-weight:600;font-size:17px;white-space:nowrap}.logo>img{width:30px;height:30px;vertical-align:top}.logo .github{display:inline-block;vertical-align:sub;margin-left:15px}.logo .github>img{height:22px}.center-board-row{padding:12px 12px 15px 12px;-webkit-box-sizing:border-box;box-sizing:border-box}.center-board-row>.el-form{height:calc(100vh - 200px)}.drawing-board{height:100%;position:relative}.drawing-board .components-body{padding:0;margin:0;font-size:0}.drawing-board .sortable-ghost{position:relative;display:block;overflow:hidden}.drawing-board .sortable-ghost:before{content:" ";position:absolute;left:0;right:0;top:0;height:3px;background:#5959df;z-index:2}.drawing-board .components-item.sortable-ghost{width:100%;height:60px;background-color:#f6f7ff}.drawing-board .active-from-item>.el-form-item{background:#f6f7ff;border-radius:6px}.drawing-board .active-from-item>.drawing-item-copy,.drawing-board .active-from-item>.drawing-item-delete{display:initial}.drawing-board .active-from-item>.component-name{color:#409eff}.drawing-board .el-form-item{margin-bottom:15px}.drawing-item{position:relative;cursor:move}.drawing-item.unfocus-bordered:not(.active-from-item)>div:first-child{border:1px dashed #ccc}.drawing-item .el-form-item{padding:12px 10px}.drawing-row-item{position:relative;cursor:move;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px dashed #ccc;border-radius:3px;padding:0 2px;margin-bottom:15px}.drawing-row-item .drawing-row-item{margin-bottom:2px}.drawing-row-item .el-col{margin-top:22px}.drawing-row-item .el-form-item{margin-bottom:0}.drawing-row-item .drag-wrapper{min-height:80px}.drawing-row-item.active-from-item{border:1px dashed #409eff}.drawing-row-item .component-name{position:absolute;top:0;left:0;font-size:12px;color:#bbb;display:inline-block;padding:0 6px}.drawing-item:hover>.el-form-item,.drawing-row-item:hover>.el-form-item{background:#f6f7ff;border-radius:6px}.drawing-item:hover>.drawing-item-copy,.drawing-item:hover>.drawing-item-delete,.drawing-row-item:hover>.drawing-item-copy,.drawing-row-item:hover>.drawing-item-delete{display:initial}.drawing-item>.drawing-item-copy,.drawing-item>.drawing-item-delete,.drawing-row-item>.drawing-item-copy,.drawing-row-item>.drawing-item-delete{display:none;position:absolute;top:-10px;width:22px;height:22px;line-height:22px;text-align:center;border-radius:50%;font-size:12px;border:1px solid;cursor:pointer;z-index:1}.drawing-item>.drawing-item-copy,.drawing-row-item>.drawing-item-copy{right:56px;border-color:#409eff;color:#409eff;background:#fff}.drawing-item>.drawing-item-copy:hover,.drawing-row-item>.drawing-item-copy:hover{background:#409eff;color:#fff}.drawing-item>.drawing-item-delete,.drawing-row-item>.drawing-item-delete{right:24px;border-color:#f56c6c;color:#f56c6c;background:#fff}.drawing-item>.drawing-item-delete:hover,.drawing-row-item>.drawing-item-delete:hover{background:#f56c6c;color:#fff}body,html{margin:0;padding:0;background:#fff;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body,html,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}.editor-tabs{background:#121315}.editor-tabs .el-tabs__header{margin:0;border-bottom-color:#121315}.editor-tabs .el-tabs__header .el-tabs__nav{border-color:#121315}.editor-tabs .el-tabs__item{height:32px;line-height:32px;color:#888a8e;border-left:1px solid #121315!important;background:#363636;margin-right:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-tabs .el-tabs__item.is-active{background:#1e1e1e;border-bottom-color:#1e1e1e!important;color:#fff}.editor-tabs .el-icon-edit{color:#f1fa8c}.editor-tabs .el-icon-document{color:#a95812}.editor-tabs :focus.is-active.is-focus:not(:active){-webkit-box-shadow:none;box-shadow:none;border-radius:0}.right-scrollbar .el-scrollbar__view{padding:12px 18px 15px 15px}.el-scrollbar__wrap{-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:hidden!important}.center-tabs .el-tabs__header,.el-scrollbar__wrap{margin-bottom:0!important}.center-tabs .el-tabs__item{width:50%;text-align:center}.center-tabs .el-tabs__nav{width:100%}.reg-item{padding:12px 6px;background:#f8f8f8;position:relative;border-radius:4px}.reg-item .close-btn{position:absolute;right:-6px;top:-6px;display:block;width:16px;height:16px;line-height:16px;background:rgba(0,0,0,.2);border-radius:50%;color:#fff;text-align:center;z-index:1;cursor:pointer;font-size:12px}.reg-item .close-btn:hover{background:rgba(210,23,23,.5)}.reg-item+.reg-item{margin-top:18px}.action-bar .el-button+.el-button{margin-left:15px}.action-bar i{font-size:20px;vertical-align:middle;position:relative;top:-1px}.custom-tree-node{width:100%;font-size:14px}.custom-tree-node .node-operation{float:right}.custom-tree-node i[class*=el-icon]+i[class*=el-icon]{margin-left:6px}.custom-tree-node .el-icon-plus{color:#409eff}.custom-tree-node .el-icon-delete{color:#157a0c}.el-scrollbar__view{overflow-x:hidden}.el-rate{display:inline-block;vertical-align:text-top}.el-upload__tip{line-height:1.2}.svg-icon[data-v-19957a58]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-19957a58]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}
\ No newline at end of file
.homePage>.el-container[data-v-a28108f6],.homePage[data-v-a28108f6],.homePage[data-v-a28108f6] .el-aside{height:100%}.homePage[data-v-a28108f6] .menu{height:100%;width:100%;background-color:#2a3db3}.homePage .title[data-v-a28108f6]{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-a28108f6]{font-size:35px;font-weight:700;color:#fff;text-align:center;margin:44px 0}.homePage .menuItem[data-v-a28108f6]{-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-a28108f6],.ItemDiv[data-v-a28108f6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ItemDiv[data-v-a28108f6]{width:228px;height:64px;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-a28108f6]{background-color:#fff}.itemDivAct .ItemSpanAct[data-v-a28108f6]{color:#35435e}.ItemImg[data-v-a28108f6]{margin:0 30px}.ItemSpan[data-v-a28108f6]{font-size:20px;color:#d7dbe3}.header[data-v-a28108f6]{width:100%;height:100px!important;padding:0!important;background-color:#f3f2f7}.header>div[data-v-a28108f6]{width:100%;height:80px;background-color:#fff;-webkit-box-shadow:0 -11px 18px #2a3bd3;box-shadow:0 -11px 18px #2a3bd3;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ty_return[data-v-a28108f6]{display:inline-block;margin-right:40px;color:#2a3db3!important;cursor:pointer}.main[data-v-a28108f6]{background-color:#f3f2f7;padding:12px 32px 32px;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.time[data-v-a28108f6]{height:80px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.time span[data-v-a28108f6]{font-size:18px;color:#65728a;margin-left:34px}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!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>form-generator</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-14010792.ef08ffa7.css" rel="prefetch"><link href="css/chunk-301e1a24.8b839003.css" rel="prefetch"><link href="css/chunk-67748d0a.31c71947.css" rel="prefetch"><link href="css/chunk-7c52297c.61b80532.css" rel="prefetch"><link href="css/chunk-b5da06ba.7a6ae39b.css" rel="prefetch"><link href="css/chunk-e387e476.78b7907a.css" rel="prefetch"><link href="css/parser-home.0b8ec9e2.css" rel="prefetch"><link href="css/tinymce-example.0e433876.css" rel="prefetch"><link href="js/chunk-14010792.01c39e0e.js" rel="prefetch"><link href="js/chunk-2d0af7ff.671eef97.js" rel="prefetch"><link href="js/chunk-301e1a24.62fef271.js" rel="prefetch"><link href="js/chunk-67748d0a.dc4403bb.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-e387e476.befcb86d.js" rel="prefetch"><link href="js/chunk-fec0be80.0583a8a1.js" rel="prefetch"><link href="js/parser-home.189c2793.js" rel="prefetch"><link href="js/tinymce-example.0cafa1e6.js" rel="prefetch"><link href="css/index.19a60eb5.css" rel="preload" as="style"><link href="js/chunk-vendors.b6d9e7af.js" rel="preload" as="script"><link href="js/index.2fa981e9.js" rel="preload" as="script"><link href="css/index.19a60eb5.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.b6d9e7af.js"></script><script src="js/index.2fa981e9.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14010792"],{"2de8":function(e,t,a){},"3af2":function(e,t,a){"use strict";a("2de8")},b3a2:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"processManage",staticStyle:{height:"calc(100% - 100px)"}},[a("div",{staticClass:"topDiv"},[a("span",{staticClass:"title"},[e._v("流程管理")]),a("button",{staticClass:"addProcess",on:{click:e.openAddProcessDialog}},[e._v("新建流程")])]),a("div",{staticClass:"searchBar"},[a("el-form",{ref:"form",staticStyle:{width:"100%"},attrs:{model:e.searchForm,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"流程名"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入"},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"是否启用"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},model:{value:e.searchForm.disable,callback:function(t){e.$set(e.searchForm,"disable",t)},expression:"searchForm.disable"}},[a("el-option",{attrs:{label:"是",value:0}}),a("el-option",{attrs:{label:"否",value:1}})],1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("button",{staticClass:"searchBtn",on:{click:e.searchData}},[e._v("查询")]),a("button",{staticClass:"searchBtn",on:{click:e.reset}},[e._v("重置")])])],1)],1)],1)],1),a("div",{staticClass:"main"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[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:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(1==t.row.state?"暂停":"启用"))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"operation"},[a("span",{on:{click:function(a){return e.editProcess(t.row)}}},[e._v("编辑")]),a("span",{on:{click:function(a){return e.deleteProcess(t.row)}}},[e._v("删除")])])]}}])})],1),a("el-pagination",{staticStyle:{"text-align":"right","margin-right":"20px","margin-top":"30px"},attrs:{background:"",layout:"prev, pager, next",total:e.totalPages},on:{"current-change":e.pageChange}}),a("el-dialog",{staticClass:"addProcessDialog",attrs:{title:"新增流程",visible:e.addProcessDialog,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.addProcessDialog=t}}},[a("el-form",{ref:"addForm",staticStyle:{width:"100%"},attrs:{rules:e.addFormRules,model:e.addForm,"label-width":"120px"}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"流程名",prop:"flowName"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入"},model:{value:e.addForm.flowName,callback:function(t){e.$set(e.addForm,"flowName",t)},expression:"addForm.flowName"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"流程描述",prop:"flowDescribe"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:4},placeholder:"请输入"},model:{value:e.addForm.flowDescribe,callback:function(t){e.$set(e.addForm,"flowDescribe",t)},expression:"addForm.flowDescribe"}})],1)],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"addBtn",on:{click:e.handleClose}},[e._v("取消")]),a("button",{staticClass:"addBtn",on:{click:e.submitProcess}},[e._v("提交")])])],1)],1)])},o=[],l=(a("b0c0"),a("d3b7"),a("ac1f"),a("25f0"),a("5319"),{name:"processManage",data:function(){return{searchForm:{},addProcessDialog:!1,totalPages:0,nowPage:0,addForm:{},addFormRules:{flowName:[{required:!0,message:"请输入流程名称",trigger:"blur"}],flowDescribe:[{required:!0,message:"请输入流程描述",trigger:"blur"}]},tableData:[]}},created:function(){this.getAllProcessData()},methods:{getDate:function(e){var t=new Date(e),a=t.getFullYear()+"-",s=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",o=t.getDate()<10?"0"+t.getDate():t.getDate(),l=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",r=(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":",c=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+s+o+" "+l+r+c},submitProcess:function(){var e=this;this.$refs.addForm.validate((function(t){if(!t)return console.log("error submit!!"),!1;var a=e.guid();e.addForm.flowKey="process_".concat(a),console.log(e.addForm),e.$axios.addProcess(e.addForm).then((function(t){e.$message.success("流程创建成功"),e.$router.push({path:"./processEdit",query:{processId:t.data.data}}),e.addProcessDialog=!1})).catch((function(e){console.log(e)}))}))},getAllProcessData:function(e){var t=this;this.$axios.getAllProcessData({size:9,page:e,flowName:this.searchForm.name,state:this.searchForm.disable}).then((function(e){var a=e.data.content;t.totalPages=10*e.data.totalPages,t.tableData=a})).catch((function(e){console.log(e)}))},handleClose:function(){this.$refs.addForm.resetFields(),this.addProcessDialog=!1},openAddProcessDialog:function(){this.addProcessDialog=!0},searchData:function(){this.getAllProcessData()},reset:function(){this.searchForm={}},pageChange:function(e){this.nowPage=e-1,this.getAllProcessData(e-1)},editProcess:function(e){this.$router.push({path:"./processEdit",query:{processId:e.id}})},deleteProcess:function(e){var t=this;this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){0==e.state?t.$message({showClose:!0,message:"该流程正在启用,请先暂停后再删除",type:"error"}):t.$axios.deleteProcess({id:e.id}).then((function(e){t.$message.success("删除成功"),t.getAllProcessData(t.nowPage)})).catch((function(e){console.log(e)}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},guid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,a="x"==e?t:3&t|8;return a.toString(16)}))}}}),r=l,c=(a("3af2"),a("2877")),n=Object(c["a"])(r,s,o,!1,null,"700d8216",null);t["default"]=n.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0af7ff"],{"0f1d":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("div",{staticClass:"main"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[e("el-table-column",{attrs:{type:"index",label:"序号",width:"100"}}),e("el-table-column",{attrs:{prop:"flowName",label:"流程名"}}),e("el-table-column",{attrs:{prop:"flowDescribe",label:"流程描述"}}),e("el-table-column",{attrs:{prop:"createdTime",label:"创建时间"}}),e("el-table-column",{attrs:{label:"是否启用"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(1==a.row.state?"暂停":"启用"))])]}}])}),e("el-table-column",{attrs:{label:"操作",width:"350"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"operation"},[e("span",{on:{click:function(e){return t.editProcess(a.row)}}},[t._v("编辑")]),e("span",{class:1!=a.row.state?"disableSpan":"",on:{click:function(e){return t.disableProcess(a.row.id)}}},[t._v(t._s(1==a.row.state?"启用":"暂停"))]),e("span",{on:{click:function(e){return t.deleteProcess(a.row)}}},[t._v("删除")])])]}}])})],1),e("el-pagination",{staticStyle:{"text-align":"right","margin-right":"20px","margin-top":"30px"},attrs:{background:"",layout:"prev, pager, next",total:t.totalPages},on:{"current-change":t.pageChange}})],1)])},o=[],s=(e("b0c0"),{name:"searchFlowInfo",data:function(){return{totalPages:0,tableData:[],searchForm:{},nowPage:0}},created:function(){this.getProcessData()},methods:{getProcessData:function(t){var a=this;this.$axios.getProcessData({size:9,page:t,flowName:this.searchForm.name,state:this.searchForm.disable}).then((function(t){console.log(t);var e=t.data.content;a.totalPages=10*t.data.totalPages,a.tableData=e})).catch((function(t){console.log(t)}))},pageChange:function(t){this.nowPage=t-1,this.getProcessData(t-1)}}}),l=s,r=e("2877"),c=Object(r["a"])(l,n,o,!1,null,null,null);a["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-67748d0a"],{1366:function(e,t,a){"use strict";a("162d")},"162d":function(e,t,a){},"45e8":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dataModelManage",staticStyle:{height:"calc(100% - 140px)"}},[a("div",{staticClass:"topDiv"},[a("span",{staticClass:"title"},[e._v("数据模型管理")]),a("button",{staticClass:"addProcess",on:{click:function(t){return e.$router.push({path:"addDataModel"})}}},[e._v(" 新建模型 ")])]),a("div",{staticClass:"searchBar"},[a("el-form",{ref:"form",staticStyle:{width:"100%"},attrs:{model:e.searchForm,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"标签"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入"},model:{value:e.searchForm.modelTitle,callback:function(t){e.$set(e.searchForm,"modelTitle",t)},expression:"searchForm.modelTitle"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"名称"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入"},model:{value:e.searchForm.modelName,callback:function(t){e.$set(e.searchForm,"modelName",t)},expression:"searchForm.modelName"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("button",{staticClass:"searchBtn button_ty",on:{click:e.searchData}},[e._v(" 查询 ")]),a("button",{staticClass:"button_ty",on:{click:e.reset}},[e._v("重置")])])],1)],1)],1)],1),a("div",{staticClass:"main"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"modelName",label:"名称"}}),a("el-table-column",{attrs:{prop:"modelTitle",label:"标签"}}),a("el-table-column",{attrs:{label:"类型",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[0==t.row.modelType?a("span",{staticStyle:{color:"orange"}},[e._v("基础对象")]):e._e(),1==t.row.modelType?a("span",{staticStyle:{color:"#2a3bd3"}},[e._v("业务对象")]):e._e(),2==t.row.modelType?a("span",{staticStyle:{color:"yellowgreen"}},[e._v("基础对象(延伸)")]):e._e()])]}}])}),a("el-table-column",{attrs:{prop:"createdTime",label:"最后修改人"}}),a("el-table-column",{attrs:{prop:"updatedTime",label:"最后修改日期"}}),a("el-table-column",{attrs:{prop:"description",label:"描述"}}),a("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"operation"},[a("span",{on:{click:function(a){return e.editTable(t.row)}}},[e._v("编辑")]),a("span",{staticStyle:{color:"red"},on:{click:function(a){return e.deleteTable(t.row)}}},[e._v("删除")])])]}}])})],1),a("el-pagination",{staticStyle:{"text-align":"right","margin-right":"20px","margin-top":"30px"},attrs:{background:"",layout:"prev, pager, next",total:e.total,"page-size":e.pageSize},on:{"current-change":e.pageChange}})],1)])},o=[],s=(a("a4d3"),a("e01a"),a("5530")),n={name:"dataModelManage",data:function(){return{addDialogVisible2:!1,updateDialogVisible:!1,searchForm:{modelTitle:"",modelName:""},addProcessDialog:!1,pageSize:9,total:0,nowPage:0,tableData:[],tableForm:{}}},created:function(){this.getAllModel()},methods:{getAllModel:function(){var e=this,t=Object(s["a"])(Object(s["a"])({page:this.nowPage,size:this.pageSize},this.searchForm),{},{orders:[{coulmn:"updatedTime",direction:"DESC"}]});this.$axios.getAllEntity(t).then((function(t){e.total=t.data.data.totalElements,e.tableData=t.data.data.content})).catch((function(e){console.log(e.response)}))},getDate:function(e){var t=new Date(e),a=t.getFullYear()+"-",l=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",o=t.getDate()<10?"0"+t.getDate():t.getDate(),s=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",n=(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":",i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+l+o+" "+s+n+i},searchData:function(){this.getAllModel()},reset:function(){this.searchForm={tableCnName:"",tableName:""},this.getAllModel()},pageChange:function(e){this.nowPage=e-1,this.getAllModel()},editTable:function(e){var t=e.modelName,a=e.modelTitle,l=e.modelType,o=e.parentTable,s=e.description,n=e.id,i={id:n,modelName:t,modelTitle:a,modelType:l,parentTable:o,description:s};sessionStorage.setItem("ty_model",JSON.stringify(i)),this.$router.push({path:"addDataModel",query:{tableId:e.id}})},deleteTable:function(e){var t=this;this.$confirm("此操作将永久删除该模型, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(a){var l={id:e.id,dbName:e.modelName};t.$axios.deleteModel(l).then((function(e){console.log(e),t.getAllModel(),t.$message({message:e.data.message,type:"success"})})).catch((function(e){t.$message.error(e.response.data.data)}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))}}},i=n,r=(a("1366"),a("2877")),c=Object(r["a"])(i,l,o,!1,null,"5d22eef2",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c52297c"],{"4d46":function(e,t,c){},"64f1":function(e,t,c){"use strict";c.r(t);var n=function(){var e=this,t=e.$createElement,c=e._self._c||t;return c("div",{attrs:{id:"process"}},[c("keep-alive",{attrs:{include:"processEdit"}},[c("router-view")],1)],1)},s=[],r={name:"process"},i=r,a=(c("760a"),c("2877")),u=Object(a["a"])(i,n,s,!1,null,"cd5066ac",null);t["default"]=u.exports},"760a":function(e,t,c){"use strict";c("4d46")}}]);
\ No newline at end of file
(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
(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
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["parser-home"],{"1c6e":function(A,t){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAAA3UlEQVRIie2VwQ2CMBRAH8S7I8hZZhAZoIlsIE6ibuAG4gRiZIJO4KV3HMEJ6sFqKiECAomJvKRpf9uf1zZN62itqYMfZDGwt7pOSoqoTq5by/BgX4gXdRObSL5mkDRiZAd+kCXA0oQ3IFRSXNpKXjvxgyy0BABjYNdW8Cbpk0Hye5JR9ZRqzM3cWF25kiJ+Bl3tZAPMrbI04k4lHxkkfypxtNb4QRYBEe+vMMAVSEx7XZK/NXUMTApjByBVUqTOdHaOgGMnSy5n5QI5jw+qD27A5XlcHuD1IMmVFPkdsmszeOZbf3AAAAAASUVORK5CYII="},3712:function(A,t){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsSAAALEgHS3X78AAABEUlEQVRIie2VzXHCMBBGnz3cKSE54wNQQBwKUBEugQ6ADlwCJWgmLoCoAvmgOyVABeaANCNsiT+bHJh8J+236322dsabNE0DQJZXM2ALTOmvGiiMEhog9RJyIAC2j3SBD9kPBHD6cIdRpKAGlk80LgncRgxyMErsHiVkeXUI+TGIe6gEZi42Siy8nP8S2igR/fKrEAv4juRifkfp7ZL+eh9IMvn6KYCC8/2PrX8EdMsD+PXO/kyu1esR8El3iOOA1258d/37zOQf8jBEv5ghU6OEBOacf+9DqgbmRokycesXIMurNbAaALAxSqxdcAGxoD67/mK3O3UGbwtk279Tsg0IQl6hP4HENuMW2D3Rbx8yTwtqSfCGzgIOAAAAAElFTkSuQmCC"},3822:function(A,t,e){},"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="},a580:function(A,t,e){"use strict";e("3822")},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:"/apiManage"}],newTime:""}},created:function(){var A=this;this.newTime=this.getDate(Date.now()),setInterval((function(){A.newTime=A.getDate(Date.now())}),1e3)},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("a580"),e("2877")),o=Object(g["a"])(s,n,a,!1,null,"a28108f6",null);t["default"]=o.exports}}]);
\ No newline at end of file
(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
(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
<!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>form-generator-preview</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.b6d9e7af.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.b6d9e7af.js"></script><script src="js/preview.f1d279d5.js"></script></body></html>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论