mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-13 18:35:07 +08:00
仿钉钉设计流程后端接入-10%
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
</div>
|
||||
<p>审批人</p>
|
||||
</a>
|
||||
<!-- TODO 暂时去掉未完成
|
||||
<a class="add-node-popover-item notifier" @click="addType(2)">
|
||||
<div class="item-wrapper">
|
||||
<span class="iconfont"></span>
|
||||
@ -22,6 +23,7 @@
|
||||
</div>
|
||||
<p>条件分支</p>
|
||||
</a>
|
||||
-->
|
||||
</div>
|
||||
<template #reference>
|
||||
<button class="btn" type="button">
|
||||
@ -71,8 +73,7 @@ const addType = (type) => {
|
||||
candidateStrategy: undefined,
|
||||
candidateParam: []
|
||||
},
|
||||
childNode: props.childNodeP,
|
||||
nodeUserList: []
|
||||
// childNode: props.childNodeP
|
||||
}
|
||||
} else if (type == 2) {
|
||||
data = {
|
||||
@ -97,7 +98,7 @@ const addType = (type) => {
|
||||
priorityLevel: 1,
|
||||
conditionList: [],
|
||||
nodeUserList: [],
|
||||
childNode: props.childNodeP
|
||||
// childNode: props.childNodeP
|
||||
},
|
||||
{
|
||||
name: '条件2',
|
||||
|
@ -250,7 +250,7 @@ const saveApprover = () => {
|
||||
closeDrawer()
|
||||
}
|
||||
const saveConfig = () => {
|
||||
console.log('before userTaskConfig is ', userTaskConfig.value.id)
|
||||
|
||||
const rawConfig = toRaw(userTaskConfig.value)
|
||||
rawConfig.value.attributes = toRaw(candidateConfig.value)
|
||||
rawConfig.flag = true
|
||||
|
@ -295,7 +295,8 @@ const setPerson = (priorityLevel) => {
|
||||
}
|
||||
setUserTaskConfig({
|
||||
value: {
|
||||
...JSON.parse(JSON.stringify(props.nodeConfig))
|
||||
...JSON.parse(JSON.stringify(props.nodeConfig)),
|
||||
id: 'Activity_'+_uid,
|
||||
},
|
||||
flag: false,
|
||||
id: _uid,
|
||||
|
Reference in New Issue
Block a user