From ddf8ffb4188c4abfff4e8862916454386e9a33ca Mon Sep 17 00:00:00 2001 From: lijun Date: Wed, 13 Nov 2024 22:08:39 +0800 Subject: [PATCH] =?UTF-8?q?update=20code=20=E5=A2=9E=E5=8A=A0=E5=8A=B3?= =?UTF-8?q?=E5=8A=A1=E5=B7=A5=E8=B5=84=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-druid.yml | 2 +- ruoyi-ui/src/api/project/unitpay.js | 18 +++ ruoyi-ui/src/assets/styles/ruoyi.scss | 4 +- .../src/views/project/surProject/index.vue | 12 +- .../surProjectAttendance/attendanceDrawer.vue | 72 +++------ ruoyi-ui/src/views/project/unitpay/dayPay.vue | 141 +++++++++++++++++ ruoyi-ui/src/views/project/unitpay/index.vue | 127 ++++----------- .../src/views/project/unitpay/monthPay.vue | 146 ++++++++++++++++++ .../src/views/project/unitpay/paySetting.vue | 89 +++++++++++ .../views/project/unitpay/unitpayDrawer.vue | 90 +++++++++++ ...SurProjectAttendanceUnitpayController.java | 77 ++++++++- .../domain/SurProjectAttendanceData.java | 36 +++++ .../domain/SurProjectAttendanceUnitpay.java | 10 ++ .../SurProjectAttendanceDataMapper.java | 4 + .../SurProjectAttendanceUnitpayMapper.java | 2 + .../ISurProjectAttendanceDataService.java | 4 + .../ISurProjectAttendanceUnitpayService.java | 8 + .../SurProjectAttendanceDataServiceImpl.java | 10 ++ ...urProjectAttendanceUnitpayServiceImpl.java | 52 +++++++ .../SurProjectAttendanceDataMapper.xml | 63 +++++++- .../SurProjectAttendanceUnitpayMapper.xml | 11 +- yarn.lock | 4 + 22 files changed, 813 insertions(+), 169 deletions(-) create mode 100644 ruoyi-ui/src/views/project/unitpay/dayPay.vue create mode 100644 ruoyi-ui/src/views/project/unitpay/monthPay.vue create mode 100644 ruoyi-ui/src/views/project/unitpay/paySetting.vue create mode 100644 ruoyi-ui/src/views/project/unitpay/unitpayDrawer.vue create mode 100644 yarn.lock diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 0406b88e..79f4367d 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -49,7 +49,7 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://62.234.3.186:3306/yanzhu_jh_test?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + url: jdbc:mysql://62.234.3.186:3306/yanzhu_jh_2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 username: root password: Sxyanzhu@cf123 #url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 diff --git a/ruoyi-ui/src/api/project/unitpay.js b/ruoyi-ui/src/api/project/unitpay.js index b0e90fcb..8a42972b 100644 --- a/ruoyi-ui/src/api/project/unitpay.js +++ b/ruoyi-ui/src/api/project/unitpay.js @@ -9,6 +9,24 @@ export function listUnitpay(query) { }) } +// 查询劳资管理列表 +export function listByDay(query) { + return request({ + url: '/project/unitpay/listByDay', + method: 'get', + params: query + }) +} + +// 查询劳资管理列表 +export function listByMonth(query) { + return request({ + url: '/project/unitpay/listByMonth', + method: 'get', + params: query + }) +} + // 查询劳资管理详细 export function getUnitpay(id) { return request({ diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss index f7d01880..24d01ea6 100644 --- a/ruoyi-ui/src/assets/styles/ruoyi.scss +++ b/ruoyi-ui/src/assets/styles/ruoyi.scss @@ -104,7 +104,7 @@ /** 表格布局 **/ .pagination-container { position: relative; - height: 25px; + height: 40px; margin-bottom: 10px; margin-top: 15px; padding: 10px 20px !important; @@ -294,4 +294,4 @@ line-height: 20px; font-size: 13px; background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_345B9059DAD1492EB37EC4814EB340F0.png") no-repeat center/100% 100%; - } \ No newline at end of file + } diff --git a/ruoyi-ui/src/views/project/surProject/index.vue b/ruoyi-ui/src/views/project/surProject/index.vue index 3bda782f..881d77ba 100644 --- a/ruoyi-ui/src/views/project/surProject/index.vue +++ b/ruoyi-ui/src/views/project/surProject/index.vue @@ -78,7 +78,7 @@ - @@ -433,6 +436,7 @@ import aiBoxVideoConfigDrawer from '@/views/video/aiBoxProjectConfig/aiBoxVideoC import prjPhotographyDrawer from '@/views/video/prjphotography/prjPhotographyDrawer.vue' import projectDesignDrawer from '@/views/project/projectDesign/projectDesignDrawer.vue'; import CommitteeDrawer from '@/views/project/projectCommittee/projectCommitteeDrawer.vue' +import UnitPayDrawer from '@/views/project/unitpay/unitpayDrawer.vue'; import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数 import pitImageDrawer from '@/views/device/pitSurveyPoint/pitImageDrawer.vue' @@ -461,7 +465,8 @@ export default { prjPhotographyDrawer, projectDesignDrawer, CommitteeDrawer, - pitImageDrawer + pitImageDrawer, + UnitPayDrawer }, dicts: [ "sur_project_xmjd", @@ -732,6 +737,9 @@ export default { case "handlePitImage": this.$refs.pigImgDrawer.show(row); break; + case "handleUnitPay": + this.$refs.unitPayDrawer.show(row); + break; default: break; } diff --git a/ruoyi-ui/src/views/project/surProjectAttendance/attendanceDrawer.vue b/ruoyi-ui/src/views/project/surProjectAttendance/attendanceDrawer.vue index 5e2b2ff8..7bdba6d8 100644 --- a/ruoyi-ui/src/views/project/surProjectAttendance/attendanceDrawer.vue +++ b/ruoyi-ui/src/views/project/surProjectAttendance/attendanceDrawer.vue @@ -1,81 +1,45 @@