diff --git a/src/components/SimpleProcessDesigner/src/addNode.vue b/src/components/SimpleProcessDesigner/src/addNode.vue
index 20148cc9..b505f208 100644
--- a/src/components/SimpleProcessDesigner/src/addNode.vue
+++ b/src/components/SimpleProcessDesigner/src/addNode.vue
@@ -70,6 +70,10 @@ let props = defineProps({
showAddButton:{
type:Boolean,
default:true
+ },
+ defaultFieldsPermission : {
+ type: Array,
+ default: () => ([])
}
})
let emits = defineEmits(['update:childNodeP'])
@@ -78,6 +82,7 @@ const addType = (type: number) => {
visible.value = false
// 审核节点
if (type === NodeType.APPROVE_USER_NODE) {
+ console.log("props.defaultFieldsPermission", props.defaultFieldsPermission)
const data = {
name: '审核人',
error: true,
@@ -86,7 +91,8 @@ const addType = (type: number) => {
attributes: {
approveMethod: undefined,
candidateStrategy: undefined,
- candidateParam: undefined
+ candidateParam: undefined,
+ fieldsPermission: props.defaultFieldsPermission,
},
childNode: props.childNodeP
}
diff --git a/src/components/SimpleProcessDesigner/src/drawer/approverDrawer.vue b/src/components/SimpleProcessDesigner/src/drawer/approverDrawer.vue
index cbcec808..fae369d1 100644
--- a/src/components/SimpleProcessDesigner/src/drawer/approverDrawer.vue
+++ b/src/components/SimpleProcessDesigner/src/drawer/approverDrawer.vue
@@ -1,3 +1,4 @@
+
-
+
+ 审批设置
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
字段权限
+
+
+
+ 组件名称
+ 可编辑
+ 只读
+ 隐藏
+
+
+ 全选
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确 定
+ 取 消
+
+
diff --git a/src/components/SimpleProcessDesigner/src/nodeWrap.vue b/src/components/SimpleProcessDesigner/src/nodeWrap.vue
index 9f9af39a..b86148ae 100644
--- a/src/components/SimpleProcessDesigner/src/nodeWrap.vue
+++ b/src/components/SimpleProcessDesigner/src/nodeWrap.vue
@@ -44,7 +44,7 @@
-
+
-
+
-
+
@@ -106,7 +106,7 @@
-
+
@@ -137,10 +137,10 @@
-
+
-
+
@@ -151,7 +151,7 @@
-
+
@@ -186,10 +186,10 @@
-
+
-
+
@@ -200,7 +200,7 @@
-
+
-
+
-
+
@@ -104,7 +124,7 @@ onMounted(async () => {
height: 40px;
font-size: 14px;
color: #f8f8fa;
- background-image: linear-gradient(-30deg,#bbbbc4,#d5d5de),linear-gradient(#bcbcc5,#bcbcc5);
+ background-image: linear-gradient(-30deg, #bbbbc4, #d5d5de), linear-gradient(#bcbcc5, #bcbcc5);
border-radius: 50%;
justify-content: center;
align-items: center;
@@ -130,19 +150,19 @@ onMounted(async () => {
justify-content: center;
font-size: 14px;
color: #f8f8fa;
- background-image: linear-gradient(90deg,#ff6a00,#f78b3e),linear-gradient(#ff6a00,#ff6a00);
+ background-image: linear-gradient(90deg, #ff6a00, #f78b3e), linear-gradient(#ff6a00, #ff6a00);
border-radius: 50%;
}
.start-event-node-line::before {
- position: absolute;
- inset: 0;
- z-index: -1;
- width: 2px;
- height: 100%;
- margin: auto;
- background-color: #cacaca;
- content: "";
+ position: absolute;
+ inset: 0;
+ z-index: -1;
+ width: 2px;
+ height: 100%;
+ margin: auto;
+ background-color: #cacaca;
+ content: '';
}
.start-event-node-line {