diff --git a/public/favicon.ico b/public/favicon.ico index 1b1cddb..76e4ef4 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/system/dashboard.js b/src/api/system/dashboard.js index 2b1dcc5..9065fb1 100644 --- a/src/api/system/dashboard.js +++ b/src/api/system/dashboard.js @@ -36,4 +36,12 @@ export function getTodoList() { }) } +// 分成月报表 +export function bonusMonthAmount(query) { + return request({ + url: '/system/dashboard/bonusMonthAmount', + method: 'get', + params: query + }) +} diff --git a/src/assets/logo/logo.png b/src/assets/logo/logo.png index f0698f4..96b8510 100644 Binary files a/src/assets/logo/logo.png and b/src/assets/logo/logo.png differ diff --git a/src/components/Business/Dept/DeptTreeSelect.vue b/src/components/Business/Dept/DeptTreeSelect.vue index 82fb2ef..772c6e6 100644 --- a/src/components/Business/Dept/DeptTreeSelect.vue +++ b/src/components/Business/Dept/DeptTreeSelect.vue @@ -12,6 +12,7 @@ import {listDept} from "@/api/system/dept"; import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; +import { isDeepEqual } from '@/utils' export default { name: "DeptTreeSelect", @@ -38,7 +39,9 @@ export default { }, set(val) { this.$emit('input', val); - this.$emit('change', val); + if (!isDeepEqual(val, this.value)) { + this.$emit('change', val); + } } } }, diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index a6b5664..5b7c546 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -72,6 +72,7 @@ export default { height: 32px; vertical-align: middle; margin-right: 12px; + border-radius: 16px; } & .sidebar-title { diff --git a/src/utils/constants.js b/src/utils/constants.js index 71f5e6e..992d527 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -125,3 +125,20 @@ export const RecordBalanceSubjectType = { USER: "1", // 用户 DEPT: "2", // 运营商 } + +export const BonusArrivalType = { + PLATFORM: "1", // 平台 + COMPANY: "2", // 公司 + DISTRIBUTOR: "3", // 分销商 + SALESMAN: "4", // 业务员 + INVESTOR: "5", // 投资人 + STORE: "6", // 经营场所 + // 用户表 + userList() { + return [this.DISTRIBUTOR, this.SALESMAN, this.INVESTOR, this.STORE] + }, + // 部门表 + deptList() { + return [this.COMPANY, this.PLATFORM] + } +} diff --git a/src/views/system/smUser/components/userRechargeReport.vue b/src/views/system/smUser/components/userRechargeReport.vue index 6948c16..8607ad0 100644 --- a/src/views/system/smUser/components/userRechargeReport.vue +++ b/src/views/system/smUser/components/userRechargeReport.vue @@ -1,9 +1,9 @@