调整代码
This commit is contained in:
parent
0348d143b5
commit
36a0b1dd93
@ -732,9 +732,9 @@ export default class Section extends Group {
|
||||
}
|
||||
}
|
||||
|
||||
/** 保护区段延时解锁*/
|
||||
/** 保护区段延时解锁 时间计时*/
|
||||
protectiveTimeRelease() {
|
||||
console.log(this.model);
|
||||
// console.log(this.model);
|
||||
this.releaseName && this.releaseName.show();
|
||||
// this.releaseName.setStyle('text', '20');
|
||||
// this.section.setStyle({
|
||||
@ -883,14 +883,13 @@ export default class Section extends Group {
|
||||
drawSelected(selected) {
|
||||
this.selected = selected;
|
||||
if (selected) {
|
||||
if (this.style.Section.line.isActiveShow) {
|
||||
if (this.style.Section.line.isActiveShow) { // 哈尔滨线路专属显示
|
||||
this.lineBorder && this.lineBorder.setStyle({ lineWidth: this.style.Section.line.width + 3 });
|
||||
} else {
|
||||
!this.selectedType && this.section && this.section.setStyle({ stroke: '#fbfbfb' });
|
||||
}
|
||||
} else {
|
||||
this.lineBorder && this.lineBorder.setStyle({ lineWidth: 0 });
|
||||
// !this.selectedType && this.section && this.section.setStyle({ stroke: this.style.Section.line.spareColor });
|
||||
!this.selectedType && this.setState(this.model);
|
||||
}
|
||||
}
|
||||
|
@ -67,6 +67,7 @@ export default {
|
||||
{
|
||||
type: 'button',
|
||||
title: this.$t('global.operate'),
|
||||
width: 580,
|
||||
buttons: [
|
||||
{
|
||||
name: '修改',
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="main" style="background-color:floralwhite">
|
||||
<div :id="runPlanId" />
|
||||
<div v-if="isShowBack" style="float: right; margin-right: 2%; margin-top: 10px; margin-bottom: 20px">
|
||||
<div v-if="isShowBack" style="float: right; margin-right: 2%; margin-top: 0px; margin-bottom: 0px">
|
||||
<el-button-group>
|
||||
<el-button type="primary" @click="back">{{ $t('global.return') }}</el-button>
|
||||
</el-button-group>
|
||||
@ -32,7 +32,7 @@ export default {
|
||||
top: '30px',
|
||||
left: '120px',
|
||||
right: '2%',
|
||||
bottom: '80px',
|
||||
bottom: '65px',
|
||||
containLabel: true,
|
||||
backgroundColor: 'floralwhite'
|
||||
},
|
||||
@ -163,9 +163,9 @@ export default {
|
||||
this.setPlanSize();
|
||||
},
|
||||
$route() {
|
||||
this.$nextTick(() => {
|
||||
this.loadChartPage(this.$route.query);
|
||||
});
|
||||
// this.$nextTick(() => {
|
||||
this.loadChartPage(this.$route.query);
|
||||
// });
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -344,7 +344,7 @@ export default {
|
||||
this.myChart = null;
|
||||
}
|
||||
},
|
||||
back() {
|
||||
back() { // 返回判断
|
||||
if (this.$route.params.mode === 'everyDay') {
|
||||
this.$router.replace({ path: `${UrlConfig.publish.runPlanEveryDay}` });
|
||||
} else if (this.$route.params.mode === 'template') {
|
||||
|
Loading…
Reference in New Issue
Block a user