|
|
@@ -34,7 +34,8 @@
|
|
|
mixins: [dictMixins],
|
|
|
props: {
|
|
|
id: [Number, String],
|
|
|
- categoryLevelId: [Number, String]
|
|
|
+ categoryLevelId: [Number, String],
|
|
|
+ categoryLevelGroupId: [Number, String]
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -195,7 +196,8 @@
|
|
|
async getEqData () {
|
|
|
const data = await getRelatesInformationList({
|
|
|
mainCategoryId: this.categoryLevelId,
|
|
|
- categoryLevelRootId: 4 //设备
|
|
|
+ categoryLevelRootId: 4 ,//设备
|
|
|
+ categoryLevelGroupId:this.categoryLevelGroupId
|
|
|
});
|
|
|
|
|
|
this.eqData = data;
|
|
|
@@ -204,7 +206,8 @@
|
|
|
async getModuleData () {
|
|
|
const data = await getRelatesInformationList({
|
|
|
mainCategoryId: this.categoryLevelId,
|
|
|
- categoryLevelRootId: 5 //模具
|
|
|
+ categoryLevelRootId: 5 ,//模具
|
|
|
+ categoryLevelGroupId:this.categoryLevelGroupId
|
|
|
});
|
|
|
|
|
|
this.moduleData = data;
|