|
@@ -14,11 +14,13 @@
|
|
|
<a-button key="submit"
|
|
<a-button key="submit"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:loading="loading"
|
|
:loading="loading"
|
|
|
|
|
+ :disabled="loading"
|
|
|
@click="submit">审核通过
|
|
@click="submit">审核通过
|
|
|
</a-button>
|
|
</a-button>
|
|
|
<a-button key="submit"
|
|
<a-button key="submit"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:loading="loading"
|
|
:loading="loading"
|
|
|
|
|
+ :disabled="loading"
|
|
|
@click="refuseSubmit">审核拒绝
|
|
@click="refuseSubmit">审核拒绝
|
|
|
</a-button>
|
|
</a-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -30,11 +32,11 @@
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
-import {AuditWskhUserInfoReq, UserInfoCheckMangeReq} from '@/services/proto/accountinfo/interface';
|
|
|
|
|
|
|
+import { AuditWskhUserInfoReq, UserInfoCheckMangeReq } from '@/services/proto/accountinfo/interface';
|
|
|
import { getUserId } from '@/services/bus/account';
|
|
import { getUserId } from '@/services/bus/account';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
import { Modal } from 'ant-design-vue';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
-import {auditWskhUserInfo, userInfoCheck} from '@/services/proto/accountinfo';
|
|
|
|
|
|
|
+import { auditWskhUserInfo, userInfoCheck } from '@/services/proto/accountinfo';
|
|
|
import Detail from '../common-detail/index.vue';
|
|
import Detail from '../common-detail/index.vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -60,8 +62,8 @@ export default defineComponent({
|
|
|
let reqParam: AuditWskhUserInfoReq = {
|
|
let reqParam: AuditWskhUserInfoReq = {
|
|
|
UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
|
UserState: 4, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
UserState: 4, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
|
- AuditedBy: getUserId(),// uint64 审核人
|
|
|
|
|
- AuditRemark: ""
|
|
|
|
|
|
|
+ AuditedBy: getUserId(), // uint64 审核人
|
|
|
|
|
+ AuditRemark: '',
|
|
|
};
|
|
};
|
|
|
requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核成功', '审核失败:']).then(() => {
|
|
requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核成功', '审核失败:']).then(() => {
|
|
|
cancel();
|
|
cancel();
|
|
@@ -82,8 +84,8 @@ export default defineComponent({
|
|
|
let reqParam: AuditWskhUserInfoReq = {
|
|
let reqParam: AuditWskhUserInfoReq = {
|
|
|
UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
UserID: props.selectedRow.userid, // uint64 用户ID(自增ID)SEQ_WSKH_USERINFO
|
|
|
UserState: 5, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
UserState: 5, // uint32 审核状态:4-审核通过,5-审核拒绝
|
|
|
- AuditedBy: getUserId(),// uint64 审核人
|
|
|
|
|
- AuditRemark: ""
|
|
|
|
|
|
|
+ AuditedBy: getUserId(), // uint64 审核人
|
|
|
|
|
+ AuditRemark: '',
|
|
|
};
|
|
};
|
|
|
requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核拒绝成功', '审核拒绝失败:']).then(() => {
|
|
requestResultLoadingAndInfo(auditWskhUserInfo, reqParam, loading, ['审核拒绝成功', '审核拒绝失败:']).then(() => {
|
|
|
cancel();
|
|
cancel();
|