修改中建四大屏(页面调整)

This commit is contained in:
yjl 2023-02-14 14:45:57 +08:00
parent 40c8a4fd93
commit 29d7a0b034
10 changed files with 45 additions and 17 deletions

View File

@ -906,30 +906,44 @@ export default {
// }, 1000)
// })
},
//
//
mapJumpToNext(index) {
console.log("test1");
var _this = this;
console.log("mapJumpToNext",_this.mapData[index].list);
if (_this.mapData[index].list) {
console.log("test2");
var json = {
sn: _this.mapData[index].companySn,
name: _this.mapData[index].name,
};
_this.backArr.forEach(element=>{
if(element.name==json.name){
return
}
})
_this.backArr.push(json);
_this.$store.commit("setMapBackArr", _this.backArr);
_this.showMapDialog = false;
_this.initData()
} else {
//4
// if (_this.mapData[index].projectName && _this.backArr.length < 3) {
if (_this.mapData[index].projectName && _this.backArr.length < 4) {
console.log("test3");
if (_this.mapData[index].projectName && _this.backArr.length < 3) {
console.log("test4");
var json = {
sn: _this.mapData[index].projectSn,
name: _this.mapData[index].name,
};
_this.backArr.forEach(element=>{
if(element.name==json.name){
return
}
})
_this.backArr.push(json);
_this.$store.commit("setMapBackArr", _this.backArr);
_this.showMapDialog = false;
console.log('执行888');
_this.initData()
} else {
_this.$message("该区域下没有数据!");
}
}
},

View File

@ -12,11 +12,11 @@
:color="['#6EE4F0', '#E7622A']"
:data="[
{
value: 5,
value: safetyPatrolInspection.allClose,
name: '已巡检',
},
{
value: 5,
value: safetyPatrolInspection.allNoClose,
name: '未巡检',
},
]"

View File

@ -40,11 +40,11 @@
:color="['#6EE4F0', '#E7622A']"
:data="[
{
value: 5,
value: safetyPatrolInspection.allRectificationNum,
name: '已巡检',
},
{
value: 5,
value: safetyPatrolInspection.allNoRectificationNum,
name: '未巡检',
},
]"

View File

@ -108,6 +108,7 @@ export default {
background-size: 90% 100%;
font-size: 16px;
margin-top: 20px;
cursor: pointer;
.areaName {
font-size: 20px;
span {

View File

@ -188,7 +188,7 @@ export default {
::v-deep .el-range-input {
cursor: pointer;
background: transparent;
color: #6ee4f0;
color: #fff;
}
::v-deep .el-date-editor {
cursor: pointer;

View File

@ -231,7 +231,7 @@ export default {
::v-deep .el-range-input {
cursor: pointer;
background: transparent;
color: #6ee4f0;
color: #fff;
}
::v-deep .el-date-editor {
cursor: pointer;

View File

@ -1,7 +1,7 @@
<template>
<Card title="偏差预警">
<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
v-model="checkDate"
type="month"

View File

@ -10,7 +10,7 @@
<el-option v-for="item in typesList" :key="item.id" :label="item.name" :value="item.id"> </el-option>
</el-select>
</div>
<div style="margin-left: 20px;">
<div style="margin-left: 20px;" class="curs">
<el-date-picker
v-model="checkDate"
type="month"
@ -150,6 +150,10 @@ export default {
line-height: 40px;
margin: 0 20px 0 0;
}
.curs{
cursor: pointer;
height: 40px;
}
}
.contentTop {

View File

@ -19,7 +19,7 @@
</el-option>
</el-select>
</div>
<div style="margin-left: 20px">
<div style="margin-left: 20px:cursor: pointer;height:50px">
<el-date-picker
v-model="checkDate"
type="year"

View File

@ -127,15 +127,22 @@
</div>
</template>
<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 {
addInformationBroadcastingApi, //
deleteInformationBroadcastingApi, //
updateInformationBroadcastingApi, //
selectPageInformationBroadcastingApi, //
} from "@/assets/js/api/broadcast.js";
export default {
components:{
VueQuillEditor
},
data() {
return {
type: "",
@ -173,6 +180,8 @@ export default {
},
theme: "snow",
},
};
},
computed: {