调整ui,其他流程用户修复
This commit is contained in:
1 parent
c813919d48
commit
b405f179c8
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -72,7 +72,7 @@ class TaskService extends Service {
|
|||||||
let {mode = 'serial', nodeList = [], lineList = []} = workflowConfig;
|
let {mode = 'serial', nodeList = [], lineList = []} = workflowConfig;
|
||||||
const nodeListOfUserTaskNode = (JSON.parse(workflowConfigCustom || '{}')).nodeListOfUserTaskNode || []
|
const nodeListOfUserTaskNode = (JSON.parse(workflowConfigCustom || '{}')).nodeListOfUserTaskNode || []
|
||||||
// 合并定制的审批人和workflow的审批人
|
// 合并定制的审批人和workflow的审批人
|
||||||
// nodeList = _.merge(_.keyBy(nodeList, 'id'), _.keyBy((JSON.parse(workflowConfigCustom || '{}')).nodeListOfUserTaskNode || [], 'id'))
|
nodeList = _.merge(_.keyBy(nodeList, 'id'), _.keyBy(nodeListOfUserTaskNode, 'id'))
|
||||||
for (let i = 0; i < nodeList.length; i++) {
|
for (let i = 0; i < nodeList.length; i++) {
|
||||||
const node = nodeList[i];
|
const node = nodeList[i];
|
||||||
const tempNode = nodeListOfUserTaskNode.find(n => n.id === node.id);
|
const tempNode = nodeListOfUserTaskNode.find(n => n.id === node.id);
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class WorkflowService extends Service {
|
|||||||
throw new BizError(errorInfoEnum.workflow_not_found);
|
throw new BizError(errorInfoEnum.workflow_not_found);
|
||||||
}
|
}
|
||||||
|
|
||||||
actionData.workflowConfigCustom = JSON.stringify(workflowConfigCustom);
|
actionData.workflowConfigCustom = workflowConfigCustom;
|
||||||
actionData.workflowId = workflow.workflowId;
|
actionData.workflowId = workflow.workflowId;
|
||||||
actionData.taskTitle = workflow.workflowName;
|
actionData.taskTitle = workflow.workflowName;
|
||||||
actionData.workflowForm = formItemList;
|
actionData.workflowForm = formItemList;
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="12" md="12">
|
<v-col cols="12" sm="12" md="12">
|
||||||
<span class="jh-input-label">备注</span>
|
<span class="jh-input-label">备注</span>
|
||||||
<v-textarea class="jh-v-input" no-resize dense single-line filled label="备注"
|
<v-textarea class="jh-v-input" no-resize dense single-line filled
|
||||||
v-model="updateItem.taskComment" :readonly="workflowType != 'todo'"></v-textarea>
|
v-model="updateItem.taskComment" :readonly="workflowType != 'todo'"></v-textarea>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<v-main class="mt-15">
|
<v-main class="mt-15">
|
||||||
<!-- 头部内容 >>>>>>>>>>>>> -->
|
<!-- 头部内容 >>>>>>>>>>>>> -->
|
||||||
<div class="jh-page-second-bar px-8">
|
<div class="jh-page-second-bar px-8">
|
||||||
<div class="pt-3 text-h7 font-weight-bold">流程管理
|
<div class="pt-3 text-h7 font-weight-bold">流程管理/发起任务
|
||||||
<!-- 帮助页按钮 -->
|
<!-- 帮助页按钮 -->
|
||||||
<v-icon @click="isHelpPageDrawerShown = true" color="success" small>mdi-help-circle-outline</v-icon>
|
<v-icon @click="isHelpPageDrawerShown = true" color="success" small>mdi-help-circle-outline</v-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
disabled: true,
|
disabled: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '流程管理列表',
|
text: '流程管理列表、发起任务',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user