Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # src/pages/details/otherStandardDetails/index.vue
This commit is contained in:
@@ -304,11 +304,14 @@
|
||||
label="能源类型">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="putTime"
|
||||
prop="ssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -458,7 +461,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="标准实施日期" prop="putTime">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.putTime"
|
||||
v-model.trim="editRowData.ssrq"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -582,7 +585,7 @@ export default {
|
||||
standEnName: '',
|
||||
typeApplicable: '',
|
||||
nylx: '',
|
||||
putTime: '',
|
||||
ssrq: '',
|
||||
zccssrqgj: '',
|
||||
xcxssrqgj: '',
|
||||
zrbm: '',
|
||||
@@ -1108,66 +1111,6 @@ 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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -1305,10 +1248,10 @@ export default {
|
||||
let rowlist3 = []
|
||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||
rowlist.push(this.sarAccessInfoList[i].id)
|
||||
if (this.sarAccessInfoList[i].putTime === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||
}else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
@@ -1382,14 +1325,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = ''
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
}
|
||||
pageInfo() {
|
||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1402,6 +1338,7 @@ export default {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
this.$set(item, 'zrbm', '')
|
||||
@@ -1413,6 +1350,7 @@ export default {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||
@@ -1426,12 +1364,18 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
selectBtn() {
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.pageInfo()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.pageInfo()
|
||||
}
|
||||
|
||||
},
|
||||
selectPage() {
|
||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1443,6 +1387,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1454,6 +1399,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1468,6 +1414,15 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
selectBtn() {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.selectPage()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.selectPage()
|
||||
}
|
||||
},
|
||||
// 数据搜索table判断checked状态
|
||||
selectable (row) {
|
||||
return row.isRelateAccess === '1'
|
||||
@@ -1479,6 +1434,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1490,6 +1446,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1578,7 +1535,6 @@ export default {
|
||||
},
|
||||
// 导出确定功能
|
||||
exportTestItem () {
|
||||
let exportNames = this.exportName
|
||||
let exportList = []
|
||||
if (this.sarAccessInfoListArry.length > 0) {
|
||||
exportList = this.sarAccessInfoListArry
|
||||
|
||||
@@ -150,11 +150,17 @@
|
||||
label="能源类型">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="putTime"
|
||||
prop="ssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.ssrq === null">
|
||||
{{ scope.row.ssrq }}
|
||||
</span>
|
||||
<span v-else>{{ scope.row.ssrq.slice(0, 10) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -757,11 +763,6 @@ export default {
|
||||
setMap(data){
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
this.$set(this.typeApplicableMap, item.value, item.label)
|
||||
this.$set(this.nylxMap, item.value, item.label)
|
||||
this.$set(this.zrbmMap, item.value, item.label)
|
||||
this.$set(this.sycpxMap, item.value, item.label)
|
||||
this.$set(this.countryAreaMap, item.value, item.label)
|
||||
})
|
||||
}
|
||||
},
|
||||
@@ -797,12 +798,6 @@ export default {
|
||||
this.textStatusOptions = res.data.WBZTCLASS
|
||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||
this.setMap(this.textStatusOptions)
|
||||
this.setMap(this.zrbmOptions)
|
||||
this.setMap(this.categoryOptions)
|
||||
this.setMap(this.sycpxOptions)
|
||||
this.setMap(this.energyKindOptions)
|
||||
this.setMap(this.drawerCountryOptions)
|
||||
this.setMap(this.applyArcticOptions)
|
||||
this.getGzzOption();
|
||||
}, e => {
|
||||
});
|
||||
|
||||
+34
-78
@@ -288,11 +288,14 @@
|
||||
label="能源类型">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="putTime"
|
||||
prop="ssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -440,9 +443,9 @@
|
||||
<el-form-item label="能源类型" prop="nylx">
|
||||
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准实施日期" prop="putTime">
|
||||
<el-form-item label="标准实施日期" prop="ssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.putTime"
|
||||
v-model.trim="editRowData.ssrq"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -566,7 +569,7 @@ export default {
|
||||
standEnName: '',
|
||||
typeApplicable: '',
|
||||
nylx: '',
|
||||
putTime: '',
|
||||
ssrq: '',
|
||||
zccssrqgj: '',
|
||||
xcxssrqgj: '',
|
||||
zrbm: '',
|
||||
@@ -1076,66 +1079,6 @@ 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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -1274,10 +1217,10 @@ export default {
|
||||
let rowlist3 = []
|
||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||
rowlist.push(this.sarAccessInfoList[i].id)
|
||||
if (this.sarAccessInfoList[i].putTime === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||
}else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
@@ -1350,14 +1293,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = ''
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
}
|
||||
pageInfo() {
|
||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1369,6 +1305,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1380,6 +1317,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1394,13 +1332,17 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
// 高级检索查询按钮
|
||||
selectBtn() {
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.pageInfo()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.pageInfo()
|
||||
}
|
||||
},
|
||||
selectPage() {
|
||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1412,6 +1354,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1423,6 +1366,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1437,6 +1381,16 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
// 高级检索查询按钮
|
||||
selectBtn() {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.selectPage()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.selectPage()
|
||||
}
|
||||
},
|
||||
// 数据搜索table判断checked状态
|
||||
selectable (row) {
|
||||
return row.isRelateAccess === '1'
|
||||
@@ -1448,6 +1402,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1459,6 +1414,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
|
||||
+33
-77
@@ -288,11 +288,14 @@
|
||||
label="能源类型">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="putTime"
|
||||
prop="ssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -439,9 +442,9 @@
|
||||
<el-form-item label="能源类型" prop="nylx">
|
||||
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准实施日期" prop="putTime">
|
||||
<el-form-item label="标准实施日期" prop="ssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.putTime"
|
||||
v-model.trim="editRowData.ssrq"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -580,7 +583,7 @@ export default {
|
||||
standEnName: '',
|
||||
typeApplicable: '',
|
||||
nylx: '',
|
||||
putTime: '',
|
||||
ssrq: '',
|
||||
zccssrqgj: '',
|
||||
xcxssrqgj: '',
|
||||
zrbm: '',
|
||||
@@ -1076,66 +1079,6 @@ 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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -1273,10 +1216,10 @@ export default {
|
||||
let rowlist3 = []
|
||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||
rowlist.push(this.sarAccessInfoList[i].id)
|
||||
if (this.sarAccessInfoList[i].putTime === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||
}else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
@@ -1350,13 +1293,7 @@ export default {
|
||||
})
|
||||
},
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = ''
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
}
|
||||
pageInfo() {
|
||||
StandardsInfoPage(this.sarAccessInfoSearch, this.sarAccessInfo).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1368,6 +1305,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1379,6 +1317,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1393,13 +1332,17 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
/** 高级查询查询按钮*/
|
||||
selectBtn() {
|
||||
selectLawsStands () {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.pageInfo()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.pageInfo()
|
||||
}
|
||||
},
|
||||
/** 高级查询查询按钮*/
|
||||
selectPage() {
|
||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||
this.sarAccessInfoSearchList = res.data.list
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
@@ -1411,6 +1354,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1422,6 +1366,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
@@ -1436,6 +1381,15 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
selectBtn() {
|
||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||
this.selectPage()
|
||||
} else {
|
||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||
this.selectPage()
|
||||
}
|
||||
},
|
||||
// 数据搜索table判断checked状态
|
||||
selectable (row) {
|
||||
return row.isRelateAccess === '1'
|
||||
@@ -1447,6 +1401,7 @@ export default {
|
||||
if (item.attrInfoMap === null) {
|
||||
this.$set(item, 'zccssrqgj', '')
|
||||
this.$set(item, 'xcxssrqgj', '')
|
||||
this.$set(item, 'ssrq', '')
|
||||
this.$set(item, 'sycpx', '')
|
||||
this.$set(item, 'typeApplicable', '')
|
||||
this.$set(item, 'nylx', '')
|
||||
@@ -1458,6 +1413,7 @@ export default {
|
||||
}else {
|
||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||
|
||||
@@ -1324,8 +1324,8 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 是否纳入标准清单-->
|
||||
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
||||
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
||||
<el-form-item label="是否纳入标准清单" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.isRelateAccess" placeholder="根据是否纳入标准清单查找">
|
||||
<el-option value="yes" label="是"></el-option>
|
||||
<el-option value="no" label="否"></el-option>
|
||||
</el-select>
|
||||
@@ -1333,7 +1333,7 @@
|
||||
<!-- 实施日期-->
|
||||
<el-form-item label="实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.putTime"
|
||||
v-model="sarStandardsSearch.ssrq"
|
||||
type="date"
|
||||
placeholder="根据实施日期查找">
|
||||
</el-date-picker>
|
||||
@@ -1341,7 +1341,7 @@
|
||||
<!-- 新车型实施日期-->
|
||||
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.XCXTime"
|
||||
v-model="sarStandardsSearch.xcxssrq"
|
||||
type="date"
|
||||
placeholder="根据新车型实施日期查找">
|
||||
</el-date-picker>
|
||||
@@ -1349,14 +1349,14 @@
|
||||
<!-- 在产车实施日期-->
|
||||
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.ZCCTime"
|
||||
v-model="sarStandardsSearch.zccssrq"
|
||||
type="date"
|
||||
placeholder="根据在产车实施日期查找">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- 归口管理部门-->
|
||||
<el-form-item label="归口管理部门">
|
||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
||||
<el-input v-model="sarStandardsSearch.gkglbm" clearable placeholder="根据归口管理部门查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 起草单位-->
|
||||
@@ -1368,7 +1368,7 @@
|
||||
</el-form-item>
|
||||
<!-- 我司参与深度-->
|
||||
<el-form-item label="我司参与深度">
|
||||
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
||||
<el-select v-model="sarStandardsSearch.wscysd" placeholder="请选择我司参与深度" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -1376,14 +1376,14 @@
|
||||
|
||||
<!-- 能源类型-->
|
||||
<el-form-item label="能源类型">
|
||||
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
||||
<el-select v-model="sarStandardsSearch.nylx" placeholder="请选择能源类型" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in nylxOptions" :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.applicableModels')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -1397,9 +1397,9 @@
|
||||
</el-form-item>
|
||||
<!-- 适用认证-->
|
||||
<el-form-item label="适用认证">
|
||||
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
||||
<el-select v-model="sarStandardsSearch.syrz" placeholder="根据适用认证查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
<el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 责任部门-->
|
||||
@@ -1411,7 +1411,7 @@
|
||||
</el-form-item>
|
||||
<!-- 责任工程师-->
|
||||
<el-form-item label="责任工程师">
|
||||
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
||||
<el-select v-model="sarStandardsSearch.zrgcs" placeholder="根据责任工程师查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -1424,7 +1424,7 @@
|
||||
</el-form-item>
|
||||
<!-- 代替标准号-->
|
||||
<el-form-item label="代替标准号">
|
||||
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
||||
<el-input v-model="sarStandardsSearch.dtbjh" clearable placeholder="根据代替标准号查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 关联模块-中文名称-->
|
||||
@@ -1435,23 +1435,23 @@
|
||||
</el-form-item>
|
||||
<!-- 采标编号-->
|
||||
<el-form-item label="采标编号" prop="nameShow">
|
||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
||||
<el-input v-model="sarStandardsSearch.cbbh" clearable placeholder="根据采标编号查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 采标程度-->
|
||||
<el-form-item label="采标程度" prop="standNumber">
|
||||
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||
<el-input v-model="sarStandardsSearch.cbcd" clearable
|
||||
placeholder="根据采标程度查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 引用标准-->
|
||||
<el-form-item label="引用标准">
|
||||
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
||||
<el-input v-model="sarStandardsSearch.yybj" clearable placeholder="根据引用标准查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 被引用标准-->
|
||||
<el-form-item label="被引用标准">
|
||||
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
||||
<el-input v-model="sarStandardsSearch.byybj" clearable
|
||||
placeholder="根据被引用标准查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
@@ -1463,6 +1463,23 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 标记-->
|
||||
<!-- 标签-->
|
||||
<el-form-item label="标签">
|
||||
<el-input v-model="sarStandardsSearch.gxhbq" clearable
|
||||
placeholder="根据被标签查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<!-- 体系类别-->
|
||||
<el-form-item label="体系类别">
|
||||
<el-select v-model="sarStandardsSearch.txlb" placeholder="根据体系类别查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
@@ -1704,35 +1721,36 @@ export default {
|
||||
validFlag: '0',
|
||||
menuId: '',
|
||||
country: '',
|
||||
standNumber: '', // 标准编号
|
||||
standName: '', // 标准名称
|
||||
standState: '', // 标准状态
|
||||
issueTime: '', // 标准发布日期
|
||||
svpps: '', // 关联模块-VPPS编码
|
||||
replaceStandNum: '', // 代替标准号
|
||||
replacedStandNum: '', // 被代替标准号
|
||||
replacePartStandNum: '', // 代替标准号
|
||||
replacedPartStandNum: '', // 被代替标准号
|
||||
citeStand: '', // 引用标准
|
||||
citedStand: '', // 被引用标准
|
||||
standNumber: '',//标准编号
|
||||
standName: '',//标准名称
|
||||
standState: '',
|
||||
standNature: '',//标准性质
|
||||
issueTime: '',//标准发布时间
|
||||
// applyArctic: '',
|
||||
dtbjh: '',//代替标准号
|
||||
// replaceStandNumCope: '',
|
||||
// replaceStandNumList: [],
|
||||
replacedStandNum: '',
|
||||
synopsis: '', // 内容摘要
|
||||
applyArctic: '', // 适用车型
|
||||
sycpx: '', // 适用产品线
|
||||
syzr: '', // 适用认证
|
||||
zrbm: '', // 责任部门
|
||||
dutyEngineer: '', // 责任工程师
|
||||
// category: '', // 所属类别
|
||||
standSort: '', // 标准类别
|
||||
standYear: '', // 标准年份
|
||||
standEnName: '', // 标准英文名称
|
||||
standNature: '', // 标准性质
|
||||
putTime: '', // 实施日期
|
||||
isRelateAccess: '', // 是否纳入标准清单
|
||||
// nameShow: '', // 我司参与深度
|
||||
qcdw: '', // 起草单位
|
||||
nameShow: '', // 归口管理部门
|
||||
ZCCTime: '', // 在产车实施日期
|
||||
XCXTime: '', // 新车型实施日期
|
||||
energyKind: '', // 能源类型
|
||||
txlbOption:'', //标准体系
|
||||
gxhbq:'', //标签
|
||||
wscysd:'', //我司参与深度
|
||||
gkglbm:'', //归口管理部门
|
||||
ssrq:'',//实施日期
|
||||
scxssrq:''//新车型实施日期
|
||||
,zccssrq:''//在产车实施日期
|
||||
,qcdw:''//起草单位
|
||||
,nylx:''//能源类型
|
||||
,cllx:''//适用车型
|
||||
,syrz:''//适用认证
|
||||
,zrgcs:''//责任工程师
|
||||
,cbbh:''//采标编号
|
||||
,cbcd:''//采标程度
|
||||
,yybj:''//引用标准
|
||||
,byybj:''//被引用标准
|
||||
,txlb:''//体系类别
|
||||
}, // 分页查询过程中用到的对象
|
||||
// 树形结构
|
||||
// tree function
|
||||
@@ -4720,7 +4738,7 @@ export default {
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||
this.applyArcticOptions = res.data.SYCXCLASS // 适用车型
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
@@ -4733,7 +4751,7 @@ export default {
|
||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||
this.syzrOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.syrzOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.getGzzOption()
|
||||
this.setMap(this.standStateOptions)
|
||||
}, e => {
|
||||
|
||||
+103
-3
@@ -4,18 +4,25 @@
|
||||
<!--左侧树-->
|
||||
<div class="tree-content" :class="{ 'tree-closed': sideClose }" >
|
||||
<div class="tree">
|
||||
<el-input
|
||||
placeholder="输入树状图体系"
|
||||
v-model="filterText">
|
||||
</el-input>
|
||||
<el-tree
|
||||
ref="tree"
|
||||
node-key="id"
|
||||
class="filter-tree"
|
||||
class="tree-line"
|
||||
icon-class="icon-tree"
|
||||
:indent="0"
|
||||
:props="props"
|
||||
:data="treeList"
|
||||
highlight-current
|
||||
@node-click="treeClick"
|
||||
:filter-node-method="filterNode"
|
||||
default-expand-all
|
||||
:expand-on-click-node="false">
|
||||
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
||||
<span> {{ node.label}} </span>
|
||||
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span> <span> {{ node.label}} </span>
|
||||
<span>
|
||||
<el-button
|
||||
type="text"
|
||||
@@ -1021,6 +1028,7 @@ export default {
|
||||
// 唯一辨识
|
||||
dicId: ""
|
||||
},
|
||||
filterText: '', // 企业标准库过滤
|
||||
treeList: [],
|
||||
standId: '',
|
||||
visibleOrgTable: false,
|
||||
@@ -3434,7 +3442,11 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
watch: {
|
||||
filterText(val) {
|
||||
this.$refs.tree.filter(val);
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 是否拥有拖拽权限
|
||||
hasPermissionDrag () {
|
||||
@@ -3491,6 +3503,94 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
/deep/ .icon-tree {
|
||||
margin:0 5px 0 10px;
|
||||
position:relative;
|
||||
background:url('~@/assets/images/shangqi/img/tree-add.png');
|
||||
background-size:100% 100%;
|
||||
}
|
||||
/deep/ .expanded{
|
||||
background:url('~@/assets/images/shangqi/img/tree-sub.png');
|
||||
background-size:100% 100%;
|
||||
}
|
||||
/deep/ .is-leaf{
|
||||
background-image:none;
|
||||
background-size:100% 100%;
|
||||
}
|
||||
/deep/ .is-leaf-none{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background:url('~@/assets/images/shangqi/img/none-file.png');
|
||||
background-size:100% 100%;
|
||||
}
|
||||
/deep/ .is-show{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background:url('~@/assets/images/shangqi/img/tree.png');
|
||||
background-size:100% 100%;
|
||||
}
|
||||
/deep/.tree-line{
|
||||
.el-tree-node {
|
||||
position: relative;
|
||||
padding-left: 0px; // 缩进量
|
||||
line-height: 30px;
|
||||
}
|
||||
.el-tree-node__children {
|
||||
padding-left: 16px; // 缩进量
|
||||
}
|
||||
|
||||
// 竖线
|
||||
.el-tree-node::before {
|
||||
content: "";
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
left: -3px;
|
||||
top: -26px;
|
||||
border-width: 1px;
|
||||
border-left: 1px dashed #858990e0;
|
||||
}
|
||||
// 当前层最后一个节点的竖线高度固定
|
||||
.el-tree-node:last-child::before {
|
||||
height: 38px; // 可以自己调节到合适数值
|
||||
}
|
||||
|
||||
// 横线
|
||||
.el-tree-node::after {
|
||||
content: "";
|
||||
width: 11px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
left: -3px;
|
||||
top: 12px;
|
||||
border-width: 1px;
|
||||
border-top: 1px dashed #858990e0;
|
||||
}
|
||||
|
||||
// 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
|
||||
& > .el-tree-node::after {
|
||||
border-top: none;
|
||||
}
|
||||
& > .el-tree-node::before {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
// 展开关闭的icon
|
||||
.el-tree-node__expand-icon{
|
||||
font-size: 16px;
|
||||
// 叶子节点(无子节点)
|
||||
&.is-leaf{
|
||||
color: transparent;
|
||||
// display: none; // 也可以去掉
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
|
||||
@@ -239,7 +239,7 @@
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'e8d690904ee1895dd0d17d9c794fbcd7'">编辑</el-dropdown-item>
|
||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">分享</el-dropdown-item>-->
|
||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">删除</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'dbaf9df2990a595c8abea28e68b1a681'">删除</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
@@ -391,8 +391,8 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 是否纳入标准清单-->
|
||||
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
||||
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
||||
<el-form-item label="是否纳入标准清单" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.isRelateAccess" placeholder="根据是否纳入标准清单查找">
|
||||
<el-option value="yes" label="是"></el-option>
|
||||
<el-option value="no" label="否"></el-option>
|
||||
</el-select>
|
||||
@@ -400,7 +400,7 @@
|
||||
<!-- 实施日期-->
|
||||
<el-form-item label="实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.putTime"
|
||||
v-model="sarStandardsSearch.ssrq"
|
||||
type="date"
|
||||
placeholder="根据实施日期查找">
|
||||
</el-date-picker>
|
||||
@@ -408,7 +408,7 @@
|
||||
<!-- 新车型实施日期-->
|
||||
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.XCXTime"
|
||||
v-model="sarStandardsSearch.xcxssrq"
|
||||
type="date"
|
||||
placeholder="根据新车型实施日期查找">
|
||||
</el-date-picker>
|
||||
@@ -416,14 +416,14 @@
|
||||
<!-- 在产车实施日期-->
|
||||
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.ZCCTime"
|
||||
v-model="sarStandardsSearch.zccssrq"
|
||||
type="date"
|
||||
placeholder="根据在产车实施日期查找">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- 归口管理部门-->
|
||||
<el-form-item label="归口管理部门">
|
||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
||||
<el-input v-model="sarStandardsSearch.gkglbm" clearable placeholder="根据归口管理部门查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 起草单位-->
|
||||
@@ -435,7 +435,7 @@
|
||||
</el-form-item>
|
||||
<!-- 我司参与深度-->
|
||||
<el-form-item label="我司参与深度">
|
||||
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
||||
<el-select v-model="sarStandardsSearch.wscysd" placeholder="请选择我司参与深度" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -443,14 +443,14 @@
|
||||
|
||||
<!-- 能源类型-->
|
||||
<el-form-item label="能源类型">
|
||||
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
||||
<el-select v-model="sarStandardsSearch.nylx" placeholder="请选择能源类型" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in nylxOptions" :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.applicableModels')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -464,9 +464,9 @@
|
||||
</el-form-item>
|
||||
<!-- 适用认证-->
|
||||
<el-form-item label="适用认证">
|
||||
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
||||
<el-select v-model="sarStandardsSearch.syrz" placeholder="根据适用认证查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
<el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 责任部门-->
|
||||
@@ -478,7 +478,7 @@
|
||||
</el-form-item>
|
||||
<!-- 责任工程师-->
|
||||
<el-form-item label="责任工程师">
|
||||
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
||||
<el-select v-model="sarStandardsSearch.zrgcs" placeholder="根据责任工程师查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
@@ -491,7 +491,7 @@
|
||||
</el-form-item>
|
||||
<!-- 代替标准号-->
|
||||
<el-form-item label="代替标准号">
|
||||
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
||||
<el-input v-model="sarStandardsSearch.dtbjh" clearable placeholder="根据代替标准号查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 关联模块-中文名称-->
|
||||
@@ -502,23 +502,23 @@
|
||||
</el-form-item>
|
||||
<!-- 采标编号-->
|
||||
<el-form-item label="采标编号" prop="nameShow">
|
||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
||||
<el-input v-model="sarStandardsSearch.cbbh" clearable placeholder="根据采标编号查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 采标程度-->
|
||||
<el-form-item label="采标程度" prop="standNumber">
|
||||
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||
<el-input v-model="sarStandardsSearch.cbcd" clearable
|
||||
placeholder="根据采标程度查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 引用标准-->
|
||||
<el-form-item label="引用标准">
|
||||
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
||||
<el-input v-model="sarStandardsSearch.yybj" clearable placeholder="根据引用标准查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 被引用标准-->
|
||||
<el-form-item label="被引用标准">
|
||||
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
||||
<el-input v-model="sarStandardsSearch.byybj" clearable
|
||||
placeholder="根据被引用标准查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
@@ -530,6 +530,23 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 标记-->
|
||||
<!-- 标签-->
|
||||
<el-form-item label="标签">
|
||||
<el-input v-model="sarStandardsSearch.gxhbq" clearable
|
||||
placeholder="根据被标签查找"
|
||||
@keyup.enter.native="btnSearch"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<!-- 体系类别-->
|
||||
<el-form-item label="体系类别">
|
||||
<el-select v-model="sarStandardsSearch.txlb" placeholder="根据体系类别查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
@@ -1416,19 +1433,37 @@ export default {
|
||||
validFlag: '0',
|
||||
menuId: '',
|
||||
country: '',
|
||||
standNumber: '',
|
||||
standName: '',
|
||||
standNumber: '',//标准编号
|
||||
standName: '',//标准名称
|
||||
standState: '',
|
||||
standNature: '',
|
||||
issueTime: '',
|
||||
standNature: '',//标准性质
|
||||
issueTime: '',//标准发布时间
|
||||
// applyArctic: '',
|
||||
replaceStandNum: '',
|
||||
dtbjh: '',//代替标准号
|
||||
// replaceStandNumCope: '',
|
||||
// replaceStandNumList: [],
|
||||
replacedStandNum: '',
|
||||
synopsis: '', // 内容摘要
|
||||
// category: '', // 所属类别
|
||||
standSort: '' // 标准类别
|
||||
standSort: '', // 标准类别
|
||||
txlbOption:'', //标准体系
|
||||
gxhbq:'', //标签
|
||||
wscysd:'', //我司参与深度
|
||||
gkglbm:'', //归口管理部门
|
||||
ssrq:'',//实施日期
|
||||
scxssrq:''//新车型实施日期
|
||||
,zccssrq:''//在产车实施日期
|
||||
,qcdw:''//起草单位
|
||||
,nylx:''//能源类型
|
||||
,cllx:''//适用车型
|
||||
,syrz:''//适用认证
|
||||
,zrgcs:''//责任工程师
|
||||
,cbbh:''//采标编号
|
||||
,cbcd:''//采标程度
|
||||
,yybj:''//引用标准
|
||||
,byybj:''//被引用标准
|
||||
,txlb:''//体系类别
|
||||
|
||||
}, // 分页查询过程中用到的对象
|
||||
loading: false,
|
||||
isCollapse: true,
|
||||
@@ -1484,6 +1519,10 @@ export default {
|
||||
categoryConfigOptions: [], // 所属类别下拉框
|
||||
assemClassOptions: [], // 总成分类下拉框
|
||||
standAttributeList: [],
|
||||
qcdwOptions:[],//起草单位下拉框
|
||||
cysdOptions:[], //我司参与深度下拉框
|
||||
nylxOptions:[],//能源类型下拉框
|
||||
syrzOptions:[],//适用认证下拉框
|
||||
// 树形结构
|
||||
// tree function
|
||||
MoveTest: '',
|
||||
@@ -4276,13 +4315,17 @@ export default {
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.countryOptions = res.data.COUNTRY
|
||||
this.regionOptions = res.data.REGION // 区域
|
||||
this.applyArcticOptions = res.data.PRODUCTTYPE // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
||||
this.adoptExtentOptions = res.data.DEGREESTANDARD
|
||||
this.emergyKindOptions = res.data.ENERGYTYPES
|
||||
this.assemClassOptions = res.data.ASSEMCLASSIFY // 总成分类
|
||||
this.categoryConfigOptions = res.data.CATEGORY
|
||||
this.standAttributeList = res.data.RULETYPE
|
||||
this.qcdwOptions = res.data.QCDW
|
||||
this.cysdOptions=res.data.WSCYSD;
|
||||
this.nylxOptions=res.data.NYLXCLASS;//能源类型
|
||||
this.syrzOptions=res.data.SYRZCLASS;//适用认证
|
||||
|
||||
this.getGzzOption()
|
||||
this.setMap(this.standStateOptions)
|
||||
}, e => {
|
||||
|
||||
@@ -1082,7 +1082,6 @@ export default {
|
||||
this.localProTableSearch = { ...this.localProTableSearchDefault };
|
||||
this.projectLibrarySearch = { ...this.projectLibrarySearchDefault };
|
||||
this.localProTableSearch.page = 1;
|
||||
this.isAdvancedSearch = false;
|
||||
this.getLocalProductTable();
|
||||
},
|
||||
resolveTime(data) {
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||
<el-table-column
|
||||
prop="category"
|
||||
label="标准"
|
||||
label="标准/政策"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump" @click.stop="handlePreview(scope.row)">{{ scope.row.category }}</a>
|
||||
|
||||
Reference in New Issue
Block a user