From b600d44f7351435a626f5b7b086d1258e9e751d2 Mon Sep 17 00:00:00 2001 From: ds Date: Sat, 16 Nov 2024 10:44:58 +0800 Subject: [PATCH] 11.16 --- .../src/layout/components/Navbar.vue | 5 +++- fuintAdmin_zt/src/router/index.js | 5 ++++ fuintAdmin_zt/src/views/Site/add.vue | 7 ++++- .../yunyingfenxi/tab/int.vue | 8 ++--- .../src/views/homeComponents/agent.vue | 30 ++++++++++++++++++- .../mapper/xml/IntegralOrdersMapper.xml | 10 +++---- .../integral/vo/IntegralOrdersVO.java | 4 ++- .../fuint/business/order/entity/LJOrder.java | 2 ++ .../order/mapper/xml/LJOrderMapper.xml | 27 +++++++++-------- .../order/mapper/xml/OilOrderMapper.xml | 6 ++-- .../service/impl/LJOrderServiceImpl.java | 2 -- .../service/impl/UserBalanceServiceImpl.java | 14 ++++++++- 12 files changed, 88 insertions(+), 32 deletions(-) diff --git a/fuintAdmin_zt/src/layout/components/Navbar.vue b/fuintAdmin_zt/src/layout/components/Navbar.vue index 730092a45..93de101a3 100644 --- a/fuintAdmin_zt/src/layout/components/Navbar.vue +++ b/fuintAdmin_zt/src/layout/components/Navbar.vue @@ -17,7 +17,7 @@
-
通知中心
+
通知中心
@@ -154,6 +154,9 @@ export default { } }, methods: { + goRoute(){ + this.$router.push("/notify") + }, handleClose(done) { this.$confirm('确认关闭?') .then(_ => { diff --git a/fuintAdmin_zt/src/router/index.js b/fuintAdmin_zt/src/router/index.js index d5cee9205..3e0137e6d 100644 --- a/fuintAdmin_zt/src/router/index.js +++ b/fuintAdmin_zt/src/router/index.js @@ -118,6 +118,11 @@ export const constantRoutes = [ name: 'notify', component: () => import('@/views/notificationList/index') }, + { + path: '/role', + name: 'role', + component: () => import('@/views/Site/index'), + }, ] } ] diff --git a/fuintAdmin_zt/src/views/Site/add.vue b/fuintAdmin_zt/src/views/Site/add.vue index 1f3f39df0..00718d176 100644 --- a/fuintAdmin_zt/src/views/Site/add.vue +++ b/fuintAdmin_zt/src/views/Site/add.vue @@ -52,7 +52,12 @@ export default { }, methods: { goback(){ - this.$router.go(-1) + this.$router.push({ + name: 'role', + query: { + activeName: 'duty' + } + }) }, // 查询菜单树结构 getMenuTreeselect() { diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue index 3d3f2c56b..936d913c6 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue @@ -65,11 +65,7 @@ style="width: 100%"> - - - + @@ -77,7 +73,7 @@ - + diff --git a/fuintAdmin_zt/src/views/homeComponents/agent.vue b/fuintAdmin_zt/src/views/homeComponents/agent.vue index 6d9d24b18..4496cf9b2 100644 --- a/fuintAdmin_zt/src/views/homeComponents/agent.vue +++ b/fuintAdmin_zt/src/views/homeComponents/agent.vue @@ -51,7 +51,8 @@
数据看板
-
近一周
+
近一周
+
自定义
@@ -203,6 +205,7 @@ export default { ], timeIndex:0, disabled:true, + isDisabled:true, options: [{ value: '选项1', label: '黄金糕' @@ -264,6 +267,9 @@ export default { // this.initChart() }, methods:{ + customize(){ + this.isDisabled = false; + }, goRoute(){ this.$router.push("/notify") }, @@ -355,6 +361,16 @@ export default { this.initChart() }) }, + getStoreAmount1(){ + this.isDisabled = true; + let nowDate = new Date(); + let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000) + this.value1 = [parseTime(oneWeekAgo),parseTime(nowDate)] + storeAmountIndex1(this.addDateRange(this.queryParams,this.value1)).then(res => { + this.storeAmount = res.data + this.initChart() + }) + }, countPercentage(upNum,downNum){ let percentage = 0; percentage = (upNum / downNum)*100 @@ -884,6 +900,18 @@ export default { color: #777777; margin-right: 20px; } +.anniu-h1{ + width: 80px; + height: 26px; + background: #FAFAFA; + border-radius: 4px 4px 4px 4px; + border: 1px solid #DDDDDD; + display: flex; + align-items: center; + justify-content: center; + color: #777777; + margin-right: 20px; +} .anniu-act{ background: #FF9655 !important; border: 1px solid #FF9655 !important; diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/mapper/xml/IntegralOrdersMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/mapper/xml/IntegralOrdersMapper.xml index 7cc2d4ee4..984bb1de6 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/mapper/xml/IntegralOrdersMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/mapper/xml/IntegralOrdersMapper.xml @@ -693,7 +693,7 @@