-
+
--
Gitee
From 219f3a7d6f579e599314e643d557054c5d0676b5 Mon Sep 17 00:00:00 2001
From: bleachtred
Date: Fri, 19 Apr 2024 16:52:40 +0800
Subject: [PATCH 149/187] =?UTF-8?q?update=20=E8=AE=BE=E7=BD=AEel-select=20?=
=?UTF-8?q?=E7=9A=84=E5=AE=BD=E5=BA=A6=E9=BB=98=E8=AE=A4=E4=B8=BA=20240px?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/element-ui.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss
index 3e93efb2..220e4ac8 100644
--- a/src/assets/styles/element-ui.scss
+++ b/src/assets/styles/element-ui.scss
@@ -138,9 +138,9 @@
width: 68px;
}
-/* 设置 el-select 的宽度默认为 200px */
+/* 设置 el-select 的宽度默认为 240px */
.el-form--inline .el-select {
- width: 200px;
+ width: 240px;
}
/* 设置 el-input 的宽度默认为 240px */
--
Gitee
From c4c9905a91ffd532a9e4dca944438095c657c854 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Fri, 19 Apr 2024 17:13:15 +0800
Subject: [PATCH 150/187] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=20select=20?=
=?UTF-8?q?=E5=AE=BD=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/element-ui.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss
index 3e93efb2..b3b2996e 100644
--- a/src/assets/styles/element-ui.scss
+++ b/src/assets/styles/element-ui.scss
@@ -140,7 +140,7 @@
/* 设置 el-select 的宽度默认为 200px */
.el-form--inline .el-select {
- width: 200px;
+ width: 240px;
}
/* 设置 el-input 的宽度默认为 240px */
--
Gitee
From 3c34421bd27fce7c8a3fc4f87fc0e8c6add01bd7 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Fri, 19 Apr 2024 21:58:05 +0800
Subject: [PATCH 151/187] =?UTF-8?q?update=20=E5=88=A0=E9=99=A4=E8=AE=A4?=
=?UTF-8?q?=E9=A2=86=E5=8F=AF=E7=9B=B4=E6=8E=A5=E5=8A=9E=E7=90=86=EF=BC=8C?=
=?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/workflow/definitionConfig/types.ts | 2 +-
src/api/workflow/formManage/types.ts | 6 -----
.../workflow/processDefinition/index.vue | 2 +-
src/views/workflow/task/taskWaiting.vue | 25 +------------------
4 files changed, 3 insertions(+), 32 deletions(-)
diff --git a/src/api/workflow/definitionConfig/types.ts b/src/api/workflow/definitionConfig/types.ts
index 0849fc2d..7627403d 100644
--- a/src/api/workflow/definitionConfig/types.ts
+++ b/src/api/workflow/definitionConfig/types.ts
@@ -71,7 +71,7 @@ export interface DefinitionConfigForm extends BaseEntity {
/**
* 表单管理
*/
- wfFormManageVo: FormManageVO;
+ wfFormManageVo?: FormManageVO;
}
export interface DefinitionConfigQuery extends PageQuery {
diff --git a/src/api/workflow/formManage/types.ts b/src/api/workflow/formManage/types.ts
index 38db96fc..6554f552 100644
--- a/src/api/workflow/formManage/types.ts
+++ b/src/api/workflow/formManage/types.ts
@@ -27,7 +27,6 @@ export interface FormManageVO {
* 备注
*/
remork: string;
-
}
export interface FormManageForm extends BaseEntity {
@@ -55,11 +54,9 @@ export interface FormManageForm extends BaseEntity {
* 备注
*/
remork?: string;
-
}
export interface FormManageQuery extends PageQuery {
-
/**
* 表单名称
*/
@@ -70,6 +67,3 @@ export interface FormManageQuery extends PageQuery {
*/
formType?: string;
}
-
-
-
diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue
index 14de9582..fde02c74 100644
--- a/src/views/workflow/processDefinition/index.vue
+++ b/src/views/workflow/processDefinition/index.vue
@@ -274,7 +274,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const previewRef = ref>();
const queryFormRef = ref();
const categoryTreeRef = ref();
-const definitionConfigForm = ref();
+const definitionConfigForm = ref({});
type CategoryOption = {
categoryCode: string;
diff --git a/src/views/workflow/task/taskWaiting.vue b/src/views/workflow/task/taskWaiting.vue
index c9f068af..ce0cd5b2 100644
--- a/src/views/workflow/task/taskWaiting.vue
+++ b/src/views/workflow/task/taskWaiting.vue
@@ -60,30 +60,7 @@
- 办理
- 归还
- 认领
+ 办理
--
Gitee
From 7016888d5a72066de2be91a346944cf335b5b633 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Fri, 19 Apr 2024 21:59:43 +0800
Subject: [PATCH 152/187] =?UTF-8?q?remove=20=E5=88=A0=E9=99=A4=E6=97=A0?=
=?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/workflow/task/taskWaiting.vue | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/src/views/workflow/task/taskWaiting.vue b/src/views/workflow/task/taskWaiting.vue
index ce0cd5b2..dc6546a4 100644
--- a/src/views/workflow/task/taskWaiting.vue
+++ b/src/views/workflow/task/taskWaiting.vue
@@ -76,7 +76,7 @@
--
Gitee
From 2df121072ba5274867324aae415c3735742711cd Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Fri, 19 Apr 2024 22:13:26 +0800
Subject: [PATCH 153/187] =?UTF-8?q?fix=20=E4=BF=AE=E6=94=B9=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E6=B2=A1=E6=9C=89=E5=80=99=E9=80=89=E4=BA=BA=E4=B8=8E?=
=?UTF-8?q?=E5=80=99=E9=80=89=E7=BB=84=E6=97=B6=E7=82=B9=E5=87=BB=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E5=87=BA=E7=8E=B0tag=E6=A0=87=E7=AD=BE=E9=80=89?=
=?UTF-8?q?=E4=B8=AD=E5=85=A8=E9=83=A8=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/bpmn/panel/TaskPanel.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/bpmn/panel/TaskPanel.vue b/src/bpmn/panel/TaskPanel.vue
index dee94ebd..24ec8e3e 100644
--- a/src/bpmn/panel/TaskPanel.vue
+++ b/src/bpmn/panel/TaskPanel.vue
@@ -283,12 +283,18 @@ const dueDateRef = ref>();
const isMultiple = ref(true);
const openUserSelect = () => {
+ if (!formData.value.candidateUsers) {
+ formData.value.candidateUsers = '-1';
+ }
userSelectRef.value.open();
};
const openSingleUserSelect = () => {
singleUserSelectRef.value.open();
};
const openRoleSelect = () => {
+ if (!formData.value.candidateGroups) {
+ formData.value.candidateGroups = '-1';
+ }
roleSelectRef.value.open();
};
const openDueDate = (e) => {
--
Gitee
From e2bdae5bf2a2acf562ac985c8607700912a9e3a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Sat, 20 Apr 2024 19:13:25 +0800
Subject: [PATCH 154/187] =?UTF-8?q?update=20element-plus=20=E5=8D=87?=
=?UTF-8?q?=E7=BA=A7=202.7.1=20=E5=B9=B6=E9=80=82=E9=85=8D=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/bpmn/panel/TaskPanel.vue | 2 +-
src/bpmn/panel/property/DueDate.vue | 40 +++++++++++-----------
src/views/system/client/index.vue | 2 +-
src/views/system/config/index.vue | 2 +-
src/views/system/dept/index.vue | 2 +-
src/views/system/menu/index.vue | 6 ++--
src/views/system/notice/index.vue | 2 +-
src/views/system/oss/config.vue | 8 ++---
src/views/system/post/index.vue | 2 +-
src/views/system/role/index.vue | 2 +-
src/views/system/user/index.vue | 2 +-
src/views/system/user/profile/userInfo.vue | 4 +--
src/views/tool/gen/genInfoForm.vue | 4 +--
src/views/workflow/formManage/index.vue | 2 +-
15 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/package.json b/package.json
index d824fe10..aaec162a 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
"diagram-js": "12.3.0",
"didi": "9.0.2",
"echarts": "5.5.0",
- "element-plus": "2.6.3",
+ "element-plus": "2.7.1",
"file-saver": "2.0.5",
"fuse.js": "7.0.0",
"highlight.js": "11.9.0",
diff --git a/src/bpmn/panel/TaskPanel.vue b/src/bpmn/panel/TaskPanel.vue
index 24ec8e3e..08283d10 100644
--- a/src/bpmn/panel/TaskPanel.vue
+++ b/src/bpmn/panel/TaskPanel.vue
@@ -95,7 +95,7 @@
- {{ item.label }}
+ {{ item.label }}
diff --git a/src/bpmn/panel/property/DueDate.vue b/src/bpmn/panel/property/DueDate.vue
index 4825a1cc..69f00a0f 100644
--- a/src/bpmn/panel/property/DueDate.vue
+++ b/src/bpmn/panel/property/DueDate.vue
@@ -4,41 +4,41 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/views/system/client/index.vue b/src/views/system/client/index.vue
index 64633070..af8696bf 100644
--- a/src/views/system/client/index.vue
+++ b/src/views/system/client/index.vue
@@ -125,7 +125,7 @@
-
+
{{ dict.label }}
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index 3d0f396a..138068e4 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -105,7 +105,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 23e29ded..30942df4 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -115,7 +115,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 1d65a5bd..9e5b5c3a 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -95,9 +95,9 @@
- 目录
- 菜单
- 按钮
+ 目录
+ 菜单
+ 按钮
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index 98960a66..7d4bbe05 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -97,7 +97,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/oss/config.vue b/src/views/system/oss/config.vue
index 94d6e034..41766f6f 100644
--- a/src/views/system/oss/config.vue
+++ b/src/views/system/oss/config.vue
@@ -106,14 +106,14 @@
- {{ dict.label }}
+ {{ dict.label }}
- private
- public
- custom
+ private
+ public
+ custom
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index f282c99d..172c3861 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -89,7 +89,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 67439922..bd84af3c 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -120,7 +120,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index e87e10bc..e656191d 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -202,7 +202,7 @@
- {{ dict.label }}
+ {{ dict.label }}
diff --git a/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue
index 289f8d4c..d5b8a4c8 100644
--- a/src/views/system/user/profile/userInfo.vue
+++ b/src/views/system/user/profile/userInfo.vue
@@ -11,8 +11,8 @@
- 男
- 女
+ 男
+ 女
diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue
index a8d7e13d..0ee9f1df 100644
--- a/src/views/tool/gen/genInfoForm.vue
+++ b/src/views/tool/gen/genInfoForm.vue
@@ -90,8 +90,8 @@
- zip压缩包
- 自定义路径
+ zip压缩包
+ 自定义路径
diff --git a/src/views/workflow/formManage/index.vue b/src/views/workflow/formManage/index.vue
index 45dc0c5e..5057b3a2 100644
--- a/src/views/workflow/formManage/index.vue
+++ b/src/views/workflow/formManage/index.vue
@@ -69,7 +69,7 @@
- {{ dict.label }}
+ {{ dict.label }}
--
Gitee
From 2d532d636a00cbf683df110862162a065caca165 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Sun, 21 Apr 2024 16:49:47 +0800
Subject: [PATCH 155/187] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=E8=AE=BE?=
=?UTF-8?q?=E8=AE=A1=E5=99=A8=E9=80=89=E4=BA=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/bpmn/panel/TaskPanel.vue | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/bpmn/panel/TaskPanel.vue b/src/bpmn/panel/TaskPanel.vue
index 24ec8e3e..9ece85fc 100644
--- a/src/bpmn/panel/TaskPanel.vue
+++ b/src/bpmn/panel/TaskPanel.vue
@@ -47,13 +47,13 @@
-
+
-
-
-
-
+
+
+
+
@@ -68,16 +68,16 @@
-
+
+
@@ -98,7 +98,7 @@
{{ item.label }}
-
+ -->
--
Gitee
From 8633a23d2851fbe57a9b5a6e41b09fba03891f11 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Sun, 21 Apr 2024 16:58:01 +0800
Subject: [PATCH 156/187] =?UTF-8?q?fix=20=E4=BF=AE=E6=94=B9=E8=AE=BE?=
=?UTF-8?q?=E8=AE=A1=E5=99=A8=E5=88=B0=E6=9C=9F=E6=97=B6=E9=97=B4=E6=B2=A1?=
=?UTF-8?q?=E6=9C=89=E5=80=BC=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/bpmn/panel/property/DueDate.vue | 40 ++++++++++++++---------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/bpmn/panel/property/DueDate.vue b/src/bpmn/panel/property/DueDate.vue
index 69f00a0f..882766b2 100644
--- a/src/bpmn/panel/property/DueDate.vue
+++ b/src/bpmn/panel/property/DueDate.vue
@@ -4,41 +4,41 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
--
Gitee
From 861dc9fb162f26c490142f92dbd0f77618c2e6ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Tue, 23 Apr 2024 09:47:02 +0800
Subject: [PATCH 157/187] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E6=9B=BF?=
=?UTF-8?q?=E6=8D=A2=E8=BF=87=E6=9C=9F=E5=B1=9E=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/tool/gen/editTable.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue
index 2175a9ce..bbb0889e 100644
--- a/src/views/tool/gen/editTable.vue
+++ b/src/views/tool/gen/editTable.vue
@@ -35,22 +35,22 @@
-
+
-
+
-
+
-
+
@@ -69,7 +69,7 @@
-
+
--
Gitee
From 9bcc4d631b37ed9f690d60369492c9786e7e9a24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BF=BD=E6=A2=A6=E7=A8=BB=E8=8D=89=E4=BA=BALi?=
Date: Tue, 23 Apr 2024 01:50:07 +0000
Subject: [PATCH 158/187] =?UTF-8?q?!106=20[=E8=BD=BB=E9=87=8F=E7=BA=A7pr]?=
=?UTF-8?q?=20add=20=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E9=80=89=E6=8B=A9?=
=?UTF-8?q?=E8=A7=92=E8=89=B2=E6=97=B6=20=E5=8F=AF=E6=90=9C=E7=B4=A2?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=20*=20update=20src/views/system/user/index.v?=
=?UTF-8?q?ue.=20*=20add=20=E6=96=B0=E5=A2=9E=E8=A7=92=E8=89=B2=E5=8F=AF?=
=?UTF-8?q?=E6=90=9C=E7=B4=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/user/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index e656191d..5b571c73 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -223,7 +223,7 @@
-
+
Date: Tue, 23 Apr 2024 13:14:02 +0800
Subject: [PATCH 159/187] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E7=BC=A9=E8=BF=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/user/index.vue | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 5b571c73..1e159984 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -28,16 +28,11 @@
-
+
-
+
@@ -395,7 +390,7 @@ const initData: PageData = {
message: '用户密码长度必须介于 5 和 20 之间',
trigger: 'blur'
},
- { pattern: /^[^<>"'|\\]+$/, message: "不能包含非法字符:< > \" ' \\\ |", trigger: "blur" }
+ { pattern: /^[^<>"'|\\]+$/, message: '不能包含非法字符:< > " \' \\\ |', trigger: 'blur' }
],
email: [
{
@@ -508,7 +503,7 @@ const handleResetPwd = async (row: UserVO) => {
inputErrorMessage: '用户密码长度必须介于 5 和 20 之间',
inputValidator: (value) => {
if (/<|>|"|'|\||\\/.test(value)) {
- return "不能包含非法字符:< > \" ' \\\ |"
+ return '不能包含非法字符:< > " \' \\\ |';
}
}
})
--
Gitee
From 7ed5f33e7bd9ca26fb41700e518234b973841921 Mon Sep 17 00:00:00 2001
From: AprilWind <2100166581@qq.com>
Date: Wed, 24 Apr 2024 14:30:52 +0000
Subject: [PATCH 160/187] =?UTF-8?q?!107=20add=20=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=B2=97=E4=BD=8D=E7=BC=96=E7=A0=81=E4=B8=8E=E9=83=A8=E9=97=A8?=
=?UTF-8?q?=E7=BC=96=E7=A0=81=20=E5=B9=B6=E5=B0=86=E5=B2=97=E4=BD=8D?=
=?UTF-8?q?=E6=94=BE=E5=88=B0=E9=83=A8=E9=97=A8=E4=B8=8B=20*=20add=20?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8E=B7=E5=8F=96=E5=B2=97=E4=BD=8D=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E6=A1=86=E5=88=97=E8=A1=A8=20*=20update=20=E5=B2=97?=
=?UTF-8?q?=E4=BD=8D=E6=9F=A5=E8=AF=A2=E6=A0=91=E8=A1=A8=E5=92=8C=E5=8D=95?=
=?UTF-8?q?=E8=A1=A8=E7=9B=B8=E4=BA=92undefined=20*=20update=20=E5=B2=97?=
=?UTF-8?q?=E4=BD=8D=E6=9F=A5=E8=AF=A2=E5=A2=9E=E5=8A=A0=E5=8D=95=E9=83=A8?=
=?UTF-8?q?=E9=97=A8=E6=9F=A5=E8=AF=A2=20*=20update=20=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E7=B1=BB=E5=88=AB=E7=BC=96=E7=A0=81=E4=B8=8E=E5=90=8E=E5=8F=B0?=
=?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=20*=20add=20=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=B2=97=E4=BD=8D=E9=83=A8=E9=97=A8=E6=A0=91=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?=E7=B1=BB=E5=88=AB=E7=BC=96=E7=A0=81=20*=20add=20=E9=83=A8?=
=?UTF-8?q?=E9=97=A8=E5=A2=9E=E5=8A=A0=E7=B1=BB=E5=88=AB=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/dept/types.ts | 3 +
src/api/system/post/index.ts | 9 +
src/api/system/post/types.ts | 8 +
src/views/system/dept/index.vue | 11 ++
src/views/system/post/index.vue | 296 +++++++++++++++++++++-----------
5 files changed, 231 insertions(+), 96 deletions(-)
diff --git a/src/api/system/dept/types.ts b/src/api/system/dept/types.ts
index 867dbded..494745c4 100644
--- a/src/api/system/dept/types.ts
+++ b/src/api/system/dept/types.ts
@@ -3,6 +3,7 @@
*/
export interface DeptQuery extends PageQuery {
deptName?: string;
+ deptCategory?: string;
status?: number;
}
@@ -16,6 +17,7 @@ export interface DeptVO extends BaseEntity {
children: DeptVO[];
deptId: number | string;
deptName: string;
+ deptCategory: string;
orderNum: number;
leader: string;
phone: string;
@@ -35,6 +37,7 @@ export interface DeptForm {
children?: DeptForm[];
deptId?: number | string;
deptName?: string;
+ deptCategory?: string;
orderNum?: number;
leader?: string;
phone?: string;
diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts
index 3e523ab9..1b565a8d 100644
--- a/src/api/system/post/index.ts
+++ b/src/api/system/post/index.ts
@@ -19,6 +19,15 @@ export function getPost(postId: string | number): AxiosPromise {
});
}
+// 获取岗位选择框列表
+export function optionselect(query: PostQuery): AxiosPromise {
+ return request({
+ url: '/system/post/optionselect',
+ method: 'get',
+ params: query
+ });
+}
+
// 新增岗位
export function addPost(data: PostForm) {
return request({
diff --git a/src/api/system/post/types.ts b/src/api/system/post/types.ts
index 84e6786c..45a0540c 100644
--- a/src/api/system/post/types.ts
+++ b/src/api/system/post/types.ts
@@ -1,7 +1,10 @@
export interface PostVO extends BaseEntity {
postId: number | string;
+ deptId: number | string;
postCode: string;
postName: string;
+ postCategory: string;
+ deptName: string;
postSort: number;
status: string;
remark: string;
@@ -9,15 +12,20 @@ export interface PostVO extends BaseEntity {
export interface PostForm {
postId: number | string | undefined;
+ deptId: number | string | undefined;
postCode: string;
postName: string;
+ postCategory: string;
postSort: number;
status: string;
remark: string;
}
export interface PostQuery extends PageQuery {
+ deptId: number | string;
+ belongDeptId: number | string;
postCode: string;
postName: string;
+ postCategory: string;
status: string;
}
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 30942df4..71aeff1c 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -7,6 +7,9 @@
+
+
+
@@ -43,6 +46,7 @@
:default-expand-all="isExpandAll"
>
+
@@ -90,6 +94,11 @@
+
+
+
+
+
@@ -166,6 +175,7 @@ const initFormData: DeptForm = {
deptId: undefined,
parentId: undefined,
deptName: undefined,
+ deptCategory: undefined,
orderNum: 0,
leader: undefined,
phone: undefined,
@@ -178,6 +188,7 @@ const initData: PageData = {
pageNum: 1,
pageSize: 10,
deptName: undefined,
+ deptCategory: undefined,
status: undefined
},
rules: {
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 172c3861..87ccf923 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -1,114 +1,166 @@
-
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
-
-
-
+
+
-
- 搜索
- 重置
+
+
+ {{ dict.label }}
+
+
+
+
-
-
-
-
-
-
-
- 新增
-
-
- 修改
-
-
-
- 删除
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
+
+
+
--
Gitee
From e2254651ca3e83f4343c5590b10635331fa801a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Wed, 24 Apr 2024 23:45:26 +0800
Subject: [PATCH 161/187] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20!pr107=20?=
=?UTF-8?q?=E9=81=97=E7=95=99=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
update 优化 岗位下拉框样式问题
---
src/api/system/post/index.ts | 7 +++++--
src/views/system/post/index.vue | 25 ++++++++++++-------------
src/views/system/user/index.vue | 12 +++++++++++-
3 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts
index 1b565a8d..5f6ab18b 100644
--- a/src/api/system/post/index.ts
+++ b/src/api/system/post/index.ts
@@ -20,11 +20,14 @@ export function getPost(postId: string | number): AxiosPromise {
}
// 获取岗位选择框列表
-export function optionselect(query: PostQuery): AxiosPromise {
+export function optionselect(deptId?: number | string, postIds?: (number | string)[]): AxiosPromise {
return request({
url: '/system/post/optionselect',
method: 'get',
- params: query
+ params: {
+ postIds: postIds,
+ deptId: deptId
+ }
});
}
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 87ccf923..fa1c6dc5 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -40,7 +40,8 @@
:props="{ value: 'id', label: 'label', children: 'children' }"
value-key="id"
placeholder="请选择部门"
- check-strictly/>
+ check-strictly
+ />
@@ -114,18 +115,16 @@
-
-
-
-
-
+
+
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 1e159984..e8e0c239 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -287,10 +287,11 @@ import api from '@/api/system/user';
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
import { DeptVO } from '@/api/system/dept/types';
import { RoleVO } from '@/api/system/role/types';
-import { PostVO } from '@/api/system/post/types';
+import {PostQuery, PostVO} from '@/api/system/post/types';
import { treeselect } from '@/api/system/dept';
import { globalHeaders } from '@/utils/request';
import { to } from 'await-to-js';
+import {optionselect} from "@/api/system/post";
const router = useRouter();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -645,6 +646,15 @@ onMounted(() => {
initPassword.value = response.data;
});
});
+
+// 监测部门变化加载岗位
+watch(
+ () => form.value.deptId,
+ async () => {
+ const response = await optionselect(form.value.deptId);
+ postOptions.value = response.data;
+ }
+);
--
Gitee
From 9968d14c393e6362192039d797cd58758a8fc89f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=90=BD=E5=8F=B6=E6=A9=98=E6=A9=99?=
Date: Thu, 25 Apr 2024 02:15:20 +0000
Subject: [PATCH 162/187] =?UTF-8?q?update=20src/components/ImagePreview/in?=
=?UTF-8?q?dex.vue.=20=E5=9B=BE=E7=89=87=E9=A2=84=E8=A7=88=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=20let=20real=5Fsrc=5Flist=20=3D=20props.src.split(','?=
=?UTF-8?q?);=E4=BC=9A=E5=A4=9A=E5=87=BA=E4=B8=80=E4=B8=AA''=E5=AF=B9?=
=?UTF-8?q?=E8=B1=A1=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E5=9B=BE=E7=89=87?=
=?UTF-8?q?=E6=B5=8F=E8=A7=88=E6=97=B6=E5=A4=9A=E4=B8=80=E4=B8=AA=E7=A9=BA?=
=?UTF-8?q?=E7=99=BD=E9=A2=84=E8=A7=88=E3=80=82=E5=A2=9E=E5=8A=A0=E4=B8=80?=
=?UTF-8?q?=E4=B8=AA=E5=88=A4=E7=A9=BA=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: 落叶橘橙
---
src/components/ImagePreview/index.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue
index 55439238..349f7290 100644
--- a/src/components/ImagePreview/index.vue
+++ b/src/components/ImagePreview/index.vue
@@ -38,6 +38,9 @@ const realSrcList = computed(() => {
let real_src_list = props.src.split(',');
let srcList: string[] = [];
real_src_list.forEach((item: string) => {
+ if(item.trim() === '') {
+ return;
+ }
return srcList.push(item);
});
return srcList;
--
Gitee
From c449fb60a5ae0701315e649c40a59df27efce05e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Thu, 25 Apr 2024 13:48:20 +0800
Subject: [PATCH 163/187] update vite 5.2.10 update vue 3.4.25
---
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index aaec162a..cb97082a 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"preact": "10.19.7",
"screenfull": "6.0.2",
"vform3-builds": "3.0.10",
- "vue": "3.4.23",
+ "vue": "3.4.25",
"vue-cropper": "1.1.1",
"vue-i18n": "9.10.2",
"vue-router": "4.3.2",
@@ -93,7 +93,7 @@
"unplugin-icons": "0.18.5",
"unplugin-vue-components": "0.26.0",
"unplugin-vue-setup-extend-plus": "1.0.1",
- "vite": "5.2.9",
+ "vite": "5.2.10",
"vite-plugin-compression": "0.5.1",
"vite-plugin-svg-icons": "2.0.1",
"vitest": "1.5.0",
--
Gitee
From 9243eee3c3475e7518a3e64f13888469c78666cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Fri, 26 Apr 2024 15:49:20 +0800
Subject: [PATCH 164/187] =?UTF-8?q?remove=20=E5=88=A0=E9=99=A4=20husky(?=
=?UTF-8?q?=E6=B2=A1=E4=BA=BA=E7=94=A8)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/package.json b/package.json
index cb97082a..4d7ae154 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,6 @@
"build:dev": "vite build --mode development",
"preview": "vite preview",
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
- "prepare": "husky install",
"prettier": "prettier --write ."
},
"repository": {
@@ -83,7 +82,6 @@
"eslint-plugin-import": "2.29.1",
"eslint-plugin-vue": "9.23.0",
"fast-glob": "3.3.2",
- "husky": "9.0.11",
"postcss": "8.4.36",
"prettier": "3.2.5",
"sass": "1.72.0",
--
Gitee
From 012e70c7e42809442308104496f12a444e8a08c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Tue, 30 Apr 2024 17:33:09 +0800
Subject: [PATCH 165/187] update element-plus 2.7.2
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 4d7ae154..b23f07d7 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"diagram-js": "12.3.0",
"didi": "9.0.2",
"echarts": "5.5.0",
- "element-plus": "2.7.1",
+ "element-plus": "2.7.2",
"file-saver": "2.0.5",
"fuse.js": "7.0.0",
"highlight.js": "11.9.0",
--
Gitee
From 0d196e47e2abae91d798ec0cbf98303c0cc7b6b1 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Tue, 30 Apr 2024 22:04:55 +0800
Subject: [PATCH 166/187] =?UTF-8?q?fix:=20=E9=87=8D=E7=BD=AE=E6=97=B6?=
=?UTF-8?q?=E6=B8=85=E7=A9=BA=E5=B7=A6=E8=BE=B9=E9=83=A8=E9=97=A8=E6=A0=91?=
=?UTF-8?q?=E9=80=89=E4=B8=AD=E5=80=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/post/index.vue | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index fa1c6dc5..49b735b7 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -28,7 +28,13 @@
-
+
@@ -63,7 +69,9 @@
新增
- 修改
+ 修改
@@ -106,7 +114,13 @@
-
+