菜单管理-接口类型筛选

This commit is contained in:
zhujiyan
2024-08-29 11:24:46 +08:00
parent 829be66029
commit 2c59406871

View File

@@ -44,7 +44,13 @@ const tableStore = new TableStore({
url: '/user-boot/function/getButtonById', url: '/user-boot/function/getButtonById',
column: [ column: [
{ title: '普通接口/接口名称', field: 'name' }, { title: '普通接口/接口名称', field: 'name' },
{ title: '接口类型', field: 'type' }, {
title: '接口类型',
field: 'type',
formatter: row => {
return row.cellValue == 1 ? '普通借口' : '公用接口'
}
},
{ title: 'URL接口路径', field: 'path' }, { title: 'URL接口路径', field: 'path' },
{ {
title: '操作', title: '操作',
@@ -112,4 +118,4 @@ const search = () => {
item.path.indexOf(tableStore.table.params.searchValue) !== -1 item.path.indexOf(tableStore.table.params.searchValue) !== -1
) )
} }
</script> </script>