高级检索

This commit is contained in:
宋伟佳
2021-05-26 17:16:22 +08:00
parent b0adad42ce
commit 433d101700
@@ -858,13 +858,72 @@
<el-button size="mini" type="primary" class="common-button-default" icon="el-icon-check" @click="importFailed = false">确认</el-button> <el-button size="mini" type="primary" class="common-button-default" icon="el-icon-check" @click="importFailed = false">确认</el-button>
</div> </div>
</el-dialog> </el-dialog>
<AdvancedQuery <!-- <AdvancedQuery-->
:isAdvancedSearch.sync="isAdvancedSearch" <!-- :isAdvancedSearch.sync="isAdvancedSearch"-->
:twoOptions="twoOptions" <!-- :twoOptions="twoOptions"-->
:threeOptions="threeOptions" <!-- :threeOptions="threeOptions"-->
@twoSelectChange="twoSelectChange" <!-- @twoSelectChange="twoSelectChange"-->
@getDomesticStandardTableBtn="getDomesticStandardTableBtn" <!-- @getDomesticStandardTableBtn="getDomesticStandardTableBtn"-->
></AdvancedQuery> <!-- ></AdvancedQuery>-->
<table-tools-bar v-model="isAdvancedSearch">
<div slot="content">
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form" style="display: flex;flex-wrap: wrap">
<el-form-item :label="$t('m.standardNameOrFileName')" class="serch-form-item">
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item>
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
<el-input v-model="sarStandardsSearch.standNumber" :placeholder="$t('m.lookUpByStandardNumber')" clearable :maxlength="100"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item>
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
<search-select
v-model="sarStandardsSearch.standSort"
:placeholder="$t('m.standardCategoryTips')"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
:options="standSortOptions"
clearable/>
</el-form-item>
<el-form-item :label="$t('m.professionalField')" class="serch-form-item">
<search-select
v-model="sarStandardsSearch.category"
:placeholder="$t('m.searchByAreaOfExpertise')"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
:options="categoryOptions"
clearable/>
</el-form-item>
<el-form-item :label="$t('m.standNatureShow')" class="serch-form-item">
<el-select v-model="sarStandardsSearch.standNature" :placeholder="$t('m.findByStandardNature')" clearable
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
<el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
<el-select v-model="sarStandardsSearch.standState" :placeholder="$t('m.lookupByStandardStatus')" clearable
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
<el-option v-for="opt in standStateOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('m.abstract')" class="serch-form-item">
<el-input v-model="sarStandardsSearch.synopsis" :placeholder="$t('m.findByContentSummary')" clearable :maxlength="100"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item>
<el-form-item :label="$t('m.substituteStandardNumber')" class="serch-form-item">
<el-input v-model="sarStandardsSearch.replaceStandNum" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item>
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
<search-select
v-model="sarStandardsSearch.applyArctic"
:placeholder="$t('m.searchAccordingToThApplicableModel')"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
:options="applyArcticOptions"
clearable/>
</el-form-item>
</el-form>
</div>
</table-tools-bar>
</div> </div>
<!-- 分享 全部选人 --> <!-- 分享 全部选人 -->
<org-table <org-table
@@ -1811,6 +1870,7 @@ export default {
}, },
// 高级检索 // 高级检索
selectMoreBtn () { selectMoreBtn () {
console.log('检索窗口')
this.isAdvancedSearch = true this.isAdvancedSearch = true
this.threeOptions = [] this.threeOptions = []
}, },