|
@@ -51,12 +51,12 @@
|
|
|
</el-tooltip>
|
|
|
<!-- 编辑图例 -->
|
|
|
<el-tooltip effect='dark' content='编辑图例' placement='left'>
|
|
|
- <p v-if='systemName != "土建系统" && isMessage' @click='editTl' class='tltk'>
|
|
|
+ <p v-if='systemName != "土建系统" && isMessage' @click='editTl' class='tltk-1'>
|
|
|
<img src='@/assets/imgs/bjtl.png' alt />
|
|
|
</p>
|
|
|
</el-tooltip>
|
|
|
<!-- 新增分布图 -->
|
|
|
- <el-tooltip effect='dark' content='新增分布图' placement='left' v-if='floorSelect.length!=floors.length && !isMessage && type==0'>
|
|
|
+ <el-tooltip effect='dark' content='新增分布图' placement='left' v-if='floorSelect.length!=floors.length && type==0'>
|
|
|
<p class='tltk' style='margin-left: -5px;' @click='addFloor'>
|
|
|
<img src='@/assets/imgs/bjj.png' alt />
|
|
|
</p>
|
|
@@ -64,7 +64,13 @@
|
|
|
<!-- 编辑分布图 -->
|
|
|
|
|
|
<!-- 有修改权限 -->
|
|
|
- <el-tooltip v-if='editPmt' class='bjpmt' effect='dark' :content='editTips' placement='left'>
|
|
|
+ <el-tooltip
|
|
|
+ v-if='editPmt'
|
|
|
+ class='bjpmt'
|
|
|
+ effect='dark'
|
|
|
+ :content='editTips?editTips:`编辑${categoryId=="FZQZL"?"分水器支路分布图":"消防泵房引出管路分布图"}`'
|
|
|
+ placement='left'
|
|
|
+ >
|
|
|
<span class='edit-icon corner-con' @click='goToEditer'>
|
|
|
<img src='@/assets/imgs/bjs.png' alt />
|
|
|
<!-- 角标 -->
|
|
@@ -139,12 +145,14 @@ export default {
|
|
|
},
|
|
|
props: {
|
|
|
floors: {
|
|
|
+ //原理图中有数据楼层
|
|
|
default: () => {
|
|
|
;[]
|
|
|
},
|
|
|
type: Array
|
|
|
},
|
|
|
type: {
|
|
|
+ // 原理图类型 == 0 ;
|
|
|
default: '1',
|
|
|
type: String
|
|
|
},
|
|
@@ -157,6 +165,7 @@ export default {
|
|
|
type: String
|
|
|
},
|
|
|
editTips: {
|
|
|
+ // 编辑器文案
|
|
|
type: String,
|
|
|
default: ''
|
|
|
}
|
|
@@ -455,6 +464,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ console.log('editTips', this.editTips)
|
|
|
this.init()
|
|
|
// 定时查询草稿箱数量
|
|
|
this.getDraftNum() //首次查询
|
|
@@ -614,8 +624,31 @@ export default {
|
|
|
cursor: pointer;
|
|
|
border: 1px solid #eee;
|
|
|
}
|
|
|
+ .tltk-1 {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ display: none;
|
|
|
+ cursor: pointer;
|
|
|
+ border: 1px solid #eee;
|
|
|
+ }
|
|
|
}
|
|
|
.edit_map:hover .tltk {
|
|
|
+ // display: block;
|
|
|
+ // position: fixed;
|
|
|
+ // bottom: 70px;
|
|
|
+ margin-left: -10px;
|
|
|
+ right: 22px;
|
|
|
+ z-index: 1;
|
|
|
+ width: 48px;
|
|
|
+ height: 48px;
|
|
|
+ background: linear-gradient(180deg, rgba(54, 156, 247, 1) 0%, rgba(2, 91, 170, 1) 100%);
|
|
|
+ box-shadow: 0px 2px 8px 0px rgba(31, 36, 41, 0.2);
|
|
|
+ border-radius: 90px;
|
|
|
+ text-align: center;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.edit_map:hover .tltk-1 {
|
|
|
display: block;
|
|
|
}
|
|
|
.edit_map:hover .bjtk {
|