|
@@ -270,14 +270,15 @@
|
|
|
<el-dialog
|
|
|
:title="previewData.processName"
|
|
|
:visible.sync="preOpen"
|
|
|
- width="70%"
|
|
|
+ width="100%"
|
|
|
+ height="100%"
|
|
|
append-to-body
|
|
|
>
|
|
|
- <Preview ref="previewRef"></Preview>
|
|
|
+ <Preview ref="previewRef" @preCloseHandler="preCloseHandler"></Preview>
|
|
|
<template #footer>
|
|
|
- <span>
|
|
|
+ <!-- <span>
|
|
|
<el-button @click="preCloseHandler">关闭</el-button>
|
|
|
- </span>
|
|
|
+ </span> -->
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -484,43 +485,48 @@ export default {
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
-
|
|
|
let endFormData = {
|
|
|
// 节点脚本关联表
|
|
|
- BpmNodeExceptionList: [{
|
|
|
- id:null,
|
|
|
- nodeKey: null, // 节点别名
|
|
|
- scriptKey: null, // 脚本别名
|
|
|
- scriptTriggerType: null // 脚本触发机制(0:手动 1:自动)
|
|
|
- }],
|
|
|
+ BpmNodeExceptionList: [
|
|
|
+ {
|
|
|
+ id: null,
|
|
|
+ nodeKey: null, // 节点别名
|
|
|
+ scriptKey: null, // 脚本别名
|
|
|
+ scriptTriggerType: null, // 脚本触发机制(0:手动 1:自动)
|
|
|
+ },
|
|
|
+ ],
|
|
|
// 节点操作人 -》 数据传输分两种情况:1.当前节点勾选了指定用户,就需要前端生成一个虚拟的角色编码、以及指定的用户id、真实的角色编码null即可
|
|
|
// 2.当前节点根据角色勾选的执行人,就需要存贮真实的角色权限字符 生成一个虚拟的角色编码,其他为null即可
|
|
|
// 节点处理人表
|
|
|
- BpmNodeHandleUser: [{
|
|
|
- id:null,
|
|
|
- virtuallyRole: null, // 前端生成的虚拟角色编码
|
|
|
- realRole: null, // 真实的角色编码 [1,2,3]/[1]
|
|
|
- executeUserNo: null // 用户编码 [1,2,3]/[1]
|
|
|
- }],
|
|
|
+ BpmNodeHandleUser: [
|
|
|
+ {
|
|
|
+ id: null,
|
|
|
+ virtuallyRole: null, // 前端生成的虚拟角色编码
|
|
|
+ realRole: null, // 真实的角色编码 [1,2,3]/[1]
|
|
|
+ executeUserNo: null, // 用户编码 [1,2,3]/[1]
|
|
|
+ },
|
|
|
+ ],
|
|
|
// 所有节点表
|
|
|
- BpmProcessConfigurationList: [{
|
|
|
- id:null,
|
|
|
- nodeKey: null, // 节点别名
|
|
|
- nodeName: null, // 节点名称
|
|
|
- nodeFormKey: null, // 节点表单别名
|
|
|
- nodeProcessKey: null, // 流程别名
|
|
|
- nodeType: null, // 节点类型(判断节点、正常节点。。。)根据字典维护
|
|
|
- nodeBefor: null, // 节点前
|
|
|
- nodeAfter: null, // 节点后
|
|
|
- nodeRolePermission: null,// 节点对应的角色权限字符(只存虚拟角色编码)
|
|
|
- spare1: null, // 备用列
|
|
|
- spare2: null,
|
|
|
- spare3: null,
|
|
|
- createBy: null, // 创建者
|
|
|
- updateBy: null, // 修改者
|
|
|
- remark: null // 节点描述
|
|
|
- }]
|
|
|
- }
|
|
|
+ BpmProcessConfigurationList: [
|
|
|
+ {
|
|
|
+ id: null,
|
|
|
+ nodeKey: null, // 节点别名
|
|
|
+ nodeName: null, // 节点名称
|
|
|
+ nodeFormKey: null, // 节点表单别名
|
|
|
+ nodeProcessKey: null, // 流程别名
|
|
|
+ nodeType: null, // 节点类型(判断节点、正常节点。。。)根据字典维护
|
|
|
+ nodeBefor: null, // 节点前
|
|
|
+ nodeAfter: null, // 节点后
|
|
|
+ nodeRolePermission: null, // 节点对应的角色权限字符(只存虚拟角色编码)
|
|
|
+ spare1: null, // 备用列
|
|
|
+ spare2: null,
|
|
|
+ spare3: null,
|
|
|
+ createBy: null, // 创建者
|
|
|
+ updateBy: null, // 修改者
|
|
|
+ remark: null, // 节点描述
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|
|
@@ -754,4 +760,7 @@ export default {
|
|
|
::v-deep .el-form-item__label {
|
|
|
width: 98px !important;
|
|
|
}
|
|
|
+::v-deep .el-dialog {
|
|
|
+ margin-top: 0px !important;
|
|
|
+}
|
|
|
</style>
|