feat:部门交易记录

This commit is contained in:
dzc committed 2025-01-23 13:12:18 +08:00
1 parent a264f8abff
commit abdaa1a557
4 files changed
+142 -8

No files matched your search

+3 -5
View File
@@ -112,15 +112,13 @@ export const resetUserPassword = (userInfo: object) => {
}
export function validateUsername(rule: any, value: any, callback: any, isEdit: boolean) {
if (isEdit) {
return callback()
}
const flag = new RegExp(/^([a-z\d]+?)$/).test(value)
if (!flag) {
callback(new Error("用户名支持小写英文、数字"))
}
if (isEdit) {
return callback()
}
getDetails({ username: value }).then((response) => {
const result = response.data
if (result !== null) {
+8
View File
@@ -1,5 +1,13 @@
import request from "/@/utils/request"
export function pageListDept(query?: Object) {
return request({
url: "/hard/hard-total/page-list-dept",
method: "get",
params: query,
})
}
export function pageListSb(query?: Object) {
return request({
url: "/hard/hard-total/page-list-sb",