| | |
| | | { |
| | | layout: 'default', |
| | | needLogin: true, |
| | | style: { |
| | | navigationBarTitleText: '设备列表', |
| | | }, |
| | | style: { navigationBarTitleText: '设备列表', navigationStyle: 'custom' }, |
| | | } |
| | | </route> |
| | | <template> |
| | | <z-paging ref="paging" v-model="dataList" @query="queryList" show-refresher-update-time> |
| | | <z-paging ref="paging" v-model="dataList" @query="queryList" show-refresher-update-time> |
| | | <template #top> |
| | | <wd-navbar |
| | | title="设备列表" |
| | | left-arrow |
| | | @click-left="goBack" |
| | | custom-style="background: #4D80F0;" |
| | | safeAreaInsetTop |
| | | ></wd-navbar> |
| | | <wd-drop-menu> |
| | | <wd-drop-menu-item |
| | | v-model="equTypeId" |
| | |
| | | <view class="flex justify-between items-baseline"> |
| | | <view class="flex items-center menu-title-box"> |
| | | <view class="menu-indicator"></view> |
| | | <text class="ml-1 text-xs">{{ item.assetNo }}</text> |
| | | <text class="ml-1 text-sm">{{ item.assetNo }}</text> |
| | | <wd-tag v-if="item.status === '0'" class="ml-2" bg-color="cyan">试用</wd-tag> |
| | | <wd-tag v-else-if="item.status === '1'" class="ml-2" type="success">使用</wd-tag> |
| | | <wd-tag v-else-if="item.status === '2'" class="ml-2" type="danger">停用</wd-tag> |
| | |
| | | {{ item.equName }} |
| | | <text class="text-color-gray ml-2 text-mini">{{ item.modelNo }}</text> |
| | | </view> |
| | | <view class="text-color-gray text-xs mt-1"> |
| | | <view class="text-color-gray text-sm mt-1"> |
| | | {{ item.location }} | {{ item.madeIn }} |
| | | </view> |
| | | </view> |
| | |
| | | }) |
| | | } |
| | | |
| | | const goBack = () => { |
| | | uni.navigateBack() |
| | | } |
| | | |
| | | /** |
| | | * 设备条目点击事件 |
| | | * @param item |