From ee890c0e80bc34d74d13447d4f2f7c8deb81c31d Mon Sep 17 00:00:00 2001
From: clay <20932067@zju.edu.cn>
Date: Thu, 30 May 2024 22:31:47 +0800
Subject: [PATCH] =?UTF-8?q?feat=20:=20=E8=A1=A8=E5=8D=95=E6=9D=83=E9=99=90?=
=?UTF-8?q?=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/config.js | 7 ++++
src/api/workflow/process-definition.js | 7 ++++
src/layout/navbar/index.vue | 30 +++++++--------
src/views/auth/index.vue | 2 +-
src/views/project-demand/requirement/add.vue | 8 ++--
src/views/workflow/process/ProcessEdit.vue | 4 +-
src/views/workflow/process/ProcessSetting.vue | 37 +++++++++++++------
.../process/config/FormAuthorityConfig.vue | 15 +++++---
8 files changed, 71 insertions(+), 39 deletions(-)
diff --git a/src/api/system/config.js b/src/api/system/config.js
index 196a3ab..53e826b 100644
--- a/src/api/system/config.js
+++ b/src/api/system/config.js
@@ -18,6 +18,13 @@ export const getConfigDetails = (configId) => {
method: 'get'
})
}
+// 获取参数配置表详情
+export const getConfigByKey = (configKey) => {
+ return request({
+ url: '/admin/config/key/' + configKey,
+ method: 'get'
+ })
+}
// 新增参数配置表
export const addConfig = (data) => {
diff --git a/src/api/workflow/process-definition.js b/src/api/workflow/process-definition.js
index 97a8924..eb802fe 100644
--- a/src/api/workflow/process-definition.js
+++ b/src/api/workflow/process-definition.js
@@ -68,4 +68,11 @@ export function getTypeOption() {
})
}
+export function getFromPerm(processKey) {
+ return request({
+ url: "/workflow/process/definition/from/perm/"+processKey,
+ method: "get",
+ })
+}
+
diff --git a/src/layout/navbar/index.vue b/src/layout/navbar/index.vue
index 182ec0b..1a51abe 100644
--- a/src/layout/navbar/index.vue
+++ b/src/layout/navbar/index.vue
@@ -3,12 +3,12 @@