对接法规月报
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
|
||||
|
||||
+2
-2
@@ -109,7 +109,7 @@
|
||||
{
|
||||
title: this.$t('chineseTitle'),
|
||||
align: 'center',
|
||||
dataIndex: 'chineseTitle',
|
||||
dataIndex: 'titleCn',
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
@@ -117,7 +117,7 @@
|
||||
align: 'center',
|
||||
width: 170,
|
||||
ellipsis: true,
|
||||
dataIndex: 'englishTitle'
|
||||
dataIndex: 'titleEn'
|
||||
},
|
||||
{
|
||||
title: this.$t('regulatoryContact'),
|
||||
|
||||
+22
-3
@@ -53,6 +53,7 @@
|
||||
|
||||
<script>
|
||||
import fillTableAdd from './fillTableAdd'
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'fillTable',
|
||||
@@ -80,7 +81,7 @@
|
||||
{
|
||||
title: this.$t('chineseTitle'),
|
||||
align: 'center',
|
||||
dataIndex: 'chineseTitle',
|
||||
dataIndex: 'titleCn',
|
||||
width: 210
|
||||
},
|
||||
{
|
||||
@@ -88,7 +89,7 @@
|
||||
align: 'center',
|
||||
width: 210,
|
||||
ellipsis: true,
|
||||
dataIndex: 'englishTitle'
|
||||
dataIndex: 'titleEn'
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
@@ -124,7 +125,25 @@
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize
|
||||
}
|
||||
this.loading = true
|
||||
getAction('/report/lawsMonthlyReportTitleTemplateEO/list', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
this.pageNo = res.result.current - 1
|
||||
this.getList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
moveUpClick() {
|
||||
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="chineseTitle">
|
||||
<a-input class="box-input"
|
||||
v-model="formInline.chineseTitle"
|
||||
v-model="formInline.titleCn"
|
||||
:placeholder="$t('PleaseEnter')+$t('chineseTitle')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="englishTitle">
|
||||
<a-input class="box-input"
|
||||
v-model="formInline.englishTitle"
|
||||
v-model="formInline.titleEn"
|
||||
:placeholder="$t('PleaseEnter')+$t('englishTitle')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user