fix bug:includes
This commit is contained in:
1 parent
991cae5f15
commit
f3b3a5bc7f
1 file changed
+1
-2
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="d-flex align-center">
|
<div class="d-flex align-center">
|
||||||
<template v-for="(user, userIndex) in node.properties.userIdList">
|
<template v-for="(user, userIndex) in node.properties.userIdList">
|
||||||
<div :class="`item-user-box d-flex justify-space-between px-2 mr-2 ${ user.username.includes('(账号被禁用)') && 'item-user-box-error'} `">
|
<div :class="`item-user-box d-flex justify-space-between px-2 mr-2 ${ user.username?.includes('(账号被禁用)') && 'item-user-box-error'} `">
|
||||||
<span class="omit">{{ user.username }}</span>
|
<span class="omit">{{ user.username }}</span>
|
||||||
<v-icon v-if="( node.properties?.approverType == '申请人自选' || node.properties?.noticerType == '申请人自选' ) || taskData.workflowInfo.modifyAuthority == false"
|
<v-icon v-if="( node.properties?.approverType == '申请人自选' || node.properties?.noticerType == '申请人自选' ) || taskData.workflowInfo.modifyAuthority == false"
|
||||||
class="ml-1" color="#a4a7aa" @click="doUiAction('deleteNodeUser', {nodeIndex ,userIndex})">
|
class="ml-1" color="#a4a7aa" @click="doUiAction('deleteNodeUser', {nodeIndex ,userIndex})">
|
||||||
@@ -594,7 +594,6 @@ Vue.component("create-task-drawer", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
prepareDoWorkItem() {
|
prepareDoWorkItem() {
|
||||||
console.log();
|
|
||||||
const { workflowInfo, workflowForm, workflowConfig, workflowName, taskTemplateGroup, } = this.taskData
|
const { workflowInfo, workflowForm, workflowConfig, workflowName, taskTemplateGroup, } = this.taskData
|
||||||
var startNode = this.curWorkflow[0]
|
var startNode = this.curWorkflow[0]
|
||||||
workflowConfig.nodeList.forEach(node => {
|
workflowConfig.nodeList.forEach(node => {
|
||||||
|
|||||||
Reference in new issue
Block a user