生成代码模版的删除按钮弹窗的确认、取消显示错位问题

pull/5955/head
zhangdaiscott 2023-10-30 21:26:26 +08:00
parent b2b11611c1
commit a8dde73a8c
11 changed files with 32 additions and 3 deletions

View File

@ -133,7 +133,7 @@
], ],
}, },
actionColumn: { actionColumn: {
width: 150, width: 120,
fixed:'right' fixed:'right'
}, },
}, },
@ -221,6 +221,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -230,6 +231,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -244,6 +246,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -169,7 +169,7 @@
canResize:false, canResize:false,
useSearchForm: false, useSearchForm: false,
actionColumn: { actionColumn: {
width: 150, width: 120,
fixed: 'right', fixed: 'right',
}, },
beforeFetch: (params) => { beforeFetch: (params) => {
@ -269,6 +269,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -278,6 +279,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -292,6 +294,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -357,7 +357,8 @@
label: '删除', label: '删除',
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record) confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -367,6 +368,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -381,6 +383,7 @@
popConfirm: { popConfirm: {
title: '确定删除吗?', title: '确定删除吗?',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -419,6 +419,7 @@
popConfirm: { popConfirm: {
title: '确定删除吗?', title: '确定删除吗?',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
}, },
}, },
]; ];
@ -428,6 +429,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -447,6 +449,7 @@
popConfirm: { popConfirm: {
title: '确定删除吗?', title: '确定删除吗?',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
}, },
}, },
]; ];

View File

@ -255,6 +255,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -278,6 +279,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -179,6 +179,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
}, },
} }
] ]

View File

@ -279,6 +279,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -288,6 +289,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -303,6 +305,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
}, },
}, },
]; ];

View File

@ -264,6 +264,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -273,6 +274,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -287,6 +289,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -238,6 +238,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -247,6 +248,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -261,6 +263,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -276,6 +276,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -290,6 +291,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]

View File

@ -238,6 +238,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
]; ];
@ -247,6 +248,7 @@
popConfirm: { popConfirm: {
title: '确认提交流程吗?', title: '确认提交流程吗?',
confirm: handleProcess.bind(null, record), confirm: handleProcess.bind(null, record),
placement: 'topLeft',
} }
}) })
} }
@ -261,6 +263,7 @@
popConfirm: { popConfirm: {
title: '是否确认删除', title: '是否确认删除',
confirm: handleDelete.bind(null, record), confirm: handleDelete.bind(null, record),
placement: 'topLeft',
} }
} }
] ]