!112 refactor(bg): 年份字段从字典组件替换为年份选择器

* refactor(bg): 年份字段从字典组件替换为年份选择器
* feat(bpm): 待办/已办/待阅/已阅弹窗标题改为业务标题
* feat(bpmform): 反馈新增时计划完成目标/日期必填可编辑,编辑时禁用并提示
* style(bpmform): 统一表单标签宽度和对齐,清理调试代码
* feat(bg): 再次发起督办弹窗标题显示中文数字督办次数
* style(bpmform): 新增反馈按钮添加悬浮提示"可以多次新增反馈"
This commit is contained in:
wsm
2026-07-24 03:16:38 +00:00
parent fd66dac804
commit 11f6ba3961
12 changed files with 136 additions and 52 deletions
+11 -1
View File
@@ -477,9 +477,19 @@
/**
* 提交流程
*/
const CN = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九'];
function toChinese(num: number): string {
return String(num).split('').map(c => CN[Number(c)]).join('');
}
function handleProcess(record) {
const nextCount = getNextSuperviseCount(record.superviseCount);
const title = nextCount > 1
? `发起流程(${record?.title || ''}${toChinese(nextCount)}次督办)`
: '发起流程';
flowScheduleModalRef.value?.open({
title: '发起流程',
title,
taskTitle: record?.title,
payload: { record },
deptOptions: getResponsibleDeptOptions(record),