| | |
| | | </view>
|
| | | <view>
|
| | | <text
|
| | | class="text-gray margin-right-lg">{{new Date().toLocaleDateString().replace(/\//g, '-')}}</text>
|
| | | class="text-gray margin-right-lg">{{curDate}}</text>
|
| | | </view>
|
| | |
|
| | | </view>
|
| | |
| | | <view class="title text-cut">{{$lget(item,'name')}}</view>
|
| | | <view class="flex title text-green text-sm">
|
| | | <u-tag v-if="item.online" size="mini" text="在线" type="success" plain plainFill></u-tag>
|
| | | <u-tag v-else class="" size="mini" text="停机" type="error" plain plainFill></u-tag>
|
| | | <u-tag v-else size="mini" text="离线" type="warning" plain plainFill></u-tag>
|
| | | <u-tag v-if="item.online" class="margin-left-sm" size="mini" text="在线" type="success" plain plainFill></u-tag>
|
| | | <u-tag v-else class="margin-left-sm" size="mini" text="停机" type="error" plain plainFill></u-tag>
|
| | | </view>
|
| | | </view>
|
| | | <view class="right" style="min-width: 240rpx;">
|
| | |
| | | loading: true,
|
| | | // v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
|
| | | dataList: [],
|
| | | curDate:uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
|
| | | }
|
| | | },
|
| | | methods: {
|