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>