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