fix:解决冲突

This commit is contained in:
zyh
2023-06-08 16:53:16 +08:00
8 changed files with 24 additions and 5 deletions

View File

@@ -17233,7 +17233,7 @@
}, },
"sass-loader": { "sass-loader": {
"version": "8.0.2", "version": "8.0.2",
"resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-8.0.2.tgz", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-8.0.2.tgz",
"integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==", "integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==",
"dev": true, "dev": true,
"requires": { "requires": {

View File

@@ -12,7 +12,7 @@
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
width: 100%; width: 100%;
z-index: 0; // z-index: 0;
} }
.main-container { .main-container {
padding: 0px; padding: 0px;

View File

@@ -14,7 +14,7 @@
} }
.alert-days-info-tooltip{ .alert-days-info-tooltip{
position: fixed; position: fixed;
z-index: 1; z-index: 3000;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
line-height: 20px; line-height: 20px;
min-width: 120px; min-width: 120px;

View File

@@ -76,6 +76,7 @@
height: 50%; height: 50%;
position: relative; position: relative;
padding: 0; padding: 0;
z-index: 10;
.top-tools.top-tools--sub { .top-tools.top-tools--sub {
border-bottom: 1px solid $--border-color-light; border-bottom: 1px solid $--border-color-light;
.top-tool-right { .top-tool-right {

View File

@@ -201,8 +201,13 @@ export default {
this.searchTime[1] = bus.timeFormate(this.timeRange[1]) this.searchTime[1] = bus.timeFormate(this.timeRange[1])
this.nowType.start_time = this.searchTime[0] this.nowType.start_time = this.searchTime[0]
this.nowType.end_time = this.searchTime[1] this.nowType.end_time = this.searchTime[1]
this.$refs.pickTime.$refs.timePicker.setCustomTime(this.nowType) if (!this.nowTimeType) {
this.setSearchTime(this.nowType.type, this.nowType.value, this.nowType) this.$refs.pickTime.$refs.timePicker.setCustomTime(this.nowType)
this.setSearchTime(this.nowType.type, this.nowType.value, this.nowType)
} else {
this.$refs.pickTime.$refs.timePicker.setCustomTime(this.nowTimeType)
this.setSearchTime(this.nowType.type, this.nowType.value, this.nowTimeType)
}
} }
} }
} }

View File

@@ -27,6 +27,9 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
nowTimeType: {
type: Number
},
hiddenText: { // 隐藏图表的悬浮文字 hiddenText: { // 隐藏图表的悬浮文字
type: String type: String
} }

View File

@@ -8,6 +8,7 @@
:isExportHtml="isExportHtml" :isExportHtml="isExportHtml"
:isError="isError" :isError="isError"
:from="from" :from="from"
:nowTimeType="nowTimeType"
:chartData="chartData" :chartData="chartData"
:chart-info="chartInfo" :chart-info="chartInfo"
:showAllData.sync="showAllData" :showAllData.sync="showAllData"
@@ -27,6 +28,7 @@
:is-group="isGroup(chartInfo.type)" :is-group="isGroup(chartInfo.type)"
:isError="isError" :isError="isError"
:from="from" :from="from"
:nowTimeType="nowTimeType"
:chartData="chartData" :chartData="chartData"
:chart-info="chartInfo" :chart-info="chartInfo"
:showAllData.sync="showAllData" :showAllData.sync="showAllData"
@@ -95,6 +97,9 @@ export default {
type: Boolean, type: Boolean,
default: true default: true
}, },
nowTimeType: {
type: Object
},
isExportHtml: { // 是否是导出的html isExportHtml: { // 是否是导出的html
type: Boolean, type: Boolean,
default: false default: false

View File

@@ -113,6 +113,11 @@
> >
<panel-chart <panel-chart
v-if="prevChart" v-if="prevChart"
:nowTimeType="{
id: 4,
type: 'hour',
value: 1
}"
style="height: 100%;width: 100%" style="height: 100%;width: 100%"
:ref="'chart-fullscreen-previewShow'" :ref="'chart-fullscreen-previewShow'"
:chart-info="prevChart" :chart-info="prevChart"