{
title: '評價'
, field: 'report_score'
, align: 'right'
, width: 200
, templet: function (d) {
return '<div id="score' + d.report_id + '" title="' + d.report_score + '"></div>'
}
}
done: function (res) {
var data = res.data
console.log(data)
for (var item in data) {
rate.render({
elem: '#score' + data[item].report_id
, length: 10
, value: data[item].report_score / 10
, readonly: true
})
}
}