forked from drone/command-center-dashboard

chenyao
2025-04-21 cc52bebcc678101a3bc9fa99be344a18461ce2fa
feat;从master合并至test分支
3 files modified
6 ■■■■ changed files
src/store/modules/home.js 1 ●●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineLeft/MachineData.vue 2 ●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineLeft/MachineLeft.vue 3 ●●●● patch | view | raw | blame | history
src/store/modules/home.js
@@ -77,7 +77,6 @@
      window.localStorage.setItem('bs_workspace_id', id)
    },
    setOsdVisibleInfo: (state, info) => {
      console.log('存储',info)
      state.osdVisible = Object.assign({}, info)
      window.localStorage.setItem('bs_osd', JSON.stringify(info))
    },
src/views/SignMachineNest/MachineLeft/MachineData.vue
@@ -33,7 +33,7 @@
  (newValue) => {
    if (!newValue) return;
    statisticsList.value = [
      { imgurl: rwcs, num: newValue.fly_count || 0, text: '任务次数(次)' },
      { imgurl: rwcs, num: newValue.task_num || 0, text: '任务次数(次)' },
      { imgurl: sjs, num: newValue.event_count || 0, text: '事件数(件)' },
      { imgurl: jscb, num: newValue.total_cost_saved || 0, text: '节省成本(万元)' },
      { imgurl: rwcg, num: newValue.achievement_count || 0, text: '任务成果(个)' },
src/views/SignMachineNest/MachineLeft/MachineLeft.vue
@@ -24,7 +24,8 @@
const goBack = () => {
  store.commit('setSingleUavHome', {});
    store.commit('setFootActiveIndex', 0)
    store.commit('setFootActiveIndex', 0);
  store.commit('setOsdVisibleInfo', {});
};
</script>