地图展示

cmt1.0
zhaoyu 2023-12-14 09:59:34 +08:00
parent 048168d82b
commit c59e4c1fdb
1 changed files with 22 additions and 0 deletions

View File

@ -178,12 +178,26 @@
<div class="ui-foot"> <div class="ui-foot">
<el-button icon="el-icon-arrow-left" @click="goBack"> </el-button> <el-button icon="el-icon-arrow-left" @click="goBack"> </el-button>
</div> </div>
<el-dialog :visible.sync="dialogFormMap" title="定位" width="1050px" class="dy-dialog">
<div id="map" />
<div slot="footer" class="dialog-footer">
<span>经度</span>
<el-input v-model="form.LONGITUDE" style="width: 200px" placeholder="请输入内容" disabled />
<span>纬度</span>
<el-input v-model="form.LATITUDE" style="width: 200px" placeholder="请输入内容" disabled />
<el-button @click="dialogFormMap = false"> </el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import { requestFN } from '@/utils/request' import { requestFN } from '@/utils/request'
import TiandiMap from '../../../../components/TianMap/TiandiMap'
export default { export default {
components: { TiandiMap },
data() { data() {
return { return {
pd: { pd: {
@ -241,6 +255,14 @@ export default {
value: 'id', value: 'id',
children: 'nodes', children: 'nodes',
label: 'name' label: 'name'
},
//
map: null,
marker: null,
dialogFormMap: false,
form: {
LONGITUDE: '',
LATITUDE: ''
} }
} }
}, },