Browse Source

fix: modal close

main
xuziqiang 6 months ago
parent
commit
79743608b8
  1. 11
      hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

11
hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

@ -301,6 +301,7 @@
title: '是否冻结该账户',
icon: createVNode(ExclamationCircleOutlined),
content: createVNode('div', { style: 'color:red;' }, ''),
onOk() {
// http
// .post('/api/parking_merchant/objs/gateInfo/delete', {
@ -309,10 +310,9 @@
// .then((res) => {
// mainRef.value.nsTableRef.reload();
// });
NsMessage.success('冻结成功');
},
onCancel() {
console.log('Cancel');
return new Promise((resolve, reject) => {
NsMessage.success('冻结成功');
}).catch(() => console.log('Oops errors!'));
},
class: 'test',
});
@ -465,9 +465,6 @@
{
label: '删除',
name: 'RoleTypeEdit',
dynamicParams: {
uuid: 'uuid',
},
confirm: true,
handle: (record: any, name, reload) => {
console.log(record, name, reload, 'record');

Loading…
Cancel
Save