From 2630f037f5f9b9ae23df8ae60900b6b361e3528e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 14 七月 2023 15:58:04 +0800 Subject: [PATCH] 新增线索接口 --- src/views/overlay-clue/ClueLayout.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/overlay-clue/ClueLayout.vue b/src/views/overlay-clue/ClueLayout.vue index f2b8d46..d7e8821 100644 --- a/src/views/overlay-clue/ClueLayout.vue +++ b/src/views/overlay-clue/ClueLayout.vue @@ -40,9 +40,11 @@ * 鏌ヨ宸蹭笅鍙戠殑绾跨储娓呭崟 */ const getClues = function () { - const time = moment(updateTime.value).format('YYYY-MM-DD HH:mm:ss'); + const now = moment(updateTime.value); + const sTime = now.format('YYYY-MM-DD HH:mm:ss'); + const eTime = now.add(1, 'month'); onMapMounted(() => { - clueApi.getClues(time).then((res) => { + clueApi.getClue({ sTime, eTime }).then((res) => { clueList.value = res; }); }); @@ -51,7 +53,9 @@ /** * 閫夋嫨绾跨储浜嬩欢 */ -const selectClue = function (clue) {}; +const selectClue = function (clue) { + +}; </script> <style scoped> @@ -80,7 +84,6 @@ } .bg-content-1 { - } .search-wrap { -- Gitblit v1.9.3