对接法规月报

This commit is contained in:
qq787203167
2022-06-30 09:16:29 +08:00
parent 9ac24db7e7
commit 42067060b4
4 changed files with 45 additions and 9 deletions
@@ -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