【update 高级检索】导出参数调整
This commit is contained in:
@@ -234,7 +234,7 @@ export default {
|
|||||||
currStandardType: '1',
|
currStandardType: '1',
|
||||||
standardTypeOptions: [
|
standardTypeOptions: [
|
||||||
// 全部
|
// 全部
|
||||||
{ label: this.$t('dashboard.advancedSearch.all'), value: 'all' },
|
{ label: this.$t('dashboard.advancedSearch.all'), value: '5' },
|
||||||
// 外来标准法规
|
// 外来标准法规
|
||||||
{ label: this.$t('dashboard.advancedSearch.foreignStandards'), value: StandardSource.FOREIGN.value },
|
{ label: this.$t('dashboard.advancedSearch.foreignStandards'), value: StandardSource.FOREIGN.value },
|
||||||
// 企业标准
|
// 企业标准
|
||||||
@@ -486,7 +486,7 @@ export default {
|
|||||||
this.getDataListFunc = getEnterStandardList
|
this.getDataListFunc = getEnterStandardList
|
||||||
this.getFormFunc = getEnterpriseStandardAddForm
|
this.getFormFunc = getEnterpriseStandardAddForm
|
||||||
this.getDocumentInfoFunc = getEnterpriseStandardInfoById
|
this.getDocumentInfoFunc = getEnterpriseStandardInfoById
|
||||||
} else if (val === 'all') {
|
} else if (val === '5') {
|
||||||
this.getQueryConditionFunc = getDomesticStandardQuery
|
this.getQueryConditionFunc = getDomesticStandardQuery
|
||||||
this.getDataListFunc = getAdvancedSearchAll
|
this.getDataListFunc = getAdvancedSearchAll
|
||||||
this.getFormFunc = getEnterpriseStandardAddForm
|
this.getFormFunc = getEnterpriseStandardAddForm
|
||||||
@@ -515,7 +515,7 @@ export default {
|
|||||||
fileName = '导出文件'
|
fileName = '导出文件'
|
||||||
}
|
}
|
||||||
const param = this.getQueryParams()
|
const param = this.getQueryParams()
|
||||||
param.standardType = this.currStandardType
|
param.resourceType = this.currStandardType
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
param.selections = this.selectedRowKeys.join(',')
|
param.selections = this.selectedRowKeys.join(',')
|
||||||
}
|
}
|
||||||
@@ -720,10 +720,12 @@ export default {
|
|||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
total: 0
|
total: 0
|
||||||
}
|
}
|
||||||
if (value === StandardSource.ENTERPRISE.value) {
|
if (this.currStandardType !== '4') {
|
||||||
this.queryParam.standard_state = this.defaultEnStandardStatus
|
if (value === StandardSource.ENTERPRISE.value) {
|
||||||
} else {
|
this.queryParam.standard_state = this.defaultEnStandardStatus
|
||||||
this.queryParam.standard_state = this.defaultStandardStatus
|
} else {
|
||||||
|
this.queryParam.standard_state = this.defaultStandardStatus
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onChange (item) {
|
onChange (item) {
|
||||||
@@ -865,10 +867,12 @@ export default {
|
|||||||
// 重置
|
// 重置
|
||||||
searchReset () {
|
searchReset () {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
if (this.currStandardType === StandardSource.ENTERPRISE.value) {
|
if (this.currStandardType !== '4') {
|
||||||
this.queryParam.standard_state = this.defaultEnStandardStatus
|
if (this.currStandardType === StandardSource.ENTERPRISE.value) {
|
||||||
} else {
|
this.queryParam.standard_state = this.defaultEnStandardStatus
|
||||||
this.queryParam.standard_state = this.defaultStandardStatus
|
} else {
|
||||||
|
this.queryParam.standard_state = this.defaultStandardStatus
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.dataSource = []
|
this.dataSource = []
|
||||||
this.clauseDataSource = []
|
this.clauseDataSource = []
|
||||||
|
|||||||
Reference in New Issue
Block a user