From 08413f10a9b4833d0a00a3ee2a3ce629acc7bdd8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 11 Mar 2021 16:14:32 +0800
Subject: [PATCH] 修改巡逻样式
---
src/views/security/security.vue | 45 +++++++++++++++++----------------------------
1 files changed, 17 insertions(+), 28 deletions(-)
diff --git a/src/views/security/security.vue b/src/views/security/security.vue
index ff5efda..e292a64 100644
--- a/src/views/security/security.vue
+++ b/src/views/security/security.vue
@@ -27,34 +27,23 @@
@click="handleDelete">删 除
</el-button>
</template>
- <template slot="menuLeft">
- <el-button
- type="danger"
- size="small"
- icon="el-icon-delete"
- plain
- v-if="permission.real_delete"
- @click="handleDelete"
- >删 除
- </el-button>
- </template>
- <template slot-scope="{ row }" slot="jtype">
- <el-tag>{{
- row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无"
- }}
- </el-tag>
- </template>
+ <template slot-scope="{ row }" slot="jtype">
+ <el-tag>{{
+ row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无"
+ }}
+ </el-tag>
+ </template>
- <template slot-scope="{ type, size, row }" slot="menu">
- <el-button
- icon="el-icon-location-outline"
- :size="size"
- :type="type"
- @click.stop="handleMap(row)"
- >定位
- </el-button>
- </template>
+ <template slot-scope="{ type, size, row }" slot="menu">
+ <el-button
+ icon="el-icon-location-outline"
+ :size="size"
+ :type="type"
+ @click.stop="handleMap(row)"
+ >定位
+ </el-button>
+ </template>
</avue-crud>
<el-drawer
@@ -65,7 +54,7 @@
<iframe
id="mapDiv"
ref="mapDiv"
- src="/map/index.html?openid=APoliceTeam"
+ src="/map/index.html?openid=APoliceTeam&ISinit=1"
frameborder="0"
width="100%"
height="100%"
@@ -248,7 +237,7 @@
this.$nextTick(() => {
this.$refs.mapDiv.onload = () => {
window.frames[0].init(null,{x: row.jd, y: row.wd});
-
+
};
})
},
--
Gitblit v1.9.3