|
@@ -4,6 +4,10 @@
|
|
|
<div class="realtime-foot">
|
|
|
<div class="realtime-foot-title">测流成果</div>
|
|
|
<div class="realtime-foot-actions">
|
|
|
+ <div class="realtime-foot-action">
|
|
|
+ <svg-icon icon-class="manual" class-name="realtime-foot-action-icon" @click="handleManualMeasure" />
|
|
|
+ <div class="realtime-foot-action-label">手动测流</div>
|
|
|
+ </div>
|
|
|
<div class="realtime-foot-action" v-if="isplay">
|
|
|
<svg-icon icon-class="realtime-stop" class-name="realtime-foot-action-icon" @click="stop" />
|
|
|
<div class="realtime-foot-action-label">中止回放</div>
|
|
@@ -18,6 +22,8 @@
|
|
|
<div class="realtime-foot-time-value">{{ task.createTime }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <Manual ref="manual" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -27,8 +33,12 @@ import resize from '@/utils/resize'
|
|
|
import { getConfig } from '@/api/site/site'
|
|
|
import { getSiteSection } from '@/api/site/berthing'
|
|
|
import CarSvg from '@/assets/images/car.svg'
|
|
|
+import Manual from './manual';
|
|
|
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ Manual,
|
|
|
+ },
|
|
|
mixins: [resize],
|
|
|
props: {
|
|
|
siteId: Number | String,
|
|
@@ -80,6 +90,9 @@ export default {
|
|
|
this.setOptions();
|
|
|
})
|
|
|
},
|
|
|
+ handleManualMeasure() {
|
|
|
+ this.$refs.manual.open({ siteId: this.siteId });
|
|
|
+ },
|
|
|
setOptions() {
|
|
|
if (!this.chart || !this.config || this.sections.length === 0 || this.positions.length === 0) {
|
|
|
return;
|