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 @@