Commit 7b19e994 authored by Your Name's avatar Your Name

地图不见、机构管理

parent 6904ac15
......@@ -50,7 +50,7 @@
</el-form-item>
</el-form>
<div class="page-tip">
<span class="page-tip-title">页面说明:</span>
<span class="page-tip-title" style='width:80px'>页面说明:</span>
<span class="page-tips">可通过展板名称、创建时间对展板信息进行快速检索。可对展板进行上架、下架、删除、修改及查看展板详情等操作。已上架展板需先下架才能删除。</span>
</div>
</div>
......
......@@ -343,7 +343,7 @@ export default {
// 删除
handleDelete(row) {
let _this = this;
this.$confirm("此操作将永久删除, 是否继续?", "提示", {
this.$confirm("此操作将永久删除, 是否继续?", "提示",{
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
......
<template>
<div class="map-box">
<div id="map-box">
<span id="back" v-if="parentInfo.length !== 1" @click="handleBack()"
>返回</span
>
......@@ -118,14 +118,15 @@ export default {
map: this.parentInfo.length === 1 ? "china" : "map",
roam: !1,
roam: true, //是否开启平游或缩放
scaleLimit: {
//滚轮缩放的极限控制
min: 1
},
// scaleLimit: {
// //滚轮缩放的极限控制
// min: 1
// },
zoom: 1.1,
top: 100,
left: "20%",
top: 110,
bottom:0,
left: "24%",
label: {
normal: {
show: !0,
......@@ -159,6 +160,10 @@ export default {
},
},
},
emphasis: {
// color: "#ffffff",
show: true,
},
itemStyle: {
normal: {
borderColor: "rgba(0, 0, 0, 0.2)",
......@@ -195,7 +200,7 @@ export default {
],
};
let echartsDiv = this.$echarts.init(document.getElementById("mapDiv"));
echartsDiv.setOption(option);
echartsDiv.setOption(option, true);
echartsDiv.on("click", this.echartsMapClick);
},
handleBack() {
......@@ -262,7 +267,7 @@ export default {
</script>
<style lang="less">
.map-box {
#map-box {
width: 100%;
height: 100%;
#back {
......
......@@ -112,7 +112,7 @@ export default {
},
},
},
mounted() {
created() {
getAreas().then((res) => {
this.areaOptions = res;
});
......
......@@ -205,6 +205,7 @@ export default {
//导入
handleImport() {},
handleEdit() {
this.getInfoById()
this.$refs.orgEdit.dialogVisible = true;
},
downLoad() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment