From b446560ccc97aedde9917db2273c6c6fb8b71acb Mon Sep 17 00:00:00 2001 From: ludc Date: 星期日, 14 一月 2024 17:05:29 +0800 Subject: [PATCH] 277:参照配置界面,关于包含条件,同一个字段具备多个包含条件时,需要重新设置一下界面更改一下后端查询接口 --- Source/UBCS-WEB/src/api/system/dept.js | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/dept.js b/Source/UBCS-WEB/src/api/system/dept.js index af5c6e7..e1e56b7 100644 --- a/Source/UBCS-WEB/src/api/system/dept.js +++ b/Source/UBCS-WEB/src/api/system/dept.js @@ -2,7 +2,7 @@ export const getList = (current, size, params) => { return request({ - url: '/api/blade-system/dept/list', + url: '/api/ubcs-system/dept/list', method: 'get', params: { ...params, @@ -12,20 +12,22 @@ }) } -export const getLazyList = (parentId, params) => { +export const getLazyList = (parentId, params,current, size,) => { return request({ - url: '/api/blade-system/dept/lazy-list', + url: '/api/ubcs-system/dept/lazy-list', method: 'get', params: { ...params, - parentId + parentId, + current, + size } }) } export const remove = (ids) => { return request({ - url: '/api/blade-system/dept/remove', + url: '/api/ubcs-system/dept/remove', method: 'post', params: { ids, @@ -35,7 +37,7 @@ export const add = (row) => { return request({ - url: '/api/blade-system/dept/submit', + url: '/api/ubcs-system/dept/submit', method: 'post', data: row }) @@ -43,7 +45,7 @@ export const update = (row) => { return request({ - url: '/api/blade-system/dept/submit', + url: '/api/ubcs-system/dept/submit', method: 'post', data: row }) @@ -51,7 +53,7 @@ export const getDept = (id) => { return request({ - url: '/api/blade-system/dept/detail', + url: '/api/ubcs-system/dept/detail', method: 'get', params: { id, @@ -61,7 +63,7 @@ export const getDeptTree = (tenantId) => { return request({ - url: '/api/blade-system/dept/tree', + url: '/api/ubcs-system/dept/tree', method: 'get', params: { tenantId, @@ -71,11 +73,10 @@ export const getDeptLazyTree = (parentId) => { return request({ - url: '/api/blade-system/dept/lazy-tree', + url: '/api/ubcs-system/dept/lazy-tree', method: 'get', params: { parentId } }) } - -- Gitblit v1.9.3