From 9e9435a15d12e364d0a910434de0568e11bb273c Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 03 八月 2023 17:08:05 +0800 Subject: [PATCH] 1、处理lastr","firstr","lastv","firstv"字段在数据创建时为整形问题。 2、处理属性分组设置了一个属性,且配置表单中不显示。那么页面的表单应该不显示此分组。 --- Source/UBCS-WEB/src/api/system/dept.js | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/dept.js b/Source/UBCS-WEB/src/api/system/dept.js index af5c6e7..9f41441 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,7 +73,7 @@ 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