|
@@ -187,7 +187,7 @@ import {
|
|
|
getDetail,
|
|
|
remove,
|
|
|
productLaunch,
|
|
|
- deptList
|
|
|
+ deptList, listAllP
|
|
|
} from "@/api/tirePartsMall/basicData/listingManagement/index.js";
|
|
|
import { getToken } from "@/util/auth";
|
|
|
import commodity from "./commodity.json"
|
|
@@ -255,7 +255,7 @@ export default {
|
|
|
size: "small",
|
|
|
props: {
|
|
|
labelText: "标题",
|
|
|
- label: "title",
|
|
|
+ label: "cname",
|
|
|
value: "id",
|
|
|
}
|
|
|
},
|
|
@@ -472,7 +472,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
- getCorpTypes().then(res=>{
|
|
|
+ // getCorpTypes().then(res=>{
|
|
|
+ // this.treeData = res.data.data
|
|
|
+ // })
|
|
|
+ listAllP().then(res=>{
|
|
|
this.treeData = res.data.data
|
|
|
})
|
|
|
this.onLoad(this.page, this.search)
|
|
@@ -548,7 +551,7 @@ export default {
|
|
|
done();
|
|
|
},
|
|
|
nodeClick(data) {
|
|
|
- this.search.goodsTypeId = data.id
|
|
|
+ this.search.brandId = data.id
|
|
|
this.page.currentPage = 1;
|
|
|
this.onLoad(this.page, this.search);
|
|
|
},
|