|
@@ -64,7 +64,7 @@
|
|
|
import IndexSearch from './index-search.vue';
|
|
import IndexSearch from './index-search.vue';
|
|
|
|
|
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
- import { getTreeByGroup } from '@/api/classifyManage';
|
|
|
|
|
|
|
+ import { getTreeByGroup, getTreeByPid } from '@/api/classifyManage';
|
|
|
import { parameterGetByCode } from '@/api/system/dictionary/index.js';
|
|
import { parameterGetByCode } from '@/api/system/dictionary/index.js';
|
|
|
|
|
|
|
|
import { getInfoById } from '@/api/classifyManage';
|
|
import { getInfoById } from '@/api/classifyManage';
|
|
@@ -143,6 +143,7 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
open() {
|
|
open() {
|
|
|
this.visible = true;
|
|
this.visible = true;
|
|
|
|
|
+ console.log(this.$route.query.categoryLevelId, '88888');
|
|
|
this.getTreeData();
|
|
this.getTreeData();
|
|
|
//是否显示code
|
|
//是否显示code
|
|
|
parameterGetByCode({
|
|
parameterGetByCode({
|
|
@@ -162,7 +163,7 @@
|
|
|
try {
|
|
try {
|
|
|
this.treeLoading = true;
|
|
this.treeLoading = true;
|
|
|
|
|
|
|
|
- const res = await getTreeByGroup({ type: 5 });
|
|
|
|
|
|
|
+ const res = await getTreeByPid(9);
|
|
|
this.treeLoading = false;
|
|
this.treeLoading = false;
|
|
|
if (res?.code === '0') {
|
|
if (res?.code === '0') {
|
|
|
this.treeList = res.data;
|
|
this.treeList = res.data;
|