仿钉钉流程设计器- 审批节点超时处理
parent
03433278be
commit
142b0f7203
|
@ -68,6 +68,10 @@ const addNode = (type: number) => {
|
||||||
candidateStrategy: CandidateStrategy.USER,
|
candidateStrategy: CandidateStrategy.USER,
|
||||||
candidateParam: undefined,
|
candidateParam: undefined,
|
||||||
fieldsPermission: undefined,
|
fieldsPermission: undefined,
|
||||||
|
// 超时处理
|
||||||
|
timeoutHandler: {
|
||||||
|
enable: false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
childNode: props.childNode
|
childNode: props.childNode
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,21 @@ export enum NodeType {
|
||||||
*/
|
*/
|
||||||
INCLUSIVE_NODE_JOIN = 8
|
INCLUSIVE_NODE_JOIN = 8
|
||||||
}
|
}
|
||||||
|
// 时间单位枚举
|
||||||
|
export enum TimeUnitType {
|
||||||
|
/**
|
||||||
|
* 分钟
|
||||||
|
*/
|
||||||
|
MINUTE = 1,
|
||||||
|
/**
|
||||||
|
* 小时
|
||||||
|
*/
|
||||||
|
HOUR = 2,
|
||||||
|
/**
|
||||||
|
* 天
|
||||||
|
*/
|
||||||
|
DAY = 3
|
||||||
|
}
|
||||||
|
|
||||||
// 条件配置类型 ( 用于条件节点配置 )
|
// 条件配置类型 ( 用于条件节点配置 )
|
||||||
export enum ConditionConfigType {
|
export enum ConditionConfigType {
|
||||||
|
@ -171,6 +186,11 @@ NODE_DEFAULT_NAME.set(NodeType.USER_TASK_NODE, '审批人')
|
||||||
NODE_DEFAULT_NAME.set(NodeType.COPY_TASK_NODE, '抄送人')
|
NODE_DEFAULT_NAME.set(NodeType.COPY_TASK_NODE, '抄送人')
|
||||||
NODE_DEFAULT_NAME.set(NodeType.CONDITION_NODE, '条件')
|
NODE_DEFAULT_NAME.set(NodeType.CONDITION_NODE, '条件')
|
||||||
|
|
||||||
|
export const TIME_UNIT_MAP = new Map<number,string>()
|
||||||
|
NODE_DEFAULT_NAME.set(1, 'M')
|
||||||
|
NODE_DEFAULT_NAME.set(NodeType.COPY_TASK_NODE, '抄送人')
|
||||||
|
NODE_DEFAULT_NAME.set(NodeType.CONDITION_NODE, '条件')
|
||||||
|
|
||||||
|
|
||||||
export const APPROVE_METHODS: DictDataVO [] = [
|
export const APPROVE_METHODS: DictDataVO [] = [
|
||||||
{ label: '单人审批', value: 1 },
|
{ label: '单人审批', value: 1 },
|
||||||
|
@ -184,6 +204,19 @@ export const CONDITION_CONFIG_TYPES: DictDataVO [] = [
|
||||||
{ label: '条件规则', value: 2 }
|
{ label: '条件规则', value: 2 }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
// 时间单位类型
|
||||||
|
export const TIME_UNIT_TYPES: DictDataVO [] = [
|
||||||
|
{ label: '分钟', value: TimeUnitType.MINUTE },
|
||||||
|
{ label: '小时', value: TimeUnitType.HOUR },
|
||||||
|
{ label: '天', value: TimeUnitType.DAY },
|
||||||
|
]
|
||||||
|
// 超时处理执行动作类型
|
||||||
|
export const TIMEOUT_HANDLER_ACTION_TYPES: DictDataVO [] = [
|
||||||
|
{ label: '自动提醒', value: 1 },
|
||||||
|
{ label: '自动同意', value: 2 },
|
||||||
|
{ label: '自动拒绝', value: 3 },
|
||||||
|
]
|
||||||
|
|
||||||
// 比较运算符
|
// 比较运算符
|
||||||
export const COMPARISON_OPERATORS : DictDataVO = [
|
export const COMPARISON_OPERATORS : DictDataVO = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,10 @@
|
||||||
v-model="currentNode.name"
|
v-model="currentNode.name"
|
||||||
:placeholder="currentNode.name"
|
:placeholder="currentNode.name"
|
||||||
/>
|
/>
|
||||||
<div v-else class="node-name" >{{ currentNode.name }} <Icon class="ml-1" icon="ep:edit-pen" :size="16" @click="clickIcon()"/></div>
|
<div v-else class="node-name"
|
||||||
|
>{{ currentNode.name }}
|
||||||
|
<Icon class="ml-1" icon="ep:edit-pen" :size="16" @click="clickIcon()"
|
||||||
|
/></div>
|
||||||
|
|
||||||
<div class="divide-line"></div>
|
<div class="divide-line"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -149,7 +152,10 @@
|
||||||
<el-radio
|
<el-radio
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
:label="item.value"
|
:label="item.value"
|
||||||
:disabled="item.value !== ApproveMethodType.SINGLE_PERSON_APPROVE && notAllowedMultiApprovers"
|
:disabled="
|
||||||
|
item.value !== ApproveMethodType.SINGLE_PERSON_APPROVE &&
|
||||||
|
notAllowedMultiApprovers
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</el-radio>
|
</el-radio>
|
||||||
|
@ -157,16 +163,79 @@
|
||||||
</div>
|
</div>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="超时处理" prop="timeoutHandlerEnable">
|
||||||
|
<el-switch
|
||||||
|
v-model="currentNode.attributes.timeoutHandler.enable"
|
||||||
|
active-text="开启"
|
||||||
|
inactive-text="关闭"
|
||||||
|
@change="timeoutHandlerChange"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="执行动作"
|
||||||
|
prop="timeoutHandlerAction"
|
||||||
|
v-if="currentNode.attributes.timeoutHandler.enable"
|
||||||
|
>
|
||||||
|
<el-radio-group v-model="currentNode.attributes.timeoutHandler.action">
|
||||||
|
<el-radio-button
|
||||||
|
v-for="item in TIMEOUT_HANDLER_ACTION_TYPES"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
/>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="超时时间设置"
|
||||||
|
prop="timeoutHandlerTimeDuration"
|
||||||
|
v-if="currentNode.attributes.timeoutHandler.enable"
|
||||||
|
>
|
||||||
|
<span class="mr-2">当超过</span>
|
||||||
|
<el-input-number
|
||||||
|
class="mr-2"
|
||||||
|
:style="{ width: '100px' }"
|
||||||
|
v-model="timeDuration"
|
||||||
|
:min="1"
|
||||||
|
controls-position="right"
|
||||||
|
/>
|
||||||
|
<el-select
|
||||||
|
v-model="timeUnit"
|
||||||
|
class="mr-2"
|
||||||
|
:style="{ width: '100px' }"
|
||||||
|
@change="timeUnitChange"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in TIME_UNIT_TYPES"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
未处理
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="最大提醒次数"
|
||||||
|
prop="timeoutHandlerMaxRemindCount"
|
||||||
|
v-if="
|
||||||
|
currentNode.attributes.timeoutHandler.enable &&
|
||||||
|
currentNode.attributes.timeoutHandler.action === 1
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<el-input-number
|
||||||
|
v-model="currentNode.attributes.timeoutHandler.maxRemindCount"
|
||||||
|
:min="1"
|
||||||
|
:max="10"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="表单字段权限" v-if ="formType === 10">
|
<el-tab-pane label="表单字段权限" v-if="formType === 10">
|
||||||
<div class="field-setting-pane">
|
<div class="field-setting-pane">
|
||||||
<div class="field-setting-desc">字段权限</div>
|
<div class="field-setting-desc">字段权限</div>
|
||||||
<div class="field-permit-title">
|
<div class="field-permit-title">
|
||||||
<div class="setting-title-label first-title">
|
<div class="setting-title-label first-title"> 字段名称 </div>
|
||||||
字段名称
|
|
||||||
</div>
|
|
||||||
<div class="other-titles">
|
<div class="other-titles">
|
||||||
<span class="setting-title-label">可编辑</span>
|
<span class="setting-title-label">可编辑</span>
|
||||||
<span class="setting-title-label">只读</span>
|
<span class="setting-title-label">只读</span>
|
||||||
|
@ -205,7 +274,17 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { SimpleFlowNode, APPROVE_METHODS, CandidateStrategy, NodeType, ApproveMethodType, NODE_DEFAULT_NAME } from '../consts'
|
import {
|
||||||
|
SimpleFlowNode,
|
||||||
|
APPROVE_METHODS,
|
||||||
|
CandidateStrategy,
|
||||||
|
NodeType,
|
||||||
|
ApproveMethodType,
|
||||||
|
TimeUnitType,
|
||||||
|
TIMEOUT_HANDLER_ACTION_TYPES,
|
||||||
|
TIME_UNIT_TYPES,
|
||||||
|
NODE_DEFAULT_NAME
|
||||||
|
} from '../consts'
|
||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||||
import { getDefaultFieldsPermission } from '../utils'
|
import { getDefaultFieldsPermission } from '../utils'
|
||||||
import { defaultProps } from '@/utils/tree'
|
import { defaultProps } from '@/utils/tree'
|
||||||
|
@ -226,7 +305,7 @@ const props = defineProps({
|
||||||
})
|
})
|
||||||
|
|
||||||
const notAllowedMultiApprovers = ref(false)
|
const notAllowedMultiApprovers = ref(false)
|
||||||
const currentNode = ref<SimpleFlowNode>(props.flowNode);
|
const currentNode = ref<SimpleFlowNode>(props.flowNode)
|
||||||
const settingVisible = ref(false)
|
const settingVisible = ref(false)
|
||||||
const roleOptions = inject<Ref<RoleApi.RoleVO[]>>('roleList') // 角色列表
|
const roleOptions = inject<Ref<RoleApi.RoleVO[]>>('roleList') // 角色列表
|
||||||
const postOptions = inject<Ref<PostApi.PostVO[]>>('postList') // 岗位列表
|
const postOptions = inject<Ref<PostApi.PostVO[]>>('postList') // 岗位列表
|
||||||
|
@ -243,10 +322,13 @@ const closeDrawer = () => {
|
||||||
}
|
}
|
||||||
const saveConfig = () => {
|
const saveConfig = () => {
|
||||||
currentNode.value.attributes.candidateParam = candidateParamArray.value?.join(',')
|
currentNode.value.attributes.candidateParam = candidateParamArray.value?.join(',')
|
||||||
|
if (currentNode.value.attributes.timeoutHandler.enable) {
|
||||||
|
currentNode.value.attributes.timeoutHandler.timeDuration = isoTimeDuration.value
|
||||||
|
}
|
||||||
currentNode.value.showText = getShowText()
|
currentNode.value.showText = getShowText()
|
||||||
settingVisible.value = false
|
settingVisible.value = false
|
||||||
}
|
}
|
||||||
const getShowText = () : string => {
|
const getShowText = (): string => {
|
||||||
let showText = ''
|
let showText = ''
|
||||||
// 指定成员
|
// 指定成员
|
||||||
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.USER) {
|
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.USER) {
|
||||||
|
@ -273,8 +355,10 @@ const getShowText = () : string => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 指定部门
|
// 指定部门
|
||||||
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_MEMBER
|
if (
|
||||||
|| currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_LEADER ) {
|
currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_MEMBER ||
|
||||||
|
currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_LEADER
|
||||||
|
) {
|
||||||
if (candidateParamArray.value?.length > 0) {
|
if (candidateParamArray.value?.length > 0) {
|
||||||
const candidateNames: string[] = []
|
const candidateNames: string[] = []
|
||||||
deptOptions?.value.forEach((item) => {
|
deptOptions?.value.forEach((item) => {
|
||||||
|
@ -282,7 +366,7 @@ const getShowText = () : string => {
|
||||||
candidateNames.push(item.name)
|
candidateNames.push(item.name)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if(currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_MEMBER){
|
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.DEPT_MEMBER) {
|
||||||
showText = `部门成员:${candidateNames.join(',')}`
|
showText = `部门成员:${candidateNames.join(',')}`
|
||||||
} else {
|
} else {
|
||||||
showText = `部门的负责人:${candidateNames.join(',')}`
|
showText = `部门的负责人:${candidateNames.join(',')}`
|
||||||
|
@ -316,11 +400,11 @@ const getShowText = () : string => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发起人自选
|
// 发起人自选
|
||||||
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER_SELECT ) {
|
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER_SELECT) {
|
||||||
showText = `发起人自选`
|
showText = `发起人自选`
|
||||||
}
|
}
|
||||||
// 发起人自己
|
// 发起人自己
|
||||||
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER ) {
|
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER) {
|
||||||
showText = `发起人自己`
|
showText = `发起人自己`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,18 +420,29 @@ const open = () => {
|
||||||
settingVisible.value = true
|
settingVisible.value = true
|
||||||
}
|
}
|
||||||
// 修改当前编辑的节点, 由父组件传过来
|
// 修改当前编辑的节点, 由父组件传过来
|
||||||
const setCurrentNode = (node:SimpleFlowNode) => {
|
const setCurrentNode = (node: SimpleFlowNode) => {
|
||||||
currentNode.value = node;
|
currentNode.value = node
|
||||||
currentNode.value.attributes.fieldsPermission = node.attributes.fieldsPermission || getDefaultFieldsPermission(formFields?.value)
|
currentNode.value.attributes.fieldsPermission =
|
||||||
|
node.attributes.fieldsPermission || getDefaultFieldsPermission(formFields?.value)
|
||||||
const strCandidateParam = node.attributes?.candidateParam
|
const strCandidateParam = node.attributes?.candidateParam
|
||||||
if(strCandidateParam) {
|
if (strCandidateParam) {
|
||||||
candidateParamArray.value = strCandidateParam.split(',').map(item=> +item)
|
candidateParamArray.value = strCandidateParam.split(',').map((item) => +item)
|
||||||
}
|
}
|
||||||
if (currentNode.value.attributes?.candidateStrategy === CandidateStrategy.START_USER) {
|
if (currentNode.value.attributes?.candidateStrategy === CandidateStrategy.START_USER) {
|
||||||
notAllowedMultiApprovers.value = true
|
notAllowedMultiApprovers.value = true
|
||||||
} else {
|
} else {
|
||||||
notAllowedMultiApprovers.value = false
|
notAllowedMultiApprovers.value = false
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
currentNode.value.attributes?.timeoutHandler?.enable &&
|
||||||
|
currentNode.value.attributes?.timeoutHandler?.timeDuration
|
||||||
|
) {
|
||||||
|
const strTimeDuration = currentNode.value.attributes.timeoutHandler.timeDuration
|
||||||
|
let parseTime = strTimeDuration.slice(2, strTimeDuration.length - 1)
|
||||||
|
let parseTimeUnit = strTimeDuration.slice(strTimeDuration.length - 1)
|
||||||
|
timeDuration.value = parseInt(parseTime)
|
||||||
|
timeUnit.value = convertTimeUnit(parseTimeUnit)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
defineExpose({ open, setCurrentNode }) // 暴露方法给父组件
|
defineExpose({ open, setCurrentNode }) // 暴露方法给父组件
|
||||||
|
@ -355,8 +450,10 @@ defineExpose({ open, setCurrentNode }) // 暴露方法给父组件
|
||||||
const changeCandidateStrategy = () => {
|
const changeCandidateStrategy = () => {
|
||||||
candidateParamArray.value = []
|
candidateParamArray.value = []
|
||||||
currentNode.value.attributes.approveMethod = ApproveMethodType.SINGLE_PERSON_APPROVE
|
currentNode.value.attributes.approveMethod = ApproveMethodType.SINGLE_PERSON_APPROVE
|
||||||
if (currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER
|
if (
|
||||||
|| currentNode.value.attributes.candidateStrategy === CandidateStrategy.USER ) {
|
currentNode.value.attributes.candidateStrategy === CandidateStrategy.START_USER ||
|
||||||
|
currentNode.value.attributes.candidateStrategy === CandidateStrategy.USER
|
||||||
|
) {
|
||||||
notAllowedMultiApprovers.value = true
|
notAllowedMultiApprovers.value = true
|
||||||
} else {
|
} else {
|
||||||
notAllowedMultiApprovers.value = false
|
notAllowedMultiApprovers.value = false
|
||||||
|
@ -364,7 +461,10 @@ const changeCandidateStrategy = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const changedCandidateUsers = () => {
|
const changedCandidateUsers = () => {
|
||||||
if (candidateParamArray.value?.length <= 1 && currentNode.value.attributes?.candidateStrategy === CandidateStrategy.USER) {
|
if (
|
||||||
|
candidateParamArray.value?.length <= 1 &&
|
||||||
|
currentNode.value.attributes?.candidateStrategy === CandidateStrategy.USER
|
||||||
|
) {
|
||||||
currentNode.value.attributes.approveMethod = ApproveMethodType.SINGLE_PERSON_APPROVE
|
currentNode.value.attributes.approveMethod = ApproveMethodType.SINGLE_PERSON_APPROVE
|
||||||
notAllowedMultiApprovers.value = true
|
notAllowedMultiApprovers.value = true
|
||||||
} else {
|
} else {
|
||||||
|
@ -375,14 +475,69 @@ const changedCandidateUsers = () => {
|
||||||
const showInput = ref(false)
|
const showInput = ref(false)
|
||||||
|
|
||||||
const clickIcon = () => {
|
const clickIcon = () => {
|
||||||
showInput.value = true;
|
showInput.value = true
|
||||||
}
|
}
|
||||||
// 节点名称输入框失去焦点
|
// 节点名称输入框失去焦点
|
||||||
const blurEvent = () => {
|
const blurEvent = () => {
|
||||||
showInput.value = false
|
showInput.value = false
|
||||||
currentNode.value.name = currentNode.value.name || NODE_DEFAULT_NAME.get(NodeType.USER_TASK_NODE) as string
|
currentNode.value.name =
|
||||||
|
currentNode.value.name || (NODE_DEFAULT_NAME.get(NodeType.USER_TASK_NODE) as string)
|
||||||
|
}
|
||||||
|
// 默认 6小时
|
||||||
|
const timeDuration = ref(6)
|
||||||
|
const timeUnit = ref(TimeUnitType.HOUR)
|
||||||
|
|
||||||
|
const isoTimeDuration = computed(() => {
|
||||||
|
let strTimeDuration = 'PT'
|
||||||
|
if (timeUnit.value === TimeUnitType.MINUTE) {
|
||||||
|
strTimeDuration += timeDuration.value + 'M'
|
||||||
|
}
|
||||||
|
if (timeUnit.value === TimeUnitType.HOUR) {
|
||||||
|
strTimeDuration += timeDuration.value + 'H'
|
||||||
|
}
|
||||||
|
if (timeUnit.value === TimeUnitType.DAY) {
|
||||||
|
strTimeDuration += timeDuration.value + 'D'
|
||||||
|
}
|
||||||
|
return strTimeDuration
|
||||||
|
})
|
||||||
|
// 超时开关改变
|
||||||
|
const timeoutHandlerChange = () => {
|
||||||
|
if (currentNode.value.attributes.timeoutHandler.enable) {
|
||||||
|
timeUnit.value = 2
|
||||||
|
timeDuration.value = 6
|
||||||
|
currentNode.value.attributes.timeoutHandler.action = 1
|
||||||
|
currentNode.value.attributes.timeoutHandler.maxRemindCount = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 时间单位改变
|
||||||
|
const timeUnitChange = () => {
|
||||||
|
// 分钟,默认是 60 分钟
|
||||||
|
if (timeUnit.value === TimeUnitType.MINUTE) {
|
||||||
|
timeDuration.value = 60
|
||||||
|
}
|
||||||
|
// 小时,默认是 6 个小时
|
||||||
|
if (timeUnit.value === TimeUnitType.HOUR) {
|
||||||
|
timeDuration.value = 6
|
||||||
|
}
|
||||||
|
// 天, 默认 1天
|
||||||
|
if (timeUnit.value === TimeUnitType.DAY) {
|
||||||
|
timeDuration.value = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const convertTimeUnit = (strTimeUnit: string) => {
|
||||||
|
if (strTimeUnit === 'M') {
|
||||||
|
return TimeUnitType.MINUTE
|
||||||
|
}
|
||||||
|
if (strTimeUnit === 'H') {
|
||||||
|
return TimeUnitType.HOUR
|
||||||
|
}
|
||||||
|
if (strTimeUnit === 'D') {
|
||||||
|
return TimeUnitType.DAY
|
||||||
|
}
|
||||||
|
return TimeUnitType.HOUR
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped></style>
|
||||||
</style>
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
<!-- 传递子节点给添加节点组件。会在子节点前面添加节点 -->
|
<!-- 传递子节点给添加节点组件。会在子节点前面添加节点 -->
|
||||||
<NodeHandler v-if="currentNode" v-model:child-node="currentNode.childNode" />
|
<NodeHandler v-if="currentNode" v-model:child-node="currentNode.childNode" />
|
||||||
</div>
|
</div>
|
||||||
<!-- 其实只需要一个全局抄送节点配置就行, 不需要多个。点击配置的时候传值. TODO 后面优化 -->
|
|
||||||
<CopyTaskNodeConfig
|
<CopyTaskNodeConfig
|
||||||
v-if="currentNode"
|
v-if="currentNode"
|
||||||
ref="nodeSetting"
|
ref="nodeSetting"
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
<NodeHandler v-if="currentNode" v-model:child-node="currentNode.childNode" />
|
<NodeHandler v-if="currentNode" v-model:child-node="currentNode.childNode" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 其实只需要一个全局审批节点配置就行, 不需要多个。点击配置的时候传值. TODO 后面优化 -->
|
|
||||||
<UserTaskNodeConfig
|
<UserTaskNodeConfig
|
||||||
v-if="currentNode"
|
v-if="currentNode"
|
||||||
ref="nodeSetting"
|
ref="nodeSetting"
|
||||||
|
|
Loading…
Reference in New Issue