[update] 修改国标,外标,高级检索国标外标的默认标准状态
This commit is contained in:
@@ -243,7 +243,11 @@ export default {
|
|||||||
showQuickJumper: true,
|
showQuickJumper: true,
|
||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
total: 0
|
total: 0
|
||||||
}
|
},
|
||||||
|
// 国标和外标的默认标准状态
|
||||||
|
defaultStandardStatus: `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.BE_IMPLEMENTED_SOON.value},${StandardStatus.ABOLISH.value}`,
|
||||||
|
// 企标的默认标准状态
|
||||||
|
defaultEnStandardStatus: `${EnterpriseStandardStatus.CURRENTLY_EFFECTIVE.value},${EnterpriseStandardStatus.TRIAL_OPERATION.value},${EnterpriseStandardStatus.ABOLISH.value}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -269,7 +273,7 @@ export default {
|
|||||||
this.getQueryConditionFunc = getDomesticStandardQuery
|
this.getQueryConditionFunc = getDomesticStandardQuery
|
||||||
this.getSearch()
|
this.getSearch()
|
||||||
this.getSysCategoryTree()
|
this.getSysCategoryTree()
|
||||||
this.queryParam.standard_state = '6,7'
|
this.queryParam.standard_state = this.defaultStandardStatus
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 点击一般检索
|
// 点击一般检索
|
||||||
@@ -313,9 +317,9 @@ export default {
|
|||||||
total: 0
|
total: 0
|
||||||
}
|
}
|
||||||
if (value === StandardSource.ENTERPRISE.value) {
|
if (value === StandardSource.ENTERPRISE.value) {
|
||||||
this.queryParam.standard_state = `${EnterpriseStandardStatus.CURRENTLY_EFFECTIVE.value},${EnterpriseStandardStatus.TRIAL_OPERATION.value},${EnterpriseStandardStatus.ABOLISH.value}`
|
this.queryParam.standard_state = this.defaultEnStandardStatus
|
||||||
} else {
|
} else {
|
||||||
this.queryParam.standard_state = `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.ABOLISH.value}`
|
this.queryParam.standard_state = this.defaultStandardStatus
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onChange (item) {
|
onChange (item) {
|
||||||
@@ -448,9 +452,9 @@ export default {
|
|||||||
searchReset () {
|
searchReset () {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
if (this.currStandardType === StandardSource.ENTERPRISE.value) {
|
if (this.currStandardType === StandardSource.ENTERPRISE.value) {
|
||||||
this.queryParam.standard_state = `${EnterpriseStandardStatus.CURRENTLY_EFFECTIVE.value},${EnterpriseStandardStatus.TRIAL_OPERATION.value},${EnterpriseStandardStatus.ABOLISH.value}`
|
this.queryParam.standard_state = this.defaultEnStandardStatus
|
||||||
} else {
|
} else {
|
||||||
this.queryParam.standard_state = `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.ABOLISH.value}`
|
this.queryParam.standard_state = this.defaultStandardStatus
|
||||||
}
|
}
|
||||||
this.dataSource = []
|
this.dataSource = []
|
||||||
this.ipagination.total = 0
|
this.ipagination.total = 0
|
||||||
|
|||||||
@@ -351,7 +351,7 @@ export default {
|
|||||||
expandedKeys: [], // 展开的节点
|
expandedKeys: [], // 展开的节点
|
||||||
needFilterTableBtn: true,
|
needFilterTableBtn: true,
|
||||||
defaultSearchParams: {
|
defaultSearchParams: {
|
||||||
standard_state: `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.RELEASE.value}`
|
standard_state: `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.BE_IMPLEMENTED_SOON.value},${StandardStatus.RELEASE.value}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -351,7 +351,7 @@ export default {
|
|||||||
isCollection: false,
|
isCollection: false,
|
||||||
expandedKeys: [],
|
expandedKeys: [],
|
||||||
defaultSearchParams: {
|
defaultSearchParams: {
|
||||||
standard_state: `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.RELEASE.value}`
|
standard_state: `${StandardStatus.CURRENTLY_EFFECTIVE.value},${StandardStatus.BE_IMPLEMENTED_SOON.value},${StandardStatus.RELEASE.value}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user