diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/device/TowerCraneApiController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/device/TowerCraneApiController.java
index f4e4ed72..547d73a0 100644
--- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/device/TowerCraneApiController.java
+++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/device/TowerCraneApiController.java
@@ -27,6 +27,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import static com.yanzhu.manage.service.impl.DevTowerProjectConfigServiceImpl.YANZHU_DEVICE_TOWER;
+
/**
* 塔吊监测APIController
*
@@ -70,7 +72,7 @@ public class TowerCraneApiController {
@RateLimiter(count = 10, limitType = LimitType.IP)
@PostMapping("/v1/push")
public AjaxResult pushData(@Validated @RequestBody TowerReqVo req) {
- DevTowerProjectConfig config = redisService.getCacheObject(CacheConstants.YANZHU_DEVICE_TOWER+req.getContent().getDeviceKey());
+ DevTowerProjectConfig config = redisService.getCacheObject(YANZHU_DEVICE_TOWER+req.getContent().getDeviceKey());
if(config==null){
throw new ServiceException(HttpStatusEnum.DARA_EXCEPTION.getInfo(), HttpStatusEnum.DARA_EXCEPTION.getCode());
}
diff --git a/yanzhu-ui-vue3/src/api/device/towerDataRound.js b/yanzhu-ui-vue3/src/api/device/towerDataRound.js
new file mode 100644
index 00000000..3dcc4477
--- /dev/null
+++ b/yanzhu-ui-vue3/src/api/device/towerDataRound.js
@@ -0,0 +1,44 @@
+import request from "@/utils/request";
+
+// 查询塔机工作循环列表
+export function listTowerDataRound(query) {
+ return request({
+ url: "/manage/device/towerDataRound/list",
+ method: "get",
+ params: query,
+ });
+}
+
+// 查询塔机工作循环详细
+export function getTowerDataRound(id) {
+ return request({
+ url: "/manage/device/towerDataRound/" + id,
+ method: "get",
+ });
+}
+
+// 新增塔机工作循环
+export function addTowerDataRound(data) {
+ return request({
+ url: "/manage/device/towerDataRound",
+ method: "post",
+ data: data,
+ });
+}
+
+// 修改塔机工作循环
+export function updateTowerDataRound(data) {
+ return request({
+ url: "/manage/device/towerDataRound",
+ method: "put",
+ data: data,
+ });
+}
+
+// 删除塔机工作循环
+export function delTowerDataRound(id) {
+ return request({
+ url: "/manage/device/towerDataRound/" + id,
+ method: "delete",
+ });
+}
diff --git a/yanzhu-ui-vue3/src/views/device/towerDataRound/index.vue b/yanzhu-ui-vue3/src/views/device/towerDataRound/index.vue
index 5a728fc3..914960ce 100644
--- a/yanzhu-ui-vue3/src/views/device/towerDataRound/index.vue
+++ b/yanzhu-ui-vue3/src/views/device/towerDataRound/index.vue
@@ -1,13 +1,425 @@
- 222222
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}:{s}") }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+