review 清理,变量方法名修改

This commit is contained in:
yuebenshan committed 2023-02-14 22:01:11 +08:00
1 parent 5d4aac843b
commit 47c871a740
10 files changed
+524 -3088

No files matched your search

+6 -20
View File
@@ -142,12 +142,12 @@
return []
}
},
tpl: {
type: Array,
default: () => {
return []
}
},
// tpl: {
// type: Array,
// default: () => {
// return []
// }
// },
mode: {
type: String,
default: 'serial'
@@ -181,9 +181,6 @@
isMobile() {
return window.innerWidth < 600;
},
showTask() {
return ['userTask', 'receiveTask'].includes(this.node.type);
},
assignType() {
if (!this.node.assignType) return '请选择指派类型';
return this.assignTypeList.find(e => e.value === this.node.assignType).text;
@@ -204,17 +201,6 @@
init(node) {
this.node = node.properties;
},
getOptionList() {
if (!this.node.assignType) {
return []
}
if (!this.node.assignType === 'person') {
return this.user
}
if (!this.node.assignType === 'group') {
return this.group
}
}
}
})
</script>