From 633d328380d7788740d3eba54b33aa69dc9afb02 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 25 一月 2024 22:14:38 +0800 Subject: [PATCH] 点击分类不显示按钮(模板创建时绑定的业务类型id有问题):改成用functionid进行查询,也就是菜单上配置的id --- Source/UBCS-WEB/src/api/omd/OmdAttribute.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/api/omd/OmdAttribute.js b/Source/UBCS-WEB/src/api/omd/OmdAttribute.js index 690ad99..6e23b4e 100644 --- a/Source/UBCS-WEB/src/api/omd/OmdAttribute.js +++ b/Source/UBCS-WEB/src/api/omd/OmdAttribute.js @@ -24,12 +24,12 @@ }) } -export const remove = (ids) => { +export const remove = (oid) => { return request({ url: '/api/ubcs-omd/attribute/remove', method: 'post', params: { - ids, + oid, } }) } @@ -63,3 +63,13 @@ }) } +export const getApplyRange = (oid) => { + return request({ + url: '/api/ubcs-omd/attribute/apply-range', + method: 'get', + params: { + oid + } + }) +} + -- Gitblit v1.9.3