From ecbfc91fec3ade44eb8aa11fece6e2b139346bf2 Mon Sep 17 00:00:00 2001 From: Jruome <2559028966@qq.com> Date: Fri, 9 Jun 2023 16:50:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=20=E6=89=80?= =?UTF-8?q?=E6=9C=89=E6=8E=A8=E5=B9=BF=E5=91=98=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/api/member/promoter.js | 18 + yudao-ui-admin/src/api/system/dept.js | 8 + .../src/views/member/allpromoter/index.vue | 519 ++++++++++++++++++ yudao-ui-admin/src/views/socialLogin.vue | 2 +- yudao-ui-app/pages/member_equity/index.vue | 2 +- 5 files changed, 547 insertions(+), 2 deletions(-) create mode 100644 yudao-ui-admin/src/views/member/allpromoter/index.vue diff --git a/yudao-ui-admin/src/api/member/promoter.js b/yudao-ui-admin/src/api/member/promoter.js index cb03f16a5..cff9c19c2 100644 --- a/yudao-ui-admin/src/api/member/promoter.js +++ b/yudao-ui-admin/src/api/member/promoter.js @@ -17,6 +17,15 @@ export function updatePromoter(data) { }) } +// 更新全部推广员 +export function tenantIgnoreUpdate(data) { + return request({ + url: '/member/promoter/tenantIgnoreUpdate', + method: 'put', + data: data + }) +} + export function updatePassword(data) { return request({ url: 'member/user/update-password', @@ -41,6 +50,15 @@ export function getPromoter(id) { }) } +// 获得全部推广员分页 +export function getallPage(query) { + return request({ + url: '/member/promoter/allPage', + method: 'get', + params: query + }) +} + // 获得推广员分页 export function getPromoterPage(query) { return request({ diff --git a/yudao-ui-admin/src/api/system/dept.js b/yudao-ui-admin/src/api/system/dept.js index 4aa6dc095..c4b5b45b9 100644 --- a/yudao-ui-admin/src/api/system/dept.js +++ b/yudao-ui-admin/src/api/system/dept.js @@ -34,6 +34,14 @@ export function getDept(deptId) { }) } +// 获取全部部门精简信息列表 +export function getDeptListAll() { + return request({ + url: '/system/dept/list-all', + method: 'get' + }) +} + // 获取部门精简信息列表 export function listSimpleDepts() { return request({ diff --git a/yudao-ui-admin/src/views/member/allpromoter/index.vue b/yudao-ui-admin/src/views/member/allpromoter/index.vue new file mode 100644 index 000000000..76604a665 --- /dev/null +++ b/yudao-ui-admin/src/views/member/allpromoter/index.vue @@ -0,0 +1,519 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + 新增 + + + + 导入 + + + + 导出 + + + + + + + + + + + + {{scope.row.sourceType == "1"?'后台注册':'扫码注册'}} + + + + + + + + + + + + 修改 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 将文件拖到此处,或点击上传 + + + + + 仅允许导入xls、xlsx格式文件。 + 下载模板 + + + + + + + + + + + + + + + + + + + + + diff --git a/yudao-ui-admin/src/views/socialLogin.vue b/yudao-ui-admin/src/views/socialLogin.vue index 9364cada4..d35e4e627 100644 --- a/yudao-ui-admin/src/views/socialLogin.vue +++ b/yudao-ui-admin/src/views/socialLogin.vue @@ -84,7 +84,7 @@ export default { loginForm: { loginType: "uname", username: "admin", - password: "admin123", + password: "cyywl20220606.", rememberMe: false, captchaVerification: "", }, diff --git a/yudao-ui-app/pages/member_equity/index.vue b/yudao-ui-app/pages/member_equity/index.vue index e73f92899..fc6c9c6fb 100644 --- a/yudao-ui-app/pages/member_equity/index.vue +++ b/yudao-ui-app/pages/member_equity/index.vue @@ -56,7 +56,7 @@ 返费结束时间 - {{item.startTime}} + {{item.endTime}}