var data = {
code:234234324,
deptname:"央迈科技",
gender:"男",
icNumber:33,
idCardNumber:'2333332',
photo:""
};
var src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA6CAYAAADhu0ooAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowNmZkMGEzMi0yYTA4LWMwNDgtYmNjMC1hMjI2NmMyNzY3MWIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg3MzEwNzQ1RjU1MTFFOUFBREM5RURBREY3MUQzNzgiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg3MzEwNzM1RjU1MTFFOUFBREM5RURBREY3MUQzNzgiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA2ZmQwYTMyLTJhMDgtYzA0OC1iY2MwLWEyMjY2YzI3NjcxYiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNmZkMGEzMi0yYTA4LWMwNDgtYmNjMC1hMjI2NmMyNzY3MWIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5gWnq2AAADuUlEQVR42uzZSUwTURgH8H+npUBr2UojIKBIK7IFECUYC0RF9OASNC7c5OZBY4wXExKXg0TiwYNe9GI8oagkqIkIaFwQ0CiVgEgFWSIeREGkLIJQfO9FoICQgjNMGeZLvpYMheHHvPV7qryDN0DCRPICyXSSXpBG9JAsI3mKZKOKvESQrCLpA2kFfWB7SW4hmcyRl1wJIh2D2nK5v81V6pHBSahPzhbLOCyRkKEyVIbKUBkqQwUI1Xx+SO3phm3ZSYhIXgWVWinIHzbYNwRLqRUvCt5h1D4qDjT9cBLC1wWj4m4NBnqHBIF6G7RI2hWNXwT8+v57caCm9SF4da8OVUV1wrY3hQL+wT7iNV13rRqD/b8F71fP86vF7aP/iijzasSnrxGsz9J+aq1qw5uH9bCPjIoDjdwUhp1HzfhU3Y4vH7uF2X74apCalQCPZWo8v2kRB5qwLQJNb9tRePGJoE3Z1tnH7jUfKC/zqLvGDbauPsH7rK2zn40P8oLBlaFe/loEGv3BKRXShCo4BXYfT8WRy/sQZDTAzsPqxyWhMWnhWLtxFZrISP22+AOZPyTadAPC9Oz9a0untPtoR9sP9m4I9ZU2tO5ZE5t7TRtCELfV5JrbtLkOOok7ImEpacDIsH38Ov2aLjDool3r"
// console.log(data
data['photo'] = src;
console.log(JSON.stringify(data))
// for(let v in data){
// console.log(data[v])
// }
console