Browse Source

逻辑优化

master
whyzxhnd 2 days ago
parent
commit
6436dcdd85
  1. 2
      web/src/components/Lock/DetailPointModal.vue
  2. 0
      web/src/components/Lock/LockPointNode.vue
  3. 0
      web/src/components/Lock/LockPointNodeAdapter.ts
  4. 15
      web/src/components/Map/index.vue
  5. 2
      web/src/views/lock/isolation/plan/PlanForm.vue

2
web/src/components/Lock/DetailPointModal.vue

@ -78,7 +78,7 @@ import { PlanItemDetail } from '@/api/isolation/planitemdetail'
import { DICT_TYPE } from '@/utils/dict'
import { Lock } from '@/api/electron/lock'
import { PlanItem } from '@/api/isolation/planitem'
import LockPointNodeAdapter from '@/components/LogicFlow/LockPointNodeAdapter'
import LockPointNodeAdapter from './LockPointNodeAdapter'
defineOptions({ name: 'DetaiPointModal' })
const elLockStore = useElLockStore()

0
web/src/components/LogicFlow/LockPointNode.vue → web/src/components/Lock/LockPointNode.vue

0
web/src/components/LogicFlow/LockPointNodeAdapter.ts → web/src/components/Lock/LockPointNodeAdapter.ts

15
web/src/components/Map/index.vue

@ -0,0 +1,15 @@
<template>
<div class="map-container"></div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const map = ref(null)
</script>
<style scoped>
.map-container {
min-width: 300px;
width: 100%;
height: 100%;
}
</style>

2
web/src/views/lock/isolation/plan/PlanForm.vue

@ -348,7 +348,7 @@ import { Document, Lock, Unlock } from '@element-plus/icons-vue'
import dayjs from 'dayjs'
import LogicFlow from '@logicflow/core'
import '@logicflow/core/lib/style/index.css'
import LockPointNodeAdapter from '@/components/LogicFlow/LockPointNodeAdapter'
import LockPointNodeAdapter from '@/components/Lock/LockPointNodeAdapter'
import { useAppStore } from '@/store/modules/app'
//
interface PlanItem {

Loading…
Cancel
Save