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