Merge branch 'dev-yjl' into 'shenzhen-dev'
修改中建四大屏(页面调整) See merge request !100
This commit is contained in:
commit
1d1025379e
@ -906,30 +906,44 @@ export default {
|
|||||||
// }, 1000)
|
// }, 1000)
|
||||||
// })
|
// })
|
||||||
},
|
},
|
||||||
//地图跳转到下一级
|
// 地图跳转到下一级
|
||||||
mapJumpToNext(index) {
|
mapJumpToNext(index) {
|
||||||
|
console.log("test1");
|
||||||
var _this = this;
|
var _this = this;
|
||||||
console.log("mapJumpToNext",_this.mapData[index].list);
|
|
||||||
if (_this.mapData[index].list) {
|
if (_this.mapData[index].list) {
|
||||||
|
console.log("test2");
|
||||||
var json = {
|
var json = {
|
||||||
sn: _this.mapData[index].companySn,
|
sn: _this.mapData[index].companySn,
|
||||||
name: _this.mapData[index].name,
|
name: _this.mapData[index].name,
|
||||||
};
|
};
|
||||||
|
_this.backArr.forEach(element=>{
|
||||||
|
if(element.name==json.name){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
})
|
||||||
_this.backArr.push(json);
|
_this.backArr.push(json);
|
||||||
_this.$store.commit("setMapBackArr", _this.backArr);
|
_this.$store.commit("setMapBackArr", _this.backArr);
|
||||||
_this.showMapDialog = false;
|
_this.showMapDialog = false;
|
||||||
|
_this.initData()
|
||||||
} else {
|
} else {
|
||||||
//这里的4指除去总公司外的层级数
|
console.log("test3");
|
||||||
// if (_this.mapData[index].projectName && _this.backArr.length < 3) {
|
if (_this.mapData[index].projectName && _this.backArr.length < 3) {
|
||||||
if (_this.mapData[index].projectName && _this.backArr.length < 4) {
|
console.log("test4");
|
||||||
var json = {
|
var json = {
|
||||||
sn: _this.mapData[index].projectSn,
|
sn: _this.mapData[index].projectSn,
|
||||||
name: _this.mapData[index].name,
|
name: _this.mapData[index].name,
|
||||||
};
|
};
|
||||||
|
_this.backArr.forEach(element=>{
|
||||||
|
if(element.name==json.name){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
})
|
||||||
_this.backArr.push(json);
|
_this.backArr.push(json);
|
||||||
_this.$store.commit("setMapBackArr", _this.backArr);
|
_this.$store.commit("setMapBackArr", _this.backArr);
|
||||||
_this.showMapDialog = false;
|
_this.showMapDialog = false;
|
||||||
console.log('执行888');
|
_this.initData()
|
||||||
|
} else {
|
||||||
|
_this.$message("该区域下没有数据!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -12,11 +12,11 @@
|
|||||||
:color="['#6EE4F0', '#E7622A']"
|
:color="['#6EE4F0', '#E7622A']"
|
||||||
:data="[
|
:data="[
|
||||||
{
|
{
|
||||||
value: 5,
|
value: safetyPatrolInspection.allClose,
|
||||||
name: '已巡检',
|
name: '已巡检',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 5,
|
value: safetyPatrolInspection.allNoClose,
|
||||||
name: '未巡检',
|
name: '未巡检',
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
|
|||||||
@ -40,11 +40,11 @@
|
|||||||
:color="['#6EE4F0', '#E7622A']"
|
:color="['#6EE4F0', '#E7622A']"
|
||||||
:data="[
|
:data="[
|
||||||
{
|
{
|
||||||
value: 5,
|
value: safetyPatrolInspection.allRectificationNum,
|
||||||
name: '已巡检',
|
name: '已巡检',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 5,
|
value: safetyPatrolInspection.allNoRectificationNum,
|
||||||
name: '未巡检',
|
name: '未巡检',
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
|
|||||||
@ -108,6 +108,7 @@ export default {
|
|||||||
background-size: 90% 100%;
|
background-size: 90% 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
cursor: pointer;
|
||||||
.areaName {
|
.areaName {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
span {
|
span {
|
||||||
|
|||||||
@ -188,7 +188,7 @@ export default {
|
|||||||
::v-deep .el-range-input {
|
::v-deep .el-range-input {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #6ee4f0;
|
color: #fff;
|
||||||
}
|
}
|
||||||
::v-deep .el-date-editor {
|
::v-deep .el-date-editor {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@ -231,7 +231,7 @@ export default {
|
|||||||
::v-deep .el-range-input {
|
::v-deep .el-range-input {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #6ee4f0;
|
color: #fff;
|
||||||
}
|
}
|
||||||
::v-deep .el-date-editor {
|
::v-deep .el-date-editor {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card title="偏差预警">
|
<Card title="偏差预警">
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div style="margin-left: 436px; position: absolute; margin-top: -20px">
|
<div style="margin-left: 436px; position: absolute; margin-top: -20px;cursor: pointer">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="checkDate"
|
v-model="checkDate"
|
||||||
type="month"
|
type="month"
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<el-option v-for="item in typesList" :key="item.id" :label="item.name" :value="item.id"> </el-option>
|
<el-option v-for="item in typesList" :key="item.id" :label="item.name" :value="item.id"> </el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left: 20px;">
|
<div style="margin-left: 20px;" class="curs">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="checkDate"
|
v-model="checkDate"
|
||||||
type="month"
|
type="month"
|
||||||
@ -150,6 +150,10 @@ export default {
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin: 0 20px 0 0;
|
margin: 0 20px 0 0;
|
||||||
}
|
}
|
||||||
|
.curs{
|
||||||
|
cursor: pointer;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.contentTop {
|
.contentTop {
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left: 20px">
|
<div style="margin-left: 20px:cursor: pointer;height:50px">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="checkDate"
|
v-model="checkDate"
|
||||||
type="year"
|
type="year"
|
||||||
|
|||||||
@ -127,15 +127,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { quillEditor } from "vue-quill-editor";
|
// import { quillEditor } from "vue-quill-editor";
|
||||||
|
import VueQuillEditor from 'vue-quill-editor'
|
||||||
|
import 'quill/dist/quill.core.css'
|
||||||
|
import 'quill/dist/quill.snow.css'
|
||||||
|
import 'quill/dist/quill.bubble.css'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
addInformationBroadcastingApi, //新增
|
addInformationBroadcastingApi, //新增
|
||||||
deleteInformationBroadcastingApi, //删除
|
deleteInformationBroadcastingApi, //删除
|
||||||
updateInformationBroadcastingApi, //修改
|
updateInformationBroadcastingApi, //修改
|
||||||
selectPageInformationBroadcastingApi, //分页查询
|
selectPageInformationBroadcastingApi, //分页查询
|
||||||
} from "@/assets/js/api/broadcast.js";
|
} from "@/assets/js/api/broadcast.js";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components:{
|
||||||
|
VueQuillEditor
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
type: "",
|
type: "",
|
||||||
@ -173,6 +180,8 @@ export default {
|
|||||||
},
|
},
|
||||||
theme: "snow",
|
theme: "snow",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user