获取cookie;
var strcookie = document.cookie; //获取cookie字符串
console.log(strcookie);
var arrcookie = strcookie.split("; "); //分割
// console.log(arrcookie);
//遍历匹配
for(var i = 0; i < arrcookie.length; i++) {
var arr = arrcookie[i].split("=");
if(arr[0] == "jobUserId") {
this.jobI = arr[1];
}
};