commit
This commit is contained in:
@@ -236,7 +236,8 @@
|
|||||||
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<table-tools-bar v-model="isAdvancedSearch">
|
<table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||||
|
@reset="clearAllSearch('sarStandardsSearch')">
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
||||||
<!-- 标准号-->
|
<!-- 标准号-->
|
||||||
@@ -258,39 +259,35 @@
|
|||||||
:options="standSortOptions"
|
:options="standSortOptions"
|
||||||
clearable/>
|
clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 标准状态-->
|
<!-- 文本状态-->
|
||||||
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.standState" :placeholder="$t('m.lookupByStandardStatus')" clearable
|
<el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@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-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-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 代替标准号-->
|
<!-- 代替标准号-->
|
||||||
<el-form-item :label="$t('m.substituteStandardNumber')" class="serch-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"
|
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用车型-->
|
<!-- 适用车型-->
|
||||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||||
<search-select
|
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||||
v-model="sarStandardsSearch.applyArctic"
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
:placeholder="$t('m.searchAccordingToThApplicableModel')"
|
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
</el-select>
|
||||||
:options="applyArcticOptions"
|
|
||||||
clearable/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用产品线(新增字段)-->
|
<!-- 适用产品线(新增字段)-->
|
||||||
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
||||||
<search-select
|
<el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
||||||
v-model="sarStandardsSearch.category"
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
:placeholder="$t('m.searchByApplicableProductLine')"
|
<el-option v-for="opt in categoryOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
</el-select>
|
||||||
:options="categoryOptions"
|
|
||||||
clearable/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 关联模块(新增字段)-->
|
<!-- 关联模块(新增字段)-->
|
||||||
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.standNature" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@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 v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}
|
||||||
</el-option>
|
</el-option>
|
||||||
@@ -1004,7 +1001,7 @@ export default {
|
|||||||
standSort: '',
|
standSort: '',
|
||||||
standNumber: '',
|
standNumber: '',
|
||||||
menuId: '',
|
menuId: '',
|
||||||
advanceSearchVOStr: ''
|
sarStandardsSearch: ''
|
||||||
},
|
},
|
||||||
searching: false,
|
searching: false,
|
||||||
stahndinfoList: [],
|
stahndinfoList: [],
|
||||||
@@ -1748,9 +1745,9 @@ export default {
|
|||||||
this.getDomesticStandardTable()
|
this.getDomesticStandardTable()
|
||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
getDomesticStandardTableBtn (advancedSearch) {
|
getDomesticStandardTableBtn (sarStandardsSearch) {
|
||||||
this.standCommonlySearch.page = 1
|
this.standCommonlySearch.page = 1
|
||||||
this.standCommonlySearch.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
|
this.standCommonlySearch.sarStandardsSearch = JSON.stringify(sarStandardsSearch) || ''
|
||||||
this.getDomesticStandardTable(2)
|
this.getDomesticStandardTable(2)
|
||||||
},
|
},
|
||||||
// 清空搜索框
|
// 清空搜索框
|
||||||
@@ -2045,7 +2042,6 @@ export default {
|
|||||||
// this.$refs['sarStandardsInfoForm'].resetFields()
|
// this.$refs['sarStandardsInfoForm'].resetFields()
|
||||||
})
|
})
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
// this.changeInlandSubclassVal()
|
|
||||||
this.resolveFormFieldList()
|
this.resolveFormFieldList()
|
||||||
Promise.all([this.queryDisplayLocation()]).then((values) => {
|
Promise.all([this.queryDisplayLocation()]).then((values) => {
|
||||||
const [displayLocation] = values
|
const [displayLocation] = values
|
||||||
@@ -2417,7 +2413,7 @@ export default {
|
|||||||
data.standSort = ''
|
data.standSort = ''
|
||||||
data.standNumber = ''
|
data.standNumber = ''
|
||||||
} else {
|
} else {
|
||||||
data.advanceSearchVOStr = ''
|
data.sarStandardsSearch = ''
|
||||||
}
|
}
|
||||||
const formData = {...data}
|
const formData = {...data}
|
||||||
formData.menuId = this.selectSarMenu.id
|
formData.menuId = this.selectSarMenu.id
|
||||||
@@ -2441,6 +2437,7 @@ export default {
|
|||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
|
||||||
_this: this, loading: 'loading'
|
_this: this, loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log('2441',formData);
|
||||||
this.isAdvancedSearch = false
|
this.isAdvancedSearch = false
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
for (let i = 0; i < res.data.list.length; i++) {
|
for (let i = 0; i < res.data.list.length; i++) {
|
||||||
@@ -2490,18 +2487,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
changeInlandSubclassVal () {
|
|
||||||
this.sarStandardsInfoEO.standSort = ''
|
|
||||||
this.$http.get('sys/dictype/pageStandClassify', {
|
|
||||||
dicTypeCode: 'CN'
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.standSortOptions = res.data
|
|
||||||
this.standSortConfigOptions = res.data
|
|
||||||
}, e => {
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 获取组织机构数据
|
// 获取组织机构数据
|
||||||
getOrgTreeSource () {
|
getOrgTreeSource () {
|
||||||
this.$http.get('sys/org/getTree', {}, {
|
this.$http.get('sys/org/getTree', {}, {
|
||||||
@@ -3565,7 +3550,6 @@ export default {
|
|||||||
this.getGzzOption()
|
this.getGzzOption()
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
// this.changeInlandSubclassVal()
|
|
||||||
this.getDomesticStandardTable()
|
this.getDomesticStandardTable()
|
||||||
// 加载所有的部门
|
// 加载所有的部门
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
|
|||||||
Reference in New Issue
Block a user