Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
zhutianqi
2021-12-23 16:54:00 +08:00
3 changed files with 75 additions and 32 deletions
@@ -520,6 +520,7 @@
<!--适用车型-->
<template>
<custom-select-array
style="margin-left: -12px"
:key="applyArcticOptions.options"
:config="applyArcticOptions"
v-model="form['cllx']"
@@ -528,6 +529,7 @@
<!--能源类型-->
<template>
<custom-select-array
style="margin-left: -12px"
:key="categoryOptions.options"
:config="categoryOptions"
v-model="form['nylx']"
@@ -643,6 +645,7 @@
<template>
<custom-select-array
:key="sycpxOptions.options"
style="margin-left: -12px"
:config="sycpxOptions"
v-model="form['sycpx']"
></custom-select-array>
@@ -662,6 +665,7 @@
<template>
<custom-select-array
:key="applyAuthOptions.options"
style="margin-left: -12px;"
:config="applyAuthOptions"
v-model="form['syrz']"
></custom-select-array>
@@ -1203,7 +1207,7 @@
:data="tableData.standardData"
tooltip-effect="dark"
style="width: 100%;"
:height="tableHeight.standardTableHeight"
height="100%"
border
class="drag-table"
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
@@ -726,6 +726,7 @@
<!--适用车型-->
<template>
<custom-select-array
style="margin-left: -12px"
:key="applyArcticOptions.options"
:config="applyArcticOptions"
v-model="form['cllx']"
@@ -734,6 +735,7 @@
<!--能源类型-->
<template>
<custom-select-array
style="margin-left: -12px"
:key="categoryOptions.options"
:config="categoryOptions"
v-model="form['nylx']"
@@ -844,6 +846,7 @@
<template>
<custom-select-array
:key="sycpxOptions.options"
style="margin-left: -12px"
:config="sycpxOptions"
v-model="form['sycpx']"
></custom-select-array>
@@ -863,6 +866,7 @@
<template>
<custom-select-array
:key="applyAuthOptions.options"
style="margin-left: -12px"
:config="applyAuthOptions"
v-model="form['syrz']"
></custom-select-array>
@@ -459,39 +459,74 @@ export default {
},
// 根据准入id查询标准法规详情
selectInfobyAccid() {
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
...this.standardFormList,
...this.standardForm,
id: this.pageId
}, {
_this: this
}, res => {
console.log(res.data.records);
res.data.records.forEach(item => {
if (item.nylx === "[]") {
item.nylx = null;
}
if (item.typeApplicable === "[]") {
item.typeApplicable = null;
}
if (item.sycpx === "[]") {
item.sycpx = null;
}
if(item.zrbm === "[]"){
item.zrbm = null
}
if(this.sarAccessEO.sortKey === '1'){
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
...this.standardFormList,
...this.standardForm,
id: this.pageId,
types: '1',
}, {
_this: this
}, res => {
res.data.records.forEach(item => {
if (item.nylx === "[]") {
item.nylx = null;
}
if (item.typeApplicable === "[]") {
item.typeApplicable = null;
}
if (item.sycpx === "[]") {
item.sycpx = null;
}
if(item.zrbm === "[]"){
item.zrbm = null
}
});
this.standinfoList = res.data.records;
this.standardFormTotal = res.data.total;
this.standinfoList.forEach(item => {
if (item.standYear === null) {
item.standNumber = item.standSortShow + " " + item.standNumber;
} else {
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
}
});
}, e => {
});
this.standinfoList = res.data.records;
this.standardFormTotal = res.data.total;
this.standinfoList.forEach(item => {
if (item.standYear === null) {
item.standNumber = item.standSortShow + " " + item.standNumber;
} else {
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
}
}else{
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
...this.standardFormList,
...this.standardForm,
id: this.pageId
}, {
_this: this
}, res => {
res.data.records.forEach(item => {
if (item.nylx === "[]") {
item.nylx = null;
}
if (item.typeApplicable === "[]") {
item.typeApplicable = null;
}
if (item.sycpx === "[]") {
item.sycpx = null;
}
if(item.zrbm === "[]"){
item.zrbm = null
}
});
this.standinfoList = res.data.records;
this.standardFormTotal = res.data.total;
this.standinfoList.forEach(item => {
if (item.standYear === null) {
item.standNumber = item.standSortShow + " " + item.standNumber;
} else {
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
}
});
}, e => {
});
}, e => {
});
}
},
selectInfoMore() {
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {