This commit is contained in:
王丹 2024-12-02 17:19:31 +08:00
commit 7b655168c1
2 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,38 @@
<template>
<u-popup :show="open" mode="bottom" @close="close" closeable>
<view style="width: 100vw;height: calc(100vh - 100px);border: 1px solid red;"></view>f
</u-popup>
</template>
<script>
export default {
name: "Mp",
components: {},
props: {},
data() {
return {
title: "土壤墒情",
open: false,
}
},
created() {},
mounted() {},
methods: {
/**
* 显示方法
* @param type 1基站 2阀门
* @param row
* @param data
*/
async show() {
this.open = true;
},
close() {
this.open = false;
}
}
}
</script>
<style lang="scss" scoped>
</style>

View File

@ -497,9 +497,11 @@
@select="landChange" />
<!-- 角度 -->
<custom-angle-slider ref="refAngleSlider" mode="bottom" @close="" @confirm="swiperConfirm" />
<!-- 墒情 -->
<!-- ADC -->
<custom-index-adc ref="adcRef" />
<custom-index-mp ref="mpRef" />
</template>
<script>
@ -609,15 +611,15 @@
// case "wo":
// this.$refs.woRemarkRef.show(row);
// break;
// case "mp": //
// this.$refs.mpRef.show(this.land);
// break;
// case "wh": //
// this.$refs.wateringHistoryRef.show(this.land, row);
// break;
// case "log": //
// this.$refs.deviceLogRef.show(this.land, row);
// break;
case "mp": //
this.$refs.mpRef.show(this.land);
break;
case "adc": //adc
this.$refs.adcRef.show(2, row, this.dc.dataObj[row.dataKey]);
break;