var familyName = myfData[i].familyName;
var familyRelation = myfData[i].familyRelation;
var familyWorkUnit = myfData[i].familyWorkUnit;
var familyPhone = myfData[i].familyPhone;
}
/*
* 常用信息
*/
var personPhone = $("#personPhone").val();//个人电话
var personEmail = $("#personEmail").val();//个人邮箱
var postCode = $("#postCode").val();//邮政编码
var qq = $("#qq").val();//QQ号
var wechat = $("#wechat").val();//微信号
/*
*联系单位信息
*/
var workUnitName = $("#workUnitName").val();//联系单位名称
var businessCareer = $("#businessCareer").val();//行业职能
var departmentname = $("#departmentname").val();//科室名称
var dutyName = $("#dutyName").val();//开发项目职务
var workUnitPhone = $("#workUnitPhone").val();//单位电话
var workUnitPost = $("#workUnitPost").val();//单位邮箱
var workplace = $("#workplace").val();//工作地点
/*
*其他
*/
var certificateNumber = $("#certificateNumber").val();//教师证号
var majorinformation = $("#majorinformation").val();//专业技能
var data = {
"name": name,//姓名
"certificatetype": certificatetype,//证件类型
"certificateNumber": certificateNumber,//证件号码
"sex": sex,//性别
"state": state,//国家
"national": national,//民族
"accountCharacter": accountCharacter,//户口性质
"assignment": assignment,//地区编制
"certificateLevel": certificateLevel,//薪税师证书等级等
"professionaltitle": professionaltitle,//职称
"politicalstatus": politicalstatus,//政治面貌
"nationName": nationName,//民族
"birthtime": birthtime,//出生日期
"healthcondition": healthcondition,//健康状况
"limitFull": limitFull,//当前学历
"classes": classes,//当前班次
"majorinformation": majorinformation,//专业技能
"experientialtime": experientialtime,//工作年限
"postselect": postselect,//职位类别
"address": address,//居住地
"plandate": plandate,//计划来校时间
"proValue": proValue,//省份
"proName": proName,//省份
"collValue": collValue,//学校
"majorValue": majorValue,//专业
"majorName": majorName,//专业
"fatherName": fatherName,//父亲姓名
"fatherWorkUnit": fatherWorkUnit,//父亲工作单位
"fatherPhone": fatherPhone,//父亲电话
"motherName": motherName,//母亲姓名
"motherWorkUnit": motherWorkUnit,//母亲工作单位
"motherPhone": motherPhone,//母亲电话
"familyData": [//家庭成员
{
"familyName": familyName,//姓名
"familyRelation": familyRelation,//关系
"familyWorkUnit": familyWorkUnit,//工作单位
"familyPhone": familyPhone//电话
},
...
]
"personPhone": personPhone,//个人电话
"personEmail": personEmail,//个人邮箱
"postCode": postCode,//邮政编码
"qq": qq,//QQ号
"wechat": wechat,//微信号
"workUnitName": workUnitName,//联系单位名称
"businessCareer": businessCareer,//行业职能
"departmentname": departmentname,//科室名称
"dutyName": dutyName,//开发项目职务
"workUnitPhone": workUnitPhone,//单位电话
"workUnitPost": workUnitPost,//单位邮箱
"workplace": workplace//工作地点
"certificateNumber": certificateNumber,//教师证号
"majorinformation": majorinformation//专业技能
};
//数据转换 JSON 格式
var jsonStr = JSON.stringify(data);
//发送 Ajax 请求
$.ajax({
type: "POST",
url: "",
contentType: "application/json;utf-8",
dataType: "json",
data: jsonStr,
success: function (data) {
alert(data);
}
});
})
总结:以上是编辑:【凌曦】整理及AI智能原创关于《薪税师考试阶段
》优质内容解答希望能帮助到您。