1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <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>
|