| | |
| | | <view class="fleet-management"> |
| | | <view><u-notice-bar mode="closable" fontSize="25" :text="text1"></u-notice-bar></view> |
| | | <view class="groupCars" v-if="groupCarsShow"> |
| | | <u-collapse @change="change" @close="close" @open="open" accordion :border="false"> |
| | | <u-collapse @change="change" @close="close" @open="open" :border="false" :value="['0']"> |
| | | <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" v-if="fleetDriverData.length == 0" width="400" height="400" textSize="18"></u-empty> |
| | | <u-collapse-item :title="fleetDriverData[0].fleetName" name="车队" v-if="fleetDriverData.length != 0"> |
| | | <u-collapse-item :title="fleetDriverData[0].fleetName" v-if="fleetDriverData.length != 0" name="0"> |
| | | <view class="myCarContainer"> |
| | | <u-swipe-action> |
| | | <u-cell-group> |
| | | <u-swipe-action-item :options="options1" v-for="(item, index) in fleetDriverData" :key="index" :index="item.id" :name="item.userId" @click="deleteGroupClick"> |
| | | <u-swipe-action-item |
| | | :options="options1" |
| | | v-for="(item, index) in fleetDriverData" |
| | | :key="index" |
| | | :index="item.id" |
| | | :name="item.userId" |
| | | @click="deleteGroupClick" |
| | | > |
| | | <u-cell icon="car" iconStyle="font-size:20px;" :title="item.carNo" :value="item.name"></u-cell> |
| | | </u-swipe-action-item> |
| | | </u-cell-group> |
| | |
| | | // 删除小组模态框 |
| | | title: '提示', |
| | | content: '', |
| | | deleteGroupShow: false // 删除小组模态框, |
| | | deleteGroupShow: false, // 删除小组模态框, |
| | | value: ['0'] |
| | | }; |
| | | }, |
| | | onShow() { |