|
@@ -21,7 +21,6 @@
|
|
|
:columns="columns"
|
|
:columns="columns"
|
|
|
:datasource="datasource"
|
|
:datasource="datasource"
|
|
|
height="calc(100vh - 350px)"
|
|
height="calc(100vh - 350px)"
|
|
|
- :need-page="false"
|
|
|
|
|
:initLoad="false"
|
|
:initLoad="false"
|
|
|
:current.sync="current"
|
|
:current.sync="current"
|
|
|
highlight-current-row
|
|
highlight-current-row
|
|
@@ -61,9 +60,10 @@
|
|
|
{
|
|
{
|
|
|
columnKey: 'index',
|
|
columnKey: 'index',
|
|
|
type: 'index',
|
|
type: 'index',
|
|
|
- width: 45,
|
|
|
|
|
|
|
+ width: 55,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- reserveSelection: true
|
|
|
|
|
|
|
+ reserveSelection: true,
|
|
|
|
|
+ label: '序号'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'code',
|
|
prop: 'code',
|
|
@@ -118,7 +118,7 @@
|
|
|
},
|
|
},
|
|
|
/* 刷新表格 */
|
|
/* 刷新表格 */
|
|
|
reload (where) {
|
|
reload (where) {
|
|
|
- this.$refs.table.reload({ where: where});
|
|
|
|
|
|
|
+ this.$refs.table.reload({ where: where });
|
|
|
},
|
|
},
|
|
|
handleNodeClick (data) {
|
|
handleNodeClick (data) {
|
|
|
this.categoryLevelId = data.id;
|
|
this.categoryLevelId = data.id;
|