6cfda958 by lihua

行业分类传level1

1 parent 4c784376
...@@ -964,6 +964,7 @@ onBeforeMount(() => { ...@@ -964,6 +964,7 @@ onBeforeMount(() => {
964 964
965 getDamTypesList({ 965 getDamTypesList({
966 dictType: "行业分类", 966 dictType: "行业分类",
967 level: 1
967 }).then((res: any) => { 968 }).then((res: any) => {
968 if (res.code == proxy.$passCode) { 969 if (res.code == proxy.$passCode) {
969 industryDictList.value = res.data || []; 970 industryDictList.value = res.data || [];
......
...@@ -1380,7 +1380,7 @@ onBeforeMount(() => { ...@@ -1380,7 +1380,7 @@ onBeforeMount(() => {
1380 res?.msg && proxy.$ElMessage.error(res?.msg); 1380 res?.msg && proxy.$ElMessage.error(res?.msg);
1381 } 1381 }
1382 }) 1382 })
1383 getParamsList({ dictType: '行业分类' }).then((res: any) => { 1383 getParamsList({ dictType: '行业分类', level: 1 }).then((res: any) => {
1384 if (res?.code == proxy.$passCode) { 1384 if (res?.code == proxy.$passCode) {
1385 industryList.value = res.data || []; 1385 industryList.value = res.data || [];
1386 let index = contentFormItems.value.findIndex(item => item.field == 'industry'); 1386 let index = contentFormItems.value.findIndex(item => item.field == 'industry');
......
...@@ -1147,7 +1147,7 @@ onBeforeMount(() => { ...@@ -1147,7 +1147,7 @@ onBeforeMount(() => {
1147 () => getDetail(), 1147 () => getDetail(),
1148 ) 1148 )
1149 } 1149 }
1150 getParamsList({ dictType: '行业分类' }).then((res: any) => { 1150 getParamsList({ dictType: '行业分类', level: 1 }).then((res: any) => {
1151 if (res?.code == proxy.$passCode) { 1151 if (res?.code == proxy.$passCode) {
1152 industryList.value = res.data || []; 1152 industryList.value = res.data || [];
1153 let index = contentFormItems.value.findIndex(item => item.field == 'industry'); 1153 let index = contentFormItems.value.findIndex(item => item.field == 'industry');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!