法规清单 - 详情 - 查询问题和优化
This commit is contained in:
@@ -50,7 +50,12 @@
|
|||||||
<div class="search-area">
|
<div class="search-area">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-form ref="standardForm" :model="standardForm" inline>
|
<el-form ref="standardForm" :model="standardForm" inline>
|
||||||
<el-form-item label="标准号/标准名称" class="search-item">
|
<el-form-item label="标准号" class="search-item">
|
||||||
|
<el-input v-model="standardForm.standNumber"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" class="search-item">
|
||||||
<el-input v-model="standardForm.standName"
|
<el-input v-model="standardForm.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
@@ -97,6 +102,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container" style="position:relative;">
|
<div class="container" style="position:relative;">
|
||||||
<div style="position: absolute;top: 0;left: 0;bottom: 0;right: 0;">
|
<div style="position: absolute;top: 0;left: 0;bottom: 0;right: 0;">
|
||||||
|
<loading :loading="standInfoTableLoading">数据获取中</loading>
|
||||||
<el-table
|
<el-table
|
||||||
:data="standinfoList"
|
:data="standinfoList"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -360,6 +366,7 @@ export default {
|
|||||||
zrbmMap: {},
|
zrbmMap: {},
|
||||||
sycpxMap: {},
|
sycpxMap: {},
|
||||||
countryAreaMap: {},
|
countryAreaMap: {},
|
||||||
|
standInfoTableLoading:false,
|
||||||
standinfoList: [],
|
standinfoList: [],
|
||||||
// 适用车型
|
// 适用车型
|
||||||
applyArcticOptions: [],
|
applyArcticOptions: [],
|
||||||
@@ -459,6 +466,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 根据准入id查询标准法规详情
|
// 根据准入id查询标准法规详情
|
||||||
selectInfobyAccid() {
|
selectInfobyAccid() {
|
||||||
|
this.standInfoTableLoading = true
|
||||||
if(this.sarAccessEO.sortKey === '1'){
|
if(this.sarAccessEO.sortKey === '1'){
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardFormList,
|
...this.standardFormList,
|
||||||
@@ -491,7 +499,9 @@ export default {
|
|||||||
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.standInfoTableLoading = false
|
||||||
}, e => {
|
}, e => {
|
||||||
|
this.standInfoTableLoading = false
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
@@ -524,7 +534,9 @@ export default {
|
|||||||
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.standInfoTableLoading = false
|
||||||
}, e => {
|
}, e => {
|
||||||
|
this.standInfoTableLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -577,6 +589,7 @@ export default {
|
|||||||
resetSelect() {
|
resetSelect() {
|
||||||
this.standardForm.zrbm = "";
|
this.standardForm.zrbm = "";
|
||||||
this.standardForm.standName = "";
|
this.standardForm.standName = "";
|
||||||
|
this.standardForm.standNumber = "";
|
||||||
this.standardForm.responseUnit = "";
|
this.standardForm.responseUnit = "";
|
||||||
this.selectInfobyAccid();
|
this.selectInfobyAccid();
|
||||||
this.selectInfoMore();
|
this.selectInfoMore();
|
||||||
|
|||||||
Reference in New Issue
Block a user