| | |
| | | <view class="data_list"> |
| | | <view class="line" v-for="(platform, i) in item.platformList" :key="platform.id"> |
| | | <view class="name">{{platform.name}}</view> |
| | | <u-switch v-model="platform.status" activeColor="#279BAA" inactiveColor="#cccccc" :inactiveValue="0" :activeValue="1" @change="e => changeStatus(platform)" /> |
| | | <u-switch v-model="platform.status" activeColor="#279BAA" inactiveColor="#cccccc" :inactiveValue="1" :activeValue="0" @change="e => changeStatus(platform)" /> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | }, |
| | | getPlatformGroup() { |
| | | getPlatformGroupList({ |
| | | queryData: 1, |
| | | queryData: 0, |
| | | queryType: 0 |
| | | }).then(res => { |
| | | this.platformGroupList = res.data || [] |