|
@@ -33,6 +33,7 @@
|
|
|
:data-source="data"
|
|
|
:columns="columns"
|
|
|
tableLayout="auto"
|
|
|
+ :scroll="{x: 1500, y: BaseTool.Constant.scrollY}"
|
|
|
rowKey="cbatch">
|
|
|
<span slot="action" slot-scope="record">
|
|
|
<a v-if="model.status===0||model.status===1" @click="handleDelete(record)">删除</a>
|
|
@@ -89,6 +90,7 @@ export default {
|
|
|
{
|
|
|
title: '序号',
|
|
|
dataIndex: 'index',
|
|
|
+ width: 80,
|
|
|
customRender: (text, record, index) => {
|
|
|
return index + 1
|
|
|
}
|