index.js
666 Bytes
import filter from '@/utils/filter.js'
class data extends filter {
constructor() {
super()
}
columns () {
return [
{
prop: "areaName",
label: "行政区划",
},
{
prop: "total",
label: "从业人数",
},
{
prop: "womanNum",
label: "女性从业人数",
},
{
prop: "womanRatio",
label: "女性从业占比",
// render: (h, scope) => {
// return (
// <span> {scope.row.womanRatio.toFixed(4)*100}%</span>
// );
// },
},
]
}
}
export default new data()