diff --git a/src/api/modules/goverment.ts b/src/api/modules/goverment.ts index 6aab255..8eb9dbf 100644 --- a/src/api/modules/goverment.ts +++ b/src/api/modules/goverment.ts @@ -376,3 +376,35 @@ export const getEngineerInfo = (params: { id: string }) => { export const getProjectInfo = (params: { id: string }) => { return http.post(BASEURL + `/gov/project/queryById`, params); }; + +//无人机影像数据列表 +// 分页列表查询无人机影像项目信息 +export const getUnmannedProjectPage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedVideo/projectPage`, params); +}; + +// 分页列表查询无人机影像工程信息 +export const getUnmannedEngineeringPage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedVideo/engineeringPage`, params); +}; + +// 分页列表查询无人机影像数据列表 +export const getUnmannedPage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedVideo/page`, params); +}; + +//无人机影像设备列表 +// 分页列表查询无人机影像项目信息 +export const getDeviceProjectPage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedDevice/projectPage`, params); +}; + +// 分页列表查询无人机影像工程信息 +export const getDeviceEngineeringPage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedDevice/engineeringPage`, params); +}; + +// 分页列表查询无人机影像数据列表 +export const getDevicePage = (params: {}) => { + return http.post(BASEURL + `/gov/unmannedDevice/page`, params); +}; diff --git a/src/assets/images/unmannedVideo/video.png b/src/assets/images/unmannedVideo/video.png new file mode 100644 index 0000000..cff896f Binary files /dev/null and b/src/assets/images/unmannedVideo/video.png differ diff --git a/src/views/goverment/unmannedVideo/accessSituation/index.scss b/src/views/goverment/unmannedVideo/accessSituation/index.scss new file mode 100644 index 0000000..386c623 --- /dev/null +++ b/src/views/goverment/unmannedVideo/accessSituation/index.scss @@ -0,0 +1,176 @@ +.warning-page { + // background-color: blue; + display: flex; + width: 100%; + height: 100%; + .right_container { + display: flex; + flex-direction: column; + width: 83%; + + // margin-left: 20px; + padding: 0 0 0 20px; + .form_div { + height: 56px; + background-color: #ffffff; + border-radius: 8px; + } + .form { + padding: 16px 0 0 36px; + + // height: 56px; + background-color: #ffffff; + border-radius: 8px; + } + .imgPage { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + width: 100%; + padding: 20px 10px 20px 20px; + margin-top: 20px; + overflow-y: scroll; + background-color: #ffffff; + border-radius: 8px; + .imgTable { + display: flex; + flex: 1; + flex-wrap: wrap; + justify-content: flex-start; + width: 100%; + .img_item { + width: 23.1%; + height: 244px; + margin: 10px; + cursor: pointer; + border: 1px solid #dedddd; + border-radius: 4px; + opacity: 1; + .page_text { + padding: 0 10px; + .img_bottom { + display: flex; + justify-content: space-between; + font-size: 12px; + color: #333333; + .position { + width: 97px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + } + } + } + } + .table-empty { + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + justify-content: center; + color: #999999; + } + .pagination { + display: flex; + align-items: center; + justify-content: center; + margin-top: 20px; + } + } + } +} +:deep(.el-scrollbar__view) { + width: 100%; + height: 100%; + + // display: flex; + // flex-wrap: wrap; +} +.img_title { + margin: 0 0 4px; + font-family: "siyuan_Medium"; + font-size: 14px; + color: #00378f; +} +.img_div { + overflow: auto; + .diaImg { + width: 100%; + height: 500px; + } +} +.img_diatitle { + font-family: "siyuan_Medium"; + font-size: 14px; + color: #00378f; +} +.img_text { + font-size: 12px; + color: #333333; + + // background-clip: text; + // fill-color: transparent; +} +.pending { + width: 6px; + height: 6px; + margin-right: 6px; + background-color: #f08117; + border-radius: 50%; +} +.complete { + width: 6px; + height: 6px; + margin-right: 6px; + background-color: #008bff; + border-radius: 50%; +} + +// 处理中 +.processing { + width: 6px; + height: 6px; + margin-right: 6px; + background-color: #19ac18; + border-radius: 50%; +} +.leftMenu { + // width: 290px; + // 页面的项目工程 + .leftProject { + // padding: 5px 8px; + color: #333333; + .projectName { + display: block; + width: 100%; + overflow: hidden; + + // font-weight: 700; + font-family: "siyuan_Medium"; + font-size: 16px; + text-overflow: ellipsis; + white-space: nowrap; + } + .leftMenu_item { + display: flex; + justify-content: space-between; + .middleSize { + font-size: 12px; + } + img { + margin: 0 4px; + } + } + .bottom_item { + .bottomSize { + font-size: 10px; + color: #666666; + } + } + } +} +:deep(.el-form .el-form-item__content .el-range-editor) { + width: 200px; +} diff --git a/src/views/goverment/unmannedVideo/accessSituation/index.vue b/src/views/goverment/unmannedVideo/accessSituation/index.vue new file mode 100644 index 0000000..06456be --- /dev/null +++ b/src/views/goverment/unmannedVideo/accessSituation/index.vue @@ -0,0 +1,444 @@ + + + + + + {{ + (data as ResAiProjectPage).projectName || (data as ResAiEngineerPage).engineeringName + }} + + + + 影像视频数:{{ data.videoNum }} + + + + + + + + + + + + + + + + + + + 查询 + + + 刷新 + + + + + + + + + + {{ item.title }} + + 时间:{{ item.createTime }} + + + + + + + 暂无数据 + + + + + + + + + + + + + + + + {{ imgList.typeName }} + 位置:{{ imgList.deviceName }} + 时间:{{ imgList.reportTime }} + + + {{ imgList.state === -1 ? "待处理" : "已处理" }} + + + 创建隐患记录 + + + + + + + + + + + + diff --git a/src/views/goverment/unmannedVideo/alarmRecord/index.scss b/src/views/goverment/unmannedVideo/alarmRecord/index.scss new file mode 100644 index 0000000..37b8de1 --- /dev/null +++ b/src/views/goverment/unmannedVideo/alarmRecord/index.scss @@ -0,0 +1,130 @@ +.warning-page { + // background-color: blue; + display: flex; + width: 100%; + height: 100%; + .right_container { + display: flex; + flex-direction: column; + width: 83%; + + // margin-left: 20px; + padding: 0 0 0 20px; + + // padding: 0 13% 0 20px; + // background-color: aqua; + .form_div { + height: 56px; + background-color: #ffffff; + border-radius: 8px; + + // display: flex; + // // justify-content: center; + // align-items: center; + } + .form { + padding: 16px 0 0 36px; + + // height: 56px; + background-color: #ffffff; + } + .imgPage { + box-sizing: border-box; + display: flex; + flex: 1; + flex-wrap: wrap; + padding: 20px; + margin-top: 20px; + background-color: #ffffff; + border-radius: 8px; + .img_item { + width: 31.3%; + + // height: 26%; + // padding: 10px; + margin: 10px; + border: 1px solid #dedddd; + border-radius: 4px; + opacity: 1; + .page_text { + padding: 8px 16px; + } + } + } + } +} +.diaForm { + padding: 0 10% 0 0; +} +.img_title { + margin: 0 0 4px; + font-family: "siyuan_Medium"; + font-size: 14px; + color: #00378f; +} +.img_diatitle { + font-family: "siyuan_Medium"; + font-size: 14px; + color: #00378f; +} +.img_text { + font-size: 12px; + color: #333333; + + // background-clip: text; + // fill-color: transparent; +} +.pending { + width: 6px; + height: 6px; + margin-right: 6px; + background-color: #f08117; + border-radius: 50%; +} +.complete { + width: 6px; + height: 6px; + margin-right: 6px; + background-color: #008bff; + border-radius: 50%; +} + +// 页面的项目工程 +.leftProject { + color: #333333; + .projectName { + display: block; + width: 100%; + overflow: hidden; + + // font-weight: 700; + font-family: "siyuan_Medium"; + font-size: 16px; + text-overflow: ellipsis; + white-space: nowrap; + } + .leftMenu_item { + display: flex; + justify-content: space-between; + .middleSize { + font-size: 12px; + } + img { + margin: 0 4px; + } + } + .bottom_item { + .bottomSize { + font-size: 10px; + color: #666666; + } + } +} +:deep(.el-form .el-form-item__content .el-range-editor) { + width: 200px; +} + +// 没生效 +// :deep(.el-dialog__body) { +// padding: 0 !important; +// } diff --git a/src/views/goverment/unmannedVideo/alarmRecord/index.vue b/src/views/goverment/unmannedVideo/alarmRecord/index.vue new file mode 100644 index 0000000..857cf78 --- /dev/null +++ b/src/views/goverment/unmannedVideo/alarmRecord/index.vue @@ -0,0 +1,328 @@ + + + + + + + + {{ + (data as ResAiProjectPage).projectName || (data as ResAiEngineerPage).engineeringName + }} + + + + 接入无人机总数:{{ data.videoNum }} + + + + + + + + + + + + + + + 查询 + + + 刷新 + + + + + + + + + + {{ row.state === 0 ? "待整改" : "已整改" }} + + + + + 抓拍隐患 + + + + + + + + + + + + + + + + + + + + + + + + + 整改情况 + + + 待整改 + 已整改 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +