From 821326d1b226296be9d52da98eeab6b0ca5a6d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sat, 26 Aug 2023 00:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/project/checkDetection.js | 44 +++ .../views/project/checkDetection/index.vue | 364 ++++++++++++++++++ .../src/views/project/surProject/index.vue | 34 +- .../src/views/project/videoConfig/index.vue | 148 +++++-- .../project/videoConfig/videoConfigDrawer.vue | 54 +-- .../SurProjectCheckDetectionController.java | 104 +++++ .../domain/SurProjectCheckDetection.java | 143 +++++++ .../project/domain/SurProjectVideoConfig.java | 20 +- .../SurProjectCheckDetectionMapper.java | 61 +++ .../ISurProjectCheckDetectionService.java | 61 +++ .../SurProjectCheckDetectionServiceImpl.java | 98 +++++ .../SurProjectVideoConfigServiceImpl.java | 7 + .../SurProjectCheckDetectionMapper.xml | 106 +++++ .../project/SurProjectVideoConfigMapper.xml | 10 +- 14 files changed, 1175 insertions(+), 79 deletions(-) create mode 100644 ruoyi-ui/src/api/project/checkDetection.js create mode 100644 ruoyi-ui/src/views/project/checkDetection/index.vue create mode 100644 yanzhu-jh/src/main/java/com/yanzhu/jh/project/controller/SurProjectCheckDetectionController.java create mode 100644 yanzhu-jh/src/main/java/com/yanzhu/jh/project/domain/SurProjectCheckDetection.java create mode 100644 yanzhu-jh/src/main/java/com/yanzhu/jh/project/mapper/SurProjectCheckDetectionMapper.java create mode 100644 yanzhu-jh/src/main/java/com/yanzhu/jh/project/service/ISurProjectCheckDetectionService.java create mode 100644 yanzhu-jh/src/main/java/com/yanzhu/jh/project/service/impl/SurProjectCheckDetectionServiceImpl.java create mode 100644 yanzhu-jh/src/main/resources/mapper/project/SurProjectCheckDetectionMapper.xml diff --git a/ruoyi-ui/src/api/project/checkDetection.js b/ruoyi-ui/src/api/project/checkDetection.js new file mode 100644 index 00000000..14bdd303 --- /dev/null +++ b/ruoyi-ui/src/api/project/checkDetection.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询材料送检列表 +export function listCheckDetection(query) { + return request({ + url: '/project/checkDetection/list', + method: 'get', + params: query + }) +} + +// 查询材料送检详细 +export function getCheckDetection(id) { + return request({ + url: '/project/checkDetection/' + id, + method: 'get' + }) +} + +// 新增材料送检 +export function addCheckDetection(data) { + return request({ + url: '/project/checkDetection', + method: 'post', + data: data + }) +} + +// 修改材料送检 +export function updateCheckDetection(data) { + return request({ + url: '/project/checkDetection', + method: 'put', + data: data + }) +} + +// 删除材料送检 +export function delCheckDetection(id) { + return request({ + url: '/project/checkDetection/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/views/project/checkDetection/index.vue b/ruoyi-ui/src/views/project/checkDetection/index.vue new file mode 100644 index 00000000..6701f6f6 --- /dev/null +++ b/ruoyi-ui/src/views/project/checkDetection/index.vue @@ -0,0 +1,364 @@ + + + diff --git a/ruoyi-ui/src/views/project/surProject/index.vue b/ruoyi-ui/src/views/project/surProject/index.vue index e9834e80..8510a4e7 100644 --- a/ruoyi-ui/src/views/project/surProject/index.vue +++ b/ruoyi-ui/src/views/project/surProject/index.vue @@ -446,6 +446,12 @@ v-hasPermi="['project:surProjectAttendance:add']" >今日出勤 + 视频配置
-
({{ form.longitude }},{{ form.latitude }})
- 选择经纬度 -
-
- - - +
({{ form.longitude }},{{ form.latitude }})
+ 选择经纬度 +
+
+ +
@@ -783,6 +793,7 @@ + @@ -810,6 +821,7 @@ import insuranceDrawer from "../surProjectInsurance/insuranceDrawer.vue"; import projectCheckingDrawer from "../projectChecking/projectCheckingDrawer.vue"; import materialSealDrawer from "../materialSeal/projectMaterialSealDrawer.vue"; import projectMeasureDrawer from "../projectMeasure/projectMeasureDrawer.vue"; +import videoConfigDrawer from "@/views/project/videoConfig/videoConfigDrawer"; import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数 export default { @@ -829,6 +841,7 @@ export default { projectCheckingDrawer, materialSealDrawer, projectMeasureDrawer, + videoConfigDrawer, }, dicts: [ "sys_check_state", @@ -1075,6 +1088,9 @@ export default { case "handleProjectMaterialSeal": this.$refs.materialSeal.show(row); break; + case "handVideoConfig": + this.$refs.videoConfig.show(row); + break; default: break; } @@ -1195,8 +1211,8 @@ export default { .prj-suprj-edit-dialog { .el-dialog__body { padding-bottom: 0px; - .fi-longitude{ - .el-form-item__content{ + .fi-longitude { + .el-form-item__content { display: flex; } } diff --git a/ruoyi-ui/src/views/project/videoConfig/index.vue b/ruoyi-ui/src/views/project/videoConfig/index.vue index abe70cdd..4c001642 100644 --- a/ruoyi-ui/src/views/project/videoConfig/index.vue +++ b/ruoyi-ui/src/views/project/videoConfig/index.vue @@ -11,19 +11,41 @@ - + + + + + + + + + 搜索 - - - - + + + + + - - - + + + + + + +