对接法规月报
This commit is contained in:
@@ -95,6 +95,7 @@
|
||||
|
||||
<script>
|
||||
import evaluationResultsList from './components/evaluationResultsList'
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
@@ -105,7 +106,8 @@
|
||||
return {
|
||||
//url传参严格按照当前命名
|
||||
url: {
|
||||
deleteBatch: ''
|
||||
deleteBatch: '',
|
||||
list: '/lawsOpinionGather/lawsOpinionGatherEO/page'
|
||||
},
|
||||
loading: false,
|
||||
toggleSearchStatus: false,
|
||||
@@ -167,6 +169,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
handleToggleSearch() {
|
||||
@@ -191,7 +194,21 @@
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
getAction(this.url.list, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result.records || []
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
onSelectChange(value) {
|
||||
this.selectedRowKeys = value
|
||||
|
||||
Reference in New Issue
Block a user