[update] 修改高级检索页面默认展开搜索条件,首页一般检索的两个按钮名称修改成标题检索、全文检索

This commit is contained in:
lideqin
2024-02-19 14:16:12 +08:00
parent 24da9221b7
commit 9c45e0fdd7
2 changed files with 4 additions and 4 deletions
@@ -9,8 +9,8 @@
</a-select-option> </a-select-option>
</a-select> </a-select>
<a-input v-model="searchValue" :placeholder="$t('pleaseEnter')"></a-input> <a-input v-model="searchValue" :placeholder="$t('pleaseEnter')"></a-input>
<a-button type="primary" @click="toSearchWindow('title')">一般检索标题</a-button> <a-button type="primary" @click="toSearchWindow('title')">标题检索</a-button>
<a-button type="primary" @click="toSearchWindow('fullText')">一般检索全文</a-button> <a-button type="primary" @click="toSearchWindow('fullText')">全文检索</a-button>
<a-button type="primary" ghost @click="toAdvancedSearch">高级检索</a-button> <a-button type="primary" ghost @click="toAdvancedSearch">高级检索</a-button>
</div> </div>
<!-- 预警区域 --> <!-- 预警区域 -->
@@ -240,7 +240,7 @@ export default {
.search-wrapper { .search-wrapper {
display: grid; display: grid;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: 96px 200px 135px 135px 88px; grid-template-columns: 96px 200px 88px 88px 88px;
} }
.resource-type-select { .resource-type-select {
width: 96px; width: 96px;
@@ -173,7 +173,7 @@ export default {
return { return {
FieldType, FieldType,
loading: false, loading: false,
toggleSearchStatus: false, // 检索条件的展开和收起,false收缩状态 toggleSearchStatus: true, // 检索条件的展开和收起,false收缩状态
currStandardType: '1', currStandardType: '1',
standardTypeOptions: [ standardTypeOptions: [
{ label: '国内标准法规', value: StandardSource.DOMESTIC.value }, { label: '国内标准法规', value: StandardSource.DOMESTIC.value },