feat: 新增续签电子签插件及多插件钉钉通知功能
- 新增 xq0034 续签电子签插件,包含核心流程与钉钉通知能力 - 为 xq0035、xq0008、xq0009、xq0010、xq0011、xq0031_xq0032、xq0037、xq0038、xq0045_xq0046 插件添加钉钉群通知配置 - 优化续签电子签执行结果日志,减少重复名单输出 - 桌面端插件列表新增分页功能,优化长列表展示
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"schema_version": 1,
|
||||
"id": "xq0038",
|
||||
"name": "定性评价推送",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "定性评价(绩效定性考评)批量推送:读取《定性评价导入明细.xlsx》加工辅助表,按定性发起标记+部门负责人分组,在 OA 蓝凌 EKP 批量创建绩效评价发起单;默认仅暂存草稿,开启真实发送后发起流程(含子流程启动、通知复核人),发完可自动导出当天定性评价单并核对当前处理人(异常标记)。",
|
||||
"category": "人事绩效",
|
||||
"icon": "",
|
||||
|
||||
@@ -123,6 +123,7 @@ export function usePluginUI(opts = {}) {
|
||||
else ElMessage.warning('读取本机配置失败,已用默认值:' + e.message)
|
||||
}
|
||||
loaded.value = true
|
||||
refreshSchemes() // 方案列表一并加载:重开界面/切插件回来(iframe 重挂载)后,下拉仍列出全部已存方案
|
||||
})
|
||||
|
||||
// 配置变更自动保存(防抖 800ms),执行中不保存
|
||||
@@ -195,6 +196,18 @@ export function usePluginUI(opts = {}) {
|
||||
}
|
||||
name = String(name).trim()
|
||||
if (!name) return
|
||||
const dup = schemes.value.find((x) => x.name === name)
|
||||
if (dup) {
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`已存在同名方案「${dup.name}」,保存将覆盖它的参数(多套不同配置请用不同名称)。`,
|
||||
'覆盖已有方案',
|
||||
{ type: 'warning', confirmButtonText: '覆盖保存', cancelButtonText: '取消' }
|
||||
)
|
||||
} catch (_) {
|
||||
return // 用户取消覆盖
|
||||
}
|
||||
}
|
||||
try {
|
||||
const r = await saveScheme(name, clone(form))
|
||||
await refreshSchemes()
|
||||
|
||||
+17
-17
File diff suppressed because one or more lines are too long
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>定性评价推送</title>
|
||||
<script type="module" crossorigin src="/pui/xq0038/assets/index-D1df0DCu.js"></script>
|
||||
<script type="module" crossorigin src="/pui/xq0038/assets/index-cu03uBWn.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/pui/xq0038/assets/index-UXhZH9an.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user