清单新增查询

This commit is contained in:
shenyanpei
2022-01-05 17:03:47 +08:00
parent c1669e9a63
commit 9a33a7b4a4
2 changed files with 17 additions and 10 deletions
@@ -632,6 +632,7 @@ export default {
// 新增、编辑 数据搜索字段
sarAccessInfoSearch: {
id: '',
standType: 'INLAND',
standNumber: '',
askType: '', // 监管类型
dataSource: 'INLAND_STAND', // 数据来源
@@ -645,6 +646,7 @@ export default {
id: '',
standNumber: '',
standName: '',
standType: 'INLAND',
askType: '', // 监管类型
dataSource: 'INLAND_STAND', // 数据来源
pageNo: 1,
@@ -1009,6 +1011,8 @@ export default {
this.sarAccessInfoSearch.advanceSearchVOStr = ''
// 国内标准法规可查字段
if (val === 'INLAND_STAND') {
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
this.selectLawsStands()
this.twoOptions = [
{
label: '适用车辆类型',
@@ -1050,6 +1054,8 @@ export default {
]
// 海外标准法规可查字段
} else if (val === 'FOREIGN_STAND') {
this.sarAccessInfoSearch.dataSource = 'FOREIGN_STAND'
this.selectLawsStands()
this.twoOptions = [
{
label: '适用车辆类型',
@@ -1096,6 +1102,8 @@ export default {
]
// 国内外政策可查字段
}else if (val === 'FOREIGN_LAWS'){
this.sarAccessInfoSearch.dataSource = 'FOREIGN_LAWS'
this.selectLawsStands()
this.twoOptions=[
{
label: '适用车辆类型',
@@ -1142,6 +1150,8 @@ export default {
]
// 标准法规清单可查字段
}else {
this.sarAccessInfoSearch.dataSource = 'BUSINESS'
this.selectLawsStands()
this.twoOptions=[
{
label: '清单名称',
@@ -1473,7 +1483,6 @@ export default {
this.sarAccessInfoSearch.page = 1
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND' || this.sarAccessInfoSearch.dataSource === 'FOREIGN_STAND'){
StandardsInfoPage(this.sarAccessInfoSearch).then(res => {
console.log('1476',res.data.list)
this.sarAccessInfoSearchList = res.data.list
this.sarAccessInfoSearchList.forEach(item => {
if (item.standYear === null) {
@@ -1501,7 +1510,6 @@ export default {
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.sarAccessInfoSearch, {
_this: this,
}, res => {
console.log('1648',res)
this.sarAccessInfoSearchList = res.data.list
this.drawerTotal = res.data.count
}, e => {
@@ -1543,17 +1551,17 @@ export default {
},
selectBtn() {
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
this.sarAccessInfoSearch.standType = 'INLAND'
this.sarAccessInfo.standType = 'INLAND'
this.selectPage()
} else if (this.sarAccessInfoSearch.dataSource === 'FOREIGN_STAND') {
this.sarAccessInfoSearch.standType = 'FOREIGN'
this.pageInfo()
this.sarAccessInfo.standType = 'FOREIGN'
this.selectPage()
}else if (this.sarAccessInfoSearch.dataSource === 'FOREIGN_LAWS') {
this.sarAccessInfoSearch.standType = 'LAWS'
this.pageInfo()
this.sarAccessInfo.standType = 'LAWS'
this.selectPage()
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS') {
this.sarAccessInfoSearch.standType = 'BUSINESS'
this.pageInfo()
this.sarAccessInfo.standType = 'BUSINESS'
this.selectPage()
}
},
// 数据搜索table判断checked状态
@@ -3626,7 +3626,6 @@ export default {
selectMoreBtn() {
this.isAdvancedSearch = true
this.sarStandardsSearch = {}
console.log(this.sarStandardsSearch)
},
treeCollapse() {
this.sideClose = !this.sideClose