// 格式化数据方法
formatFun:(params)=>{return new Promise((resolve, reject)=>{
let res = params.res
let option = params.option
let data=[]
let data1=[]
let x =res.value.line_x
let y =res.value.line_y
let l =res.value.norm_line
for(let i =0; i <x.length ; i++){
data.push([x[i],y[i]])}for(let i =0; i <x.length ; i++){
data1.push([x[i],l[i]])}
option.series[0].data = data
option.series[1].data = data1
resolve({ option: option })})}