|
@@ -34,6 +34,7 @@
|
|
|
@sort-change="sortChangeHandle"
|
|
|
:sort-config="{remote:true}"
|
|
|
:data="dataList"
|
|
|
+ @cell-click="rowClick"
|
|
|
:checkbox-config="{}">
|
|
|
<vxe-column type="seq" width="40"></vxe-column>
|
|
|
<vxe-column type="checkbox" width="40" ></vxe-column>
|
|
@@ -103,7 +104,7 @@
|
|
|
components: {
|
|
|
PositionCategoryForm
|
|
|
},
|
|
|
- activated () {
|
|
|
+ mounted () {
|
|
|
this.refreshList()
|
|
|
},
|
|
|
|
|
@@ -141,7 +142,7 @@
|
|
|
})
|
|
|
},
|
|
|
// 当前页
|
|
|
- currentChangeHandle ({ currentPage, pageSize }) {
|
|
|
+ currentChangeHandle ({currentPage, pageSize}) {
|
|
|
this.tablePage.currentPage = currentPage
|
|
|
this.tablePage.pageSize = pageSize
|
|
|
this.refreshList()
|
|
@@ -175,6 +176,9 @@
|
|
|
resetSearch () {
|
|
|
this.$refs.searchForm.resetFields()
|
|
|
this.refreshList()
|
|
|
+ },
|
|
|
+ rowClick (event) {
|
|
|
+ console.log('1223', event)
|
|
|
}
|
|
|
}
|
|
|
}
|