suerprisePlus
2024-07-01 f76b96c26b878840ecc80b79d1e28e477d5573e6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<template>
    <Popup ref="pop" top="20px" left="calc(100% - 600px)" :title="title" @close="close(true)" width="300px" :maxHeight="'700px'" @cancel="close(false)">
         <div class="menuBox">
            <el-form ref="form"   label-width="80px">
              <el-form-item label="线路:">
               
              </el-form-item>
              <el-form-item label="线路:">
          
              </el-form-item>
              <el-form-item>
                <el-button size="mini" >开始漫游</el-button>
                <el-button size="mini" >结束漫游</el-button>
              </el-form-item>
            </el-form>
         </div>
    </Popup>
</template>
 
<script>
import Popup from '@/components/Tool/Popup.vue';
import {
    zhangzitou_selectAllLine
} from '@/api/mapView/map.js'
export default {
    name: 'location',
    components: { Popup },
    data() {
        return {
            title: '线路漫游',
        };
    },
   
 
    methods: {
        // 关闭弹窗
        close(isCloseBtn, removeLayer = true) {
            //   removeLayer && this.removeImageLayer();
            // 重置data值
            Object.assign(this.$data, this.$options.data());
            !isCloseBtn && this.$refs.pop.close();
        },
        // 打开弹窗
        open() {
            this.close(true);
            this.$refs.pop.open();
            this.romaLineStart();
        },
        romaLineStart(){
            zhangzitou_selectAllLine({  
                limit: 100000,
                page: 1
            }).then((response)=>{
                console.log(response);
            })
        },
    },
};
</script>
 
<style></style>