Merge branch 'dev-zhaoDN/insurance' into 'dev'
feat:生成代码 权限优化 See merge request itc-framework/ma/2024/front!41
This commit is contained in:
@ -426,10 +426,10 @@
|
|||||||
}); //提示消息
|
}); //提示消息
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!/^[a-zA-Z][a-zA-Z0-9]*$/.test(outputConfig.className!)) {
|
if (!/^[A-Z][a-zA-Z0-9]*$/.test(outputConfig.className!)) {
|
||||||
notification.error({
|
notification.error({
|
||||||
message: t('提示'),
|
message: t('提示'),
|
||||||
description: t('功能名称只能是数字和字母组成,必须以英文字母开头'),
|
description: t('功能名称只能是数字和字母组成,必须以英文字母大写开头'),
|
||||||
}); //提示消息
|
}); //提示消息
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -683,13 +683,6 @@
|
|||||||
icon: 'ant-design:delete-outlined',
|
icon: 'ant-design:delete-outlined',
|
||||||
isDefault: true,
|
isDefault: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
isUse: true,
|
|
||||||
name: t('查看详情'),
|
|
||||||
code: 'detail',
|
|
||||||
icon: 'ant-design:eye-outlined',
|
|
||||||
isDefault: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
isUse: false,
|
isUse: false,
|
||||||
name: t('批量删除'),
|
name: t('批量删除'),
|
||||||
|
|||||||
@ -950,6 +950,9 @@ ${hasTemplatePrint ? ' reactive ' : ''}
|
|||||||
});
|
});
|
||||||
|
|
||||||
function dbClickRow(record) {
|
function dbClickRow(record) {
|
||||||
|
if (!actionButtonConfig?.value.some(element => element.code == 'view')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const { processId, taskIds, schemaId } = record.workflowData || {};
|
const { processId, taskIds, schemaId } = record.workflowData || {};
|
||||||
if (taskIds && taskIds.length) {
|
if (taskIds && taskIds.length) {
|
||||||
router.push({
|
router.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user