diff --git a/bin/clean b/bin/clean new file mode 100755 index 00000000..2f3d3e51 --- /dev/null +++ b/bin/clean @@ -0,0 +1 @@ +mvn clean \ No newline at end of file diff --git a/bin/package b/bin/package new file mode 100755 index 00000000..502174cd --- /dev/null +++ b/bin/package @@ -0,0 +1 @@ +mvn clean package -Dmaven.test.skip=true \ No newline at end of file diff --git a/bin/run b/bin/run new file mode 100755 index 00000000..90073a82 --- /dev/null +++ b/bin/run @@ -0,0 +1,14 @@ +@echo off +echo. +echo [信息] 运行Web工程。 +echo. + +cd %~dp0 +cd ../ruoyi-admin/target + +set JAVA_OPTS=-Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m + +java -jar %JAVA_OPTS% ruoyi-admin.jar + +cd bin +pause \ No newline at end of file diff --git a/pom.xml b/pom.xml index 39d4ae71..56afc599 100644 --- a/pom.xml +++ b/pom.xml @@ -194,6 +194,12 @@ 3.4.0 + + org.projectlombok + lombok + true + 1.18.30 + diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index ff1d1eb4..79f4367d 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -49,12 +49,12 @@ spring: druid: # 涓诲簱鏁版嵁婧 master: - #url: jdbc:mysql://62.234.3.186:3306/yanzhu_jh?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 + password: Sxyanzhu@cf123 + #url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 #username: root - password: hadoopspring123 + #password: hadoopspring123 # 浠庡簱鏁版嵁婧 slave: # 浠庢暟鎹簮寮鍏/榛樿鍏抽棴 diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 8b4ecd2b..b5fa1f03 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -48,7 +48,7 @@ "dayjs": "^1.11.9", "diagram-js": "^11.4.1", "echarts": "5.4.0", - "element-ui": "^2.15.13", + "element-ui": "^2.15.14", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", diff --git a/ruoyi-ui/public/images/empty.svg b/ruoyi-ui/public/images/empty.svg new file mode 100644 index 00000000..05cf618b --- /dev/null +++ b/ruoyi-ui/public/images/empty.svg @@ -0,0 +1 @@ + diff --git a/ruoyi-ui/src/api/project/unitpay.js b/ruoyi-ui/src/api/project/unitpay.js new file mode 100644 index 00000000..4b3e779c --- /dev/null +++ b/ruoyi-ui/src/api/project/unitpay.js @@ -0,0 +1,81 @@ +import request from '@/utils/request' + +// 鏌ヨ鍔宠祫绠$悊鍒楄〃 +export function listUnitpay(query) { + return request({ + url: '/project/unitpay/list', + method: 'get', + params: 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 listByBetweenDay(query) { + return request({ + url: '/project/unitpay/listByBetweenDay', + method: 'get', + params: query + }) +} + + + +// 鎸変袱涓棩鏈熶箣闂寸殑鏃堕棿宸垎缁勭粺璁″伐璧 +export function listGroupBetweenDay(query) { + return request({ + url: '/project/unitpay/listGroupBetweenDay', + method: 'get', + params: query + }) +} + +// 鏌ヨ鍔宠祫绠$悊璇︾粏 +export function getUnitpay(id) { + return request({ + url: '/project/unitpay/' + id, + method: 'get' + }) +} + +// 鏂板鍔宠祫绠$悊 +export function addUnitpay(data) { + return request({ + url: '/project/unitpay', + method: 'post', + data: data + }) +} + +// 淇敼鍔宠祫绠$悊 +export function updateUnitpay(data) { + return request({ + url: '/project/unitpay', + method: 'put', + data: data + }) +} + +// 鍒犻櫎鍔宠祫绠$悊 +export function delUnitpay(id) { + return request({ + url: '/project/unitpay/' + id, + method: 'delete' + }) +} 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 @@