国家清单现在能查企标和政策了,但是还不能选
This commit is contained in:
@@ -188,7 +188,7 @@
|
|||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</span>
|
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber || scope.row.lawsNumber || scope.row.standCode }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
label="标准名称"
|
label="标准名称"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</span>
|
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.lawsName}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -215,7 +215,8 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span>
|
<span v-if="scope.row.xcxssrqgj">{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
<span v-else-if="scope.row.putTime">{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -235,7 +236,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="文本状态">
|
label="文本状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
<span>{{ textStatusMap[scope.row.textStatus] || scope.row.standStatusShow}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -684,8 +685,8 @@ export default {
|
|||||||
dataSourceOptions: [
|
dataSourceOptions: [
|
||||||
{value: 'INLAND_STAND', label: '国内标准法规'},
|
{value: 'INLAND_STAND', label: '国内标准法规'},
|
||||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||||
//{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||||
// {value: 'BUSINESS', label: '企业标准 '},
|
{value: 'BUSINESS', label: '企业标准 '},
|
||||||
// {value: 'TEMP', label: '标准法规清单 '}
|
// {value: 'TEMP', label: '标准法规清单 '}
|
||||||
],
|
],
|
||||||
// 新增、编辑 数据搜索字段
|
// 新增、编辑 数据搜索字段
|
||||||
@@ -1163,6 +1164,66 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
// 国内外政策可查字段
|
// 国内外政策可查字段
|
||||||
|
}else if (val === 'FOREIGN_LAWS'){
|
||||||
|
this.twoOptions=[
|
||||||
|
{
|
||||||
|
label: '适用车辆类型',
|
||||||
|
value: 'SYCLLX',
|
||||||
|
type: 'SEL_OPTION',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '政策编号',
|
||||||
|
value: 'LAWS_NUMBER',
|
||||||
|
type: 'INPUT',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '中文名称',
|
||||||
|
value: 'LAWS_NAME',
|
||||||
|
type: 'INPUT',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '英文名称',
|
||||||
|
value: 'LAWS_EN_NAME',
|
||||||
|
type: 'INPUT',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '个性化标签',
|
||||||
|
value: 'GXHBQXX',
|
||||||
|
type: 'SEL_OPTION',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '新车型实施日期(文本)',
|
||||||
|
value: 'XCXSSRQ',
|
||||||
|
type: 'DATE_PIC_OPTS',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '在产车实施日期(文本)',
|
||||||
|
value: 'ZCCSSRQ',
|
||||||
|
type: 'DATE_PIC_OPTS',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '维护工程师',
|
||||||
|
value: 'ZCGCS',
|
||||||
|
type: 'SEL_OPTION',
|
||||||
|
selVal: "USERLIST",
|
||||||
|
disabled: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
// 标准法规清单可查字段
|
||||||
|
}else {
|
||||||
|
this.twoOptions=[
|
||||||
|
{
|
||||||
|
label: '清单名称',
|
||||||
|
value: 'ACCESS_CONTENT',
|
||||||
|
type: 'INPUT',
|
||||||
|
disabled: false
|
||||||
|
}, {
|
||||||
|
label: '国家地区',
|
||||||
|
value: 'COUNTRY',
|
||||||
|
type: 'SEL_OPTION',
|
||||||
|
disabled: false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -1534,52 +1595,77 @@ export default {
|
|||||||
// })
|
// })
|
||||||
// },
|
// },
|
||||||
pageInfo() {
|
pageInfo() {
|
||||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res => {
|
console.log('1598',this.sarAccessInfoSearch)
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND' || this.sarAccessInfoSearch.dataSource === 'FOREIGN_STAND'){
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
StandardsInfoPage(this.sarAccessInfoSearch).then(res => {
|
||||||
if (item.standYear === null) {
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
} else {
|
if (item.standYear === null) {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
}
|
} else {
|
||||||
if (item.attrInfoMap === null) {
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
this.$set(item, 'zccssrqgj', '')
|
}
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'ssrq', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'zrbm', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'cycvppsbm', '')
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppscn', '')
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'kccvppsbm', '')
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppscn', '')
|
this.$set(item, 'cycvppscn', '')
|
||||||
} else {
|
this.$set(item, 'kccvppsbm', '')
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'kccvppscn', '')
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
} else {
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
}
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.drawerTotal = res.data.count
|
||||||
|
}, e => {
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.count
|
}else if (this.sarAccessInfoSearch.dataSource === 'FOREIGN_LAWS'){
|
||||||
}, e => {
|
this.$http.get('lawss/sarLawsInfo/page', this.sarAccessInfoSearch, {
|
||||||
})
|
_this: this,
|
||||||
|
}, res => {
|
||||||
|
console.log('1640',res)
|
||||||
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS'){
|
||||||
|
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.sarAccessInfoSearch, {
|
||||||
|
_this: this,
|
||||||
|
}, res => {
|
||||||
|
console.log('1648',res)
|
||||||
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands() {
|
selectLawsStands() {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
this.pageInfo()
|
this.pageInfo()
|
||||||
} else {
|
} else if (this.sarAccessInfoSearch.dataSource === 'FOREIGN_STAND') {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
this.pageInfo()
|
this.pageInfo()
|
||||||
|
}else if (this.sarAccessInfoSearch.dataSource === 'FOREIGN_LAWS') {
|
||||||
|
this.sarAccessInfoSearch.standType = 'LAWS'
|
||||||
|
this.pageInfo()
|
||||||
|
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS') {
|
||||||
|
this.sarAccessInfoSearch.standType = 'BUSINESS'
|
||||||
|
this.pageInfo()
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user