[update] 一般检索资源类型选择动态消息的时候标准状态传包含废止状态,并且隐藏掉标准状态设置的选择
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- 标准状态设置 -->
|
||||
<a-row :gutter="24" class="filter-row">
|
||||
<a-row v-if="resourceTypeCurrent !== '4'" :gutter="24" class="filter-row">
|
||||
<a-col :md="6" class="label-col"><span class="search_label">{{ $t('dashboard.generalSearch.standardStatusSet') }}</span></a-col>
|
||||
<a-col :md="18" class="option-col">
|
||||
<div v-for="item in standardStatusSetOptions" :key="item.key" class="option-div" :class="standardStatusSetCurrent === item.key ? 'option-curr' : ''" @click="standardStatusSetChange(item.key)">
|
||||
@@ -266,7 +266,12 @@ export default {
|
||||
// 检索内容
|
||||
param.searchContent = this.searchValue
|
||||
// 标准状态设置
|
||||
param.standardStateSet = this.standardStatusSetCurrent
|
||||
if (this.resourceTypeCurrent === '4') {
|
||||
// 资源类型是动态消息,标准状态设置传包含废止状态
|
||||
param.standardStateSet = '2'
|
||||
} else {
|
||||
param.standardStateSet = this.standardStatusSetCurrent
|
||||
}
|
||||
let func
|
||||
if (this.retrievalModeCurrent === '1') {
|
||||
func = getSearchParamNumFullText
|
||||
@@ -338,7 +343,12 @@ export default {
|
||||
// 检索内容
|
||||
param.searchContent = this.searchValue
|
||||
// 标准状态设置
|
||||
param.standardStateSet = this.standardStatusSetCurrent
|
||||
if (this.resourceTypeCurrent === '4') {
|
||||
// 资源类型是动态消息,标准状态设置传包含废止状态
|
||||
param.standardStateSet = '2'
|
||||
} else {
|
||||
param.standardStateSet = this.standardStatusSetCurrent
|
||||
}
|
||||
// 其他筛选条件
|
||||
for (const item in this.selectOptions) {
|
||||
param[item] = this.selectOptions[item].current === 'all' ? null : this.selectOptions[item].current
|
||||
|
||||
Reference in New Issue
Block a user