From 31b52910c1a239bee586bc06e55aee3077094669 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 25 May 2024 08:39:31 +0800 Subject: [PATCH] add --- .../dialogTable/dialogTableConfig.ts | 29 ++ src/views/oa_flow/edit.vue | 388 +++++++++++++++++- src/views/oa_flow/index.vue | 16 +- src/views/oa_flow_type/index.vue | 35 +- src/views/oa_schedule/edit.vue | 3 - 5 files changed, 445 insertions(+), 26 deletions(-) diff --git a/src/components/dialogTable/dialogTableConfig.ts b/src/components/dialogTable/dialogTableConfig.ts index 4225773..ba6d864 100644 --- a/src/components/dialogTable/dialogTableConfig.ts +++ b/src/components/dialogTable/dialogTableConfig.ts @@ -1048,3 +1048,32 @@ export const marketing_competitor: Iconfig = { { qualifications: "企业资质" }, ], }; + +import { apiOaFlowTypeLists } from "@/api/oa_flow_type"; + +export const oa_flow_type: Iconfig = { + fetchFn: apiOaFlowTypeLists, + dictData: "oa_approve_cate", + serchList: [ + { + label: "所属分类", + value: "type", + select: "oa_approve_cate", + }, + { + label: "审批名称", + value: "title", + }, + { + label: "审批标识", + value: "name", + }, + ], + tableList: [ + { type_text: "所属分类" }, + { title: "审批名称" }, + { name: "审批标识" }, + { icon: "图标" }, + { department_names: "应用部门" }, + ], +}; diff --git a/src/views/oa_flow/edit.vue b/src/views/oa_flow/edit.vue index 16d3360..b8e7bfd 100644 --- a/src/views/oa_flow/edit.vue +++ b/src/views/oa_flow/edit.vue @@ -1,12 +1,17 @@ -