|
@@ -28,7 +28,7 @@
|
|
<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
|
|
<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="120" style="padding-bottom: 100px;" mode="list"></u-empty>
|
|
|
|
|
|
+ <u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" style="padding: 150px 0 180px;background: #fff;" mode="list"></u-empty>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -67,7 +67,7 @@
|
|
// 获取门店列表
|
|
// 获取门店列表
|
|
findStoreList({ orgCode: orgCode ? orgCode : '' }).then(res => {
|
|
findStoreList({ orgCode: orgCode ? orgCode : '' }).then(res => {
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
- this.list = res.data.list
|
|
|
|
|
|
+ this.list = res.data
|
|
this.noDataText = '暂无数据' // 有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
|
|
this.noDataText = '暂无数据' // 有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
|
|
}else{
|
|
}else{
|
|
this.list = []
|
|
this.list = []
|
|
@@ -80,8 +80,8 @@
|
|
getOrgList(){
|
|
getOrgList(){
|
|
findUserInfo().then(res => {
|
|
findUserInfo().then(res => {
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
- this.organizationList = res.data.list
|
|
|
|
- this.organizationNowList = res.data.list
|
|
|
|
|
|
+ this.organizationList = res.data
|
|
|
|
+ this.organizationNowList = res.data
|
|
}else{
|
|
}else{
|
|
this.organizationList = []
|
|
this.organizationList = []
|
|
this.organizationNowList = []
|
|
this.organizationNowList = []
|
|
@@ -136,7 +136,6 @@
|
|
cancelText: '重新开始',
|
|
cancelText: '重新开始',
|
|
buttons: ['继续巡店','重新开始'],
|
|
buttons: ['继续巡店','重新开始'],
|
|
success: function (result) {
|
|
success: function (result) {
|
|
- console.log(result.index)
|
|
|
|
if (result.confirm || result.index==0) { // 继续巡店
|
|
if (result.confirm || result.index==0) { // 继续巡店
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/shopTour/shopTour?storeId=' + item.id + '&taskId='+ res.data + '&restart=0&types=video'
|
|
url: '/pages/shopTour/shopTour?storeId=' + item.id + '&taskId='+ res.data + '&restart=0&types=video'
|