法规符合性看板更换接口

This commit is contained in:
zyx.net
2022-07-18 09:39:35 +08:00
parent d117756534
commit 398febf154
2 changed files with 17 additions and 19 deletions
@@ -235,12 +235,10 @@ export default {
loadData() { loadData() {
let _this = this let _this = this
let params = { let params = {
pageNo: this.pageNo, id:this.paramsManifestId,
pageSize: this.pageSize,
paramsManifestId:this.paramsManifestId,
...this.formData ...this.formData
} }
getAction('params/report/exportHistoryPage', params).then((res) => { getAction('project/lawsComplianceBoard/queryComplianceResultList', params).then((res) => {
if (res.success) { if (res.success) {
this.areaTable = res.result.records this.areaTable = res.result.records
this.total = res.result.total this.total = res.result.total
+15 -15
View File
@@ -18,7 +18,7 @@
<span>{{$t('title')}}</span> <span>{{$t('title')}}</span>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')" <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
v-model="queryParam.projectName"></j-input> v-model="queryParam.title"></j-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -26,7 +26,7 @@
<div class="title-text" :title="$t('status')"> <div class="title-text" :title="$t('status')">
<span>{{ $t('status') }}</span> <span>{{ $t('status') }}</span>
</div> </div>
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory" <j-dict-select-tag class="box-input" v-model="queryParam.state"
:placeholder="$t('PleaseSelect')+$t('status')" :placeholder="$t('PleaseSelect')+$t('status')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'duty_territory'"/> :triggerChange="false" :dictCode="'duty_territory'"/>
@@ -37,7 +37,7 @@
<div class="title-text" :title="$t('technicalField')"> <div class="title-text" :title="$t('technicalField')">
<span>{{ $t('technicalField') }}</span> <span>{{ $t('technicalField') }}</span>
</div> </div>
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory" <j-dict-select-tag class="box-input" v-model="queryParam.technologyTerritory"
:placeholder="$t('PleaseSelect')+$t('technicalField')" :placeholder="$t('PleaseSelect')+$t('technicalField')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'duty_territory'"/> :triggerChange="false" :dictCode="'duty_territory'"/>
@@ -130,7 +130,7 @@ export default {
fieldList: [ fieldList: [
{ {
type: 'string', type: 'string',
value: 'standard', value: 'serialNumber',
text: this.$t('standard') text: this.$t('standard')
}, },
{ {
@@ -140,18 +140,18 @@ export default {
}, },
{ {
type: '', type: '',
value: 'status', value: ' state',
text: this.$t('status'), text: this.$t('status'),
dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
}, },
{ // {
type: 'string', // type: 'string',
value: 'category', // value: 'technologyTerritory',
text: this.$t('category') // text: this.$t('category')
}, // },
{ {
type: '', type: '',
value: 'technicalField', value: 'technologyTerritory',
text: this.$t('technicalField'), text: this.$t('technicalField'),
dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
}, },
@@ -160,7 +160,7 @@ export default {
dataSource: [], dataSource: [],
confirmLoading: false, confirmLoading: false,
url: { url: {
list: 'params/report/page' list: 'project/lawsComplianceBoard/page'
}, },
total: 0, total: 0,
pageSize: 10, pageSize: 10,
@@ -170,7 +170,7 @@ export default {
{ {
title: this.$t('standard'), title: this.$t('standard'),
align: 'center', align: 'center',
dataIndex: 'standard' dataIndex: 'serialNumber'
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
@@ -180,7 +180,7 @@ export default {
{ {
title: this.$t('status'), title: this.$t('status'),
align: 'center', align: 'center',
dataIndex: 'status' dataIndex: 'state'
}, },
// { // {
// title: this.$t('category'), // title: this.$t('category'),
@@ -190,7 +190,7 @@ export default {
{ {
title: this.$t('technicalField'), title: this.$t('technicalField'),
align: 'center', align: 'center',
dataIndex: 'technicalField' dataIndex: 'technologyTerritory'
}, },
{ {
title: this.$t('RegulatoryProcessEvaluationResults'), title: this.$t('RegulatoryProcessEvaluationResults'),