7364348a by xukangle

fix : 分类分级查询

1 parent f3704a8e
...@@ -49,11 +49,11 @@ export const checkDeleteDictionaryScheme = (params) => request({ ...@@ -49,11 +49,11 @@ export const checkDeleteDictionaryScheme = (params) => request({
49 data: params 49 data: params
50 }) 50 })
51 // 分页查询 51 // 分页查询
52 // export const getDictionary = (params) => request({ 52 export const getDictionary = (params) => request({
53 // url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/data-dictionary-general/page-list`, 53 url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/data-dictionary-general/page-list`,
54 // method: 'post', 54 method: 'post',
55 // data: params 55 data: params
56 // }) 56 })
57 // 查询数据字典启用状态的数据 57 // 查询数据字典启用状态的数据
58 export const getDictionaryAll = (params) => request({ 58 export const getDictionaryAll = (params) => request({
59 url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/data-dictionary-general/list-all`, 59 url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/data-dictionary-general/list-all`,
...@@ -598,10 +598,10 @@ export const filterVal = (val, type) => { ...@@ -598,10 +598,10 @@ export const filterVal = (val, type) => {
598 /** 获取字典列表 598 /** 获取字典列表
599 * VITE_APP_PLAN_BASEURL 为环境变量 现在只是mock数据 599 * VITE_APP_PLAN_BASEURL 为环境变量 现在只是mock数据
600 */ 600 */
601 export const getDictionary = (params) => request({ 601 // export const getDictionary = (params) => request({
602 url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/data-dictionary-general/list-all?state=1`, 602 // url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/data-dictionary-general/list-all?state=1`,
603 method: 'post' 603 // method: 'post'
604 }) 604 // })
605 605
606 606
607 607
......
...@@ -677,7 +677,7 @@ const treePromise = ref(); ...@@ -677,7 +677,7 @@ const treePromise = ref();
677 // 获取数据字典树形数据 677 // 获取数据字典树形数据
678 const getTreeData = (needClick = false, currData = {}) => { 678 const getTreeData = (needClick = false, currData = {}) => {
679 const params = { 679 const params = {
680 paramCode: 'data_structure_code' 680 paramCode: '数据字典类型'
681 } 681 }
682 treeInfo.value.loading = true 682 treeInfo.value.loading = true
683 treePromise.value = getDictionaryTree(params).then((res: any) => { 683 treePromise.value = getDictionaryTree(params).then((res: any) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!