|
|
@@ -59,6 +59,8 @@ import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { ErmcpLoginUser } from '@/services/go/ermcp/account/interface';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
+import {LoginaccountOperateReq} from "@/services/proto/accountinfo/interface";
|
|
|
+import {loginAccountOperate} from "@/services/proto/accountinfo";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'account_info_manager_btn_unlocked',
|
|
|
@@ -78,16 +80,16 @@ export default defineComponent({
|
|
|
okText: '确认解锁',
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
- // let reqParam: LoginaccountOperateReq = {
|
|
|
- // userid: props.selectedData.userid,
|
|
|
- // loginid: props.selectedData.loginid,
|
|
|
- // operatetype: 7, // 5: 锁定 6:解锁
|
|
|
- // logintaaccounts: [],
|
|
|
- // };
|
|
|
- // requestResultLoadingAndInfo(loginAccountOperate, reqParam, loading, ['账户注销成功', '账户注销失败:']).then(() => {
|
|
|
- // cancel();
|
|
|
- // context.emit('refresh');
|
|
|
- // });
|
|
|
+ let reqParam: LoginaccountOperateReq = {
|
|
|
+ userid: props.selectedData.userid,
|
|
|
+ loginid: props.selectedData.loginid,
|
|
|
+ operatetype: 6, // 5: 锁定 6:解锁
|
|
|
+ logintaaccounts: [],
|
|
|
+ };
|
|
|
+ requestResultLoadingAndInfo(loginAccountOperate, reqParam, loading, ['账户解锁成功', '账户解锁失败:']).then(() => {
|
|
|
+ cancel();
|
|
|
+ context.emit('refresh');
|
|
|
+ });
|
|
|
},
|
|
|
onCancel() {
|
|
|
console.log('Cancel');
|