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