fix: 修改请求菜单接口参数
This commit is contained in:
parent
c8717c6f0c
commit
9d4177e1c9
|
@ -127,7 +127,16 @@ function getMenus(id: string) {
|
||||||
{
|
{
|
||||||
column: 'appId',
|
column: 'appId',
|
||||||
value: id,
|
value: id,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
terms:[
|
||||||
|
{
|
||||||
|
value:"%show\":true%",
|
||||||
|
termType:"like",
|
||||||
|
column:"options"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
getMenuTree_api(params).then((resp: any) => {
|
getMenuTree_api(params).then((resp: any) => {
|
||||||
|
|
|
@ -324,7 +324,15 @@ const form = reactive({
|
||||||
|
|
||||||
if (isNoCommunity) {
|
if (isNoCommunity) {
|
||||||
// 获取关联菜单
|
// 获取关联菜单
|
||||||
getMenuTree_api({ paging: false }).then((resp: any) => {
|
getMenuTree_api({ paging: false,terms:[{terms:[{
|
||||||
|
terms:[
|
||||||
|
{
|
||||||
|
value:"%show\":true%",
|
||||||
|
termType:"like",
|
||||||
|
column:"options"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]}]}).then((resp: any) => {
|
||||||
form.treeData = resp.result;
|
form.treeData = resp.result;
|
||||||
});
|
});
|
||||||
// 获取资产类型
|
// 获取资产类型
|
||||||
|
|
Loading…
Reference in New Issue