|
|
@@ -30,11 +30,11 @@
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
-import { UserInfoCheckMangeReq } from '@/services/proto/accountinfo/interface';
|
|
|
+import {AuditWskhUserInfoReq, UserInfoCheckMangeReq} from '@/services/proto/accountinfo/interface';
|
|
|
import { getUserId } from '@/services/bus/account';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
-import { userInfoCheck } from '@/services/proto/accountinfo';
|
|
|
+import {auditWskhUserInfo, userInfoCheck} from '@/services/proto/accountinfo';
|
|
|
import Detail from '../common-detail/index.vue';
|
|
|
|
|
|
export default defineComponent({
|
|
|
@@ -57,13 +57,12 @@ export default defineComponent({
|
|
|
okText: '确认通过',
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
- let reqParam: UserInfoCheckMangeReq = {
|
|
|
- audituserid: getUserId(),
|
|
|
- userid: props.selectedRow.userid,
|
|
|
- auditflag: 1,
|
|
|
- remark: '',
|
|
|
+ let reqParam: AuditWskhUserInfoReq = {
|
|
|
+ UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
|
+ UserState: 4, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
|
+ AuditedBy: getUserId(),// uint64 审核人
|
|
|
};
|
|
|
- requestResultLoadingAndInfo(userInfoCheck, reqParam, loading, ['审核成功', '审核失败:']).then(() => {
|
|
|
+ requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核成功', '审核失败:']).then(() => {
|
|
|
cancel();
|
|
|
context.emit('refresh');
|
|
|
});
|
|
|
@@ -79,13 +78,12 @@ export default defineComponent({
|
|
|
okText: '审核拒绝',
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
- let reqParam: UserInfoCheckMangeReq = {
|
|
|
- audituserid: getUserId(),
|
|
|
- userid: props.selectedRow.userid,
|
|
|
- auditflag: 2,
|
|
|
- remark: '',
|
|
|
+ let reqParam: AuditWskhUserInfoReq = {
|
|
|
+ UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
|
+ UserState: 5, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
|
+ AuditedBy: getUserId(),// uint64 审核人
|
|
|
};
|
|
|
- requestResultLoadingAndInfo(userInfoCheck, reqParam, loading, ['审核拒绝成功', '审核拒绝失败:']).then(() => {
|
|
|
+ requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核拒绝成功', '审核拒绝失败:']).then(() => {
|
|
|
cancel();
|
|
|
context.emit('refresh');
|
|
|
});
|