高级检索&样式修改
This commit is contained in:
@@ -868,14 +868,17 @@
|
||||
<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.standName')" 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.standardCategory')" class="serch-form-item">
|
||||
<search-select
|
||||
v-model="sarStandardsSearch.standSort"
|
||||
@@ -884,35 +887,19 @@
|
||||
: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"
|
||||
@@ -921,6 +908,23 @@
|
||||
:options="applyArcticOptions"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<!-- 适用产品线(新增字段)-->
|
||||
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
||||
<search-select
|
||||
v-model="sarStandardsSearch.category"
|
||||
:placeholder="$t('m.searchByApplicableProductLine')"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||
:options="categoryOptions"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<!-- 关联模块(新增字段)-->
|
||||
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.standNature" :placeholder="$t('m.SearchByAssociatedModule')" 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>
|
||||
</div>
|
||||
</table-tools-bar>
|
||||
@@ -1671,7 +1675,6 @@ export default {
|
||||
})
|
||||
|
||||
const dynamicFormField = this.sarStandardsInfoEO
|
||||
|
||||
this.sarStandardsInfoEO.EOPSSRQ = this.$moment(this.sarStandardsInfoEO.EOPSSRQ).isValid() ? this.$moment(this.sarStandardsInfoEO.EOPSSRQ) : this.sarStandardsInfoEO.EOPSSRQ
|
||||
this.sarStandardsInfoEO['id'] = item.id
|
||||
this.standState = JSON.parse(JSON.stringify(this.sarStandardsInfoEO.standState))
|
||||
@@ -3755,12 +3758,23 @@ export default {
|
||||
padding-top: 11px;
|
||||
}
|
||||
|
||||
::v-deep .el-drawer__header{
|
||||
::v-deep .el-drawer__header {
|
||||
&>span:first-child{
|
||||
outline: none!important;
|
||||
}
|
||||
}
|
||||
::v-deep .el-drawer{
|
||||
::v-deep .el-drawer {
|
||||
outline: none!important;
|
||||
}
|
||||
.label-input-form {
|
||||
/deep/.el-form-item__label {
|
||||
width:100px;
|
||||
}
|
||||
/deep/.el-input__inner {
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user