Browse Source

fix: modal close

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

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

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

Loading…
Cancel
Save