<template>
	<view>
		<view class="header"></view>
		<view class="position">
			<u-icon name="map-fill"></u-icon>
			<text>{{name}}</text>
			<u-icon name="arrow-rightward"></u-icon>
		</view>
		<view class="form">
			<view class="topbilledit">
				<view class="changetime1">
					<picker mode="date" :value="myday" fields="month" @change="dateChange">
						<view class="selestDate">{{myday}}</view>
					</picker>
				</view>
				<view class="changetime2">
					<u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
				</view>
			</view>
			<view class="topbilledit" @click="typechange">
				<view class="changetime1">
					{{mytype}}
				</view>
				<view class="changetime2">
					<u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name:'',
			}
		},
		methods: {
			 getDeviceTypeList() {
			      this.deviceTypeList = JSON.parse(
			        JSON.stringify(getDictDataList("DeviceCategory"))
			      );
			      this.deviceTypeList.forEach((item) => {
			        item.text = item.dictLabel;
			        item.value = item.dictValue;
			      });
			      this.deviceTypeList = this.deviceTypeList.filter(
			        (item) => item.value != "Relay"
			      );
			    },
		}
	}
</script>

<style>

</style>
