<el-table v-loading="loading" :data="tableData" row-key="id" v-if="type == 3">
<el-table-column className="border-right text-left" label="序号" width="60" fixed>
<template slot-scope="scope">
<span>{{(queryParams.pageNum - 1)* queryParams.pageSize + 1 + scope.$index}}</span>
</template>
</el-table-column>
<template v-for="(item,index) in rowTal">
<el-table-column :label="item" :key="index">
<template slot-scope="scope">
<span v-if="item == `数值`">{{scope.row[index].areaValue}}</span>
<span v-else>{{scope.row[index].dayValue}}</span>
</template>
</el-table-column>
</template>
</el-table>
网友评论