|
|
@@ -113,7 +113,7 @@
|
|
|
import {defineComponent, PropType, ref} from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
|
-import {ModifyUserInfoApplyReq, QueryCustomInfoType} from "@/services/go/ermcp/customInfo/interface";
|
|
|
+import {ModifyUserInfoApplyReq, ModifyUserInfoReq, QueryCustomInfoType} from "@/services/go/ermcp/customInfo/interface";
|
|
|
import {formatValue} from "@/common/methods";
|
|
|
import {getStatusName} from "@/views/information/custom/setup";
|
|
|
import {cancelCustomInfo} from "@/views/information/custom/compoments/setup";
|
|
|
@@ -140,14 +140,11 @@ export default defineComponent({
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
console.log('OK');
|
|
|
- const req : ModifyUserInfoApplyReq = {
|
|
|
- userid: getUserId(),//用户ID
|
|
|
- userinfotype: Number(props.selectedRow.userinfotype), //用户信息类型 - 1:个人 2:企业 (必填)
|
|
|
- username: props.selectedRow.customername, //用户姓名 (必填) 用的企业名称
|
|
|
+ const req : ModifyUserInfoReq = {
|
|
|
+ userid: props.selectedRow.userid,//用户ID
|
|
|
userstate: 1, //开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 (必填)
|
|
|
- customername: props.selectedRow.customername, //客户名称(企业名称) (必填)
|
|
|
}
|
|
|
- ModifyUserInfo(req)
|
|
|
+ ModifyUserInfo(req, cancel)
|
|
|
},
|
|
|
onCancel() {
|
|
|
console.log('Cancel');
|
|
|
@@ -157,7 +154,6 @@ export default defineComponent({
|
|
|
});
|
|
|
// setTimeout(() => {
|
|
|
// loading.value = false;
|
|
|
- // cancel();
|
|
|
// }, 2000);
|
|
|
}
|
|
|
|