法规清单 - 重点标准跟踪清单tab

This commit is contained in:
yanyizhou
2021-11-08 15:09:51 +08:00
parent 50dfbb3de0
commit 33e25d0ed7
@@ -8,6 +8,9 @@
<el-tab-pane label="车型类别清单" name="listProject" v-if="project">
<list-project></list-project>
</el-tab-pane>
<el-tab-pane label="重点标准跟踪清单" name="listTracking" v-if="tracking">
<list-tracking></list-tracking>
</el-tab-pane>
<el-tab-pane label="其他清单" name="listOther" v-if="other">
<list-other></list-other>
</el-tab-pane>
@@ -21,6 +24,7 @@
<script>
import listOfCountries from "../accessStandardsAndRegulations/page/listOfCountries";
import listProject from "../accessStandardsAndRegulations/page/listProject";
import listTracking from "../accessStandardsAndRegulations/page/listTracking";
import listOther from "../accessStandardsAndRegulations/page/listOther";
import localProductsOrProjectLibrary from "../localProductsOrProjectLibrary/index";
@@ -30,11 +34,12 @@ export default {
return {
country: false,
project: false,
tracking: false,
other: false,
library: false,
list: [],
tabValue: "listOfCountries",
menuName: ["国家/地区清单", "车型类别清单", "其他清单", "项目清单"]
menuName: ["国家/地区清单", "车型类别清单", "重点标准跟踪清单", "其他清单", "项目清单"]
};
},
methods: {
@@ -42,6 +47,7 @@ export default {
components: {
localProductsOrProjectLibrary,
listOfCountries,
listTracking,
listProject,
listOther
},
@@ -52,7 +58,7 @@ export default {
var list = [];
const menuList = this.$store.getters.getMenuList;
let menuData = [];
let menuID = ["b05b562950cb6d0aef539fad30b7386a", "63e05705d0c8013162caa34f9fe52865", "a1170d77f4332e5f45ce520e63b00e15", "5a75523729b04102a565167004d640e9"];
let menuID = ["b05b562950cb6d0aef539fad30b7386a", "63e05705d0c8013162caa34f9fe52865","418123d180abf67bd2c46d5a694baaa5", "a1170d77f4332e5f45ce520e63b00e15", "5a75523729b04102a565167004d640e9"];
this.menuName.forEach(item => {
for (let i = 0; i < menuList.length; i++) {
let entity = menuList[i];
@@ -63,6 +69,8 @@ export default {
this.country = true
} else if (entity.id === "63e05705d0c8013162caa34f9fe52865") {
this.project = true
}else if (entity.id === "418123d180abf67bd2c46d5a694baaa5") {
this.tracking = true
}else if (entity.id === "5a75523729b04102a565167004d640e9") {
this.other = true
} else if (entity.id === "a1170d77f4332e5f45ce520e63b00e15") {