|
|
@@ -330,11 +330,11 @@ export default defineComponent({
|
|
|
function submit(OperateType: 1 | 2) {
|
|
|
validateAction<FormState>(formRef, formState).then((param) => {
|
|
|
const reqParam: ModifyUserInfoApplyReq = {
|
|
|
- customername: param.customername, // 必填
|
|
|
+ customername: Number(param.userinfotype) === 1 ? param.username : param.customername, // 必填
|
|
|
+ username: param.username,
|
|
|
userid: userid.value,
|
|
|
memberareaid: getUserId(),
|
|
|
userinfotype: Number(param.userinfotype),
|
|
|
- username: param.customername,
|
|
|
userstate: OperateType, // 1: 保存草稿 2: 新增
|
|
|
cardtype: param.cardtype, // 证件类型
|
|
|
cardnum: param.cardnum, // 证件号码
|